Re: Dual wifi connections in Bookworm

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Dual wifi connections in Bookworm
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.sys.raspberry-pi
Date : 28. Nov 2024, 10:09:36
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vi9c0g$fjo6$4@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 27/11/2024 17:38, bp@www.zefox.net wrote:
The Natural Philosopher <tnp@invalid.invalid> wrote:
>
Bob.. I dont *know* how linux routing copes with two interfaces to the
same network.
>
Ideally it should open either at random, and since they have unique
source addresses pings should always get back. Nothing outside the
machine itself knows whether it has two interfaces or is in fact two
separate machines.
>
I just know that my gut feeling is not to do that, at all.
When you have all these interfaces up, what does ifconfig show? and route?
 To start with, ifconfig reports
wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.18  netmask 255.255.255.0  broadcast 192.168.1.255
         inet6 fe80::26ee:3368:6e6c:aa6e  prefixlen 64  scopeid 0x20<link>
         ether 24:2f:d0:b9:54:f7  txqueuelen 1000  (Ethernet)
         RX packets 6896208  bytes 8657581257 (8.0 GiB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 1647035  bytes 215681086 (205.6 MiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
and route reports
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.254   0.0.0.0         UG    601    0        0 wlan1
192.168.1.0     0.0.0.0         255.255.255.0   U     601    0        0 wlan1
 If I bring up wlan0 (the internal wifi interface then ifconfig reports
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255
         inet6 fe80::98a0:b51e:4f4:236a  prefixlen 64  scopeid 0x20<link>
         ether 2c:cf:67:0f:10:64  txqueuelen 1000  (Ethernet)
         RX packets 108  bytes 15818 (15.4 KiB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 1120  bytes 200215 (195.5 KiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
         inet 192.168.1.18  netmask 255.255.255.0  broadcast 192.168.1.255
         inet6 fe80::26ee:3368:6e6c:aa6e  prefixlen 64  scopeid 0x20<link>
         ether 24:2f:d0:b9:54:f7  txqueuelen 1000  (Ethernet)
         RX packets 6897155  bytes 8657817041 (8.0 GiB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 1648196  bytes 215824139 (205.8 MiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
and route reports
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.254   0.0.0.0         UG    601    0        0 wlan1
default         192.168.1.254   0.0.0.0         UG    602    0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     601    0        0 wlan1
192.168.1.0     0.0.0.0         255.255.255.0   U     602    0        0 wlan0
 At the moment, there's a ping session running to the gateway continuously.
Times are sub-2ms unloaded, until I start loading a big page under chromium,
whereupon ping times go.....dammit, everthing works just fine 8-(
 At the moment I'm baffled.
 Thanks for writing, apologies for the goose chase.
 bob prohaska
 
Well so you have two default routes  and two LAN routes but they have the same target value.
That is interesting, but I cant say as to what the effect of that will be.
When Ive tried that here with ethernet and wifi, netmanager always shuts don the wifi.
--
For in reason, all government without the consent of the governed is the very definition of slavery.
Jonathan Swift

Date Sujet#  Auteur
24 Nov 24 * Dual wifi connections in Bookworm51<bp
24 Nov 24 +* Re: Dual wifi connections in Bookworm2Michael Schwingen
24 Nov 24 i`- Re: Dual wifi connections in Bookworm1<bp
24 Nov 24 +* Re: Dual wifi connections in Bookworm23Lawrence D'Oliveiro
24 Nov 24 i+* Re: Dual wifi connections in Bookworm13<bp
25 Nov 24 ii`* Re: Dual wifi connections in Bookworm12Lawrence D'Oliveiro
25 Nov 24 ii `* Re: Dual wifi connections in Bookworm11<bp
25 Nov 24 ii  `* Re: Dual wifi connections in Bookworm10<bp
25 Nov 24 ii   +* Re: Dual wifi connections in Bookworm7mm0fmf
25 Nov 24 ii   i`* Re: Dual wifi connections in Bookworm6<bp
25 Nov 24 ii   i +* Re: Dual wifi connections in Bookworm2The Natural Philosopher
27 Nov 24 ii   i i`- Re: Dual wifi connections in Bookworm1Michael Schwingen
25 Nov 24 ii   i `* Re: Dual wifi connections in Bookworm3mm0fmf
25 Nov 24 ii   i  `* Re: Dual wifi connections in Bookworm2<bp
26 Nov 24 ii   i   `- Re: Dual wifi connections in Bookworm1mm0fmf
25 Nov 24 ii   `* Re: Dual wifi connections in Bookworm2The Natural Philosopher
25 Nov 24 ii    `- Re: Dual wifi connections in Bookworm1<bp
27 Nov 24 i`* Re: Dual wifi connections in Bookworm9Michael Schwingen
27 Nov 24 i `* Re: Dual wifi connections in Bookworm8Lawrence D'Oliveiro
28 Nov 24 i  `* Re: Dual wifi connections in Bookworm7Michael Schwingen
28 Nov 24 i   `* Re: Dual wifi connections in Bookworm6Lawrence D'Oliveiro
29 Nov 24 i    `* Re: Dual wifi connections in Bookworm5Michael Schwingen
29 Nov 24 i     `* Re: Dual wifi connections in Bookworm4The Natural Philosopher
29 Nov 24 i      +* Re: Dual wifi connections in Bookworm2Michael Schwingen
29 Nov 24 i      i`- Re: Dual wifi connections in Bookworm1The Natural Philosopher
1 Dec 24 i      `- Re: Dual wifi connections in Bookworm1Lawrence D'Oliveiro
25 Nov 24 +* Re: Dual wifi connections in Bookworm4Knute Johnson
25 Nov 24 i`* Re: Dual wifi connections in Bookworm3<bp
25 Nov 24 i `* Re: Dual wifi connections in Bookworm2Chris Townley
25 Nov 24 i  `- Re: Dual wifi connections in Bookworm1<bp
25 Nov 24 `* Re: Dual wifi connections in Bookworm21druck
27 Nov 24  `* Re: Dual wifi connections in Bookworm20Michael Schwingen
27 Nov 24   +* Re: Dual wifi connections in Bookworm14The Natural Philosopher
27 Nov 24   i+* Re: Dual wifi connections in Bookworm4Michael Schwingen
27 Nov 24   ii`* Re: Dual wifi connections in Bookworm3The Natural Philosopher
27 Nov 24   ii `* Re: Dual wifi connections in Bookworm2Andy Burns
28 Nov 24   ii  `- Re: Dual wifi connections in Bookworm1Lawrence D'Oliveiro
27 Nov 24   i`* Re: Dual wifi connections in Bookworm9<bp
27 Nov 24   i `* Re: Dual wifi connections in Bookworm8The Natural Philosopher
27 Nov 24   i  `* Re: Dual wifi connections in Bookworm7<bp
27 Nov 24   i   +* Re: Dual wifi connections in Bookworm5<bp
28 Nov 24   i   i`* Re: Dual wifi connections in Bookworm4The Natural Philosopher
30 Nov 24   i   i `* Re: Dual wifi connections in Bookworm3<bp
30 Nov 24   i   i  `* Re: Dual wifi connections in Bookworm2The Natural Philosopher
30 Nov 24   i   i   `- Re: Dual wifi connections in Bookworm1<bp
28 Nov 24   i   `- Re: Dual wifi connections in Bookworm1The Natural Philosopher
28 Nov 24   `* Re: Dual wifi connections in Bookworm5druck
29 Nov 24    `* Re: Dual wifi connections in Bookworm4Michael Schwingen
29 Nov 24     `* Re: Dual wifi connections in Bookworm3The Natural Philosopher
29 Nov 24      `* Re: Dual wifi connections in Bookworm2Michael Schwingen
29 Nov 24       `- Re: Dual wifi connections in Bookworm1The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal