Tagged Questions

ifconfig (short for interface configuration) is a system administration utility

learn more… | top users | synonyms

0
votes
0answers
16 views

Scanning for Available access points on linux terminal

i have problem using the command "iwlist wlan0 scanning",and i execute this command with root permission, but the error says: "wlan0 Interface doesn't support scanning : Operation not supported ...
0
votes
0answers
49 views

ifconfig eth0 down hangs

I'm facing a weird issue. I have a device with LINUX kernel 3.10.7 and root file system 14.04. After booting up, approx. 10 minutes after booting, the system hangs when I execute ifcofig eth0 down. ...
0
votes
1answer
32 views

wlan0 is not permanently turned down by ifconfig

I am trying to turn off my wifi interface using the following ifconfig command: ifconfig wlan0 down My wifi disconnected for almost one second and then it comes back up again. what is the problem ...
0
votes
1answer
58 views

How to change internal IP address from DHCP to static?

I have a pc running Ubuntu server 14.04.1. The internet was set up using DHCP I believe. I want to keep the same IP and subnet I have now but just change it to static for the internal IP.
-1
votes
1answer
143 views

static ip in NetworkManager but ifconfig does not show the ip (ubuntustudio 14.04)

i am running ubuntustudio 14.04. I have a development setup where my pc has 2 NICs one of which connects to the internet and acquires dhcp ip from the router, while the other (eth1) is used to ...
1
vote
2answers
50 views

Is there a better way to programatically get the networking parameters from Linux OS?

I am writing some scripts which need to programatically get a lot of networking parameters from Linux OS. For example, the names of all network interfaces, ip address, netmask, MAC address. For ...
0
votes
4answers
104 views

No Wireless Internet Connections Show Up!

Just got Ubuntu on another computer and I've never had this issue. On Windows Vista, (the operating system alongside Ubuntu) The internet works fine. But when I click on the icon in the top right, ...
2
votes
1answer
687 views

eth0 NO-CARRIER, ifconfig shows no IP address

I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is eth0 Link encap:Ethernet HWaddr ...
0
votes
1answer
143 views

I don't have permission to access this device on iftop and need to be root to run NetHogs

I have two dilemma's here: One is, I tried using iftop but it said I don't have permission to capture on that device (socket: operation not permitted) I can use ifconfig just fine. Also, I installed ...
2
votes
1answer
33 views

Get all binded ip addresses

I have configured my network card eth0 to use 3 IPs, such as 192.168.1.10, 10.0.0.10 and 192.168.0.10. After network restart, ifconfig is showing only one IP ie, 192.168.1.10. But I can ping ...
0
votes
0answers
65 views

14.04 won't see new network card

After installing 14.04 64 bit, if I add a new WIRED network card, the system will not see it. It is visible in lspci but it is not visible to linux. It will not show up in ifconfig. I have tried three ...
1
vote
1answer
63 views

Hardcoded static IP assignment for eth1

I'm setting up a NAT, and need to assign a static IP to my eth1 interface. The problem is that once in a while, it resets, and I need to run the following command again: sudo ifconfig eth1 ...
0
votes
1answer
37 views

Where are the settings for 'iwconfig' stored?

I'm going to be fiddling around with my wireless card's settings by using iwconfig. Before doing this, I would like to back up my current settings in case anything goes horribly wrong. Where are the ...
1
vote
1answer
76 views

ifconfig weirdly returns exit code 1

I am executing the following command to find the MAC Address of eth0 ifconfig eth0 | grep -o -E '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}' I have a java wrapper which just calls the script ...
0
votes
1answer
673 views

'ifconfig wlan0 down' doesn't work. I can't turn off wireless

I am trying to turn off wireless and since the Wicd button 'Switch off Wi-Fi' doesn't work I am forced to use the ifconfig command, I type sudo ifconfig wlan0 down and nothing happens. I ran it months ...
0
votes
2answers
340 views

Bonding interfaces not working

Everytime I put in the following code (below). The problem is that network devices become unmanaged. I set the managed to true. That didn't work. when I do the ifconfig it is missing the "bond0" ip ...
6
votes
2answers
166 views

Missing manpage for `ifconfig`

