PDA

View Full Version : No internet connection with my RH9 through Router


JoEyCrAcK
2003-09-28, 09:59 AM CDT
I have a Linksys Router. I have two laptops, One is running Win2K and the
other Red Hat 9. When connected to the Router the only machine that I could
connect to the internet with is my Win2K machine. If I take the cable out
from the Router and just connect from the DSL modem (West) directly to my
RH9 machine then it connects to the internet. Can I get some help on
configuring my RH9 machine so it could work with the Router just like my
Win2K machine?

Thanks

wesley
2003-09-28, 10:38 AM CDT
On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:

> I have a Linksys Router. I have two laptops, One is running Win2K and the
> other Red Hat 9. When connected to the Router the only machine that I could
> connect to the internet with is my Win2K machine. If I take the cable out
> from the Router and just connect from the DSL modem (West) directly to my
> RH9 machine then it connects to the internet. Can I get some help on
> configuring my RH9 machine so it could work with the Router just like my
> Win2K machine?
>
> Thanks

Check the network settings on your RH9 machine. (I have three working
behind a DSL router with no problem, including one wireless.)

Make sure the RH9 machine is configured to get all of its settings from
the router on a DHCP basis, including IP, subnet mask, gateway and DNS
settings. Chances are you have RH9 configured so it is not picking up one
or more of these settings from your router.

wesley
2003-09-28, 10:38 AM CDT
On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:

> I have a Linksys Router. I have two laptops, One is running Win2K and the
> other Red Hat 9. When connected to the Router the only machine that I could
> connect to the internet with is my Win2K machine. If I take the cable out
> from the Router and just connect from the DSL modem (West) directly to my
> RH9 machine then it connects to the internet. Can I get some help on
> configuring my RH9 machine so it could work with the Router just like my
> Win2K machine?
>
> Thanks

Check the network settings on your RH9 machine. (I have three working
behind a DSL router with no problem, including one wireless.)

Make sure the RH9 machine is configured to get all of its settings from
the router on a DHCP basis, including IP, subnet mask, gateway and DNS
settings. Chances are you have RH9 configured so it is not picking up one
or more of these settings from your router.

Lenard
2003-09-28, 11:13 AM CDT
On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK typed:

> I have a Linksys Router. I have two laptops, One is running Win2K and
> the other Red Hat 9. When connected to the Router the only machine that
> I could connect to the internet with is my Win2K machine. If I take the
> cable out from the Router and just connect from the DSL modem (West)
> directly to my RH9 machine then it connects to the internet. Can I get
> some help on configuring my RH9 machine so it could work with the Router
> just like my Win2K machine?


First, make sure that the Linksys Router has the latest firmware
installed.

Then check the configuration settings for the network interface;

$ cat /etc/sysconfig/networking/devices/ifcfg-eth0 ;(Modify to match your
actual network interface)

Example;

DEVICE=eth0
BOOTPROTO=dhcp <-- or none if you use static IP address's
BROADCAST=192.168.0.255
IPADDR=192.168.0.2 <-- if static ,if DHCP leave this blank
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=no <-- or yes if you want the network interface up when booting
USERCTL=yes <-- or no if you don't want user control of the interface
PEERDNS=yes
TYPE=Ethernet
GATEWAY=192.168.0.1 <-- the Linksys Router's internal IP address here


$ cat /etc/resolv.conf

Example(this should have the DNS info from the Linksys Router);

nameserver 63.251.38.131
nameserver 63.251.38.133

From; whois version.net (your actual DNS info might differ)


--
SCO + RICO Act = Justice

Lenard
2003-09-28, 11:13 AM CDT
On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK typed:

> I have a Linksys Router. I have two laptops, One is running Win2K and
> the other Red Hat 9. When connected to the Router the only machine that
> I could connect to the internet with is my Win2K machine. If I take the
> cable out from the Router and just connect from the DSL modem (West)
> directly to my RH9 machine then it connects to the internet. Can I get
> some help on configuring my RH9 machine so it could work with the Router
> just like my Win2K machine?


First, make sure that the Linksys Router has the latest firmware
installed.

Then check the configuration settings for the network interface;

$ cat /etc/sysconfig/networking/devices/ifcfg-eth0 ;(Modify to match your
actual network interface)

Example;

