i ahave been using opensuse 13.2 on an old t60 for over a year. it has both wired and wireless interfaces. for quite a long time i was using wired only until a month ago i activated wireless. it works fine in the environment with no wired connections. to my surprise, now it would not work for wired connection any more, it is always on wireless.
i thought it should behave like wintel machine: as long as wired connection is active, it will prefer wired connection until wired interface down. are there any ways to fix this?
i have been using opensuse 13.2 on an old t60 for over a year. it has both wired and wireless interfaces. for quite a long time i was using wired only until a month ago i activated wireless. it works fine in the environment with no wired connections. to my surprise, now the traffic would not use wired connection any more, it is always on wireless. even wired connection is there.
i had tried to shut the wls3 down by “sudo ifconfig wls3 down”, but traffic went nowhere; wired interface just didn’t pick up the traffic at all.
i thought it should behave like wintel machine: as long as wired connection is active, it will prefer wired connection until wired interface down. are there any ways to fix this?
That is the case when using Network Manager - wired preferred over wireless. For wicked I’m not so sure, but you can check the routing table to get more info about what is going on
ip route
For example, when I am using wireless only, I have
default via 192.168.1.1 dev wlp2s0 proto static metric 1024
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.9
When wired and wireless are both active, I have
default via 192.168.1.1 dev enp3s0 proto static metric 1024
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.9
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.6
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 20:68:9d:8b:3c:2e brd ff:ff:ff:ff:ff:ff
inet 192.168.1.9/24 brd 192.168.1.255 scope global dynamic wlp2s0
valid_lft 55510sec preferred_lft 55510sec
inet6 fe80::2268:9dff:fe8b:3c2e/64 scope link
valid_lft forever preferred_lft forever
16: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 4c:72:b9:d7:29:49 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.6/24 brd 192.168.1.255 scope global dynamic enp3s0
valid_lft 86344sec preferred_lft 86344sec
inet6 fe80::4e72:b9ff:fed7:2949/64 scope link
valid_lft forever preferred_lft forever