Troubleshooting raspberry pi 5

not true, if you would have done what you were told, your client would have never received a .77.x IP.

it would have been a .1.x IP, no IP at all, or self assigned.

No I understand that but when I did SSH using my laptop only connected to the PI no other Ethernet the SSH was refused also due to IP being given . This is me following all the steps , I’m going to try again anyway just to see what happens but I don’t see how I haven’t followed the steps

make sure you disable the wifi on your laptop.

I’ve done that. When I try again later today if it doesn’t still work anyone able to help me . Discord maybe so I can show you what I have done ?

you bought a hdmi adapter, it should be enough to spot the issue.

Il try and let you know how it goes

Having a issue with updating the software list, shows opkg error 7

I take it it actually booted ?

your OpenWRT most likely isn't part of your existing network.

edit the /etc/config/network file, change the lan paragraph to:

config interface 'lan'
        option device 'br-lan'
        option proto 'dhcp'

reboot afterwards.

connect the Pi to your existing network.
keep in mind its IP will change.

I’ve done that it shows it’s a dns issue but I’ve set dns servers to 8.8.8.8 and 8.8.4.4 . Shows it can’t get back to the Open Wrt dns .

You've done what ?

Who shows it?

Where did you set the DNSes ?

Oh no worries it looks like it was using IPv6 I disabled it and it works now . Also if I have a usb to Ethernet adapter how do I configure that as I can’t see my second Ethernet

Need to install the packages providing support for the hw.

What USB Ethernet adapter are you using? If it’s using a Realtek chipset, it needs the kmod-usb-net-rtl8152 package. You can download the kmod-usb-net-rtl8152 package and its dependencies manually and upload via SSH. A much easier way is to customize the image using the OpenWrt firmware selector so it comes with kmod-usb-net-rtl8152 already installed when you flash the SD card.

So I have tried downloading the correct driver but it shows collected errors can’t install the package

kmod-usb-net-rt18152

I have checked the dns that’s fine , date to ensure it’s not out of sync .

Can't help you without actual error messages.

Sorry my bad , getting an error in trying to connect my fibre box to the on board LAN (eth 0) and connect eth 1 from adapter to the WAN to my router .

I know I need to place eth 0 and 1 in bridge mode but it doesn’t seem to work . I have drivers installed for the adapter etc.

Why are you putting them in bridge mode? Typically, one would be used for the lan and the other for the wan.

So the Ethernet from my fibre box normally connects through to my WAN on my router so wouldn’t I have to make it a transparent bridge so router receives DHCP from fibre box .

I’m trying to run SQM on the WAN side but as transparent bridge .

If you create a bridge, the device will be nothing more than a glorified wire in that the traffic will never pass through the routing later.

It doesn’t work that way…. it can’t be a transparent bridge and run SQM. It needs to be routing to do that.

What makes you think a transparent bridge is required? OpenWrt can run a DHCP client on the WAN port without any bridging. And it will receive IP addresses from upstream just fine. That’s how it works in other OpenWrt routers that have more than one Ethernet port. It has to work this way if you want the Pi 5 to act as a router and not just a glorified switch.

Please SSH into the Pi 5 and run the command cat /etc/config/network paste it here, so we can see the current situation and what needs to be changed.