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

learn more… | top users | synonyms

22
votes
3answers
12k views

What is the difference between Network Manager and 'ifconfig' 'ifup', etc?

Ubuntu seems to provide at least two network "toolsets" (for lack of a better term). I'm running into conflicts between these two. Network Manager Something which is more like the traditional ...
10
votes
5answers
14k views

What is the active MAC Address of my computer?

While looking to find the MAC Address of my computer as it appears to a wireless network, it was recommended that I run ifconfig. Having executed that command in the Terminal, I noticed that, unlike ...
6
votes
2answers
157 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 ...
6
votes
1answer
2k views

How can I display eth0's IP address at the login screen on Precise Server?

The server I administrate, inconveniently enough, has a dynamic IP address assigned by DHCP. The convenient counterbalance, though, is that it happens to be set up about two feet from where I sit. I ...
4
votes
1answer
4k 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: ...
4
votes
3answers
617 views

How to allow a “standard user” (no sudo) make IP config changes without requiring admin password

Anyone know if it is possible to have a "Standard User" account make IP changes (via GUI or terminal) without requiring the admin (sudo) password? I want the user to be able to change interface from ...
3
votes
2answers
9k views

Add static ARP entries when network is brought up

I have some pretty dumb IP devices on a subnet with my Ubuntu server, and the server receives streaming data from each device. I have run into a problem in that when an ARP request is issued to the ...
3
votes
1answer
7k views

Connecting to internet after clean install of ubuntu server 12.04

I've installed ubuntu server on my computer. I would like to connect to the internet to download more software. I've done: ifconfig eth0 up so when I print ifconfig I can see the eth0 listed, but ...
3
votes
2answers
3k views

How to rename an Ethernet interface?

As my built-in NIC was not supported by Ubuntu out-of-the-box I was forced to use a USB NIC for temporary installation-time Internet connection. And the USB NIC has taken the eth0 name making the ...
3
votes
5answers
16k views

Ethernet connectivity problems after upgrading to Ubuntu 12.04LTS

I tried upgrading once more to 12.04 after it went live. I had tried both Beta 1 and Beta 2. The problem is that now I'm getting sporadic network connectivity. My computer is hooked up straight to ...
3
votes
1answer
11k views

How to define a secondary IP address that is down by default

I can define a secondary IP address on the same network card by adding the lines auto eth0:1 iface eth0:1 inet static address 192.168.9.101 ... to /etc/network/interfaces. This ...
3
votes
2answers
3k 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 ...
3
votes
4answers
17k views

ifconfig : Command 'ifconfig' is available in '/sbin/ifconfig'

My question is related to another open question. My echo $PATH gives me an output which is like ...
3
votes
2answers
495 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 ...
2
votes
4answers
569 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 ...
2
votes
5answers
3k 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. ...
2
votes
2answers
5k views

Identify Wireless MAC Address

I have a desktop for which I am using an Asus N-10 USB Wireless Adapter. No driver software is needed I guess since I can see the available wifi networks. However, I am unable to connect as the "MAC ...
2
votes
1answer
17k views

Is it possible to use Ifconfig to switch an interface to DHCP and if not, what is the best way?

I have just set up a new Ubuntu server and I am going to be doing a lot of networking tests. During setup, I simply skipped the network step. I now need to switch between DHCP and an address quite ...
2
votes
1answer
2k views

Losing ip addresses, during cable disconnects

I have two Ubuntu PCs whose network cards connected directly to each other with cross-over cable. I have assigned ip addresses manually to their interfaces using command similar to ifconfig eth0 ...
2
votes
2answers
4k views

How to configure my VirtualBox's Ubuntu IP?

I can't ping my Ubuntu on VirtualBox (within another Ubuntu). I had set my ip using: # ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up but the ping still fails. What's different when you're in ...
2
votes
2answers
4k views

eth0 not working on startup

This might sound strange but, working with my Lubuntu 10.04 i've experienced troubles when connecting to my eth0 newtwork. After some googling, i've found out that by writting in the CLI the following ...
2
votes
1answer
32 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 ...
2
votes
1answer
1k views

