2022 Developer Survey is open! Take survey.

Questions tagged [ifconfig]

a command from Linux POSIX operating system able to give information about the IP network.

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

Network Manager Allowing Multiple Network Connections

I am using NetworkManager with Ubuntu 20.04. I am trying to plug in my Remarkable Tablet which acts like a USB ethernet connection when plugged in with a USB cable. From here I can ssh into the tablet....
user avatar
1 vote
0 answers
43 views

ifconfig -a is showing br-ba165999130f instead of eth0 (ethernet works)

I have my PC connected to the router using a cable and I also connected a WIFI USB TP-LINK. Just checking ifconfig -a and I noticed there is no eth0 interface. Instead, the first one is called br-...
user avatar
  • 245
0 votes
0 answers
24 views

Why Dig, Curl and Ifconfig gives separate results?

I hit customer FTP and it gives following IP : 212.18.129.202 My production server has IP: eno16780032: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 146.213.179.131 netmask 255.255....
user avatar
0 votes
0 answers
105 views

What does BSS not found error means in Wifi?

I have a yocto linux distribution and installed the rtl8723bu linux driver for the usb dongle. After plugging the usb i am getting some logs and also this log below.. [ 1985.355372] RTL871X: ...
user avatar
  • 103
0 votes
1 answer
104 views

warning: no inet socket available: No such file or directory

so there i am using chroot to chrooting into debian bootstrap everything worked just right on root account until i added a new user to figure out that i cannot do update or access xdisplay or ...
user avatar
  • 1
0 votes
0 answers
58 views

How to consistently display up- and downlink rate on macOS?

I wanted to know my up- and downlink rates and was very confused as to why it had suddenly disappeared. I ran the command about fifty times and nothing changed. A few minutes later I ran it again and ...
user avatar
0 votes
0 answers
36 views

How to add/enable a new vNIC interface on linux

I want to configure vNIC interface (ens37) with a manual IP address - 192.168.16.1/24 on linux box Currently I see ens33 configured. So this is another interface I want to manually add. Any ideas how ...
user avatar
  • 1
0 votes
0 answers
74 views

Setting a wifi on an embedded linux - not seeing wlan0 on ifconfig

I'm trying to set up a wifi on this linux-based embedded board which has a wifi module embedded on top of it. I have configured hostapd.conf and wpa_supplicant.conf with the specific SSID and password....
user avatar
  • 11
0 votes
1 answer
945 views

ifconfig not included in Ubuntu 20.04 / Hyper-V

I have a bash script that does, among other things, MY_IP="$(ifconfig en0 inet)" but apparently Ubuntu 20.04 / Hyper-V / WSL2 doesn't have ifconfig. Is there a way to install it or do I need ...
user avatar
  • 5,910
1 vote
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 ...
user avatar
0 votes
1 answer
277 views

why `ifconfig` shows 3 eth interfaces, while router has four

My router (Netgear r6700) has four ethernet ports. I telnet to it, and run ifconfig: br0 Link encap:Ethernet HWaddr <mac address> inet addr:192.168.1.1 Bcast:192.168.1.255 ...
user avatar
0 votes
1 answer
1k views

USB Wifi Adapter connected to Kali Vbox but absent in ifconfig

I installed VirtualBox-6.1.12-139181 for Windows 10 with Oracle_VM_VirtualBox_Extension_Pack-6.1.12 and imported the latest Kali VirtualBox Image kali-linux-2020.2a-vbox-amd64 from offensive-security ...
user avatar
0 votes
1 answer
1k views

how to disable wwan0 and prevent it from starting up again?

I'm using a Raspberry Pi with the SIM7600E 4G hat to set up a point-to-point protocol connection, using pppd. This all sets up correctly all works, however when I use it to browse the internet, the ...
user avatar
0 votes
1 answer
111 views

No wireless interface on Debian 10 (Asus X502C)

I just installed Debian 10 on a Asus X502C laptop. It previously had a Win/Ubuntu dual boot and the WiFi worked fine. uname -a Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) ...
user avatar
1 vote
1 answer
234 views

OpenBSD 6.6 wlan DHCP no link, routing issues

