Questions tagged [ifconfig]
231
questions
0
votes
0
answers
32
views
Errors when trying to bring ethernet interface up on embedded Linux
I am trying to compile the Linux kernel (3.0.8, buildroot-gcc-12.3.0, ARMv7) to run on my IP camera.
eth0 is not able to get up.
At first, kernel boot just crashed at Starting network step:
Unable to ...
0
votes
0
answers
36
views
Centos 7 Two Gateways (virtual and VLAN) question
I could not get this working.
I have two public ip addresses . on centos 6 my setup was eth0.2 VLAN2 was DHCP from ISP 1 and eth0:1 was static ip address from ISP 2.
It worked out the box without any ...
0
votes
0
answers
29
views
Can I remove /etc/interfaces.d/setup after switching from ifupdown to network-manager?
After having used network-manager on Debian stable (previously, 11, and now, 12) for quite a while, I decided to finally get rid of ifupdown (which has also been installed for quite a while). I ...
0
votes
0
answers
38
views
Unable to setup *ad hoc* on WiFi modules that have multiple Radio Interfaces - MT7915
Some background: We have an ad hoc network running on 5GHz already. We are looking for new WiFi modules that support ad hoc on 5GHz. Through suggestions we found a website called AsiaRF that sells ...
0
votes
0
answers
73
views
Why is my loopback interface losing its address sporadically?
After I upgraded to Fedora Linux 36 from 34 (first to 35) I'm getting an issue I had not faced before. The lo interface is losing its inet address and that's causing issues with programs that make ...
0
votes
1
answer
42
views
bxe0 and bxe1 to eth0 and eth1 respectively
I have a freebsd which has the network interfaces as follows.
bxe0, bxe1, igd0 and igd1
I want to move them to names like eth0, eth1 and so on. I know that I can do it in the /etc/rc.conf
...
0
votes
0
answers
40
views
Why is the gateway setting ignored if it is not in the same sub-net as IPADDR0?
On a CentOS 7 installation using the "legacy" ifconfig mechanism, I have stumbled across a strange behavior in which no default route is recognized in situations where two IP addresses are ...
0
votes
0
answers
242
views
Install wifi dongle netgear AC1200, model A6150
I am trying to install my new netgear wifi usb dongle AC1200 (A6150) on my Kubuntu 20.04.
More specifically my system setup:
mainline 1.0.18
Distribution: Ubuntu 20.04.5 LTS
Architecture: amd64
...
0
votes
0
answers
47
views
Getting broadcom 57711 card working on openmediavault/debian install
I'm trying to activate the dual 10gb ports on my broadcom 57711 card in a dell R710 server. THe issue is that the ports are not UP. If I run ifconfig -a I see the ports listed, missing the UP flag of ...
0
votes
0
answers
121
views
ifconfig and systemd-networkd are not synced and behaving differently
I have two questions if someone can help: I have a linux based system.
I configured the /etc/systemd/network/00-eth0.network file with IP, Gateway, and MAC addresses. After I restart the systemd-...
0
votes
0
answers
46
views
Route OPENVPN through the L2TP Client [LINUX]
i have 2 servers with 2 diffrent public ip
my configs are
Server 1 Linux Server [Public IP =142.130.108.221]
Server 2 linux server [Public IP =192.130.140.169]
Mobile OPENVPN Client
Server 1 , created ...
0
votes
1
answer
66
views
Why does Vagrant-defined networking have no effect?
I'm attempting to provision two VM's that can send traffic to each other, but I am having trouble implementing this with Vagrant. In my Vagrantfile I have:
Vagrant.configure("2") do |config|
...
0
votes
1
answer
61
views
Manage wifi card directly
My motherboard has builtin wifi that I use to connect to the internet. I also have a usb wifi card and I want to write a custom program that manages this wifi card (create hotspot, list hotspots, ...
3
votes
0
answers
517
views
Gentoo wifi setup issue: wpa_supplicant works but wpa_cli doesn't
I am trying to setup Gentoo on my laptop and am having trouble connecting to wifi. I've never done this before, so I might be making a simple mistake.
I've been following these instructions. My /etc/...
0
votes
1
answer
332
views
ifconfig showing eth0 when using wifi
I'm using Ubuntu through WSL. When running the ifconfig, I get back two blocks; one for eth0 and one for lo. However, it is my understanding that eth0 is only for when you are connected to the ...
1
vote
0
answers
352
views
/proc/net/dev providing wrong information about transferred bytes
I have a zte router with Linux kernel 4.1.25 which I have installed an snmp agent (mini-snmpd) on it to control traffic.
As I was getting inaccurate data I investigated a bit and detected that ...
1
vote
1
answer
2k
views
'RTNETLINK answers: Invalid argument' after ifup ethX
On a device with Debian 10, I want to make a permanent change to the IP via modifying /etc/network/interfaces . Hence, I modify it as follows :
auto lo
iface lo inet loopback
auto eth0
...
0
votes
1
answer
979
views
ifconfig bridge on macos - BRDGADD en0: Resource busy
Anyone know how to createa bridge network interface on MacOS v12.4 Mon?
I have tried:
sudo ifconfig bridge7 create
sudo ifconfig bridge7 addm en0
sudo ifconfig bridge7 up
In step two I get this:
...
1
vote
1
answer
348
views
ifconfig/ip link show- how to get only Hardware interface
How do you get only hardware interfaces
Tried:
ifconfig -a
ip link show
How do you get only local hardware interfaces using ifconfig/ip link show?
Like from my ifconfig I get(removed a lot):
en0: ...
0
votes
1
answer
441
views
Auto detect network interface card, network init.d
I have build my LFS linux that based in this book, it's working fine and network interface card is working. Even it's configuring IP automatically with using dhcpcd service.
According chapter 9 in ...
0
votes
1
answer
368
views
What are all the IPs that I see in the result of `ip a`
So I issued a command ip a which list all the IP addresses. However I don't understand what all the other Ip addresses and details it printed. In this output I just understood that inet W.X.Y.Z/20 brd ...
4
votes
2
answers
2k
views
What is my LAN IP (ubuntu and missing eth0)?
Running 20.04 I am trying to figure out what my LAN IP is on my laptop. If I run ifconfig I get (trimmed down):
$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172....
0
votes
2
answers
3k
views
RHEL 8 - How can I modify an ethernet device name?
I am trying to modify the ethernet device name without modifying grub. I have tried to modify the device name, but when I do, the device stops working.
Things I have tried:
I've tried this
nmcli con ...
4
votes
2
answers
657
views
What is the ip address command equivalent of the default output of the ifconfig command?
The default output of the ifconfig command on GNU+LINUX displays only active and up network interfaces while the default output of the ip address command (which can be shortened as ip a ) shows all ...
0
votes
1
answer
2k
views
ens3: Host name lookup failure | sudo ifconfig up ens3
On both the live image of Trisquel in a virtual machine:
$ sudo ifconfig up ens3
ens3: Host name lookup failure
ifconfig '--help' gives usage information
0
votes
0
answers
2k
views
How to find the subnet of your Server public IP address?
I have found that answer:
How to allow SSH into Terminal after connecting to VPN server using NordVPN servers through OpenVPN?
ip rule add from x.x.x.x table 128
ip route add table 128 to y.y.y.y/y ...
1
vote
1
answer
2k
views
Why ifconfig shows a different IP address
I have Embedded Linux devices connected to a local network via Ethernet cable connection. I access each device via their local IP addresses on subnet 192.168.34.0/24. For example, one device has 192....
-3
votes
1
answer
679
views
Ip address of wireless adapter is not showing on ifconfig [closed]
Even when my wireless adapter is in managed mode it is not showing the ip address of it on ifconfig.
0
votes
0
answers
118
views
SELinux: command output printed on serial but not on ssh
I am trying to configure SELinux on Poky Linux distro.
I am connecting to the board both on serial and ssh.
Launching ping and ifconfig on ssh the board prints nothing, whereas the same command on ...
0
votes
0
answers
92
views
ssh into a server which is connected to a VPN service, using ifconfig and route not ip
Same issue as described here:
ssh into a server which is connected to a VPN service
However I have no access to the "ip" utility. Just good 'ol ifconfig and route commands as I'm working on ...
2
votes
1
answer
1k
views
Are RX bytes and TX bytes of ifconfig since uptime or lifetime or something else?
I have this output via ifconfig:
user@host:~$ ifconfig eth0 | grep bytes
RX bytes:999249172034 (999.2 GB) TX bytes:33403577196 (33.4 GB)
The host has 7 days uptime.
Are the RX bytes and TX ...
1
vote
1
answer
677
views
Ethernet config for computer-USRP communication
I am trying to set up communication between my laptop computer, running Ubuntu 20.04.2 LTS, and an Ettus Research USRP N210. I have been consulting the following resources:
https://files.ettus.com/...
0
votes
1
answer
323
views
eth0 disappears with "Graceful transmit stop did not complete". PHY gone?
An i.MX6dl-based embedded device with NXP kernel 4.14.98 receives data packages over eth0. In one of some hundred cases the interface stops after twenty minutes or an hour with no obvious reason. The ...
0
votes
3
answers
473
views
Extract interface name, hwaddress and IP address from ifconfig(must to use ifconfig not ip commands)
Input 1
eno16780032: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 255.255.255.255 broadcast 192.168.0.254
ether 00:50:56:00:00:00 txqueuelen 1000 (...
0
votes
1
answer
3k
views
installation of wifi in debian
~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd ...
0
votes
0
answers
90
views
Fail to activate network, even manually
I'm in the middle of a nightmarish Debian upgrade.
The latest problem I have, after a reboot is that I get dropped in single user mode and the network won't come up.
1st question: how do I know the ...
1
vote
0
answers
98
views
Strange issue multiple ip addresses on single NIC - OEL linux
I however got two IP addresses. But when I use ifconfig command I cant see secondary ip address (10.10.20.51) in my ifconfig command.
when I use ip addr command I can see both primary (10.10.20.50) ...
0
votes
2
answers
2k
views
wlan0 isn't working most of times
I earlier asked a question Wifi isnt working after using wifite [duplicate]. This and this answer helped me. But, the problem is it works but, after few hours later when I start my laptop I get the ...
0
votes
1
answer
40
views
Does change of date or inconsistency between date and hwclock affect to ipv4 (inet addr) in ifconfig in linux?
I have trouble that inet addr(ipv4) of eth0 disappears and eth0 interface becomes unavailable.
I'v not waited for refresh but I thought it would not restore itself.
I guess that It Occurs When I ...
1
vote
0
answers
90
views
Centos 6 - cant access the systems IP address until i change it and change back to original (easy question) [closed]
IP system is 192.168.1.100 static
i boot up server i can ping it from the lan (with reply) but can not access services
if i do
ifconfig eth0 192.168.1.101 netmask 255.255.255.0
then back to
ifconfig ...
2
votes
4
answers
2k
views
ifconfig and locate command not found, `bash: ifconfig: command not found`
In the Linux-Ubuntu terminal:
ifconfig throws bash: ifconfig: command not found
locate command does the same.
sudo yum install net-tools throws: bash: yum: command not found as well, but I might also ...
0
votes
1
answer
299
views
No Internet on my Ubuntu 20 box, How do I restart network related items if I do not have ifconfig for ifup ifdown?
I need to restart my networking in ubuntu 20 as I do not have ifconfig or ifdown or ifup. Right now my vps ubuntu box has no internet, and I am logged in via the web console. When I do a ping 8.8.8.8, ...
2
votes
1
answer
1k
views
Use the internet access of another network interface when the main one is down
I have an embedded system running Ubuntu 18.04 LTS that has a 3G modem and an Ethernet interface (eth0).
Both of these interfaces have access to Internet.
When the internet is unavailable on the ...
0
votes
1
answer
155
views
Correct way to find vpn gateway using script
I need to find ip that my vpn interface (vpn0) uses to connect so I can setup routes correctly using a script.
What is correct way to do this?
First solution I tried
❯ ip r | sed -rn "s/.*dev ...
4
votes
3
answers
936
views
Why linux ip command output is so messy [closed]
I understand that the ifconfig command has not been developed and updated for a while and is now deprecated, we are supposed to use the ip command. I just dont understand why in 2020 the output has to ...
0
votes
1
answer
52
views
How to learn "RUNNING" status with `ip` tool?
ifconfig was said to be deprecated ca 2009 with the introduction of ip. Many online pundits advise users to drop ifconfig in favor of ip. I use ip myself, but mostly due to the fact that its output is ...
1
vote
1
answer
1k
views
ETH0 no address ip with ifconfig
I've created a new LXC on debian jessie, but it doesn't have an ipv4 address. When I connect to my LXC and do ifconfig:
eth0 Link encap:Ethernet HWaddr blabla
inet6 addr: blabla/64 ...
-1
votes
1
answer
101
views
Why is the server accepting connections after disabling the network interface?
I've googled around and executed other commands (I had left here only the ones that I think are more useful). Most searches pointed me to explanations about how to shut down/up interfaces and no hints ...
5
votes
1
answer
12k
views
What are these ifconfig interfaces on macOS
I have a MacBook Pro 15" 2018 (Touch Bar). I see it has a lot of network interfaces. I would like to know what they are/what they do. I did some research but I couldn't really figure out all of ...
0
votes
1
answer
257
views
Adding IP allocation with ifcfg gives wrong broadcast address?
I got a /29 IP allocation from my ISP.
I added them using ifcfg to the range file for my interface: ifcfg-eth0-range:0
(NOTE: I replaced my actual IPs with private IPs here.)
IPADDR_START=192.168.2.0
...