Questions tagged [ifconfig]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
72 views

Same IP but for two different interfaces netplan

I have an ubuntu server 22.04 installation on a laptop with two interfaces wlp3s0 (wireless) and enp3s0 (ethernet). Wireless connection is used at home, ethernet connection is used at the office. The ...
llesh's user avatar
  • 109
0 votes
0 answers
21 views

DHCP inet address keep disappearing

I'm having trouble with network with Ubuntu embedded on a PYNQ board. By running ifconfig I can see that the inet address keeps disappearing and then reappearing. My network interface looks like this: ...
Vico's user avatar
  • 9
0 votes
1 answer
26 views

Routing Table Modification on Ubuntu/Raspbian with VLAN Consideration

I had an issue with my Pi-Hole recently where after resolving I found my networks no longer had DNS resolution. After some troubleshooting I found the Unbound process (PI-Hole upstream) was sending ...
willdabeast's user avatar
1 vote
0 answers
96 views

Disappearing interfaces in ifconfig after docker run, unable to run container

Trying to run container but it causes ifconfig disappearing interfaces, then unable to bind them to docker0 Linux version: Linux 5.19.0-29-generic #30-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 4 12:14:09 UTC ...
qul's user avatar
  • 11
0 votes
1 answer
156 views

Using awk to parse for conditions over multiple lines? (ifconfig output)

I'm trying to parse ifconfig output with awk. Right now my script is: # Setup ifconfig > ip.txt ans=$(cat ip.txt | awk '$1 == "inet" {print $2}') #output echo "Here are your IPs:&...
bee tea's user avatar
0 votes
0 answers
25 views

Cannot enable WiFi after disabling hotpot

So I was using my Linux hotspot for the first time in Ubuntu, and was using a package called linux-wifi-hotspot. Everything was going good until I went to disable it. Afterwards, my WiFi card no ...
lando- xtra's user avatar
0 votes
0 answers
281 views

Removed PHC on enp

Why is the PHC is removed on my ethernet interface? Is that the reason why I couldn't see the interface in ifconfig? I have inserted the 10Gbe cable and I can clearly see it is connected. Output of ...
Salad96's user avatar
0 votes
0 answers
211 views

Unable to see my SFP connection using ifconfig

When I do ifconfig, below is the output, I have the virbr0,virbr1..., and also the vnet 0 - 20. Not sure why I have this, because I just got this server few days ago. I inserted the SFP cable and I ...
Salad96's user avatar
0 votes
0 answers
39 views

tp-link wireless usb adapter doesn't have IP

I've added a new TP-LINK TL-WN722N to my 20.04.1-Ubuntu, but when I run ifconfig I don't get an IP for it, only the MAC address: wlxb4b02434988b: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ...
el_noobito's user avatar
2 votes
3 answers
2k views

Limit user to only use a single command that I want to permit them to run

I would like to create a user on Ubuntu 22.04 CLI to only be able to run ifconfig. That's it. No other commands, not even cd or ls, should be available to them to use for security reasons. They log in,...
Andrew Campi's user avatar
0 votes
0 answers
210 views

How 99-default.link is interpreted differntly between 20.04 and 22.04

On Ubuntu 20.04 creating a bridge and attaching an interface was giving the bridge the same mac address as the attached interface. However on Ubuntu 22.04 I started seeing different behavior, the ...
Mohammed Boukhalfa's user avatar
2 votes
1 answer
303 views

ifconfig shows different interface after unplugging and replugging usb cable (ethernet over usb)

I am connecting my ARM64 development board with an USB port that is configured as peripheral and with the necessary drivers for the usb ethernet gadget to my Ubuntu 20.04.1 host PC. I am connecting my ...
Simon Rechermann's user avatar
0 votes
1 answer
140 views

Unknown network interface name showing

On my Ubuntu 22.04 installation, when I check my IP details, a network interface I neither use nor recognize is showing. (See attached screenshot) Note that I have not installed docker, but one docker ...
Rajadurai M's user avatar
0 votes
0 answers
340 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. ...
Vladimir Yanakiev's user avatar
1 vote
0 answers
173 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. ...
dnet's user avatar
  • 11
0 votes
0 answers
309 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 ...
SteinB's user avatar
  • 1
0 votes
0 answers
76 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 ...
WinterSoldier's user avatar
1 vote
0 answers
884 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 ...
Moff Kalast's user avatar
0 votes
0 answers
956 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 ...
irdroid3's user avatar
0 votes
1 answer
41 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 ...
Anthony O's user avatar
  • 111
0 votes
3 answers
417 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> ...
obayhan's user avatar
  • 269
0 votes
2 answers
721 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 ...
mahfuj asif's user avatar
1 vote
1 answer
3k 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'...
Carlos Gouveia's user avatar
0 votes
1 answer
354 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 ...
Anita's user avatar
  • 101
0 votes
1 answer
774 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 ...
Josep Pascual's user avatar
1 vote
0 answers
1k 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 ...
Synthetic Ascension's user avatar
0 votes
0 answers
428 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 ...
Robin Nagels's user avatar
0 votes
0 answers
143 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 ...
Michael's user avatar
  • 1,045
0 votes
3 answers
1k 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
user9432913's user avatar
2 votes
2 answers
5k 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). ...
AndreaNobili's user avatar
  • 4,319
0 votes
1 answer
123 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 ...
n - s - m's user avatar
1 vote
1 answer
94 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 ...
Dev_s3piol's user avatar
1 vote
0 answers
121 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/...
Rinaldo Jonathan's user avatar
0 votes
0 answers
469 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 ...
user205301's user avatar
  • 1,185
4 votes
1 answer
8k 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 ...
Mohammad Kholghi's user avatar
2 votes
1 answer
1k 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 ...
Hossein Mousavi's user avatar
1 vote
0 answers
355 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 ...
wil's 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 ...
Guy's user avatar
  • 142
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)--->...
theQuantumMechanic's user avatar
1 vote
1 answer
7k 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 ...
AlexDude7's user avatar
  • 187
3 votes
4 answers
94k 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 ...
Austin Williams's user avatar
2 votes
1 answer
1k 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. ...
Jesse's user avatar
  • 140
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 ...
BJsgoodlife's user avatar
  • 1,112
0 votes
1 answer
307 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 ...
Austin's user avatar
  • 231
0 votes
1 answer
463 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 ...
benadler's user avatar
2 votes
0 answers
88 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 : ...
Bachu ChennakesavaRao's 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 ...
Shijie Gao's user avatar
1 vote
0 answers
272 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 ...
r4space's user avatar
  • 110
10 votes
2 answers
25k 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" ...
kimusan's user avatar
  • 251
0 votes
2 answers
193 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 ...
el GALLO's user avatar

1
2 3 4 5