DEVICE=eth0
BOOTPROTO=dhcp <-- or none if you use static IP address's
BROADCAST=192.168.0.255
IPADDR=192.168.0.2 <-- if static ,if DHCP leave this blank
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=no <-- or yes if you want the network interface up when booting
USERCTL=yes <-- or no if you don't want user control of the interface
PEERDNS=yes
TYPE=Ethernet
GATEWAY=192.168.0.1 <-- the Linksys Router's internal IP address here


$ cat /etc/resolv.conf

Example(this should have the DNS info from the Linksys Router);

nameserver 63.251.38.131
nameserver 63.251.38.133

From; whois version.net (your actual DNS info might differ)


--
SCO + RICO Act = Justice

Keith Clark
2003-09-28, 11:18 AM CDT
On Sun, 28 Sep 2003 11:38:06 -0500, wesley wrote:

> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:
>
>> I have a Linksys Router. I have two laptops, One is running Win2K and the
>> other Red Hat 9. When connected to the Router the only machine that I could
>> connect to the internet with is my Win2K machine. If I take the cable out
>> from the Router and just connect from the DSL modem (West) directly to my
>> RH9 machine then it connects to the internet. Can I get some help on
>> configuring my RH9 machine so it could work with the Router just like my
>> Win2K machine?
>>
>> Thanks
>
> Check the network settings on your RH9 machine. (I have three working
> behind a DSL router with no problem, including one wireless.)
>
> Make sure the RH9 machine is configured to get all of its settings from
> the router on a DHCP basis, including IP, subnet mask, gateway and DNS
> settings. Chances are you have RH9 configured so it is not picking up one
> or more of these settings from your router.

My experience with my Linksys router and RedHat is that a default install
(workstation) will work every time, although I typically do custom
installs.

I agree with Wesley. Sounds like something has been tweaked after the
install.

We need more info than just "it can't connect to the internet". Can you
ping a specific IP address like 4.2.2.4? If you cat /etc/resolv/conf, does
it list your ISP's DNS servers? Etc etc.

--Keith

Keith Clark
2003-09-28, 11:18 AM CDT
On Sun, 28 Sep 2003 11:38:06 -0500, wesley wrote:

> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:
>
>> I have a Linksys Router. I have two laptops, One is running Win2K and the
>> other Red Hat 9. When connected to the Router the only machine that I could
>> connect to the internet with is my Win2K machine. If I take the cable out
>> from the Router and just connect from the DSL modem (West) directly to my
>> RH9 machine then it connects to the internet. Can I get some help on
>> configuring my RH9 machine so it could work with the Router just like my
>> Win2K machine?
>>
>> Thanks
>
> Check the network settings on your RH9 machine. (I have three working
> behind a DSL router with no problem, including one wireless.)
>
> Make sure the RH9 machine is configured to get all of its settings from
> the router on a DHCP basis, including IP, subnet mask, gateway and DNS
> settings. Chances are you have RH9 configured so it is not picking up one
> or more of these settings from your router.

My experience with my Linksys router and RedHat is that a default install
(workstation) will work every time, although I typically do custom
installs.

I agree with Wesley. Sounds like something has been tweaked after the
install.

We need more info than just "it can't connect to the internet". Can you
ping a specific IP address like 4.2.2.4? If you cat /etc/resolv/conf, does
it list your ISP's DNS servers? Etc etc.

--Keith

Keith Clark
2003-09-28, 11:26 AM CDT
On Sun, 28 Sep 2003 17:18:30 +0000, Keith Clark wrote:

> On Sun, 28 Sep 2003 11:38:06 -0500, wesley wrote:
>
>> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:
>>
>>> I have a Linksys Router. I have two laptops, One is running Win2K and the
>>> other Red Hat 9. When connected to the Router the only machine that I could
>>> connect to the internet with is my Win2K machine. If I take the cable out
>>> from the Router and just connect from the DSL modem (West) directly to my
>>> RH9 machine then it connects to the internet. Can I get some help on
>>> configuring my RH9 machine so it could work with the Router just like my
>>> Win2K machine?
>>>
>>> Thanks
>>
>> Check the network settings on your RH9 machine. (I have three working
>> behind a DSL router with no problem, including one wireless.)
>>
>> Make sure the RH9 machine is configured to get all of its settings from
>> the router on a DHCP basis, including IP, subnet mask, gateway and DNS
>> settings. Chances are you have RH9 configured so it is not picking up one
>> or more of these settings from your router.
>
> My experience with my Linksys router and RedHat is that a default install
> (workstation) will work every time, although I typically do custom
> installs.
>
> I agree with Wesley. Sounds like something has been tweaked after the
> install.
>
> We need more info than just "it can't connect to the internet". Can you
> ping a specific IP address like 4.2.2.4? If you cat /etc/resolv/conf, does
> it list your ISP's DNS servers? Etc etc.
>
> --Keith


