LinuxQuestions.org
Visit Jeremy's Blog.
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 09-11-2004, 09:16 PM   #1
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Rep: Reputation: 15
Linksys cable router setup Linux box no net access


Ive just finished setting up my Linksys cable router and the pc (winXP) i used to setup my router and setup my cable set top box can access the internet but my linux box cant.
Im using Redhat 8 with Lilo on a MSI KT6 Delta-VIA mobo, Geforce2 graphics, AMD XP2600 and 256mb DDR, 40Gig HD.

My NIC is seen in network config, the onboard Lan is disabled and if type in www.google.com or www.pcguide.com in the address field it displays in the window the config screen for my cable set top box that ive already setup when installing the router, and if i click on the start button in the config screen for cable i get a message saying "security warning the info you sending is over an unencrypted connection continue", and when i click on continue i get a masseage saying "The connection was refused when attempting to connect (IP addy)"

Also in the tollbar theres a circul with a question mark in it, when clicked i get a message saying "Network Error -3 Temp failure in name resolution"

How do i sort this out ?

Thanks.

Last edited by Phebes; 09-11-2004 at 09:21 PM.
 
Old 09-11-2004, 09:32 PM   #2
odious1
Member
 
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252

Rep: Reputation: 30
can you ping your xp box by ip; can you ping yahoo by ip 66.94.234.13 ? If so you do not have dns configured properly. If not post output from ifconfig.
 
Old 09-12-2004, 06:52 AM   #3
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Hi lad,

When i ping my XP box and yahoo i get "network unreachable" for both, as for ifconfig says " connand not found, do i need to logged on as admin ? if yes how do i change to admin ?

Thanks lad.
 
Old 09-12-2004, 07:04 AM   #4
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Got it, forgot how to change to root.

ifconfig,

link encap: local loopback
inet addr: 127.0.0.1 mask 255.0.0.0
UP LOOPBACK RUNNING mtu: 16436 metrc: 1
RX packets: 72 errors: 0 dropped: 0 overruns: 0 frame:0
TX packets: 72 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 TX queuelen: 0
RX bytes: 4682 (4.5kb) TX bytes: 4682 (4.5kb)

Hope it helps.
 
Old 09-12-2004, 07:36 AM   #5
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Do the primary and seconary DNS numbers for linux need to be the same as whats listed on my Linksys router webpage ?
 
Old 09-12-2004, 11:35 AM   #6
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Red Hat.

In Net Config their are four tabs Devices, Hardware, Hosts and DNS.

Devices - shows my NIC but its status is inactive, when i click on activate i get a message say "warning cannot activate device eth0"
if i click on edit then click route then edit i can add the info from staus page, address, sub mask, gate way and still nothing

Hardware - lists my NIC as make RealTek device eth0.

Hosts- nothing listed.

DNS - the primary, secondary DNS numbers match those from my Linksys page (status).

Also ive tried using crossover and patch cables, Still no net access with linux in any port on router, winxp box works ok on any port using crossover cable.
 
Old 09-12-2004, 06:09 PM   #7
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
New ifconfig.

eth0

link encap: Ethernet HWaddr 00:30:BD:71F:69
inet addr: 192.168.1.100 Bcast:192.168.1.255 mask 255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 METRIC:1
RX packets:0 errors:0 dropped:0 overrun:0 frame:0
TX packets:4 errors;0 dropped:0 overrun:0 frame:0
collisions:0 TX queuelen:100
RX bytes:0 TX bytes:240 (240.0 b)
interrupt:10 base adrress:0x1f00

lo

Link encap: Local Loopback
inet addr:127.0.0.1 mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 metric:1
RX packets:348 errors:0 dropped:0 overrun:0 frame:0
TX packets:348 errors;0 dropped:0 overrun:0 frame:0
collisions:0 TX queuelen:0
RX bytes:25338 (24.7kb) TX bytes:25338 (24.7kb)

Anyone help thanks.
 
Old 09-12-2004, 09:13 PM   #8
netindustries
LQ Newbie
 
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
What does the route command say?

Do you have a default gateway? Try:
route add default gw <IP address of your router>
 
Old 09-13-2004, 06:45 PM   #9
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Hi lad,

How do i get a route command ?

Yes i have put the default gateway along with IPs listed on my Linksys status page into ever place in net config that asks for them, what an i not doing right ?

Thanks.
 
Old 09-13-2004, 06:59 PM   #10
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
If i type internet IP i get back "network unreachable"
 
Old 09-13-2004, 07:21 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,864

Rep: Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739Reputation: 739
Just type in route at the command prompt and post the results.

Also look at the file /etc/resolv.conf. If there is some nameserver info and the route command shows your router being the gateway you should be good to go.
 
Old 09-13-2004, 07:47 PM   #12
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
Hi lad,

from the /etc/resolv.conf. nameserver 194.168.4.100 - 194.168.8.100

from route

kernal IP routing table

destination
81.100.232.0
127.0.0.0

gateway
*
*

genmask
255.255.255.0
255.0.0.0

flags
u
u

metric
0
0

ref
0
0

use
0
0

iface
eth0
lo

Thanks.

Last edited by Phebes; 09-13-2004 at 07:51 PM.
 
Old 09-14-2004, 06:49 PM   #13
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
so now what, im lost in a world of IPs.
 
Old 09-14-2004, 08:39 PM   #14
netindustries
LQ Newbie
 
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
try the command:
route add default gw <IP address of your router, possibly 192.168.1.1?>

i.e.:
route add default gw 192.168.1.1
 
Old 09-15-2004, 06:59 PM   #15
Phebes
LQ Newbie
 
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23

Original Poster
Rep: Reputation: 15
ok ive done that now when i search for a web page it takes 30-60 seconds and then i get a message saying " www.pcguide.com could not be reached - check name and try again.
 
  


Reply


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
Cannot access Linux server through Linksys WRT54GS router William1955 Linux - Hardware 5 11-04-2005 05:33 PM
Howto setup two stage firewall? Linux and router-in-a-box? drdirt Linux - Security 5 01-10-2004 02:51 AM
Linux box can't see linksys router mjohns63 Linux - Networking 0 07-23-2003 11:51 PM
Connecting to I-net through Linksys router in Linux elgleon Linux - Networking 1 09-28-2001 09:52 AM
Samba with linux box, 2 win boxes, cable, router kuber Linux - Networking 2 09-04-2001 08:07 PM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
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