LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 12-08-2008, 02:14 PM   #1
The Hippy
LQ Newbie
 
Registered: Dec 2008
Location: Vancouver Island
Distribution: Suse 11.0 /kde 3.5
Posts: 4

Rep: Reputation: 0
Access router but no web


Hello fellow penguin lovers.! Have a dual boot xp, suse 11.0 setup. Works awesome but one small problem. Am using Linksys wmp54g v4.1 with a d-link di-624 router for wireless access. made drivers and installed them fine. Configured static ip for card 192.168.0.63, router is 192.168.0.10. I can access my router via wireless but cannot get internet access...what am i missing..? Static ip for card as above...subnet 255.255.255.0, gateway 192.168.0.10, dns 192.168.0.10, same settings as in windoze. Can access router, change settings etc, but no web.....any ideas..? good to be back on LQ..!
 
Old 12-08-2008, 02:34 PM   #2
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
i am guessing the problem could be with /etc/resolv.conf or the gateway,
post the output of ifconfig -a and netstat -nr
 
Old 12-08-2008, 02:40 PM   #3
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by The Hippy View Post
Hello fellow penguin lovers.! Have a dual boot xp, suse 11.0 setup. Works awesome but one small problem. Am using Linksys wmp54g v4.1 with a d-link di-624 router for wireless access. made drivers and installed them fine. Configured static ip for card 192.168.0.63, router is 192.168.0.10. I can access my router via wireless but cannot get internet access...what am i missing..? Static ip for card as above...subnet 255.255.255.0, gateway 192.168.0.10, dns 192.168.0.10, same settings as in windoze. Can access router, change settings etc, but no web.....any ideas..? good to be back on LQ..!
Can you ping anything outside your network by IP? If so, there's a problem with your DNS.

Otherwise, it might be a routing issue. To check:
- As root, type "route" at the prompt.
- You should see an entry called "default" in the list, with the same interface (IFace) as your wireless device.
- If not, type "route add default 192.168.0.10 <your_wireless_interface>"
- See if you can get out.
 
