Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ifconfig]

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

0
votes
1answer
35 views

On 16.04, ifconfig-style interface-alias is lost when dhclient fails to get a lease

I have a lot of machines (both old ubuntu14.04 as well as newer ubuntu16.04) that have their integrated ethernet configured like this: /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet ...
0
votes
0answers
23 views

Ubuntu 18 LTS : Network not started at system startup

After a big system freeze linked to a Jenkins frozen build, not network interfaces started at system boot. Every time i boot, i have to do: ifconfig eth0 up then dhclient -v eth0 and service ...
0
votes
0answers
17 views

Failed to start session, WiFi down

All of a sudden I receive a "Failed to start session" on Ubuntu when I login with lightgdm. I googled solutions, and they all tell me to reinstall ubuntu-desktop, however it seems like my WiFi card ...
0
votes
0answers
24 views

ifconfig interrupt issue

Can I get some help with ifconfig on an Ubuntu Server 14.04 system? I'm building the system as a router so it has two interfaces. When I run ifconfig, one of the NICs (eth1, my LAN interface, which is ...
0
votes
0answers
12 views

Mininet Ifconfig Error

I have successfully installed Mininet version 2.2.2 on ubuntu 18.04 (in Oracle Virtual Machine). I am getting error on the following commands: sudo mn and sudo mn --test pingall. IMAGE of the error ...
1
vote
0answers
9 views

VM (created through Vagrant) is not listing the inet in eth1

I created a vm through vagrant with the following in vagrant file: config.vm.box = "ubuntu/trusty64" ...... ..... .. config.vm.network "public_network" Note the warnings here : default: Warning: ...
1
vote
1answer
21 views

Ubuntu 14.04 lost wlan0 connection after a certain time

My computer is running Ubuntu 14.04 without GUI. The wlan0 connection is working fine (in the first 5 mins or so) every time I start the computer. Here are the ifconfig and iwfonfig output at the ...
0
votes
0answers
20 views

Clean output from IP like ifconfig gave

Is there a way to get a clean/well formatted output from ip? I know I'm still learning to us it but compared to what ifconfig used to print 'ip a' is just a mess and takes far longer for your eye to ...
2
votes
2answers
88 views

Change network mac address using “ip” command

Usually I would be able to change my wifi mac address with the ifconfig command like : ifconfig <iface> hw ether XX:XX:XX:XX:XX:XX Ubuntu have however deprecated ifconfig in behalf of the "ip" ...
0
votes
2answers
70 views

switching from ifconfig to ip but still not seen by router

I have searched google, askubuntu and stackoverflow and I cannot find a solution to my situation. currently on ubuntu 16.04.4 LTS previously connected to Netgear R7000 behind att pace 5268AC with a ...
0
votes
0answers
100 views

ping to alias IP failes

I'm using Ubuntu 16.04.4 on lenovo yoga 900. I have a tp-link ethernet adapter. I configured the network (/etc/network/interfaces) with 2 fixed IPs as follows: auto lo iface lo inet loopback auto ...
8
votes
1answer
4k views

Ifconfig in Ubuntu 18.04 is not working [duplicate]

Recently I have switched from Ubuntu 16.04 to 18.04 and I have found that ifconfig is not working in Ubuntu 18.04. So what alternative does Ubuntu 18.04 offer and what is the reason for removing/...
0
votes
0answers
25 views

How to activate a network card

Hello I am trying to set up a firewall on a ubuntu 16.04 server. I am using VMware Workstation 14 for the server and then I have to activate my new added network cards. I cant see them when I use ...
1
vote
0answers
130 views

OpenSuSE removed netstat and ifconfig. What are the plans for ubuntu?

OpenSuSE removed netstat and ifconfig. What are the plans for Ubuntu? Will Ubuntu remove these commands, too?
33
votes
2answers
32k views

ifconfig missing after Ubuntu 18.04 install

I've just installed Ubuntu 18.04 and selected "minimal install". I then tried to run ifconfig in the terminal and got the following message -bash: ifconfig: command not found How come the net-tools ...
0
votes
0answers
107 views

Can't connect to wifi - Wifi device wlp1s0 disconnected

Been having trouble with wifi on my laptop for a few months now when I am in ubuntu. Out of nowhere, I no longer see a network symbol in the top right of my UI. Wifi connections that I already had ...
0
votes
1answer
118 views

Ubuntu 17.10 with two NICs: routing requests to correct NIC

