Questions tagged [ifconfig]
ifconfig (short for interface configuration) is a system administration utility
215
questions
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) ...
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.
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 ...
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 ...
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 (...
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
...
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 ...
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. ...
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 ...
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/...
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 ...
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)--->...
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 ...
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 ...
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?
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 ...
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....
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 ...
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 ...
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 ...
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,...
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 ...
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....
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 ...
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...)
...
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....
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....
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. ...
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 ...
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 ...
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 ...
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> ...
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 ...
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 ...
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 ?
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/...
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 ...
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
...
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 ...
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 ...
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 ...
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 ...
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:&...
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
...
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
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: ...
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:...
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 ...
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.
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 ...