LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2004, 11:00 AM   #1
warnesey333
Member
 
Registered: Oct 2004
Posts: 43

Rep: Reputation: 15
Just got Suse Linux pro 9.1...need to connect to router


Hey guys, it's me agian. Right, I have a computer running Windows XP and Suse Linux Pro 9.1. Now, this computer accesses the internet from my home wireless ADSL Router, a D Link G604T. However, I do not connect to this wirelessly with this pc...as there are ethernet slots in the back, and therefore I use them. However, I am unable to access the internet without firstly pinging the website, say for example, if i Ping www.google.com, i can then access www.google.com, however, i can access AMSN Messenger.

I am getting annoyed with this problem as I would like to take full advantage of Suse Linux.

The Web browser I am running is Koroquer i think :S

I have posted this before, and anyone who has tried to help me before, thankyou very much for all your time.

All the help is appreciated..

Btw, I am using BT Broadband 1mb.

Thankyou,
Warnesey

And oh yeh, im new to linux, but I kinda know some stuff, so don't go all to much newbie talk. Cheers
 
Old 10-05-2004, 12:18 PM   #2
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Hi,

Try another web browser. I had the same problem here (PC behind a router). I was NOT able to surf on the web with Konqueror , and I had to use Mozilla : no problem...
I don't know why but it works, maybe something like a gateway problem, impossible to configure in Konqueror...I don't really know...
 
Old 10-05-2004, 03:29 PM   #3
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
DLink G604T

Hi, i also have the DLink G604T with SuSE9.1 personal. Cant get it to connect to any sites either wired or wireless through it. When i try it on a DrayTek router all works fine, using mozilla seems to make no difference with the Dlink. Its strange how the sites can be accessed once they have been pinged, its also very annoying.

Anyone got any other ideas??