device shows up in lsusb + adb but not in ifconfig

I'm running Ubuntu in the VMWare Player under Windows 7: root@ubuntu:/# uname -a Linux ubuntu 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 \ i686 i386 GNU/Linux I'm trying to ...
2
votes
3answers
9k 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 ...
2
votes
1answer
717 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: ...
2
votes
1answer
212 views

Likewise 6.1 breaks network on Ubuntu 10.04.3

I'm trying to use PowerBroker LikeWise 6.1 on Ubuntu LTS 10.04.3 to join to my AD domain. I've done this in the past before LikeWise was owned by PowerBroker & I can get it to work "pretty well". ...
2
votes
3answers
4k views

ethernet disconnected, shows up in ifconfig

I am running 11.04, no remix. After installation, I could use wireless networks, but not ethernet. When I click on the connections menu item, it says Wired Network disconnected How do I fix this? ...
2
votes
1answer
134 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 ...
1
vote
3answers
3k 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
2answers
265 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
2answers
3k views

What does interrupt in eth0 mean?

I wonder if "Interrupt" affects internet connection. eth0 Link encap:Ethernet HWaddr 60:eb:69:6c:55:83 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 ...
1
vote
2answers
3k views

How to restore ethernet connection?

I've had some issues with installing Lazarus in 10.04. After I finally installed it with aptitude, while running it prompted whole bunch of errors. Finally my PC was suspended and I had to reset it. ...
1
vote
2answers
31 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 ...
1
vote
2answers
2k 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.
1
vote
3answers
3k views

Command line ifconfig problems - Not detecting all NICs

I am in the command line of Ubuntu server edition 10.04 and I have 3 Nic cards installed. When I type ifconfig it only detects one: Eth0. I tried doing sudo apt-get update, this did not work. Any ...
1
vote
2answers
2k views

Why do i have to be root to run the command ifconfig?

I've recently switched from Ubuntu 10.04 LTS to 12.04 LTS, and one of the changes i have noticed is that when i try to run the command ifconfig (for example to view my own ip), i get the following ...
1
vote
1answer
4k views

How do I make the script to run automatically when tun0 interface up/down events?

I use VPN client to connect to my corporate servers. It creates tun0 interface after starting the client. I've written script which install specific routes point to tun0 interface and rest to use ...
1
vote
1answer
42 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 ...
1
vote
1answer
85 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 ...
1
vote
3answers
151 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 ...
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) ...
1
vote
2answers
100 views

Finding all other workstations on the network

at my home I have both workstations directly use Ethernet cables to connect to router, and also a few laptops/mobile devices that connect to wifi. Is there a command in linux to see list of all ...
1
vote
1answer
124 views

How can I make sure my server is connecting through my router?

I have a Ubuntu server with PHP, Apache2 and all of that setup and working on my LAN. Meaning from any computer connected to the same router I can connect to 10.0.0.3 (My server). I have setup my ...
1
vote
1answer
254 views

Ifconfig bandwidth tracking

I've been using ubuntu servers for a long time, but something i've never quite understood was the ifconfig command and total bandwidth. I've found that on every server i've used, and some desktop ...
1
vote
1answer
42 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 ...
1
vote
0answers
73 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 ...
1
vote
0answers
666 views

OpenVPN bridge client on Ubuntu 11.10 doesn't work [closed]

I'm trying to set up my desktop running Ubuntu 11.10 to connect to my OpenVPN server in bridge mode. I have my client configuration file set up like so: remote [omitted] 1194 client dev tap0 proto ...
1
vote
0answers
146 views

I'm having trouble connecting to a wireless network, and the hardware switch is on, [closed]

So, just recently my computer has not been connecting to the internet. It had been working before but it just went off one day in the middle of use. I've gone into the network setting and made sure ...
1
vote
3answers
3k views

Connected wireless connection, but no wlan0. What's causing this?

I'm connecting (to the internet) over a wireless connection (as in, it's already connected), but there's no wlan0. Output produced by ifconfig: eth0 Link encap:Ethernet HWaddr 5c:ff:35:06:9c:b3 ...
0
votes
1answer
32 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 ...