I have done a bunch of searches about this, and found a lot of answers that don't quite seem to fit my question. If this question has been answered already, I apologize. My PC has Ubuntu 17.10, and ...
3
votes
2answers
6k views

Add second IP-address to interface in 17.10

How do I add a second IP-address in Ubuntu 17.10 like the old days where you could add eth0:1, eth0:2 etc. I've tried but lots of commands have been deprecated like ifup, ifdown etc. and the network ...
0
votes
0answers
251 views

Ubuntu 16.04 server is responding to arp requests for other interfaces- this is NOT two NICS on ONE network

So, I've got this issue on my Ubuntu boxes, and this behavior does not occur on FreeBSD, Solaris, Windows, or even VMware ESXI. Scenario: Ubuntu Server has 2 NICs, one CAT6 to one switch, one Fiber ...
0
votes
1answer
311 views

ifconfig wlan0 down in ubuntu 17.10

I am wondering how to use ip in ubuntu 17.10. For instance, how we are going to implement the following down/up in ubuntu 17.10? ifconfig wlan0 down/up
0
votes
0answers
23 views

Tap NIC Auto Up on Reboot Issues

I am running Ubuntu 16.04.3 and have 2 NICs, ens160 and ens192. Ens160 is for management and functions fine, however, ens192 is receiving data from a tap. The problem I'm having with ens192 is that it ...
0
votes
1answer
581 views

inet addr missing after ifconfig

I am making a cloud server and am following this video tutorial. Everything went FUBAR when I used the ifconfig command in the terminal and did not receive the IP of my server. I have also tried ...
0
votes
1answer
148 views

cannot maintain new mac address via macchanger

While playing with macchanger, I noticed that in attempting to create a random mac address, upon bring the wireless connection back online the mac address reverts to the permanent mac address once i ...
-1
votes
1answer
412 views

no primary network interface declared for /etc/network/interfaces

Looking at setting up a bridge network, I switched from wi-fi to a wired connection. However, my networking is different than described: $ cat /etc/network/interfaces # interfaces(5) file used by ...
0
votes
0answers
47 views

KvmWithBridge: primary network interface (wi-fi)

How do I set up a bridge network? thufir@dur:~$ thufir@dur:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback thufir@dur:~$ thufir@dur:~...
0
votes
0answers
25 views

Internet Connection not working anymore, for one specific WiFi

So I have been using a Wifi, which forced me to change my MAC address to continue using it. I changed my MAC by using the following commands, and then reconnected: sudo ifconfig wlp3s0 down sudo ...
1
vote
1answer
910 views

ifconfig not updating with new dhcp provided address

I have a machine that I've setup as a router using Ubuntu 17.10 server. I have three Ethernet ports: one I use as a WAN [referred here as: ${WAN}], and the other two I've bridged as LAN. My WAN ...
2
votes
0answers
139 views

Interfaces with non-physical interfaces

I found a rather big difference between some boxes I have (some are debian... some ubuntu), and I'm not sure why... or what the fix might be. Essentially... if I create an "iface" entry in interfaces ...
0
votes
1answer
364 views

difference between methods to use multiple ip addresses

I have a question about using multiple ip addresses on one NIC card. I have searched, and found some methods. Method 1 (Adding new ip, 192.168.201.131) Add new ip by using ip addr add command $ ...
1
vote
1answer
1k views

Why does `/sbin` not included in $PATH for new user?

ifconfig is located in /sbin/ifconfig. I don't have problem issuing ifconfig command in root user. The problem started when I created a new user. root@Ubuntu:~# useradd -m user root@Ubuntu:~# root@...
0
votes
0answers
57 views

Network connection failure

There is network connection loss on an Ubuntu 16.04.3 desktop machine. systemctl status networking.service gives following output: Failed to start Raise network interfaces. sudo service networking ...
0
votes
2answers
1k views

How do I configure DNS resolution if resolvconf doesn't work?

My /etc/resolv.conf will not be written so DNS resolution is not working. I'm running Ubuntu Server 16.04.1 LTS in a virtual machine on our office server. This is my /etc/network/interfaces: # This ...
2
votes
2answers
550 views

How do I assign a static IP address in Ubuntu 17.04 without rebooting?

How do I assign static IP addresses to interfaces in Ubuntu (17.04) without rebooting the machine? This is pretty straightforward on a Unix machine, but I'm having trouble on this one. Please don't ...
0
votes
1answer
1k views

ifconfig wlan0 up error [closed]

