Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Two Ethernet Connections
-
- Posts: 5
- Joined: 2024-01-03 13:32
- Has thanked: 1 time
Two Ethernet Connections
Debian installed on a device with 2 ethernet connections. Debian is only showing one, not both.
The LEDs for the hardware are on, showing a connection for Ethernet 2.
How do I get Ethernet 2 to work?
~Bob
The LEDs for the hardware are on, showing a connection for Ethernet 2.
How do I get Ethernet 2 to work?
~Bob
-
- Debian Developer
- Posts: 463
- Joined: 2022-07-12 14:10
- Has thanked: 1 time
- Been thanked: 88 times
Re: Two Ethernet Connections
What do you see with and commands?
Code: Select all
lspci
Code: Select all
ip address
Re: Two Ethernet Connections
What are you trying to achieve? Linux normally uses the first network it finds, if not otherwise directed. To get load balancing or other more sophisticated functions, you need additional software.
-
- Global Moderator
- Posts: 2741
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 45 times
- Been thanked: 206 times
Re: Two Ethernet Connections
simple check
should list all enumerated interfaces
will list successful 'up' interface ip's.
Code: Select all
$ ls /sys/class/net
Code: Select all
$ cat /sys/class/net/*/address
-
- Posts: 5
- Joined: 2024-01-03 13:32
- Has thanked: 1 time
Re: Two Ethernet Connections
lspcilindi wrote: ↑2024-02-24 20:05 What do you see withandCode: Select all
lspci
commands?Code: Select all
ip address
Shows all my PCI devices. The Ethernet connections are not listed.
ip address
Code: Select all
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:14:5e:2a:75:32 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.8/24 brd 192.168.0.255 scope global noprefixroute enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::3ab:2f27:89e4:451c/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:14:5e:2a:75:33 brd ff:ff:ff:ff:ff:ff
-
- Posts: 5
- Joined: 2024-01-03 13:32
- Has thanked: 1 time
Re: Two Ethernet Connections
ls /sys/class/netCwF wrote: ↑2024-02-25 16:37 simple checkshould list all enumerated interfacesCode: Select all
$ ls /sys/class/net
will list successful 'up' interface ip's.Code: Select all
$ cat /sys/class/net/*/address
Code: Select all
enp5s0 enp6s0 lo
Code: Select all
00:14:5e:2a:75:32
00:14:5e:2a:75:33
00:00:00:00:00:00
- fabien
- Forum Helper
- Posts: 736
- Joined: 2019-12-03 12:51
- Location: Anarres (Toulouse, France actually)
- Has thanked: 67 times
- Been thanked: 173 times
Re: Two Ethernet Connections
Please use code tags for terminal outputs. I did it for your in the above posts.
Share your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots
-
- Global Moderator
- Posts: 2741
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 45 times
- Been thanked: 206 times
Re: Two Ethernet Connections
So what was I thinking? that's the MAC's...CwF wrote: ↑2024-02-25 16:37will list successful 'up' interface ip's.Code: Select all
$ cat /sys/class/net/*/address
anyway, maybe they are usb, so lsusb.
In any case, they're both there.