Jump to content

WiFi works when eth0 plugged in fails after disconect


Kevin Bosworth

Recommended Posts

I am having a network problem that I can not figure out. First I had to roll back the kernel to version 5.x to even get wifi to work. Since then I have tried all sorts of things. No matter what I do, when I unplug the eth0 the wifi goes away as well. Here is some stuff that might help.

 __  __       _                 _ _  ____   _____
|  \/  |     (_)               (_) |/ __ \ / ____|
| \  / | __ _ _ _ __  ___  __ _ _| | |  | | (___
| |\/| |/ _` | | '_ \/ __|/ _` | | | |  | |\___ \
| |  | | (_| | | | | \__ \ (_| | | | |__| |____) |
|_|  |_|\__,_|_|_| |_|___/\__,_|_|_|\____/|_____/


Version 1.1.1, based on Armbian 23.02.2 Bullseye
Running on OPi 3 LTS with Linux 5.15.93-sunxi64

System load:   41%              Up time:       3 min
Memory usage:  15% of 1.94G     IP:            192.168.1.161 192.168.1.160
CPU temp:      43°C             Usage of /:    84% of 7.0G

[ Kernel and firmware upgrades disabled: armbian-config ]
Last check: 2023-09-16 20:53

Last login: Sat Sep 16 20:50:31 2023 from 192.168.1.65
pi@OrangePI3:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    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
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 02:07:75:b2:b2:2d brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.161/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether a0:ab:d6:c3:a7:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.160/24 brd 192.168.1.255 scope global noprefixroute wlan0
       valid_lft forever preferred_lft forever

 

-------------------------------------------------------------------------------------------------------------------------------------------------------

# armbian-config created
source /etc/network/interfaces.d/*

# Local loopback
auto lo
iface lo inet loopback

# Interface eth0
allow-hotplug eth0
iface eth0 inet static            
    address 192.168.1.161
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1 8.8.8.8

 

I don't know what else to try. Thanks in advance.

Link to comment
Share on other sites

Could you please share the logs? Pull your ethernet out while wifi is working. Once the wifi stops working, plug the ethernet back in and run armbianmonitor -u to upload the logs. Then share the URL here. 

 

I have already created a PR to fix the wifi, it should get pulled in a few days. Then probably you can get the kernel from beta.armbian.com repository. But still I will try this out tomorrow on the newer kernel to see to make sure it doesn't have similar issue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines