Questions tagged [ifconfig]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
183 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 ...
Nitheesh Chandrika's user avatar
2 votes
1 answer
8k 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 192.168.47....
angel_30's user avatar
  • 303
0 votes
1 answer
2k 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 ...
IQAndreas's user avatar
  • 3,188
1 vote
1 answer
1k 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 ...
Pratham's user avatar
  • 111
0 votes
2 answers
4k 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 ...
LiquidAurum's user avatar
7 votes
2 answers
1k 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 ...
cychoi's user avatar
  • 276
2 votes
1 answer
2k 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 ...
user228046's user avatar
0 votes
1 answer
2k 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 ...
AugustinJ's user avatar
1 vote
2 answers
53k 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 (...
Owen Thomas's user avatar
9 votes
4 answers
53k 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 '...
Farooq's user avatar
  • 267
1 vote
3 answers
3k 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 ...
sds's user avatar
  • 2,543
8 votes
5 answers
27k views

Can't change my mac address - can't assign requested address

I wonder, why can't I change my mac address by doing this: sudo ifconfig wlan0 down sudo ifconfig wlan0 hw ether 03:a0:04:d3:00:11 The error is SIOCSIFHWADDR: Cannot assign requested address I ...
Incerteza's user avatar
  • 1,470
0 votes
1 answer
559 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) ...
user137708's user avatar
0 votes
1 answer
333 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.
stackoverflowuser95's user avatar
0 votes
2 answers
426 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 ...
Andrew Grimm's user avatar
  • 1,314
3 votes
2 answers
22k 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.
raj's user avatar
  • 31
0 votes
1 answer
3k 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 ?
Ba7a7chy's user avatar
  • 539
0 votes
1 answer
2k 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 ...
MetaChrome's user avatar
3 votes
2 answers
2k 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 ...
Antoninarto's user avatar
16 votes
1 answer
77k 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: fe80::...
oddone's user avatar
  • 831
2 votes
1 answer
11k 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 ...
RandomInsano's user avatar
3 votes
4 answers
2k 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 ...
jackweirdy's user avatar
  • 3,440
0 votes
1 answer
234 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 ...
Icero's user avatar
  • 83
4 votes
5 answers
84k 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 ...
Mister Henson's user avatar
0 votes
1 answer
206 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?
user177498's user avatar
2 votes
5 answers
6k 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. ...
mbc07's user avatar
  • 73
4 votes
4 answers
25k 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 ...
bliako's user avatar
  • 41
0 votes
1 answer
5k 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 ...
synaptik's user avatar
  • 213
1 vote
2 answers
1k 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 ...
Suhaib's user avatar
  • 4,110
1 vote
1 answer
6k 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) ...
Thufir's user avatar
  • 4,551
8 votes
1 answer
13k 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: fe80::e6d5:3dff:fe70:...
JD Schmidt's user avatar
1 vote
1 answer
7k 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.
Raja G's user avatar
  • 102k
0 votes
1 answer
9k 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 ...
And's user avatar
  • 791
0 votes
1 answer
1k 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 /...
Michelle's user avatar
-1 votes
1 answer
76 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 ...
Tyler's user avatar
  • 11
0 votes
1 answer
3k views

Changing internal home network ip address for connected devices

I have a few computers at home. For each of the computers, I can see the internal home network ip address on any given device by typing in ifconfig in the terminal. If the device is connected to ...
oshirowanen's user avatar
  • 3,977
3 votes
2 answers
35k 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 ...
obetus's user avatar
  • 347
11 votes
3 answers
67k 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 ...
Ivan's user avatar
  • 57.2k
33 votes
7 answers
40k views

How can I display my machine's IP address on a TTY login screen?

The server I administrate has a dynamic IP address assigned by DHCP, which is inconvenient. When I want to SSH into it, I have to first log in by hand and use ifconfig to find its current IP address. ...
arthropodSeven's user avatar
18 votes
7 answers
63k 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 ...
Lewis Goddard's user avatar
5 votes
1 answer
17k 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 ...
tsusanka's user avatar
  • 556
5 votes
1 answer
49k 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 ...
shengy's user avatar
  • 612
5 votes
3 answers
6k 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 ...
ven's user avatar
  • 51
2 votes
3 answers
174 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 ...
Ivan I.'s user avatar
  • 133
5 votes
2 answers
38k 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 ...
yayu's user avatar
  • 3,381
1 vote
1 answer
145 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 ...
charles horvath's user avatar
1 vote
2 answers
8k 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 ...
Mads's user avatar
  • 11
3 votes
5 answers
17k 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 ...
SQLSavant's user avatar
  • 283
20 votes
1 answer
148k 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 ...
wilhil's user avatar
  • 1,785
3 votes
1 answer
3k 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 ...
Mr. Omsn's user avatar
  • 131