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 10-04-2003, 11:34 AM   #1
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Rep: Reputation: 0
Linksys router + linux problem


Ok where to begin I have tryed on about 4 different distro's but for some reason I can't get dhcp to work from my linux box to the linksys router. The nic card in my machine is the 8139too module (sorry if I can't give you more info I have only been working with linux for a couple of months now). If I turn dhcp off on my router and set ip's on both my winxp box and my linux box I can ping between the 2 and even oing my router but for some reason there is massive packet loss (it will send out 10 packets and only get 3-4 back). Currently I am running Red hat 9.0 on it (have gone through slackware 9, mandrake 9, and red hat 8) and when I run ifconfig my eth0 is picked up but I notice it says rx packets:129 errors:219 dropped: 0 overruns:0 frame:0

Perhaps someone can help me get my linux box up and running through my router using dhcp or even just using set ip's?

I have it setup liek this

cable internet going into wan of my router linux box in port 1 and winxp plugged into port 2

in both cases (static ip or dhcp) I can't get to the internet with my linux box and no matter what everything works fine with my winxp machine (as I am typing to you from it right now)

Last edited by demowipper; 10-04-2003 at 11:38 AM.
 
Old 10-04-2003, 12:12 PM   #2
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
have you filled in all the gaps for your linux box?

gateway address
internal ip of router (dhcp server)
dns
 
Old 10-04-2003, 12:14 PM   #3
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Yes and no lol when I had it set to dhcp I didn't have to do that but I knwo the router ip is 192.168.1.1 so what I was thinking was that would be the gateway ip right? how would I go about getting the dns?
 
Old 10-04-2003, 12:44 PM   #4
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
yeah that should be your gateway. dns and all those goodies are located on the router. Just login to your router and go to the "status" tab. All that stuff should be there. I don't own one of those routers but I have worked on a couple. It seems unrelated but if dns isn't just so so it can create network problems.
 
Old 10-04-2003, 12:47 PM   #5
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Ok I got my dns and filled that in still does work

Linux box
ip = 192.168.1.3
gateway = 192.168.1.1
netmask = 255.255.255.0
dns = 24.226.1.93
24.226.10.194
24.226.1.94

WinXp
ip = 192.168.1.2

Router
ip = 192.168.1.1
dhcp = disabled

any ideas?
 
Old 10-04-2003, 12:53 PM   #6
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
I can't remember for sure since its been a while since I've dealt with one of these routers. Seems like I had a fussy box and the router listed an external gateway address under the status tab and I plugged that addy into the fussy box and things got better. If you try and it doesn't work you can always change what you've done.

I do remember however that I had to manually add the dns addy's to a couple of win2k boxes to get them to see the internet through a linksys router.

Helpful tip: If this is a new router and you haven't changed the password for loging into it do so imediately. I promise you everyone in the world already knows your router password if you are using the default.
 
Old 10-04-2003, 12:55 PM   #7
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
changed it a few weeks ago when I got it on top of that people can't connect to it from the internet

I'll try to work with what you just said
 
Old 10-04-2003, 12:55 PM   #8
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
you may need to try either rebooting box and/or resetting your router.
 
Old 10-04-2003, 12:56 PM   #9
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I have rebooted the machine nearly 100 times in the last 3 days as for reseting the router I never tryed that that wil lbe my last resort
 
Old 10-04-2003, 12:56 PM   #10
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
keep checking back. I'll go run some searches for you.
 
Old 10-04-2003, 12:57 PM   #11
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok I shall I'll be here for a half an hour then I must jet to work for 4 hours but then I will be back here .... google didn't turn up much I tryed searching about a zillion times
 
Old 10-04-2003, 01:06 PM   #12
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
don't fear restarting your router. the worst possible scenerio is that you will have to restart your network boxes. Your stuff looks good according to what have posted thus far. have you tried to ping anything both outside and inside your network since your latest changes and restarts?

I WILL FIND YOU AN ANSWER!!! BEFORE THE PENGUIN I SWEAR IT!!!

Last edited by WingNut; 10-04-2003 at 01:12 PM.
 
Old 10-04-2003, 01:21 PM   #13
demowipper
LQ Newbie
 
Registered: Oct 2003
Posts: 12

Original Poster
Rep: Reputation: 0
ok I restarted router didn't do much I tryed pinging someone outside and it wouldn't go I can ping my winxp box but it's strange as it will ping but with like 70% packet loss

If I do ifconfig it says theres a lot of rx errors under the rx packets... so my guess is something is screwed with that but I haven't a clue what rx packets are

well I gotta head to work so I'll cya in 4-5 hours
 
Old 10-04-2003, 02:13 PM   #14
gotfrostbyte
LQ Newbie
 
Registered: Oct 2003
Location: Arlington, Texas
Distribution: Linux Slackware 9.1
Posts: 10

Rep: Reputation: 0
I am not sure if anyone has mentioned this yet, just glanced over the posts. However, I am using Slackware Linux 9.1 with a Linksys Router. In linux, setup static IP address and input the following:


IP Address: 192.168.1.110 (This will assign the IP address 192.168.1.110 to your computer.)
Subnet: 255.255.255.0
Gateway: 192.168.1.1
Dns Server: 192.168.1.1


This will setup a static IP address for your computer system instead of using dhcp (letting the router assign a IP address to your pc everytime you restart).
 
Old 10-04-2003, 03:02 PM   #15
WingNut
Member
 
Registered: Jun 2002
Location: Texas
Distribution: Slackware 10.1
Posts: 105

Rep: Reputation: 15
you need to get that ping thing resolved. I have never had that problem other than with bad hardware. Do you have any of the following available to you.

extra patch cable

switch hub (to take the router out of the mix)

extra nics to test with

I'm sure some of the software settings can cause that problem like if multicast is missing from your kernel but I have never had that problem related to anything but hardware.

The only thing I have done differently is add routes to my Slack box like:

route add -host 255.255.255.255 dev eth0
or
route add 255.255.255.0 dev eth0

frostbyte might be on to something with dns.

print out your full ifconfig data if you can.
 
  


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
Linksys wireless router problem oulevon Linux - Wireless Networking 2 09-20-2003 08:50 AM
router problem with linksys router scheiße_comp Linux - Networking 10 08-20-2002 10:18 AM
Linksys Router Problem syxxpac023 Linux - Networking 5 11-14-2001 11:33 PM
Linksys Router problem.. again. syxxpac023 Linux - Networking 8 09-25-2001 03:07 AM
Linksys Router problem.. again. syxxpac023 Linux - Networking 1 09-03-2001 10:03 AM

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

All times are GMT -5. The time now is 09:56 PM.

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