One thing I just thought of - when you move the cable from the DSL model
to the Linksyus box, you *are* restarting networking, yes?

Keith Clark
2003-09-28, 11:26 AM CDT
On Sun, 28 Sep 2003 17:18:30 +0000, Keith Clark wrote:

> On Sun, 28 Sep 2003 11:38:06 -0500, wesley wrote:
>
>> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK wrote:
>>
>>> I have a Linksys Router. I have two laptops, One is running Win2K and the
>>> other Red Hat 9. When connected to the Router the only machine that I could
>>> connect to the internet with is my Win2K machine. If I take the cable out
>>> from the Router and just connect from the DSL modem (West) directly to my
>>> RH9 machine then it connects to the internet. Can I get some help on
>>> configuring my RH9 machine so it could work with the Router just like my
>>> Win2K machine?
>>>
>>> Thanks
>>
>> Check the network settings on your RH9 machine. (I have three working
>> behind a DSL router with no problem, including one wireless.)
>>
>> Make sure the RH9 machine is configured to get all of its settings from
>> the router on a DHCP basis, including IP, subnet mask, gateway and DNS
>> settings. Chances are you have RH9 configured so it is not picking up one
>> or more of these settings from your router.
>
> My experience with my Linksys router and RedHat is that a default install
> (workstation) will work every time, although I typically do custom
> installs.
>
> I agree with Wesley. Sounds like something has been tweaked after the
> install.
>
> We need more info than just "it can't connect to the internet". Can you
> ping a specific IP address like 4.2.2.4? If you cat /etc/resolv/conf, does
> it list your ISP's DNS servers? Etc etc.
>
> --Keith


One thing I just thought of - when you move the cable from the DSL model
to the Linksyus box, you *are* restarting networking, yes?

JoEyCrAcK
2003-09-28, 02:58 PM CDT
Well, In my RH9 xDSL Configuration I have check Automatically obtain IP
address settings with : DHCP....
My DHCP settings..
Hostname (optional): I left this part blank cause is optional
then I also checked where it says
Automatically obtain DNS information from provider.

When I tried to Activate this connection I receive the message .. Cannot
activate network device ppp1!

none of this things happen when I connect straight from the DSL modem.

WESLEY: If would like to add an IP address and sub mask and Def Gateway
then it will Gray out the Automatically obtain IP address settings with :
DHCP
so is EITHER OR
"Lenard" <lenard@127.0.0.1> wrote in message
news:pan.2003.09.28.17.14.32.775022@127.0.0.1...
> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK typed:
>
> > I have a Linksys Router. I have two laptops, One is running Win2K and
> > the other Red Hat 9. When connected to the Router the only machine that
> > I could connect to the internet with is my Win2K machine. If I take the
> > cable out from the Router and just connect from the DSL modem (West)
> > directly to my RH9 machine then it connects to the internet. Can I get
> > some help on configuring my RH9 machine so it could work with the Router
> > just like my Win2K machine?
>
>
> First, make sure that the Linksys Router has the latest firmware
> installed.
>
> Then check the configuration settings for the network interface;
>
> $ cat /etc/sysconfig/networking/devices/ifcfg-eth0 ;(Modify to match your
> actual network interface)
>
> Example;
>
> DEVICE=eth0
> BOOTPROTO=dhcp <-- or none if you use static IP address's
> BROADCAST=192.168.0.255
> IPADDR=192.168.0.2 <-- if static ,if DHCP leave this blank
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> ONBOOT=no <-- or yes if you want the network interface up when booting
> USERCTL=yes <-- or no if you don't want user control of the interface
> PEERDNS=yes
> TYPE=Ethernet
> GATEWAY=192.168.0.1 <-- the Linksys Router's internal IP address here
>
>
> $ cat /etc/resolv.conf
>
> Example(this should have the DNS info from the Linksys Router);
>
> nameserver 63.251.38.131
> nameserver 63.251.38.133
>
> From; whois version.net (your actual DNS info might differ)
>
>
> --
> SCO + RICO Act = Justice
>

JoEyCrAcK
2003-09-28, 02:58 PM CDT
Well, In my RH9 xDSL Configuration I have check Automatically obtain IP
address settings with : DHCP....
My DHCP settings..
Hostname (optional): I left this part blank cause is optional
then I also checked where it says
Automatically obtain DNS information from provider.

When I tried to Activate this connection I receive the message .. Cannot
activate network device ppp1!

none of this things happen when I connect straight from the DSL modem.

WESLEY: If would like to add an IP address and sub mask and Def Gateway
then it will Gray out the Automatically obtain IP address settings with :
DHCP
so is EITHER OR
"Lenard" <lenard@127.0.0.1> wrote in message
news:pan.2003.09.28.17.14.32.775022@127.0.0.1...
> On Sun, 28 Sep 2003 15:59:49 +0000, JoEyCrAcK typed:
>
> > I have a Linksys Router. I have two laptops, One is running Win2K and
> > the other Red Hat 9. When connected to the Router the only machine that
> > I could connect to the internet with is my Win2K machine. If I take the
> > cable out from the Router and just connect from the DSL modem (West)
> > directly to my RH9 machine then it connects to the internet. Can I get
> > some help on configuring my RH9 machine so it could work with the Router
> > just like my Win2K machine?
>
>
> First, make sure that the Linksys Router has the latest firmware
> installed.
>
> Then check the configuration settings for the network interface;
>
> $ cat /etc/sysconfig/networking/devices/ifcfg-eth0 ;(Modify to match your
> actual network interface)
>
> Example;
>
> DEVICE=eth0
> BOOTPROTO=dhcp <-- or none if you use static IP address's
> BROADCAST=192.168.0.255
> IPADDR=192.168.0.2 <-- if static ,if DHCP leave this blank
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> ONBOOT=no <-- or yes if you want the network interface up when booting
> USERCTL=yes <-- or no if you don't want user control of the interface
> PEERDNS=yes
> TYPE=Ethernet
> GATEWAY=192.168.0.1 <-- the Linksys Router's internal IP address here
>
>
> $ cat /etc/resolv.conf
>
> Example(this should have the DNS info from the Linksys Router);
>
> nameserver 63.251.38.131
> nameserver 63.251.38.133
>
> From; whois version.net (your actual DNS info might differ)
>
>
> --
> SCO + RICO Act = Justice
>

Lenard
2003-09-28, 05:23 PM CDT
On Sun, 28 Sep 2003 20:58:51 +0000, JoEyCrAcK typed:

> Well, In my RH9 xDSL Configuration I have check Automatically obtain IP
> address settings with : DHCP....

You should not be using an xDSL connection. The Linksys router is what
should handle the xDSL connection between itself and the DSL Modem. You
need to configure an Ethernet Connection between the laptop and the
Linksys router.

> When I tried to Activate this connection I receive the message .. Cannot
> activate network device ppp1!
>
> none of this things happen when I connect straight from the DSL modem.

That's because you configured your Linux Laptop with an xDSL connection
and not with an Ethernet Connection.

Maybe a bit of a visual will help......

What you have configured(xDSL connection);

DSL Modem<-- B -->Linux Laptop

B = Assigned IP address from your DSL service provider

What you want configured(Ethernet connection);

DSL Modem<-- B -->Linksys Router
^ ^
| |
W2K Laptop<--- A ----+ |
|
Linux Laptop<------- A -------+

A = Assigned IP address from your Linksys Router


--
SCO + RICO Act = Justice

Lenard
2003-09-28, 05:23 PM CDT
On Sun, 28 Sep 2003 20:58:51 +0000, JoEyCrAcK typed:

> Well, In my RH9 xDSL Configuration I have check Automatically obtain IP
> address settings with : DHCP....

You should not be using an xDSL connection. The Linksys router is what
should handle the xDSL connection between itself and the DSL Modem. You
need to configure an Ethernet Connection between the laptop and the
Linksys router.

> When I tried to Activate this connection I receive the message .. Cannot
> activate network device ppp1!
>
> none of this things happen when I connect straight from the DSL modem.

That's because you configured your Linux Laptop with an xDSL connection
and not with an Ethernet Connection.

Maybe a bit of a visual will help......

What you have configured(xDSL connection);

DSL Modem<-- B -->Linux Laptop

B = Assigned IP address from your DSL service provider

What you want configured(Ethernet connection);

DSL Modem<-- B -->Linksys Router
^ ^
| |
W2K Laptop<--- A ----+ |
|
Linux Laptop<------- A -------+

A = Assigned IP address from your Linksys Router


--
SCO + RICO Act = Justice