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
0answers
13 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 ...
0
votes
0answers
10 views

My computer only connects to certain routers

I just received my PINE64 RockPro64 computer. I installed Armbian on it and I set SSH on it. Everything worked great. I even managed to setup NAT forwarding so that I was able to connect to it from ...
0
votes
0answers
60 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....
0
votes
0answers
20 views

Virtual IP on MacOS does not receive any TCP data, why? (with details)

$ ifconfig en0 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=400<CHANNEL_IO> ether a4:83:e7:d0:e7:a5 inet 10.0.0.134 netmask 0xffffff00 ...
0
votes
1answer
133 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 ...
0
votes
1answer
160 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
1answer
105 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 ...
0
votes
1answer
737 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 ...
0
votes
1answer
523 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 ...
0
votes
1answer
62 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) ...
0
votes
0answers
26 views

OpenBSD missing wifi channel 6

I want to use an Atheros AR5212 Wi-Fi NIC with OpenBSD 6.7. Unfortunately channel 6 is missing, so it couldn't connect to an AP on channel 6. (Linux can use that channel on the same computer and can ...
0
votes
0answers
41 views

rhel + Device xxxx has different MAC address than expected

in messages file we have the following error ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Device papa2 has different MAC address than expected, ignoring. is it minor alert , and we should ...
1
vote
1answer
152 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 ...
0
votes
0answers
2k 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: ...
0
votes
1answer
32 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 ...
-1
votes
3answers
3k 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 ...
0
votes
1answer
264 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 ...
0
votes
1answer
2k 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&...
1
vote
0answers
194 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&...
3
votes
1answer
4k 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=...
0
votes
1answer
365 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 ...
0
votes
1answer
142 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?
0
votes
1answer
304 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 ...
1
vote
1answer
1k 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 ...
0
votes
2answers
1k 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 ...
2
votes
2answers
9k 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....
0
votes
1answer
215 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 ...
2
votes
1answer
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 ...
1
vote
1answer
513 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 ...
2
votes
1answer
215 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 ...
2
votes
0answers
323 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 ...
0
votes
1answer
71 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 ...
3
votes
1answer
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 ...
1
vote
1answer
24k 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 ...
1
vote
3answers
5k 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 ...
0
votes
2answers
775 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 ...
2
votes
1answer
60 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 ...
3
votes
2answers
690 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.*.*.*...
0
votes
1answer
545 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?
-1
votes
1answer
757 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.
0
votes
3answers
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:...
2
votes
1answer
227 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 ...
3
votes
1answer
401 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 ...
2
votes
1answer
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 ...
0
votes
2answers
147 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 ...
1
vote
1answer
413 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 ...
3
votes
2answers
6k 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 ...
1
vote
2answers
4k 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 ...
1
vote
0answers
1k views

iwconfig wlanX channel … - SET fails due to device being busy

I'm using a Debian Jessie on a Sony Vaio VPCEB3M1E. Some information about my wireless card: :~$ sudo ifconfig wlan0 IEEE 802.11bgn ESSID:"********" Mode:Managed Frequency:2.412 GHz Access ...
2
votes
0answers
194 views

How can I set up my ethernet on a fresh install of Fedora Server 23?

I am using Fedora Server 23, and cannot get my ethernet connection to work. It works fine on Ubunutu, OS X, and Windows 7 on the same machine. [root@localhost etc]# ifconfig ens5: flags=4163<UP,...