$ man ifconfig No manual entry for ifconfig See 'man 7 undocumented' for help when manual pages are not available. $ dpkg -l | grep -i manpages ii manpages 3.54-1ubuntu1 ...
1
vote
1answer
150 views

IP address changes in vmware?

I am using Ubuntu 13.10 in vmware on my Windows PC. So the problem is: when I see my IP using ifconfig command then it shows 198.168.33.180, but when I see my IP on whatismyip.com (on Ubuntu), it ...
0
votes
1answer
88 views

Wireless internet connection problem

I have a problem connecting to the internet using Ubuntu 12.04 I'm trying to connect to my home router/ap using my Lenovo T530 . Every other device works just fine on the WiFi. Also, my T530 works ...
0
votes
2answers
47 views

Cannot acquire DHCP address

I am unable to acquire a wired DHCP ip address. I have Ubuntu 13.10 installed on a thin mini-itx ECS Q77H2-TI motherboard. I'm connecting to my cable modem which does provide ip addresses to other ...
1
vote
3answers
5k views

The command could not be located because '/sbin' is not included in the PATH environment variable

I have a severe problem today: when I type ifconfig it does not show ip configuration on ubuntu 12.04. Can anyone help me on this? Here is the result of ifconfig: Command 'ifconfig' is available in ...
1
vote
3answers
245 views

Only killing eth0 enables internet

I connect to wifi and ifconfig report 3 interfaces (lo, eth0 and wlan0), but I cannot ping anything, including the router. Only after ifconfig eth0 down I get to actually use the internet. What is ...
0
votes
1answer
195 views

ubuntu 1310 with two NICs: one with dynamic address and one with static address

