LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 04-29-2007, 12:58 AM   #1
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Rep: Reputation: 0
Wireless - Can connect to router but not to internet


I've been struggling to get my wireless working for awhile now. I'm brand new to linux. I dual boot win xp and suse 10.2 on a Dell Inspiron 6400 with an Intel 3945abg wireless card.

I've managed to get the wireless to connect to my router but I cannot connect to the internet. Pinging google.com for example returns "Network unreachable".
With the lan cable plugged in, everything works fine.

Please help, I'd like to get away from windows but this is driving me nuts.

Allen

Last edited by alpeters; 04-29-2007 at 01:08 AM.
 
Old 04-29-2007, 03:52 AM   #2
drewbug01
Member
 
Registered: Aug 2006
Location: Detroit!
Distribution: Ubuntu 7.04
Posts: 182

Rep: Reputation: 30
hmm. do you use dhcp?
 
Old 04-29-2007, 01:09 PM   #3
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Original Poster
Rep: Reputation: 0
Yes I do use DHCP.
 
Old 04-29-2007, 05:30 PM   #4
samstar
Member
 
Registered: Apr 2007
Distribution: suse 10.2
Posts: 324

Rep: Reputation: 30
From your wireless connection, can you access the router? In other words, if the router has a web-based interface, can you use your browser to access it?

If it doesn't, can you enter a console shell, type 'su', enter your root password, and then run 'ifconfig'? It will display all of your network devices, and whether they have an IP address assigned to them. Check if the wireless device has an IP address assigned to it.

Sam
 
Old 04-29-2007, 06:08 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,170

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Are you using wireless encryption?
If you can ping 64.233.167.147 vs www.google.com then you have a DNS issue where /etc/resolv.conf is not being updated.
Is the output of the route command showing your router as the gateway?
 
Old 04-29-2007, 06:11 PM   #6
hunter1994
LQ Newbie
 
Registered: Mar 2007
Location: nc
Distribution: fedora
Posts: 7

Rep: Reputation: 0
Load up your browser, and try to go to http: / /19 2 .168 .0 . 1 and http :/ /1 92 .16 8.1 .1. Those are prolly the addy's for your router/ap and gateway device. (spaces are just used to prevent linking)

you may just need to renew your ip depending on your dhcp settings....

Last edited by hunter1994; 04-29-2007 at 06:14 PM.
 
Old 04-29-2007, 06:52 PM   #7
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Original Poster
Rep: Reputation: 0
I can connect to the web-based interface. Also, the wireless device does have an IP address assigned to it.

I am not currently using encryption, I just wanted to get it working first. I can't ping either 64.233.167.147 or www.google.com. The output of route is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.123.0 * 255.255.255.0 U 0 0 0 eth1
link-local * 255.255.0.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo


So it appears its not recognizing the router as a gateway maybe? How would I fix that?

That isn't the address for my router, mine is 192.168.123.254, but what is the second address for?
I've tried renewing my ip...no luck.

Thanks for your replies.
Any new ideas anyone?
 
Old 04-29-2007, 08:22 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,170

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Try
route add default gw 192.168.123.254
 
Old 04-30-2007, 09:25 PM   #9
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Original Poster
Rep: Reputation: 0
I tried that and it shows up correctly if i type route again, but the internet still does not connect. If I do /etc/init.d/network restart the new addition disappears again in the output from route.
 
Old 04-30-2007, 10:09 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,170

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
When you added the default gateway did you try pinging by IP address?
 
Old 04-30-2007, 11:08 PM   #11
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Original Poster
Rep: Reputation: 0
For some reason all items which are returned by route are gone except for the loopback one. I can't connect with the lan cable plugged in anymore either. I've tried reconfiguring the network cards but that hasn't helped. I'm very confused.
 
Old 05-01-2007, 02:26 AM   #12
alpeters
LQ Newbie
 
Registered: Apr 2007
Distribution: dual boot Win XP and openSuse 10.2
Posts: 6

Original Poster
Rep: Reputation: 0
I've given up on it and gone back to trying to fix my windows problems...thanks for your help though.
 
  


Reply

Tags
intel, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to internet from wireless DSL Router chyan Linux - Wireless Networking 3 01-23-2007 11:27 AM
How do I connect to the internet via router ISummers Linux - Networking 7 09-09-2006 10:45 AM
How to connect Internet via a router? myouch Linux - Networking 7 10-07-2005 11:59 PM
Connect to Internet via a router Hazzie Red Hat 4 10-27-2004 03:24 AM
Can't connect to internet. (router) NomDeGuerre Slackware 9 02-27-2004 01:55 PM


All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration