Can't access Raspberry Pi on new router
1 hour ago, Needfuldoer said:You'll need access to the running system install on the Pi. If you can hook up a keyboard, mouse, and monitor, do it. If not, either hook both your PC and your Pi up to your old router, or set a static address on your old router's subnet on your PC and connect the Pi's Ethernet port directly to your PC's NIC and SSH into it.
Then you can check your Pi's network config with this command:
cat /etc/network/interfaces
Look for "iface [something] inet dhcp" or "iface [something] inet static".
My guess is there's a static address assigned to the NIC in that file. That address is on the different subnet your old router is using, and because there's no routing between the two subnets you won't be able to ping the Pi if your PC grabbed an address from the new one.
If you were assigning your Pi an address by setting aside a DHCP reservation on your old router, I'm not sure why it's not showing up for you on the new router.
Static ip is not set as I can see
I found it, its set in the /etc/dhcpcd.conf file. Im guessing I also have to change the static routers= to 29.1 from 0.1 for router subnet? (or can I leave it empty?)
Is it possible to set a fallback eth0 ip so I can put both ...0.175 (for old router) and ...29.175 (new router) in case I exchange them?
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now