Questions tagged [ifconfig]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
104 views

problems with Hyper-v ethernet external connection

I am using Hyper-v with ubuntu20.04. I want to set static IP. I created external virtual switch. I try few things to set address. Through ifconfig (ifconfig eth0 192.168.0.70/24), through netplan. ...
user avatar
0 votes
0 answers
86 views

How can I configure a setting where netplan apply doesn't effect all my interfaces?

So basically I run networking tests on my ubuntu machine and I use a few WAN interfaces and VLANS. I run openVPN tunnels over my WAN. whenever I decide to change one of my interface's configuration, ...
user avatar
  • 1
1 vote
0 answers
108 views

Issues in creating VLAN interface using netplan on ubuntu

I have been trying to create a vlan interface on my ubuntu VM which has one network adapter. I could see that the vlan link has been successfully created, but I don't see any traffic passing through. ...
user avatar
0 votes
0 answers
72 views

Ubuntu 18.04.4 LTS production server: no network, no ip adress & No carrier

We have a dedicated offsite server in a server center and yesterday suddenly we lost connection to the production server. No one was working on the server at the time. I only have a RemoteConsole ...
user avatar
  • 1
0 votes
0 answers
46 views

WiFi interface does not starts on boot

I was toying around with hostapd and I don't know what I did but now on rebooting my wifi is not starting. ifconfig shows all the interfaces but the wlan0. Right now I am using a workaround by ...
user avatar
0 votes
0 answers
54 views

Thinkpad E14 has a WiFi chipset, but shows me two WiFi cards

I had installed Ubuntu 18.04 on my E14 and installed the WiFi driver offline. Now, it shows me two WiFi cards. How can I disable one? Or, what else could I do? Here is an image of ifconfig: Follow is ...
user avatar
0 votes
0 answers
458 views

rfkill block wifi doesn't persist after a reboot

So I'm trying to find a way to permanently disable and enable the wifi adapter on demand. Now most questions regarding this here seem to have the problem of rfkill blocking their wifi by default and ...
user avatar
0 votes
0 answers
294 views

Is there an equivalent ip command parameter to the ifup "--force" argument?

As ipconfig is depricated, I am looking at the ip command. As ip can up/down interfaces, I am also looking to change ifup etc. But I do not see an ip equivilent to the likes of: ifup --force wlan0 Or ...
user avatar
0 votes
1 answer
32 views

Will my WLAN interface IP address ever change?

A naive question, I'm trying to understand output from ifconfig. wlp59s0 == wlan, pci bus 59, slot 0 (pci or port??) The inet addr is: 192.168.1.240. Is this statically assigned to the card for its ...
user avatar
  • 111
0 votes
3 answers
117 views

How to get total network usage in terminal since pc opened

I can get total network usage from terminal by ifconfig wlp0s20f3 but i also get many other extra info about wlp0s20f3 device. The output: wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> ...
user avatar
  • 270
0 votes
2 answers
271 views

How to change MTU without ifconfig in ubuntu 18.04?

I need to change the MTU size in my newly installed ubuntu 18.04. This can be done with ifconfig. But i can not install ifconfig. Whenever i run command sudo apt install net-tools i get the following ...
user avatar
1 vote
1 answer
2k views

A MAC address is a string of zeros. Why?

