Re: Newbie - access internet via LAN and router
- From: gordon@xxxxxxxxxxxxxxx (Gordon Henderson)
- Date: Wed, 12 Oct 2005 07:33:15 +0000 (UTC)
In article <434cba7b$1$17839$cc9e4d1f@xxxxxxxxxxxxxxxxxxx>,
davout <davoutXXXYYYWWWZZZ@xxxxxxxxxxxxx> wrote:
>I've just installed Suse 10 on an old PC, and am having problems getting
>FireFox to work.
>
>I have a home LAN with a router configured to address 192.168.1.1. Three
>Windows XP PC's on this LAN use DHCP to get their IP address, whilst the
>Linux PC is set to the fixed IP address of 192.168.1.55. I can
>successfully ping the router from the Linux PC.
>
>However, when I open Firefox it fails to access the internet. I've tried all
>the options from the 'Edit/Preferences/Connection settings' dialog and none
>of them seem to work.
>
>Any ideas?
>
>(I'm a Linux newbie so please phrase all answers in words of one syllable!)
Do you have a default route setup? What does
netstat -rn
show?
If theres no default route, try this:
route add default gw 192.168.1.1
then try to ping something. It's always best to ping before trying a
web page to see if you have basic connectivity. And if possible, try it
by numbers if you know some IP addresses (although these can change)
Eg. at present, www.linx.net is 195.66.232.45
If you can ping that by number but not name, then you have a DNS problem.
Try putting
nameserver 192.168.1.1
into /etc/resolv.conf.
DHCP usually does all this for you which is why it's so popular! If you've no
real reason to not use it, then just turn it on on the Linux box.
But if you are going to stick with a static IP address, make sure it's not
in the range allocated by the router! Some routes just DHCP the
whole subnet (eg. from .2 to .254) and if it were to allocate .55 to a
different PC then you'll have all sorts of fun and games..
Gordon
.
- Follow-Ups:
- Re: Newbie - access internet via LAN and router
- From: davout
- Re: Newbie - access internet via LAN and router
- References:
- Newbie - access internet via LAN and router
- From: davout
- Newbie - access internet via LAN and router
- Prev by Date: Newbie - access internet via LAN and router
- Next by Date: Re: ADSL PPPoA using a bridged ADSL router?
- Previous by thread: Newbie - access internet via LAN and router
- Next by thread: Re: Newbie - access internet via LAN and router
- Index(es):
Relevant Pages
|