Questions tagged [ifconfig]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
6k views

static ip address from XFCE GUI

I'm interested in the IOGear Universal Wi-Fi N Adapter as a wifi adapter. The fine manual states: Installation without WPS - Mac Step 1: Turn off your computer’s wireless connection (if applicable) ...
Thufir's user avatar
  • 4,551
1 vote
1 answer
7k 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.
Raja G's user avatar
  • 102k
1 vote
1 answer
145 views

How can I make sure my server is connecting through my router?

I have a Ubuntu server with PHP, Apache2 and all of that setup and working on my LAN. Meaning from any computer connected to the same router I can connect to 10.0.0.3 (My server). I have setup my ...
charles horvath's user avatar
1 vote
1 answer
640 views

Ifconfig bandwidth tracking

I've been using ubuntu servers for a long time, but something i've never quite understood was the ifconfig command and total bandwidth. I've found that on every server i've used, and some desktop ...
xrpixer's user avatar
  • 11
1 vote
0 answers
65 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
1 vote
0 answers
79 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
1 vote
0 answers
270 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
1 vote
0 answers
248 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
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
1 vote
0 answers
133 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
1 vote
0 answers
406 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
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
98 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
409 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
1 vote
0 answers
450 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?
guettli's user avatar
  • 1,737
1 vote
0 answers
71 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 ...
Drill Bit's user avatar
1 vote
1 answer
839 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....
Dr. Docttor's user avatar
1 vote
0 answers
869 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 ...
Akkosh's user avatar
  • 11
1 vote
0 answers
525 views

can't disable multicast on ppp0 using ifconfig: SIOCSIFFLAGS: Operation not permitted

I'm trying to permanently disable multicasting, peer-to-peer and allmulti on a ppp0e connectino. I have been following instructions on doing this using ifconfig but get an error: When I type this ...
user637251's user avatar
1 vote
0 answers
751 views

Cannot find network interfaces / devices

I'm trying to set up a private network between a few VMs running Ubuntu. For this specific configuration, I need to enable eth1 - eth9. For some reason eth1 turns on fine (using ifconfig eth1 up, but ...
user5508097's user avatar
1 vote
1 answer
592 views

Ubuntu Touch - USB Wifi Dongle

I'm running OTA 12 on a bq Aquaris M10 and I wish to use a USB Wifi dongle (Realtek 8188 series). I connected the dongle via an OTG cable and attempted to use ifconfig to configure the device; however,...
DeltaEternal's user avatar
1 vote
1 answer
3k views

ifconfig fixed ip address is lost after a while

I'm using ubuntu LTS14.04 and I want to make some lab experiments with two computers and a switch. Both computers are configured to start with DHCP but I want to assign two fixed ip addresses to each ...
Ignasi's user avatar
  • 111
1 vote
0 answers
2k views

Ifup/ifdown problems in Ubuntu 14.04

I am condiguring my eth0 NIC connection through /etc/network/interfaces file. But each time I changed this file, I ran ifdown eth0 and it responded with waiting for lock on ifstate file and stuck here....
Jason Tao's user avatar
1 vote
0 answers
60 views

How can I use multiple network connections from the same host?

Suppose I could use both a wired and wireless connection; now, let's say I want to run firefox using the wireless and steam using the wired, how can I achieve that? How can I plug them in? First ...
Emanuele's user avatar
  • 636
1 vote
1 answer
432 views

Odd interface when running sudo ifconfig

So, I've noticed an odd looking interface... Apparently, it has it's own MAC address (which I don't even know where it came from... Attempting to perform an OUI lookup on it returns no results...) ...
Jonathan Caicedo's user avatar
1 vote
1 answer
2k views

ipv6 global address missing after link flap

in linux/ubuntu after the link flap on an interface the global ipv6 address is flushed out & not seen in ifconfig. Any kernel patch/sysctl to retain the ipv6 address configured after the link flap....
user3465381's user avatar
1 vote
1 answer
157 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....
storm's user avatar
  • 4,973
1 vote
0 answers
4k 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. ...
Kumar's user avatar
  • 307
1 vote
0 answers
63 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 ...
user3642410's user avatar
1 vote
1 answer
1k 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 ...
Pratham's user avatar
  • 111
1 vote
3 answers
5k views

Connected wireless connection, but no wlan0. What's causing this?

I'm connecting (to the internet) over a wireless connection (as in, it's already connected), but there's no wlan0. Output produced by ifconfig: eth0 Link encap:Ethernet HWaddr 5c:ff:35:06:9c:b3 ...
aviraldg's user avatar
  • 777
0 votes
3 answers
692 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
  • 275
0 votes
2 answers
2k 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 ...
derHugo's user avatar
  • 3,346
0 votes
2 answers
212 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
0 votes
1 answer
3k 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 ?
Ba7a7chy's user avatar
  • 539
0 votes
4 answers
1k views

How do the ifconfig settings work?

I have $ ifconfig eth0 Link encap:Ethernet HWaddr 00:1f:d0:99:ea:a9 inet addr:192.168.1.130 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21f:d0ff:fe99:eaa9/...
Guy Fawkes's user avatar
0 votes
2 answers
959 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
0 votes
1 answer
229 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
0 votes
2 answers
681 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 ...
semitones's user avatar
  • 292
0 votes
1 answer
1k 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 ...
McLan's user avatar
  • 251
0 votes
1 answer
2k 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 ...
IQAndreas's user avatar
  • 3,188
0 votes
1 answer
5k 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 ...
synaptik's user avatar
  • 213
0 votes
1 answer
268 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
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
610 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
2017561-1's user avatar
  • 420
0 votes
1 answer
9k 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: ...
user8292439's user avatar
  • 3,798
0 votes
1 answer
363 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:...
Sinoosh's user avatar
  • 2,031
0 votes
2 answers
126 views

When using ifconfig to see my Mac address, which one is for connecting to a wireless network?

I am using an older laptop that I converted from windows xp to ubuntu 14.04, so my question is about what Hardware address should I use to connect to my college network? The reason I ask is because ...
JmSketch's user avatar
0 votes
1 answer
128 views

Xubuntu Install-No Network

I installed Xubuntu 14.04 clean on a Dell Vostro 1000 and now I have no network at all. Entering ifconfig gets a return of ifconfig not found. Everything was fine from the live disk.
Dean Sherwood's user avatar
0 votes
1 answer
732 views

Connecting Arduino with eth0 while leaving wlan0 for Internet

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 ...
ignaziob's user avatar