Whenever I run ifconfig wlan0 up I get: SIOCSIFFLAGS: Operation not permitted my lshw -C network shows: *-network:1 DISABLED description: Wireless interface physical id: 2 logical name: ...
0
votes
0answers
141 views

wlo1 Interrupt:19

I have got a problem with my network. After I installed bunch libs and Programms (i am sure that none of them is about the network) to my ubuntu 16.04.2 LTS, I am no longer able to connect to wifi. ...
0
votes
0answers
615 views

Ubuntu and Static IP Address

I'm trying to figure out how I can assign a static IP address to my default ethernet adapter eth0 - all attempts so far have been fruitless and ended up in frustration. I am running Ubuntu 14.04.5 ...
-1
votes
1answer
81 views

Capture particular details from `ifconfig` using a script [closed]

Let's say I run the command ifconfig for my connected network. How can make a bash script to use this command and find what comes after inet , netmask and broadcast and print those IP Addresses in a ...
1
vote
0answers
50 views

Can I change the ipconfig names to the old convention? wlanX, ethX? [duplicate]

Some time ago there was a monumental change in the naming convention for networking in Ubuntu. wlanx became some strange vlp43txuv and eth0 became enpcl231. Why it became to be an ordinary user like ...
1
vote
1answer
235 views

Can't have dhcp and static IP on the same interface [duplicate]

I'm having a problem. Can't set dhcp and static IP on the same interface at the same time. My interfaces file: auto eth0 allow-hotplug eth0 iface eth0 inet dhcp iface eth0:0 inet static address 192....
1
vote
0answers
632 views

Unable to change MAC using macchanger in UBUNTU 17

I've using macchanger in UBUNTU 16.04 to change the mac address of wireless lan (in order to be able to manage chromecast in my hotel). I made a script to set my wireless lan MAC as the same MAC of ...
1
vote
1answer
1k views

ifconfig not showing the correct ip address

There is an Ubuntu server (16.04.02 LTS) running on vm in production. From Internet I can ssh to it via xxx.xxx.xxx.27, I can also access the websites on it via both ip (xxx.xxx.xxx.27) and hostname. ...
3
votes
1answer
3k views

How to get MAC address from ifconfig

How can I get MAC address on my notebook? I know I must input ifconfig, but I don't see the line "HWaddr". This is my output: $ sudo ifconfig enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu ...
0
votes
0answers
827 views

Network Manager conf file

I found a few sources explaining how it's possible to change your Mac Address via the Network Manager conf file: 1) Create the following file: /etc/NetworkManager/conf.d/30-anon.conf 2) put the ...
0
votes
0answers
256 views

Why is there no easy PERMANENT way to spoof your wifi Mac address on ubuntu?

I apologize in advance for my feelings of unhappiness. I have been looking at all the alternatives out there to spoof my Mac Address on ubuntu. What I want is to spoof my Mac Address and for it to ...
0
votes
0answers
38 views

cloned mac address not working [duplicate]

When I run ifconfig I see a specific mac address connected to my Ethernet connection. So to change my mac address, I go to the topright where the internet connections are displayed, click on the Edit ...
0
votes
0answers
133 views

Could not create tunnel device. Fatal. when running icmptx

I'm trying to follow this tutorial on using ICMP protocol to access the internet to bypass a public WiFi's authentication page. Why do I get Could not create tunnel device. Fatal. when I run icmptx -...
0
votes
1answer
111 views

(Ubuntu Server) Is there a way to check if eth0 is working, and if not, enable wlan0?

Hi I'm setting up a server that has a wireless card and an ethernet card. I'd like to have only the eth0 connection working. However, if the eth0 fails for some reason, I'd like it to turn on wlan0 ...
9
votes
2answers
34k views

cannot find device eth0

I'm new to ubuntu and need to install the ubuntu xenial server (16.04) edition to install MongoDB into a VirtualBox. After installation I tried to change from dhcp to a static ipv4 address. So I ...
1
vote
1answer
136 views

16.04 - issues with metrics when ethernet and wifi are plugged in

After upgrading to 16.04 on a lot of our laptops we have noticed that the networking has changed and the WiFi adapter automatically get's a higher metric 600 compared to the Ethernet which has a 0 ...
0
votes
1answer
129 views

How can i ping loopback IP without entry in routaing table?

ifconfig's output: $ ifconfig enp4s0f1 Link encap:Ethernet HWaddr f8:32:e4:d3:a1:4e UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:...