View previous topic :: View next topic |
Author |
Message |
mrbulle n00b
Joined: 31 Oct 2004 Posts: 5
|
Posted: Thu Aug 25, 2005 12:40 pm Post subject: no internet access on laptop at friends |
|
|
I've got a nice compaq laptop that been running ubuntu for a couples of months but I didnt like all the flashy graphics and unwanted stuff. So I thought of installing a lightweight gentoo on the machine. It has only got 128mb of ram, 10gb hdd and a amd cpu at 1,2ghz so it's no monster machine whats so ever. The setup I was thinking of included Fluxbox, xmms, abiword, gaim, firefox (although it loves memory) so the computer could feel smooth.
So I installed Gentoo on it. First my 2005.1 cd dident work properly, no internet access. With 2005.0 it worked. So installed with that cd. And everything worked out great, installed than Fluxbox with no problem. Everything worked so I did a and upgraded som packages. No problem so far.
Then yesterday I visited my friend and I had the laptop with me. I pluged in the internet cable to the router and fired up the computer. When I logged in I had no access to the internet. Although I had it at home. I checked so dhcpcd was running and it was. I could also ping the router properly. But I couldn't ping google or something else.
I guess it's some problem with my resolv.conf but dont know what it could be. Does someone has a solution? I would appriciate if I could use the computer anywhere with internet access without major changes in .conf files. Although I could have some different .conf files for different places I visit.
What should I do to get internet access when I visit friends and school?
/Best Regards Alex
/Mrbulle |
|
Back to top |
|
|
Taladar Guru
Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Thu Aug 25, 2005 1:34 pm Post subject: |
|
|
If you can ping the router but no IP adresses on the internet you need to create a default router via the router with
Code: |
route add default gw 1.2.3.4
|
where 1.2.3.4 is the router IP.
If you can ping IPs on the internet but not names you need to add working DNS servers to your /etc/resolv.conf like this:
where 1.2.3.4 is the IP of the nameserver your friend uses.
If your friend uses Linux you find the Nameserver IP in the /etc/resolv.conf (obviously), if he uses windows 2k/xp you should find them in the output of "ipconfig /all", with win9x/me the command is "winipcfg". |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|