SSH Connections
Greetings. After connecting the Unihiker to WiFi, it no longer responds on the USB connection (10.1.2.3). Is this normal? What if I disconnect from Wifi? Will the unit no longer be accessible? Can I get both network interfaces to work simultaneously (eg SSH into either 10.1.2.3 or the Wifi IP Address)?
Hello @lupin,
How did you enable your Wi-Fi? By default, I get the following:
root@unihiker:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 00:e0:4c:84:34:77 brd ff:ff:ff:ff:ff:ff
3: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 02:e0:4c:84:34:77 brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 state UP group default qlen 1000
link/ether 00:e0:4c:9e:fe:c1 brd ff:ff:ff:ff:ff:ff
inet6 fe80::2e0:4cff:fe9e:fec1/64 scope link
valid_lft forever preferred_lft forever
5: usb1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast master br0 state DOWN group default qlen 1000
link/ether 00:e0:4c:9e:fe:c3 brd ff:ff:ff:ff:ff:ff
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:e0:4c:9e:fe:c1 brd ff:ff:ff:ff:ff:ff
inet 10.1.2.3/24 brd 10.1.2.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::2e0:4cff:fe9e:fec1/64 scope link
valid_lft forever preferred_lft forever
root@unihiker:~#
Don't mean to post a redundant question (because I just inquired about gateway address assignment) but what made UNIHIKER receive 10.0.0.14 for your Wi-Fi? Thanks.
Regards.
P.S.
I do have a dual band Wi-Fi Access point actively serving other clients in my farm.
Matha.GoramPlease disregard this message! In my haste, I did not visit the Network Settings page previously. I have done so now, and my Wi-Fi is up and running. Sorry for the false alarm. Thanks for your understanding.
Regards.
Both interfaces should work at the same time. I can confirm this with following output:
root@unihiker:~# ip a
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether b6:a8:05:81:5e:1c brd ff:ff:ff:ff:ff:ff
inet 10.0.0.14/24 brd 10.0.0.255 scope global dynamic noprefixroute wlan0
valid_lft 85446sec preferred_lft 85446sec
inet6 fe80::95d4:4553:a9f7:b05e/64 scope link noprefixroute
valid_lft forever preferred_lft forever
6: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:e0:4c:28:9b:f9 brd ff:ff:ff:ff:ff:ff
inet 10.1.2.3/24 brd 10.1.2.255 scope global br0
valid_lft forever preferred_lft forever
inet6 fe80::2e0:4cff:fe28:9bf9/64 scope link
valid_lft forever preferred_lft forever
In this case the unihiker is connected as station to an access point (#2) and I'm connected via SSH/USB (#6) …
Lupin