You are not logged in.

#1 2008-05-31 22:23:31

Newnux
Member
Registered: 2007-06-13
Posts: 59

Network Setup, Please Help.

Hello there,

Decided to install Arch once again, but I'm totally stuck with network setup.  I've tried many different combinations in the config files, but nothing at all seems to work.  I know the device is working (with Windows), and my details are correct.  Perhaps I've misplaced something.

On issuing a network restart, I receive a message saying "SIOCADDRT: No such device".  A similar message is issued when the network stops.  I can only ping my own IP, not even the router's.

Could anyone lend a hand?  I'm pulling my hair out here!

Thanks.

Device: eth0
My IP: 192.168.1.64
Router IP: 192.168.1.1

grep | eth0

eth0: RTL8168b/8111b at 0xf881c000, 00:1d:7d:95:65:e9, IRQ 16

route -n This was different at some points, but I've played around with so many options that it's hard to keep track.

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

rc.conf

HOSTNAME="linty"
lo="lo 127.0.0.1"
eth0="eth0 192.168.1.64 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.1.1"
ROUTES=(gateway)

hosts

# I really wasn't sure what to do with this one.
127.0.0.1    localhost.localdomain    localhost    linty

resolv.conf

nameserver 208.67.222.222
nameserver 208.67.222.220

Offline

#2 2008-06-01 02:45:19

Xherziu
Member
Registered: 2008-04-16
Posts: 58

Re: Network Setup, Please Help.

See if you can get it working with dhcp

Offline

#3 2008-06-01 03:14:57

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Network Setup, Please Help.

OK... let's do this.
Your configurations seems correct, so to start troubleshooting we first ping your router with ping 192.168.1.1 do you get an answer? If you do good if  you do not then as root issue this command: mii-tool to find out what is your Nic card doing and let's go from there.

R.

Offline

#4 2008-06-01 10:26:19

metal
Member
From: Russia,Moscow
Registered: 2006-01-23
Posts: 45

Re: Network Setup, Please Help.

Do you see your card with ifconfig?

Offline

#5 2008-06-01 10:32:48

Newnux
Member
Registered: 2007-06-13
Posts: 59

Re: Network Setup, Please Help.

Thanks for the replies, but I managed to get it working after grabbing the r8168 driver from Realtek's site.  I was using r8169 and assumed that it would work.

Offline

Board footer

Powered by FluxBB