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

learn more… | top users | synonyms

5
votes
2answers
131 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
43 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
0answers
29 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
26 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
420 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
69 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
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 ...
0
votes
1answer
118 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) ...
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 ...
0
votes
0answers
24 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
36 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
82 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
62 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
118 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
1answer
305 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
2answers
63 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
1answer
12k 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 ...
3
votes
1answer
6k 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 ...
0
votes
1answer
334 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.
1
vote
2answers
375 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
54 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 ?
2
votes
4answers
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. ...
0
votes
1answer
421 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
340 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 ...
0
votes
0answers
56 views

Failing to add second NIC for direct crossover connection to second server

We have two servers, now standing next to each other at our hoster. The have both a second NIC and are connected directly. I have added the new NIC via the following commands: Server 1 $ sudo ...
1
vote
1answer
2k views

How to keep network interface up, 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 ...
3
votes
1answer
2k 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
0answers
502 views

Alfa AWUSO36H usb adapter driver detected, internet signal but will not make connection

I've been reading threads for 2 weeks on this subject with no luck. I'm using a Dell Inspiron laptop with a Broadcom BCM4312,802.11b/g LP-PHY internal wireless card. I just purchased an Alfa AWUSO36H ...
0
votes
0answers
166 views

Cannot get down interaface with ifdown

In /etc/network/interfaces I have defined two interfaces: lo and wlan0. When I run ifconfig I get three interfaces: lo, wlan0, wlan0:0. When I run ifconfig -a I get five interfaces: eth0, eth0:0, ...
0
votes
1answer
1k 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 ...
2
votes
4answers
352 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
103 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 ...
2
votes
3answers
5k 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
1k views

How to change wlan0's channel

When setting the channel to wlan0, I get an error: SET failed on device wlan0 ; Device or resource busy. I tried to shutdown wlan0 by: sudo ifconfig wlan0 down and wlan0 did not appear in the ...
0
votes
0answers
100 views

Unable to connect through WAN (works on Vista)

I am unable to connect through my routers WAN on Ubuntu and Elementary Luna. As I put the cable directly into Ethernet and not over my router, connection works normally. Also, everything works just OK ...
0
votes
1answer
73 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?
6
votes
1answer
1k 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 ...
8
votes
5answers
10k 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 ...
0
votes
0answers
63 views

can not get local ip(external access)

I run apache2 on ubuntu 12.0 (it runs on vmplayer of winxp) I call ifconfig it only display information of eth0 (internal ip). It does not display any information of eth1(that I hope to access the ...
1
vote
1answer
3k 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 ...
3
votes
2answers
2k 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
1answer
9k 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
7k 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 ...
0
votes
0answers
52 views

Prevent processes from changing ifconfig settings for wired ethernet interface?

For speed, I often connect two computers directly through an ethernet cable, using the following recipe: ubuntu@box1# ifconfig eth0 1.1.1.1 netmask 255.255.255.0 up ubuntu@box2# ifconfig eth0 1.1.1.2 ...
0
votes
0answers
135 views

Automatic ifup Virtual Netowrk Interface Assigned to a Network Namespace

I've set up a configuration that uses the solution mentioned in this post: link and I'm able to ping my physical local network from my vpn namespace and vice-versa. For reference my config looks ...
0
votes
1answer
2k 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
224 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 ...
19
votes
3answers
10k 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 ...
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 ...
1
vote
1answer
876 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) ...