| Ubuntu This forum is for the discussion of Ubuntu Linux. |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-11-2005, 03:13 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2003
Posts: 22
Rep:
|
Connected to router but not the internet?
Hi,
Strange problem, I'm trying to use my wireless laptop to connect to the inteRnet with ubuntu 5.10.
I've got my wireless card working with ndiswrapper etc and it's getting the correct IP information back from my DHCP router. I can even log into to my router from ubuntu but I can't get out to the internet?
Any ideas?
Cheers,
Chris.
|
|
|
|
11-11-2005, 03:20 PM
|
#2
|
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Are you running wep, which can sometimes cause issues? Also, is your default gateway correctly set? Type "route" from a console and it should display an entry for your default gateway. If not, set it as such (assumming your router is 192.168.1.1 netmask 255.255.255.0):
Code:
route add default gw 192.168.1.1 netmask 255.255.255.0
. Then try pinging an website on the Internet. If that fails, try adding the default gateway again, but without the "netmask 255.255.255.0" at the end.
|
|
|
|
11-11-2005, 03:22 PM
|
#3
|
|
Member
Registered: Sep 2005
Location: Europe
Distribution: debian sarge
Posts: 65
Rep:
|
when you can establish a connection between your laptop and your router, it think everything between those 2 is fine...
Is it possible to check your router with a webinterface? Check there if you have a connection with the internet.... did you get an external ip from your ISP? Everything could be fine on your local network, when you didn't get an external ip, it will not be possible to connect to the outside. Did you try a ping to a website?
Did you give the correct DNS-servers with your router? When your client don't find a correct DNS-server, it will not be possible to resolve the correct ip-adres from a given url. And on the internet, everything works with ip-adresses. URL are only made to make it readable (easy)...
|
|
|
|
11-11-2005, 03:40 PM
|
#4
|
|
LQ Newbie
Registered: Nov 2003
Posts: 22
Original Poster
Rep:
|
Thanks for the quick replies; but still no joy!
I can login to my router from ubuntu and I can ping websites on the internet but firefox doesn't connect.
I've disabled WEP and made sure my gateway & mask are correct.
Any more ideas??
|
|
|
|
11-11-2005, 04:43 PM
|
#5
|
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
Okay, so if you're able to ping websites from your computer based on domain names such as www.google.com, then it must simply be the connection settings within Firefox. Go into Preferences | Connection Settings and check it's trying to connect through an incorrect default gateway. Setting it to automatically detecting settings should work, or even direct connection since you have your routing table already setup.
|
|
|
|
11-11-2005, 05:00 PM
|
#6
|
|
LQ Newbie
Registered: Nov 2003
Posts: 22
Original Poster
Rep:
|
This just isn't making sense. I can ping www.google.com com from the terminal; I get 0 packet loss 100% success. This must mean Ubuntu is getting the correct IP info.
But firefox wont get me on the net. Tried auto & direct in connection settings.
It just times out after about 2 minutes.
???
|
|
|
|
11-12-2005, 06:36 AM
|
#7
|
|
Member
Registered: Aug 2003
Location: Zürich, Switzerland
Distribution: debian sarge
Posts: 41
Rep:
|
sorry for breaking into your thread...i just thought it wouldn't make sense to open a new one since my problem is very similar to yours...
the only difference is that i can't ping anything on the internet. but i'm able to connect to the router's webinterface & every single computer/laptop on the wlan is able to surf the internet. i can't ping neither an ip nor a hostname outside.
when i try to ping my isp's dns-server i get "connect: network unreachable" & trying to ping google results in "unknown host". (resolv.conf shows the right dns-server, though)
i'm using a thinkpad t43p with debian & an atheros chipset built-in wlan card. thus using the madwifi-driver.
|
|
|
|
11-12-2005, 03:36 PM
|
#8
|
|
LQ Newbie
Registered: Nov 2003
Posts: 22
Original Poster
Rep:
|
After many hours I got there. Ubuntu didn't remember what I told it after rebooting as well as a router config out of place that sent me round in circles!
I've decided to stick windows back on for now.
|
|
|
|
11-13-2005, 05:29 AM
|
#9
|
|
Member
Registered: Aug 2003
Location: Zürich, Switzerland
Distribution: debian sarge
Posts: 41
Rep:
|
i'm glad to hear that you got to know your problem (& less glad that you stick windows back on)
well i'm still stuck with my thinkpad. so i'd appreciate any comment on this...
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|