Old 12-08-2008, 02:41 PM   #4
SilverZero
LQ Newbie
 
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
If you can access your router, that probably means you're working fine on your end. It sounds like an issue with DNS resolution. Using the network configuration utility in OS11, you should find an option for "resolve DNS via DHCP" or something similar. Check that box, or alternately check your router settings for the nameservers that it is using (there should be two, and they'll be external IPs like 65.333.123.4, not 192.168.X.X). Plug those in to the nameserver fields in the configuration utility, and you should be up and running. (I just did this 5 times this weekend with a bunch of OS11 installs, so I'm going by memory.)

Also, I'm not sure you can use the gateway address as the DNS address, even though you can in Windows. Try using the actual DNS addresses from your router.

Last edited by SilverZero; 12-08-2008 at 02:44 PM.
 
Old 12-08-2008, 02:44 PM   #5
hans51
Member
 
Registered: Mar 2005
Location: Cambodia
Distribution: suse
Posts: 36
Blog Entries: 1

Rep: Reputation: 16
if I understand your setup correctly, then
seen from www side
www connects to Linksys wmp54g
your wmp54g connects to dl-624
and your computer to dl-624

hence your route configuration may be faulty

I recently had almost an identical situation

you did NOT write what gateway you have configured in your setting. depending on precise setup of all your boxes/routers it should be the IP of your wmp54g.( NOT the wireless router !)

test by shell command

route add default gw 192.168.x.x

replace th x.x. by the actual IP of your wmp54g
then test your www access / ping a site

also
make sure you have NO OTHER internet access running at the same time ( like another LAN/cable access )
I have sometimes 2 different www access configured and notice that my opensuse can NOT handle mor ethan one at a time. hence if ever you have another network active, you may have to shut that network down

ifconfig

shows what is up

ifconfig eth0 down

would for example DOWN a LAN network to free your PC for wireless access to www
 
Old 12-08-2008, 03:22 PM   #6
The Hippy
LQ Newbie
 
Registered: Dec 2008
Location: Vancouver Island
Distribution: Suse 11.0 /kde 3.5
Posts: 4

Original Poster
Rep: Reputation: 0
I have internet with dhcp assigned addy, writing this from Suse. But I try and set a static IP and no go. Route at console shows correct info for card, address etc. Looked for dns via dhcp button but is grayed out. I would much rather use static ip's as opposed to dhcp addy. Will try other suggestions shortly..Will post updated info asap.
 
Old 12-08-2008, 03:27 PM   #7
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by hans51 View Post
if I understand your setup correctly, then
seen from www side
www connects to Linksys wmp54g
your wmp54g connects to dl-624
and your computer to dl-624
@hans51: The WMP54G is a wireless adapter. So his connection must be WWW -> Cable/DSL modem -> DL-624 router. Then his computer connects to the router through the wireless WMP54G.

@hippy: You never specified whether or not it works correctly in Windows? If so, it's not a problem with your router/modem/www connection. It will be something in Linux that you need to look at.

Last edited by SlowCoder; 12-08-2008 at 03:30 PM.
 
Old 12-08-2008, 04:18 PM   #8
SilverZero
LQ Newbie
 
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by The Hippy View Post
I have internet with dhcp assigned addy, writing this from Suse. But I try and set a static IP and no go. Route at console shows correct info for card, address etc. Looked for dns via dhcp button but is grayed out. I would much rather use static ip's as opposed to dhcp addy. Will try other suggestions shortly..Will post updated info asap.
The DNS via DHCP option will not be available if you're using a static IP (and, thus, no DHCP info is being sent to you). That's why you'll have to log in to your router's web interface and find the nameservers the router itself is using - those are assigned via DHCP by the ISP. Copy them to the DNS/nameserver fields in your config window and see if that works.

Also, to confirm that this is a DNS problem, you could try to enter a straight external IP address - here's two that work right now for Google.com:

209.85.171.104
72.14.235.104

See if you can get through using those. That circumvents DNS, so you can tell if it's a nameserver issue. Or you could just ping that IP, same idea. If you can't get through using a naked IP like that, it could be another problem altogether.

Last edited by SilverZero; 12-08-2008 at 04:21 PM. Reason: Added IPs
 
Old 12-08-2008, 06:04 PM   #9
The Hippy
LQ Newbie
 
Registered: Dec 2008
Location: Vancouver Island
Distribution: Suse 11.0 /kde 3.5
Posts: 4

Original Poster
Rep: Reputation: 0
works fine in windoze....and wonderfully with dhcp assigned addy in suse. It is a linux issue....I just need to read some more..! but dns does sound like the problem. Thanks for the input guys..! Will let you know how I make out.
 
Old 12-09-2008, 08:44 AM   #10
SilverZero
LQ Newbie
 
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by The Hippy View Post
Will let you know how I make out.
Gross! Oh, wait . . . sorry, I was thinking of something else. Yeah, let us know how it goes.
 
Old 12-10-2008, 03:30 PM   #11
The Hippy
LQ Newbie
 
Registered: Dec 2008
Location: Vancouver Island
Distribution: Suse 11.0 /kde 3.5
Posts: 4

Original Poster
Rep: Reputation: 0
Well...tried all suggestions, and nothing so far, so will leave it setup to spit out a dhcp addy. Have to do some more digging around the forum and will hopefully stumble across an answer/idea.

@Silver....I make out just fine dude, one bonus about being a musician. It's one of those "jobs" where you can eat all you want..! Thanx to all for the input people...! Still think it is DNS related... Rock on..!
 
  


Reply



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
Wireless router and works, signal strong, DHCP IP issued fine. No access to web nikos3.14 Linux - Wireless Networking 3 04-24-2008 03:26 AM
Web-based auth. for router internet access Hunter2 Linux - Wireless Networking 3 06-25-2007 11:22 PM
CentoOS router/firewall prob - local network works but router can't access Internet elementalvoid Linux - Networking 6 12-12-2006 03:39 PM
cannot access config web-page for adsl router tireseas Linux - Networking 6 03-19-2005 04:13 PM
Network card pings ok, but can't access web via router BeerMonster Linux - Networking 7 11-09-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 AM.

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
Open Source Consulting | Domain Registration