Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to disable eth0 without cable

Featured Replies

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. 

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.

 

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 !

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.