When I execute: $ cat /sys/class/net/*/address I get: f4:b5:20:23:9a:a4 00:00:00:00:00:00 The 1st is my ethernet MAC address, and the 2nd is, I guess (I'm not an expert on those things), my computer'...
user avatar
0 votes
1 answer
231 views

Changing ip by console, and update route table (on virtualbox)

Cheking routes before changes user@ubuntu--k8s-master:~$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 ...
user avatar
  • 101
0 votes
1 answer
398 views

Unable to set interface up in Ubuntu 18.04

I just installed Ubuntu 18.04 on a new laptop. During the installation I was able to connect to a network, so when I finished the installation and updated the software, Ubuntu is not showing any ...
user avatar
1 vote
0 answers
802 views

Trouble adding static routes in /etc/network/interfaces

I'm trying to add in static routes into /etc/networking/interfaces, but it's not working: I'm using the following commands per this article in order to connect with my Docker containers using ...
user avatar
0 votes
0 answers
342 views

Intel NUC BEH2-i3 Internet RX drops/packet loss and device interrupt

I recently switched from windows 10 to Ubuntu 20.04LTS because i want to host a server (minecraft) Now it appears i have packet loss as i see this on ifconfig and netdata (webmonitor). I get the ...
user avatar
0 votes
0 answers
87 views

How to hold a point to point wired connection up

I am trying to transfer files between two computers over a point to point gigabit Ethernet connection. I run the following command to bring up the interface: ifconfig eno1 192.168.100.1 up On the ...
user avatar
  • 974
0 votes
3 answers
610 views

Which one is my ip address in Ubuntu

I am new in ubuntu. Which one of following is my ip address ? This is result of "ifconfig" on terminal This is result of "ip a" on terminal
user avatar
2 votes
2 answers
3k views

After a restart due to a system crash the ethernet interface is disappeared. How to restore it?

I am not so into Linux and I am experiencing a very strange problem with a Linux 19.10 system on which I am working into VmWare workstation (but I suppose that it is not a VMware related problem). ...
user avatar
  • 3,919
0 votes
1 answer
83 views

18.04: Different IP addresses found with IP lookup command line

I am doing the following from Ubuntu 18.04 LTS: ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.17.208.65 netmask 255.255.255.240 broadcast 172.17.208.79 ...
user avatar
1 vote
1 answer
84 views

Help with finding a "default" IP on a device with static ip [closed]

So I had a device that I connect via ethernet. It had a default interface file like this one: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp hostname dummy I changed dhcp to ...
user avatar
0 votes
0 answers
98 views

I used to "eth0", why now we have "enp3s0" and "ens3"? [duplicate]

So ... I remember vaguely how to setup network with static IP. I got dedicated server from ikoula and for some stupid reason, it doesn't have DHCP. Before, I would just add the static IP to /etc/...
user avatar
0 votes
0 answers
385 views

Ethernet port missing in Jetson TX2

I have a Connect Tech Rudi TX2 device that came with Ubuntu 16.04 installed and it had two physical Ethernet ports eth0 and eth1 (they also worked). After upgrading the Jetson platform to a newer ...
user avatar
  • 1,135
4 votes
1 answer
5k views

What happens if I disable the loopback device using ifconfig?

I found out that I can disable my interfaces using $ sudo ifconfig lo down I want to know what happens if I disable my loopback interface forever. It's disabled now and nothing has changed. Are ...
user avatar
2 votes
1 answer
713 views

restart needed for changing static IP to be applied

sometimes on Ubuntu, I need to restart the system in order to static IP that I have set to be applied. I mean it should be changed once I have selected the network interface and bring it down and ...
user avatar
1 vote
0 answers
271 views

What is the correct way to change an IP address from the CLI?

So, I'm a linux admin of many years, however, this still annoyingly throws me. If I have a server with a static ip set in /etc/networking/interfaces and change the IP, what is the best way to ...
user avatar
  • 111
3 votes
1 answer
3k views

Routing Docker in ubuntu

In my routing table on Ubuntu 18.04 I have these entries: 172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 br-9f3f970041e3 172.18.0.0 0.0.0.0 255.255.0.0 U ...
user avatar
  • 143
1 vote
1 answer
1k views

Destination Host Unreachable sharing WiFi from Ubuntu to Win10

I'm trying to share my wireless connection (wlp1s0b1) on my Ubuntu 16.04 headless laptop to my Windows 10 PC via ethernet (enp0s9). This is a diagram of my network: Router (198.168.0.1)---(wifi)--->...
user avatar
1 vote
1 answer
6k views

Netplan configuration doesn't seem to be taking effect

After configuring a static ip address in /etc/netplan/01-network-manager-all.yaml for my wlan interface, the ip address nor the dns changed. I used sudo netplan generate and sudo netplan apply, but ...
user avatar
  • 187
2 votes
3 answers
72k views

wlan0 not showing up in ifconfig/iwconfig

I've tried all the other threads and nothing is working. I'm very new to Ubuntu. I'm trying to use reaver and when I attempt it says [-] Failed to retrieve a MAC address for interface 'wlan0'! So ...
user avatar
2 votes
1 answer
746 views

The 'proper' way to get ONLY my eth0 netmask via CLI in Ubuntu 18.04 on VPS?

According to this answer and many other tutorials throughout the web, ifconfig will list lots of fascinating and useful information. And, that seems the standard way to find out stuff like my netmask. ...
user avatar
0 votes
1 answer
2k views

Ifconfig nonexistent, no wifi adapter

It appears this is a common topic but I think my problem may be unique in that I cannot find ifconfig. I was trying to follow this tutorial and others. I am on Ubuntu 18.04 and Windows 10. When I type ...
user avatar
  • 1,052
0 votes
1 answer
218 views

Connection works, iwconfig doesn't

I am trying to get information about my wlan0 connection from iwconfig. When I run iwconfig I get this: wlan0 no wireless extensions. When I run ifconfig I get wlan0 Link encap:Ethernet HWaddr ...
user avatar
  • 101
0 votes
1 answer
400 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 ...
user avatar
2 votes
0 answers
78 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 : ...
user avatar
1 vote
1 answer
97 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 ...
user avatar
1 vote
0 answers
168 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 ...
user avatar
  • 110
6 votes
2 answers
16k 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" ...
user avatar
  • 211
0 votes
2 answers
179 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 ...
user avatar
8 votes
1 answer
11k 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/...
user avatar
1 vote
0 answers
412 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?
user avatar
  • 2,852
141 votes
3 answers
285k 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 ...
user avatar
  • 1,513
0 votes
1 answer
215 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 ...
user avatar
  • 1
6 votes
2 answers
18k 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 ...
user avatar
  • 261
0 votes
1 answer
585 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
user avatar
  • 341
2 votes
1 answer
5k 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 225
-1 votes
1 answer
933 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 ...
user avatar
  • 4,333
2 votes
1 answer
3k 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 ...
user avatar
2 votes
0 answers
198 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 ...
user avatar