Today I was in the office using the corporate ethernet there with my Raspberry Pi, and it was working very smoothly. I was even able to tinker with some SSH and VNC connections and use the browser, and ifconfig
had a working IP that I was able to use.
I went home, however and plugged in another yellow ethernet cable and the link lights didn't even come on. There was no change in ifconfig
output before and after the cable was plugged in.
Here's what I've tried:
- Countless changes to the "interfaces" file
- Rebooting the router (with 20-sec interval)
- Removing and plugging in and removing and... with the cable
- Rebooting the Pi 2 multiple times
- Using
sudo ifdown
andsudo ifup
with the argument "eth0" - and much more...
After spending an hour searching on forum websites, I believe the problem is the cable though I can assure that it works with laptops. The cable is a standard Ethernet cable, with one end hooked into a wall outlet and the other into the Raspberry Pi 2.
Is there anything else you can recommend to fix this?
ifconfig -a
(the-a
is significant) orip link
.ifconfig -a
and justifconfig
.ip link
just prints out some random words, with the capitalized ones being "UNKNOWN mode DEFAULT", "<NO-CARRIER,BROADCAST,MULTICAST,UP>", "LOOPBACK,UP,LOWER_UP", etc.connect: Network is unreachable