Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-11-2004, 09:16 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Rep:
|
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.
|
|
|
09-11-2004, 09:32 PM
|
#2
|
Member
Registered: Jun 2003
Location: Virginia, USA
Distribution: Slackware
Posts: 252
Rep:
|
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.
|
|
|
09-12-2004, 06:52 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
09-12-2004, 07:04 AM
|
#4
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
09-12-2004, 07:36 AM
|
#5
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
Do the primary and seconary DNS numbers for linux need to be the same as whats listed on my Linksys router webpage ?
|
|
|
09-12-2004, 11:35 AM
|
#6
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
09-12-2004, 06:09 PM
|
#7
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
New ifconfig.
eth0
link encap: Ethernet HWaddr 00:30:BD:71  F: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.
|
|
|
09-12-2004, 09:13 PM
|
#8
|
LQ Newbie
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25
Rep:
|
What does the route command say?
Do you have a default gateway? Try:
route add default gw <IP address of your router>
|
|
|
09-13-2004, 06:45 PM
|
#9
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
09-13-2004, 06:59 PM
|
#10
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
If i type internet IP i get back "network unreachable"
|
|
|
09-13-2004, 07:21 PM
|
#11
|
Moderator
Registered: Aug 2002
Posts: 26,913
|
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.
|
|
|
09-13-2004, 07:47 PM
|
#12
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
09-14-2004, 06:49 PM
|
#13
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
so now what, im lost in a world of IPs.
|
|
|
09-14-2004, 08:39 PM
|
#14
|
LQ Newbie
Registered: Mar 2004
Location: Indianapolis
Distribution: Slackware 9.1
Posts: 25
Rep:
|
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
|
|
|
09-15-2004, 06:59 PM
|
#15
|
LQ Newbie
Registered: Sep 2004
Location: Derby, England
Distribution: Redhat 8
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|