Broken WAN port


#1

Hello :slight_smile:

Today I updated my kernel from this state:

to a newer version.

After the update my BPIR2 had no connection to the internet. I noticed that my PI indicates that there is no cable connected to the wan port (output from eth-tools). But it is… After a downgrade everything worked fine again. Any ideas?

BTW, this is my interface config … but I do not think the problem is there:

source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual
        pre-up ip link set $IFACE up
        post-down ip link set $IFACE down
        post-up iptables-restore < /etc/iptables.up.rules

allow-hotplug wan
iface wan inet manual
up ip addr add 192.168.1.2/24 dev wan label wan:gateway

allow-hotplug lan0
iface lan0 inet manual

allow-hotplug lan1
iface lan1 inet manual

allow-hotplug lan2
iface lan2 inet manual

allow-hotplug lan3
iface lan3 inet manual

auto br0
iface br0 inet static
    hwaddress ether BA:DA:55:BE:EF:BB
    address 192.168.1.155
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 127.0.0.1
    dns-search my.net
    bridge_ports wan lan0 lan1 lan2 lan3
    bridge_fd 5
    bridge_stp no   

auto wlan0
iface wlan0 inet dhcp
        wpa-ssid        =====
        wpa-psk         =====

(Frank W.) #2

You miss eth1 in interfaces…4.14.52+ contains dual gmac…you can show it with “ip a”

Just copy eth0-section and change to eth1


#3

Oh, thank you

It would be cool if you change this information in your wiki :slight_smile:

Aight, I added the new lines into my interfaces file, but now the pi is confusing me. The bridge device works perfectly, but I don’t get any connections in and outside from the BPIR2.


(Frank W.) #4

in english wiki it is present, i add it in german part too :slight_smile:

if bridging, please remove config for lan-ports


#5

Haha, I should read more the english part :joy:

Works, thank you :slight_smile:


(Frank W.) #6

have added info also to german part :slight_smile: