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

learn more… | top users | synonyms

1
vote
1answer
23 views

Problems turning off the wireless card

I am trying to turn off wireless using the ifconfig command ifconfig wlan0 down and nothing happens no errors displayed in the terminal and wireless networks are still displayed in the network manager....
0
votes
4answers
230 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, ...
1
vote
0answers
591 views

Script in /etc/network/if-up.d not executing when eth1 is on

I have a script in /etc/network/if-up.d . My intention is that script will execute automatically whenever my eth1 interface is up. But it is not happening. The script also have 755 permission level. ...
0
votes
1answer
282 views

Even after removing vlan entry in /etc/network interfaces file, ifconfig is showing the intreface

I had set up a vlan in interfaces file. Later on, even after removing the entries and restarting network, the ifconfig command is displaying that interface. Even ifdown isnt taking it down. Ifdown ...
7
votes
2answers
27k 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 ...
1
vote
0answers
29 views

Using Multiple IPs for the same interface for different application?

I want to do some IP aliasing, but I want my browser to use a different IP from the IP for BitTorrent. For example: I want the browser to use this IP for example 192.168.1.45 and BitTorrent to use ...
0
votes
1answer
296 views

What is the difference between “Cloned MAC address” in “Edit Connection” GUI and ifconfig command?

I found that there are at least two methods to assign a spoofed MAC address to my network connection: Assign a MAC address to a connection using "Edit connection" GUI in WiFi (or Ethernet) tab ...
0
votes
1answer
9k 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
vote
2answers
2k views

What's the difference between `ifconfig`, `interfaces`, `ifup` and `ifdown`? [duplicate]

I'm somewhat new to network interfaces and I'm confused with the difference between the 4 terms. I've seen the related question here: What is the difference between Network Manager and 'ifconfig&#...
0
votes
1answer
413 views

use of eth0 and wlan0

I have a simple Arduino HTTP Server and I want to browse this server from my Ubuntu. If I assign to Arduino an IP 192.168.0.9 and I connect the Arduino HTTP Server to my router (to any of the 4 ...
31
votes
3answers
20k 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 ...
0
votes
1answer
123 views

Ubuntu Server , Installed Hdd into another computer and now have no internet connection

EDIT: NVRM I figured it out on my own.. I needed to edit a file and remove the Previous eth0 and then rename my eth1 to eth0. I would like to set a static IP adress though if anyone wants to help me ...
0
votes
1answer
48 views

I could'nt use ethernet in windows so i installed Ubuntu14.04 but its same.i ran the commands results are below

tonycarter@tonycarter-Inspiron-3521:~$ ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK ...
2
votes
2answers
4k 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
3answers
132 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 ...
0
votes
2answers
1k 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 ...
0
votes
1answer
137 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 ...
-1
votes
1answer
1k 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
477 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 ...
2
votes
5answers
5k 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
279 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
1answer
1k 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
59 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 ...
1
vote
1answer
3k 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....
0
votes
1answer
73 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
282 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
1answer
3k 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
1answer
314 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 ...
6
votes
2answers
456 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 ...
2
votes
1answer
1k 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
2answers
937 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
1k 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
4k 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
334 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
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 ...
0
votes
1answer
642 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
175 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 ...
0
votes
1answer
2k 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.
2
votes
2answers
11k 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
546 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
1k 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
996 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 ...
9
votes
1answer
18k 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::...
0
votes
1answer
6k 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
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 ...
0
votes
1answer
160 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 ...
0
votes
1answer
130 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?
3
votes
1answer
17k 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
18k 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
1answer
4k 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 ...