I've been bashing my head against this for a few days so I'm asking for help. The machine is a Thinkpad using a Intel PRO 2100 wifi card with the ipw driver (https://man.openbsd.org/ipw). I tried ...
user avatar
  • 13
0 votes
0 answers
3k views

Instructions to spoof MAC address in OS X High Sierra not working

I am following these instructions to spoof MAC address in High Sierra OS X: https://blog.macsales.com/43777-tech-101-spoofing-a-mac-address-in-macos-high-sierra/ but I get unexpected errors such as: ...
user avatar
  • 111
0 votes
1 answer
39 views

Why I can't navigate after set a fix IP on a Linux machine virtualized on VMWare?

I am not so into networking and I am finding the following problem trying to configure a fix IP on a Linux virtual machine virtualized on VmWare. The networking mode condigured on VmWare is NAT and ...
user avatar
  • 6,539
-1 votes
3 answers
4k views

ifconfig command not working on Kali Linux

I installed Kali Linux in a virtual machine, but the ifconfig command is not working and permission denied. I've searched many answers on YouTube and Google. But there is no command that works. My PC ...
user avatar
0 votes
1 answer
392 views

Why do `ip` and `ifconfig` have different behaviors when the interface is down?

I first shutdown interfaces # Shutdown the interfaces ip link set enp2s0f0 down ip link set enp2s0f1 down Using ifconfig: # Set subnets to interfaces ifconfig enp2s0f0 10.0.0.1/24 ifconfig enp2s0f1 ...
user avatar
  • 207
5 votes
1 answer
3k views

ifconfig shows multiple network interfaces

When I run ifconfigon my Macbook air 2018 with MacOS Mojave 10.14.6 I get this: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP&...
user avatar
  • 63
1 vote
0 answers
245 views

ifconfig shows a bunch of network interfaces [duplicate]

When I run ifconfigon my Macbook air 2018 with MacOS Mojave 10.14.6 I get this: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP&...
user avatar
  • 63
6 votes
1 answer
6k views

Network interface for VPN connection explanation

I'd like to know exactly what is happening when I create a connection with my company's VPN. When I connect (using OpenVPN), I see the following network interface by using ifconfig: utun3: flags=...
user avatar
0 votes
1 answer
602 views

How to change local network info (ip, netmask, broadcast) using ifconfig

I am following along with the book Linux Basics for Hackers (No Starch Press, 2018) using Kali Linux (2019.1a) with VirtualBox and when changing my network info (chapter 3) I am no longer able to ...
user avatar
  • 101
0 votes
1 answer
205 views

Ifconfig report some interfaces with strange names on MacOS

The command ifconfig Report some strange interfaces on MacOS OHC6: flags=0<> mtu 0 OHC4: flags=0<> mtu 0 EHC36: flags=0<> mtu 0 EHC38: flags=0<> mtu 0 What is OHC and EHC?
user avatar
  • 257
0 votes
1 answer
381 views

ppp interface and an ethernet interface both not working together

I have a Rasberry Pi with two network interfaces. One is a ppp interface connecting to a cellular modem over USB. The other is a local ethernet connection with an ethernet cable connected to a ...
user avatar
1 vote
1 answer
2k views

OracleLinux 7.5 Virtual Box No IP

Host is Mac OS High Sierra VBox version is 5.2.16 Guest is Oracle Linux 7 VM Network Adaper type is Bridged I installed and set this VM on whilst on network 172.16.21.0, and it worked fine with the ...
user avatar
  • 121
0 votes
3 answers
2k views

How to change the MAC address of a networking interface on FreeBSD 11.1

I'm trying to change the MAC address of my network card (a generic card using an Intel chipset) on my. system that is running FreeBSD (FREEBSD 11.1-RELEASE-p7). I get the following output when I ...
user avatar
  • 1
2 votes
2 answers
12k views

“”ping 8.8.8.8 connect: Network is unreachable“” in centOS 7 on VMware workstation 14

I am trying to work with centOS 7 which I installed on VMware workstation. But it doesn't have internet connection: $ ping 8.8.8.8 connect: Network is unreachable $ ping www.google.com ping: www....
user avatar
  • 21
0 votes
1 answer
241 views

DNS 127.0.1.1 not working because of an unknown issue

I have an internet connection through Ethernet LAN cable (connected on interface eth7). My Ubuntu OS shows that internet is connected. However, when I search on the browser, page shows that I am not ...
user avatar
2 votes
1 answer
2k views

Ubuntu 18.04 New Netplan / IP Configuration (pointopoint?) (Need Example)

I have a Root-Server with Proxmox installed. Until now, i always had Ubuntu 16. Now i upgraded a VM to Ubuntu 18 and i need a example for the new netplan Configuration. This was my old interfaces ...
user avatar
  • 41
1 vote
1 answer
558 views

Changing MAC address of an interface without making it down

All the examples I see on internet for changing the mac address of an interface in linux, first makes the interface down and then update the mac address and finally bring the interface up. But, I can ...
user avatar
2 votes
1 answer
259 views

How to find source code of specific version of linux tools, i.e. ifconfig

I had a weird situation yesterday when a shell script broke on the machine of colleague. the Script was parsing output from ifconfig, and it would assume that there was no : (colon) after the ...
user avatar
2 votes
0 answers
376 views

How does tcpdump configure an interface it begins to capture packets from?

On an Arago embedded linux system, an interface would normally be able to ping other destinations on the network. However, the pings stop working when using a utility such as iperf or scp to send TCP ...
user avatar
  • 181
0 votes
1 answer
78 views

VPS internet has been killed. How do I fix it?

I am working with a friend on a VPS we use. Recently out root password was leaked and out internet has been completely ruined. ifconfig wan't recognised as a valid command or anything. I managed to ...
user avatar
4 votes
1 answer
1k views

Why does ifconfig only show the first IP of a network interface configured with systemd-networkd?

So I'm not sure what's going on here, but I've duplicated this problem on multiple different servers on Ubuntu 17.04 (up to date) yet I can't find any other reports of this, so I have to imagine I'm ...
user avatar
  • 43
1 vote
1 answer
38k views

SIOCSIFFLAGS: Operation not permitted

I am trying to connect my TP-Link AC600 wireless adapter through the USB port to connect to Kali linux Rolling but I am having issues getting it to show up with ifconfig root@kali:~# ifconfig ...
user avatar
1 vote
3 answers
6k views

how to delete SSID data from Debian wifi interface?

I have Debian distribution and when I want to reset the WIFI connection I run the following command: ifconfig wlan0 down and I also delete the wpasupplicant.conf file but when starting the network ...
user avatar
0 votes
2 answers
1k views

Physical and wireless interfaces in macOS

I have a MacBook Pro (Retina, 13-inch, Late 2013) running macOS 10.12.1. I know from reading another answer: There's no eth0 on default configurations of OS X. By default, en0 and en1 are your ...
user avatar
  • 507
2 votes
1 answer
67 views

Identify the ethN interface containing a particular octet in CentOS

I have a specific need to identify which interface a part of an octet (e.g. xx.xx.xx.112) belongs to on a CentOS machine My initial idea was to dump the output of ifconfig and parse it manually to ...
user avatar
  • 230
3 votes
2 answers
758 views

Is it possible to restrict connection to database in Docker container at particular interface on Ubuntu 16?

I have MySQL database on a server (I use Percona in Docker container) with several network interfaces. My system is Ubuntu 16.04.2 LTS. ifconfig eth0 Link encap:... inet addr:95.*.*.*...
user avatar
0 votes
1 answer
616 views

Linux ifconfig - what does ifconfig | grep -Po "HWaddr \K.*$"

I was hoping somebody could explain bit by bit what each part of this command does. ifconfig | grep -Po "HWaddr \K.*$" e.g. what The -Po is for?
user avatar
-1 votes
1 answer
819 views

When I type in ifconfig to the command line, what does the information mean? [closed]

When I type in ifconfig I see a lot of information, what does it mean? Especially the information under the heading eth0.
user avatar
  • 173
0 votes
3 answers
3k views

Trying to find my public ipv6 address for ubuntu server and godaddy

I have just set up ubuntu server, and I cant figure out this stupid xfinity router/modem. So what I've managed to do is set a static ipv6 on ubuntu server iface enp4s0 inet6 static address 2601:407:...
user avatar
  • 143
2 votes
1 answer
261 views

wlan0 RX/TX packets increase but no connection established

I am wondering why the wlan0 interface on my Raspberry Pi configured as a HotSpot and not connected to any client has its "RX/TX packets" counters from ifconfig increase continuously? Since no client ...
user avatar
  • 23
3 votes
1 answer
454 views

How do I make ifconfig/dhclient setting permanent in FreeBSD?

Lately, for the purpose of smoke-testing the Perl 5 core distribution, I have been using VirtualBox to install VMs of various versions of FreeBSD on a Linux x86_64 host. In my first attempt at doing ...
user avatar
2 votes
1 answer
8k views

"ifconfig" gives an error on Bash on Ubuntu on Windows

When I try using the command "ifconfig" on Bash on Ubuntu on Windows(WSL), it gives me an error like this :- root@example:~# ifconfig Warning: cannot open /proc/net/dev (No such file or ...
user avatar
0 votes
2 answers
177 views

What is the purpose of configuring the netmask on an ipv4 interface on a Linux machine?

I am wondering what is the netmask used for in the Linux network stack. Let's assume I have an interface eth0 configured to ip 1.1.1.1 and netmask 255.255.255.0 now I am sending a packet to 1.1.1.2 ...
user avatar
1 vote
1 answer
536 views

Linux Web Server Cannot ping localhost or anything on the internet

My ubuntu 12.04 server was working fine a few days ago. I didn't change any server configurations, but today all of a sudden I can't ping anything. What could be the potential issue here? I can't even ...
user avatar
4 votes
2 answers
7k views

Not able to spoof MAC address in Kali Linux

The MAC address is spoofed when the network interface is down or not connected to any AP. But as soon as I connect to any access point it changes the spoofed MAC address to the original address. I ...
user avatar
1 vote
2 answers
5k views

wlan1 showing as weird characters

When I do ifconfig, it shows wlan1 as wlanx00c0ca8476b6 What in the world is this gibberish? Note: This is showing up for my usb wifi adapter. My internal wlan0 shows up fine. Note: I did an ...
user avatar