frankiep
17-01-2022, 14:57
Ciao a tutti!
Ho un server casalingo su cui gira Debian 11 avente indirizzo IP 192.168.8.100 collegato in LAN al gateway con indirizzo 192.168.8.1.
Ho poi un dispositivo in casa a cui ci si può collegare soltanto attraverso il suo Access point con un suo SSID...una volta connessi al suo SSID, il dispositivo è raggiungibile all'indirizzo ip 192.168.0.2. Questo dispositivo non è un router ma un semplice client con un webserver a cui si accede alla sua configurazione.
Avrei bisogno di collegare il server, oltre che al gateway, anche a quest'altra rete Wi-Fi attraverso un adattatore Wi-Fi. L'obiettivo è quello di poter accedere poi al dispositivo 192.168.0.2 anche dalla mia rete LAN.
Quindi vi chiedo, quale adattatore Wi-Fi devo comprare che sia supportato da Debian 11? Possibilmente plug & play...
Come realizzo il bridge?
Allego l'ifconfig attuale:
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255
inet6 fe80::921b:eff:fe3f:9cd2 prefixlen 64 scopeid 0x20<link>
ether 90:1b:0e:3f:9c:d2 txqueuelen 1000 (Ethernet)
RX packets 56925894 bytes 67578638646 (62.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 63784015 bytes 65204858576 (60.7 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7c00000-f7c20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1749416 bytes 445190919 (424.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1749416 bytes 445190919 (424.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1
inet6 fe80::df9d:b00c:4596:da81 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 301053 bytes 57073996 (54.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 445073 bytes 437924246 (417.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Ho un server casalingo su cui gira Debian 11 avente indirizzo IP 192.168.8.100 collegato in LAN al gateway con indirizzo 192.168.8.1.
Ho poi un dispositivo in casa a cui ci si può collegare soltanto attraverso il suo Access point con un suo SSID...una volta connessi al suo SSID, il dispositivo è raggiungibile all'indirizzo ip 192.168.0.2. Questo dispositivo non è un router ma un semplice client con un webserver a cui si accede alla sua configurazione.
Avrei bisogno di collegare il server, oltre che al gateway, anche a quest'altra rete Wi-Fi attraverso un adattatore Wi-Fi. L'obiettivo è quello di poter accedere poi al dispositivo 192.168.0.2 anche dalla mia rete LAN.
Quindi vi chiedo, quale adattatore Wi-Fi devo comprare che sia supportato da Debian 11? Possibilmente plug & play...
Come realizzo il bridge?
Allego l'ifconfig attuale:
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.8.100 netmask 255.255.255.0 broadcast 192.168.8.255
inet6 fe80::921b:eff:fe3f:9cd2 prefixlen 64 scopeid 0x20<link>
ether 90:1b:0e:3f:9c:d2 txqueuelen 1000 (Ethernet)
RX packets 56925894 bytes 67578638646 (62.9 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 63784015 bytes 65204858576 (60.7 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xf7c00000-f7c20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1749416 bytes 445190919 (424.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1749416 bytes 445190919 (424.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.1 netmask 255.255.255.0 destination 10.8.0.1
inet6 fe80::df9d:b00c:4596:da81 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 301053 bytes 57073996 (54.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 445073 bytes 437924246 (417.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0