You are not logged in.
Pages: 1
Hey all, i've just installed archlinux and most of the modules related to networking. However, no matter what I do, I cant seem to even get my wired network operational -- I cant get internet, nothing really.
Error messages I get from various attempts include:
"Transient Resolver Failure" (from the basic enabling of eth0) and "Network is unreachable" (most often when I run dhcpcd) -- both of these happen on all sources.
Relevant Hardware Devices are:
HP Pavilion Laptop DV5-1034CA
Wired Ethernet: Realtek RTL8168C Family PCI-E Gigabit Ethernet NIC (NDIS 6.0)
Wireless Ethernet: Intel Wireless Wifi Link 5100 ABGN
Router: D-Link DIR-615 (Wireless N)
While I dont find it unusual for my wireless not to work off the bat, I find it strange that I cant even get the wired network to work. Things I've tried:
-- Adding a line onto grub -- acpi=off
-- Editing /etc/resolv.conf to use the same nameserver and search entries as my Kubuntu box.
-- Running dhcpcd eth0
-- Attempting to assign my IP and subnet masks manually (and having them show up properly on ifconfig)
-- Having the router manually reserve DHCP to the laptop NIC's MAC address.
Most of the time my IP will configure itself to be 192.168.0.2, even though DHCP assigns it from .100 to .200 -- and if I manually assign an IP using the computer's local settings, it still wont talk to the network.
When I run dhcpcd eth0, it gives me a wildly different IP than my network's IP.
No matter what I do, I cant even ping the gateway. Even though when I load up FaunOS on my thumbdrive, the wired network works flawlessly (just FYI FaunOS is based on Arch)
I've ran ifconfig eth0 down and up to restart my connection after each change, and in most cases i've ran /etc/rc.d/network restart as well -- no joy.
Plz help!
Last edited by Zeroangelmk1 (2008-09-01 11:08:16)
Offline
Welcome to the Forums.
It would be very helpful if you'd post your /etc/rc.conf as well as the output of
$ ifconfig
. Form your description can we assume that there _is_ a dhcp server running in your network, right? Hope we can help you...
Offline
Yes my router does DHCP, for my entire network in fact.
ifconfig
eth0 Link encap:Ethernet HWaddr 00:1E:68:A5:C7:28
inet addr:192.168.0.133 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4294967293 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
rc.conf
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
MOD_AUTOLOAD="yes"
MODULES=(r8169 snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
HOSTNAME="Archangel"
eth0="eth0 192.168.0.133 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
# I'VE ALSO TRIED eth0="dhcp" to no avail.
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
DAEMONS=(syslog-ng network netfs crond)
Last edited by Zeroangelmk1 (2008-09-01 11:57:13)
Offline
If you set up an interface with a static IP, you must also specify a route. Try uncommenting "gateway" from ROUTES (remove the !) and restarting the network.
Offline
Ok. So you've configured your network statically. It seems like that worked fine. With that configuration, can you ping 192.168.0.1?
Offline
If you want to use a static IP your rc.conf networking section needs to be
eth0="eth0 192.168.0.133 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(gateway) # note the removal of the '!'
Make sure that the IP address is valid for your network and also check that the 'gateway' IP is correct for your router. The arch default is 192.168.0.1 but my router's IP is 192.168.2.1.
Check the settings and then run '/etc/rc.d/network restart'
Alternatively, for dhcp you would need
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.0.1"
ROUTES=(!gateway) # note the inclusion of the '!', dhcp does not need gateway
Offline
Thanks gentlemen. I've tried it all and none of it works.
Offline
I am also having the exact same problem.
Did anyone find a solution?
cheers
Sid
Offline
Could you please provide some more information on what works and what doesnt...
e.g.:
- Ping other hosts on internal network by IP
- Ping other hosts on internet by IP
- Ping other hosts on internet by name
- What if you do that on another host
- Network IP range, gateway, subnetmask. DHCP Server on the net?
- Unusual messages in /var/log/messages.log concerning network
- Your rc.conf
anything that could be useful. I hope that we can solve this problem afterwards!
Offline
Just another option, but have you tried the static eth profile with netcfg?
I used netcfg with a static wireless profile to get my wireless connecting at boot, maybe netcfg + profile will work. You will find example profiles which are quick to edit in your /etc/network.d directory.
Ethernet-Static.Example:
CONNECTION="ethernet"
DESCRIPTION="A less basic ethernet profile, using static configuration"
INTERFACE=eth0
IP="static"
IFOPTS="192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255"
GATEWAY="192.168.1.1"
DNS1=192.168.1.1
DNS2=dns1.dreamhost.com
Very good step by step instructions here:
http://wiki.archlinux.org/index.php/Netcfg
richs.lxh
Last edited by richs-lxh (2008-09-04 08:38:39)
Offline
Are you direclty connected to the router with DHCP? My friend once had exactly the same problem, because he somehow forgot there's second router in the network, which somehow spoiled everything.
Offline
I managed to fix it by downloading the drivers from the realtek site, compiling them according to the readme and then rebooting with r8168 module in rc.conf. Apparently, once r8169 loads, r8168 can't get hold of the ethernet card properly so it is important to reboot and load r8168.
Offline
I noticed all the dropped packets:
eth0 Link encap:Ethernet HWaddr 00:1E:68:A5:C7:28
inet addr:192.168.0.133 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:4294967293 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x6000
I'm currently having a similar problem... Wifi works, but eth0 is dropping all packets and not getting a connection.
Using an Acer Aspire One. Eth0 worked during installation, then installed NetworkManager and haven't really tested it since.
Enabling network and disabling dhcdbd and networkmanager daemons doesn't help.
Last edited by schuay (2008-09-16 15:33:50)
Offline
Broken iptables Rules? Haven't got much experience on that, but check http://wiki.archlinux.org/index.php/Sim … wall_HOWTO. Hope this helps.
Offline
I can confirm that using the r8101 module instead of r8169 works. I don't know how the broken module got onto my system though... maybe through the kernel upgrade?
I also had to add a script unload/reload the module during suspend/resume, else I'd resume without mouse/keyboard support.
Last edited by schuay (2008-09-17 06:48:42)
Offline
Pages: 1