Skip to main content

Questions tagged [ifconfig]

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

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

ifconfig show unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 for usb modem

I am using Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal when I do ifconfig -a usb modem show following output wwan0: flags=4240<POINTOPOINT,NOARP,MULTICAST> ...
Mubashir's user avatar
1 vote
0 answers
122 views

NETPLAN "DESTINATION HOST UNREACHABLE" Ubuntu 20.04.6 desktop

I'm quite new to Ubuntu and I'm trying to configure my netplan file. when I set the configuration in my /etc/netplan/01.-network-manager.yaml there seems to be an issue after i have apply the setting (...
Isaac Oyinsan's user avatar
0 votes
0 answers
157 views

ifconfig new ip address overwriting main ip

Today I tried adding a new, additional ip-address my hosting-service gave me. But I encountered a problem. I entered this command into the cmd: ifconfig enp35s0:1 167.235.117.188 netmask 255.255.255.0 ...
IkonoDim's user avatar
1 vote
0 answers
106 views

How to add 500 IP address (Range of IP) in Network File for single interface

Ubuntu 20.04.4 LTS was what I was using. How can a single interface be configured with a 500 IP address ( Ranges of IP address) ? For example I need to configure 101.23.151.0/24 and 101.24.152.0/24 ...
Alvis Fabien's user avatar
0 votes
1 answer
268 views

Configuring the DNS client

I use WiFi to connect my Ubuntu os running on a Macbook Air to my router. In order to send traffic, I went to configure its network interface by entering the code: sudo ifconfig wlp3s0 192.168.1.10 ...
Shawn Shahpari's user avatar
-4 votes
1 answer
27 views

how to solve this, the IFCONFIG command can't be opened, and when I want to reinstall it also doesn't work, is there a solution?

The link below explains the problem I'm having
Aulia Nabila Husna's user avatar
0 votes
2 answers
918 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
  • 149
0 votes
0 answers
108 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
  • 109
0 votes
1 answer
68 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
323 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
290 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
927 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
1k 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
57 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
4k 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
2 votes
1 answer
891 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
397 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
696 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
263 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
561 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
112 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
4 votes
0 answers
2k 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
2k 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
53 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
757 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
  • 285
0 votes
2 answers
1k 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
4k 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
405 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
969 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
2k 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
492 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
174 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,145
1 vote
3 answers
2k 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
7k 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,599
0 votes
1 answer
252 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
96 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
141 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
554 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 ...
juzzlin's user avatar
  • 1,223
4 votes
1 answer
12k 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
2k 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
410 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
4k 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
  • 144
1 vote
1 answer
2k 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
8k 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
5 votes
4 answers
114k 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,160
0 votes
1 answer
407 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
  • 241
0 votes
1 answer
540 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
109 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
2 3 4 5