I am running Ubuntu 13.10 on a laptop with one physical wired NIC (eth0) and one physical wireless NIC (wlan0. The current config is shown below (I removed lo interface since it is of no relevance) ...
0
votes
0answers
58 views

network failing after RX errors

I am running 12.04.3. After a period (several hours to a couple of days) the network stops working. I can find nothing in any logs and my router is not recording errors, but I am getting RX errors ...
0
votes
1answer
141 views

Unable to connect to Internet after wakeup from hibernate?

It says Networking is Disabled. I have tried checking that box (which stays checked); but that does nothing. Even tried: sudo ifconfig wlan0 up; which also did nothing. I'm running Ubuntu 13.10 x64.
0
votes
0answers
228 views

How to dynamically switch public IP of my VPS (with multiple IPs)

I have VPS with 7 IPs, running Ubuntu 12.04. You can see output of my ifconfig command here at picture: if config output Now I want to run php script under the different public IP each time. For ...
0
votes
0answers
67 views

unable to connect to wireless on ubuntu 12.04

Some time back my system hung following which I rebooted it. Since then nm-applet does not list wireless network. It only shows wired networks. Rfkill list all shows only Bluetooth connection. ...
0
votes
0answers
365 views

Mininet problem in allocating IP address

I have encountered a problem in Mininet. The eth0 is allocated to NAT in Mininet and has a certain IP address to connect to the internet. But when I define a host only adaptor, the IPv4 is allocated ...
0
votes
2answers
95 views

Identifying correct connection device when reading ifconfig output

I'm trying to get the mac address of my computer. I've run ifconfig like the person in this question, and I get information about eth0, eth1 and lo. The HWaddr of eth0 and eth1 are different, so I ...
1
vote
2answers
3k views

The ifconfig command is not running [closed]

I am using Kali Linux through vmware . I tried to use ifconfig command. but it shows error message command doest exist. please give me a solution.
0
votes
1answer
131 views

ifconfig up for multiple interfaces

I want to execute "up" command for multiple interfaces and thought that using ifconfig eth{0..3} up would help, it doesn't, how can I achieve this ?
0
votes
1answer
696 views

Wired connection keeps disconnecting

The wired connection to a Netgear DS104 hub keeps disconnecting. It has never been able to maintain connection on this system. I have never run this hub on unix but it functions without issue on ...
3
votes
2answers
564 views

Impossible to ping when activating second network card

I'm new to Linux, trying to get a Clonezilla server up. I'm really bad at understanding how my network should be configured. eth1 is the card for internet access, behind a proxy (192.168.41.5:80) eth2 ...
5
votes
1answer
5k views

How to reset ifconfig counters?

When i run ifconfig eth0 see following lines: eth0 Link encap:Ethernet HWaddr 08:00:27:42:81:a7 inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
1answer
2k views

Ignoring unknown interface wlan0=wlan0

So here's a weird one. My wireless works fine if I configure it manually, but fails miserably when I try and configure it in /etc/network/interfaces. I think I've tracked it down to ifup not ...
3
votes
4answers
724 views

How can I get unformatted ip address information in the shell?

I'm writing a shell script which needs information on the state of the network connection - the basic stuff like ip address, subnet, netmask and so on. I could just use ifconfig and sed/grep for the ...
0
votes
1answer
108 views

2 ethernet ports, one on 100mbps, one on 1000mbps problem?

I ran across a strange sight when I ran ifconfig first time today. I have a gigabit server card with 2 ports. I have it set in a bond for 802.3ad usage as my switch supports it. It appears though ...
3
votes
4answers
11k views

Is there a safe way to disable DHCP from command line?

Short version I know this question is very similar to others and I did really search the Internet for answers, but it seems that no approach is working or the solutions seem to be "to complicated to ...
0
votes
1answer
95 views

Ubuntu Server several network ip config?

I have one ubuntu server and i want config that with several IP address! is it possible or no? if yes how I can do that?
2
votes
5answers
4k views

HP Envy dv6t-7300: Disabled WiFi through button and can't enable it anymore

Well, I have a HP Envy dv6t-7300 laptop that came with a Ralink RT5390 WiFi card. Everything was working perfectly, and eventually I press the WiFi button in my keyboard to toggle the card on/off. ...
3
votes
2answers
4k views

NetworkManager problem with 'cloned MAC address'

My problem is that at univ. each desktop computer is given a 'fake'/'cloned' MAC address which is recognised by our network and let us in without further authentication/VPN and the likes (don't ask ...
0
votes
1answer
3k views

Inconsistent internet connection device (eth0 eth1 eth2)

I'm running Ubuntu 12.04, and to my knowledge there is only 1 networking card on my machine (Dell laptop) --- I can't imagine why there would be more than 1. Sometimes my internet connection runs ...
1
vote
2answers
294 views

What is the difference between “ifconfig interface down” and “rfkill block”?

I know rfkill block all will disable everything. But what about ifconfig interfaceX down? When I use it, it just drops the connection. And when I type ifconfig interfaceX up it reconnects to my old ...
1
vote
1answer
1k views

static ip address from XFCE GUI

I'm interested in the IOGear Universal Wi-Fi N Adapter as a wifi adapter. The fine manual states: Installation without WPS - Mac Step 1: Turn off your computer’s wireless connection (if applicable) ...
2
votes
1answer
849 views

Where are my wireless error logs?

When I type ifconfig it shows: eth1 Link encap:Ethernet HWaddr e4:d5:3d:70:81:b3 inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
1answer
712 views

how to find network active time?

How to know uptime ,downtime with timestamps of all connections of ifconfig. For my case they are three eth0,wlan0 and ppp0.
0
votes
1answer
1k views

Ubuntu-server first start

How do you change network settings? ifconfig gives ip 192.168.122.1 (I ping it and the Ethernet card works) I use sudo vi /etc/network/interfeces then after editing auto eth0 ifaces eth0 inet ...
1
vote
0answers
76 views

Necessary to add dns-nameservers and such in interfaces for IPv4 and IPv6?

Simple question, but haven't found an answer anywhere, so turning here: When setting up /etc/network/interfaces do I have to set up the dns-nameservers line both for the inet and the inet6 parts of ...
0
votes
1answer
397 views

Configuring a network interface and changing mac adress permanently

I need to configure a network interface permanently eth1 and to change the MAC address with the specified format : AA:BB:CC:DD:x:y, before the interface is up. A=1;B=2;C=2;D=2;x=6;y=8. I wrote in ...
0
votes
1answer
61 views

Question for class

I have a question for class that I cannot figure out, I was hoping the helpful folks at Ask Ubuntu could help. The question is basically this: Your Linux system appears to have a DHCP problem. You ...