Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've looked around quite a bit and can't find anyone that has experienced this problem.
I just installed Ubuntu 6.10 on a Dell Inspiron 6000 notebook and everything was working fine, I could use Firefox to browse the internet, add programs, etc. My problems started after I put my laptop into hibernate last night and when I went to use it this morning, no internet sites will load.
I am using ADSL through a Linksys BEFSR41 router, there is no PPPOE. Connection is DSL modem, cat5 to router, cat5 to laptop. I can ping my router as well as log into it through firefox and I am getting a real ip address though DHCP. I cannot ping any internet sites though. There are two other computers using WinXP and Win2000 that work fine as well as the Ubuntu laptop that is dual booting with XP and connects to the internet without changing any settings. There is also a wireless network within range that I can do the same thing with as my wired connection, ping router, but no connection to outside sites.
Everything I've read has not helped at all for getting my internet connection to work. I have also tried to reinstall Ubuntu, but this does not change anything and I am still stuck being able to see my router and not connect to the internet. Any suggestions would be great.
Can you ping a site on the Internet by IP as opposed to name, try "ping 126.96.36.199" (this is what www.google.com resolves for me at the moment. If you get a reply back, then your connection is OK but your DNS is not configured. You'll need to add your DNS servers to /etc/resolv.conf. If the ping doesn't work most likely your default gateway isn't set. Do a "netstat -rn" and see if your default route is set to go through your router.
One possibility is that your DSL lease expired in the interim and you need to restart dhclient.
Coming out of hibernation, it's possible for a device not to have recovered into the state it was in before you went into hibernation.
If you have both an internet and wireless network interace, make sure that both aren't active it they are on the same subnet.
Check what ifconfig, route ( OK, the netstat command does the same thing ) say and cat out resolv.conf.
Given that you can ping the router, if it doesn't take a long time, it doesn't sound like the first three items are a problem. Checking ifconfig, route, resolv.conf will usually point you in the right direction.
@ btmiller: no, I cannot ping by IP either. Here is the result from running netstat. My wired connection is on eth0 and my wireless is on eth1. I had to change the router IP address as it had problems when it was set to 192.168.x.x due to the ISP using the 192.168.x.x. My external IP address when I check (from windows computers using the same router) is in in the 64.118.x.x range
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
188.8.131.52 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 184.108.40.206 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
Even if you have two different routers they should have the same default gateway?
Your computer should have one default gateway.
You also need the nameserver address to be able to browse the internet normally. You can check that with "cat /etc/resolv.conf".
Also, unless you are using your computer as a transparent gateway (this is rare) or have it configured for load sharing, if you have two interfaces, they should be on different subnets. You can shut one down that you aren't using if you want to use wireless at times and the wired NIC on other times.