[I've included options using ifconfig
instead of ip
below. If ifconfig
is not found, you are sort of out of luck; the distribution is missing critical networking tools.]
With the ethernet cable plugged in:
ip link
- OR -
ifconfig -a
Should show an entry including eth0
, unless Arch's init renames things (it may), in which case there should be an entry that includes link/ether
in the description. Regard that as eth0
below.
If there's no such entry, check the leds around the jack. If they are not lit, something's physically wrong or you have a very strange kernel -- try another distro.
Now try:
sudo dhclient -r
sudo ip link set eth0 up
- OR -
sudo ifconfig eth0 up
Then:
sudo dhclient -v eth0
You should see a negotiation ending with you getting an IP address. If so and you still cannot connect, add to /etc/resolve.conf
:
nameserver 8.8.8.8
And try again.