Marcus Nguyen Posted August 20, 2019 Posted August 20, 2019 Hi everyone, I am using nmtui to setup static ip both eth0 and wlan0 on orange pi zero. It works fine if only one of them was activated I want to use both. If LAN cable was be connected into pi, the board is run on ethernet. On other side, run on wifi when the cable was pluged out When I rebooted the pi without LAN cable, the eth0 auto activated lead to I can't access the module via wifi even though it is connected successful. I must connect via serial and disable eth0 after that I connected via wifi.
gogol Posted August 20, 2019 Posted August 20, 2019 Are you setting the same static IP to both interfaces or are they in different networks? Do you have configured a bridge or some kind of bonding? Can you tell a little bit more on the network configuration? I see my eth0 going down, when unplugging the cable. When booting without cable, it stays down and only WiFi is up and reachable.
martinayotte Posted August 20, 2019 Posted August 20, 2019 4 hours ago, Marcus Nguyen said: It works fine if only one of them was activated It sound like usual trouble : Both devices are on the same subnet and therefore have the same gateway. Then you are doing SSH on the WiFi and then unplug the ETH0, your SSH is frozen because returned packets will come back to the wrong ETH0 gateway, you just replug the ETH0 and you see that the current SSH session is alive again... Solution : don't use the same subnet on both network type !
Recommended Posts