Also to note:the router page can be accessed (http://192.168.1.1) without having to ping it first. The DrayTek is on the subnet 255.0.0.0 ip address 10.0.1.1. Tryed that with the DLink but makes no difference


Amsn will sometimes connect, mozilla(firefox) will occasionally connect. Have updated the Dlink to the latest firmware, no difference

Last edited by pete123; 10-05-2004 at 03:32 PM.
 
Old 10-06-2004, 01:29 AM   #4
warnesey333
Member
 
Registered: Oct 2004
Posts: 43

Original Poster
Rep: Reputation: 15
Hey, i tried changing my browser to Mozilla but still no luck
 
Old 10-06-2004, 04:18 AM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Need to pin down where exactly your problem lies in order to sort it out. Could be router set up, browser set up, DNS issues or firewall. Because the messenger stuff uses different ports that's not relevant to your browsing problem. Also because you log into your routers admin page using an IP address it doesn't use DNS to resolve anything.

First things first - SuSE 9.1 when first released had quite a few issues you need to do the YaST online update to make sure you're up to date with fixes.

Once you've browsed www.google.com can you browse any site?

If you have installed firewall try turning it off or uninstalling it temporarily to see if that's the issue.

DHCP writes a temporary /etc/resolv.conf file with the DNS nameserver in it. On my system currently it just has the router address which works for me - on other set ups it can write the ISP nameserver info there. If you know or can find out your ISP nameserver IP addresses you could edit /etc/resolv.conf and put them in. If that works then you can make your resolv.conf permanent by changing the DHCLIENT_MODIFY_RESOLV_CONF="yes" to DHCLIENT_MODIFY_RESOLV_CONF="no" in /etc/sysconfig/network/dhcp .
Provided that the other DHCP settings are left alone so that the router sets itself up as the default gateway this should work if it is a DNS issue.

Good luck.
 
Old 10-06-2004, 03:06 PM   #6
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
You can access any site in konqueror just aslong as you ping it first, doing a google search then to get onto the page you need to ping it first (in konqueror and mozilla). VERY occasionally it will get onto a site if i dont ping it first. tryed DIG www.cnet.com and this will work. Seems to work for other domains i haven't visited before also. ALso tryed setting the computer to have a static IP with the DNS of the ISP and the gateway as the router(ip not hostname). I dont have any firewall enabled at the moment. Think the problem must be something to do with the router as it works on a DrayTek router fine with DHCP enabled.

If i browse www.google.com (by pinging it first) it will let me onto other google pages, news, groups etc (news.google.com , groups.google.com) but once i do a search and attempt to go to some page it wont go. (Unless its pinged first)


Also with DNS set to the router(ip) it doesent work


Have done all the updates in YaST, still nothing


If its of use the DLink router is on Bulldog (UK) 1mb
the drayTek is on BT 1mb

if this makes any difference at all..

Last edited by pete123; 10-06-2004 at 03:08 PM.
 
Old 10-07-2004, 11:07 AM   #7
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Hi everybody,

All what is said here seems a bit weird. I tried a dsl router (smc barricade) with KNOPPIX (http://knoppix.org/, linux entirely on a bootable cd-rom). All I had to do was to configure the login/password pair of my ISP on the router, and THAT IS ALL ! ALL WORKED FINE WITH MOZILLA ! NO PINGING OR WHATEVER ! Am I a lucky man ?...

Try KNOPPIX (download it, it's a nice stuff), and if it works, then it's probably your linux network congif...

Hope it helps...
 
Old 10-07-2004, 11:38 AM   #8
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
I think it has something to do with the G604t router as it all works fine on a DrayTek. Tryed mozilla, konqueror. Also tryed mandrake 10. Have debian (stable) and slackware 10 (haven't installed either of these as the firewire drive that comes with the laptop isn't detected in the install. Is it worth trying? SuSE seems to have good hardware compatability from go compared with mandrake). Ill download knoppix and give it a go
 
Old 10-07-2004, 01:15 PM   #9
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Ok then, if it works fine with other routers, then it probably means that the problem comes from the router.

Maybe it would be a good idea to reset it (little button somewhere...) and try with the default factory config (generally, DHCP is on) and use DHCP to configure eth0 interface in Linux...
 
Old 10-07-2004, 02:13 PM   #10
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
Yes, ment to say. Have reset the box many times and DHCP is enabled by default. On the DHCP config page set the DNS setting to the routers IP(which is default) and to the IP of the ISPs DNS. Still no luck
 
Old 10-09-2004, 02:07 AM   #11
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
pete123,

??? "...DNS setting to the router IP(wich is the default)..." ??? your router is not a DNS !!! Anyway, you do not need to put any DNS in your router config, it's generally automatic (it worked fine with a SMC Barricade without any DNS IP). Leave DNS adresses blank on your router.
One more thing : DNS has nothing to do with DHCP. It's a bit wierd that DNS config is found on your router's DHCP config page!...
 
Old 10-10-2004, 08:53 AM   #12
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
Well, after logging onto the router after a hard reset

--------------------

DHCP Configuration
The device can be setup as a DHCP Server to distribute IP addresses to the LAN network.

[radio check mark] Enable DHCP server

Start IP: [192.168.1.2]

End IP: [192.168.1.255]

Primary DNS: [192.168.1.1]

Lease time: [3600] seconds

--------------------


Maybe it preforms dns relay of some sort??


Edit: Cant do much testing on it at the moment. Managed to screw up SuSE by trying to install slackware 10 (from a harddrive partition as it wouldent recognise the cd drive). Off topic but Slackware 10 'installed' 3gb of packages in about half a second. This was after formatting the drive with SuSE on, so now im stuck with nothing till i get my SuSE cd back (Cant download it either as i have no CD burner, but have the CD copyed on the hard drive)

Last edited by pete123; 10-10-2004 at 08:58 AM.
 
Old 10-10-2004, 09:10 AM   #13
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
Just forget DNS config for a while, if it is the factory default setting, it should work fine.

Make sure (with YaST maybe) that your eth0 interface gets its IP with DHCP, come back and let us know if it works or not

See you later
 
Old 10-10-2004, 09:36 AM   #14
pete123
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
Ok. Hard reset the router. Only setup the DSL settings, eth0(Wired lan configured with DHCP) eth1 (Wireless configured with DHCP).

Reboot the computer then went into a terminal su to root, ifconfig reported that both interfaces had an address (192.168.1.2 for eth0 and 192.168.1.3 for eth1) but still couldent get onto any sites without first ping hostname. (this is exactly what i did a while back with no effect before finding this thread)
 
Old 10-10-2004, 09:47 AM   #15
bendeg
LQ Newbie
 
Registered: Oct 2004
Location: belgium
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
That's really strange...Is it the same problem for ALL applications that go on internet, or just your web browser ?
 
  


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
SUSE 9.3, Eth0 can't connect to router ccclaudius SUSE / openSUSE 1 11-11-2005 11:05 AM
Cannot access Internet through SUSE 9.2 Pro router nexangelus Linux - Networking 3 02-08-2005 10:58 AM
SuSE wont connect to router nicksmart234 Linux - Networking 5 10-01-2004 06:43 PM
Linksys router lets SuSe connect, but Win XP needs resetting between boots to linux lloder Linux - Networking 0 07-15-2004 11:52 PM
How to connect to www w/SuSE 9 Pro cbjhawks Linux - Networking 0 01-08-2004 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:27 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