> I have two machines sitting behind a wireless router, both using > dhcpcd under gentoo. > > After running dhcpcd on both machines, they both get ip's, etc. Both > have the same nameserver set in /etc/resolv.conf > The output of "route -n" is identical. > > From the laptop, I can ping the router and the other machine on the > network, and vice versa.
So far so good... > On the desktop, everything works fine (e.g., domain name resolution > with ping, browsing, etc.) > > On the laptop, "ping www.google.com" just hangs. > > If I change the laptop's resolv.conf file (not sure what the > implications of this are...?) to use my router as the nameserver, I > can then resolve www.google.com and > ping it. But if I try to do anything more than that, e.g., "lynx > www.google.com", it just hangs. Scott, when you say "hangs", do you mean that the machine actually crashes, or that the attempt to access the network continues interminably without connecting? If the machine actually crashes, it sounds like a driver problem. > If you can push me in the right direction, I will be very (very) > appreciative. Here are some things to try: * Try connecting the laptop to the router WITH AN ETHERNET CABLE. If it works with non-wired ethernet, then you can be sure the problem is with the wireless card configuration (either that or the wireless router is locking out the MAC address of the laptop). * If it doesn't work with wired ethernet and DHCP, then try it with wired ethernet and MANUAL address configuration. Set up thes address, netmask, and gateway for the ethernet adapter manually and see if you can connect. For example, if the router is at 192.168.0.1, I would do: # echo 'nameserver 192.168.0.1' >> /etc/resolv.conf # ifconfig eth0 192.168.0.64 netmask 255.255.255.0 gw 192.168.0.1 # ifconfig eth0 up # route -n ... If that works, then it is most likely a problem with how DHCP is setup on the laptop (broken package installation?). * If you can't get it to work with even wired ethernet and a manual configuration, well then I'm stumped. Dan
