You are not logged in.
I'm having trouble getting an internet connection under arch. I can ping my router/gateway and another box on my local network, but nothing on the internet. Obviously, this prevents me from using pacman to get tools to simplify matters...
I have a Linksys LNE100 pci ethernet card connected to a router that does dhcp configuration.
I have tinkered with /etc/rc.config, and modprobed the tulip module (which I believe is the correct one) but I'm lost. The documents I've looked at don't seem to apply to my current situation.
Thanks in advance
Offline
check your /etc/resolv.conf
likely you just cant get any dns resolution. I don't know why dhcpcd (or dhclient) isn't setting it up for you, but it might not be.
can you ping by ip addy?
216.239.39.99 -- google.com
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I can ping my router and ping another computer on my local network, and that works fine. But pinging Yahoo results in:
connect: Network is unreachable
This is true even after I manually added a couple of nameserver lines in /etc/resolv.conf.
I have never installed a stripped-down linux before, but I'm trying to learn....
Just for my information, what is the "normal" procedure for getting a typical network connection (ethernet to router, which has a cable modem) going? The install guide sort of leaves you hanging after you do the initial setup/install and you log into the shell. It seems like running pacman is the next logical step, but obviously I can't do that yet.
Thanks for helping me troubleshoot this...
Offline
is your eth0 (or whatever your ethernet device is) configured in /etc/rc.conf with something like eth0="dhcp" and underneath you should also have INTERFACES=(lo eth0). just to make sure you have all configured correctly, issue ifconfig and paste your results.
Offline
In rc.conf I have these lines:
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.7 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0="dhcp")
INTERFACES=(lo eth0)
gateway="default 192.168.0.1"
ROUTES=(gateway)
I will post the results of ifconfig later; I have to hand-type all this stuff since I know of no way to get the info onto this working computer, and it takes awhile (and it's bedtime for me). Let me know if anything jumps out at you as wrong with these rc.config lines... and thanks.
Offline
change
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.7 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0="dhcp")
INTERFACES=(lo eth0)gateway="default 192.168.0.1"
ROUTES=(gateway)
to
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway) #unless u need to to set it as a gateway for some reason
Offline
z4ziggy got it right,
there is also this wiki
http://wiki.archlinux.org/index.php/Sta … and%20DHCP
and there is also the complete desktop setup wiki
http://wiki.archlinux.org/index.php/Desktop%20Arch
good luck
arch + gentoo + initng + python = enlisy
Offline
I've just updated the wiki page ( http://wiki.archlinux.org/index.php/Sta … and%20DHCP ) to be a bit more specific (bold font does it sometimes ).
Offline
Thanks, both of you! Especially for updating the wiki, that really helps. I can now ping external hosts, so I think I've got this solved. On to the next problem
Offline
I've just updated the wiki page ( http://wiki.archlinux.org/index.php/Sta … and%20DHCP ) to be a bit more specific (bold font does it sometimes ).
nice work, I wrote the first version but this one is better and also contains how to set hostname,
it looks almost professional,
arch + gentoo + initng + python = enlisy
Offline
tnx now if we could just upgrade the total wiki layout, that could be awesome...
Offline