Computing.Net > Forums > Linux > Linux Network Problems w/ Linksys

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Linux Network Problems w/ Linksys

Reply to Message Icon

Name: Devin
Date: October 17, 2002 at 10:46:57 Pacific
OS: Red Hat 7.2
CPU/Ram: Celeron 333MHz, 128 MB Ra
Comment:

I set up a Red Hat 7.2 box to work on an M$ network. There is a DSL modem connected to a linksys router, which connects all the computers by a big ol hub.

My problem is that the linux machine will not ping anything on the network or the internet. This has nothing to do with samba or anything like that, all I want is to provide internet access to the linux box, no connectivity to the windows boxes (yet!).

I set the box up with a static ip of 192.168.1.3, a subnet of 255.255.255.0, and a gateway of 192.168.1.1 (linksys router)

Can anyone explain why this isn't working?
I checked the conf files in /etc, and they seem correct...



Sponsored Link
Ads by Google

Response Number 1
Name: Danny Larouche
Date: October 17, 2002 at 13:08:31 Pacific
Reply:

Are you sure the interface is "up"? It should work. Otherwise,try an other NIC.


0

Response Number 2
Name: Brian
Date: October 17, 2002 at 13:14:08 Pacific
Reply:

Do you have routing turned on?

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables –I FORWARD –i eth0, ppp0 or eth1 ?
iptables –I FORWARD –j ACCEPT

You have to use either iptables or ipchains?
I would run iptables....


0

Response Number 3
Name: Brian
Date: October 17, 2002 at 13:16:33 Pacific
Reply:

Sorry, I thought you want to setup linux as the router?

Do you have all you DNS settings on the linux box and did you turn off NAT on the Linlsys router?


0

Response Number 4
Name: Devin
Date: October 22, 2002 at 05:25:27 Pacific
Reply:

I'm starting to think it's the network card... Linux claims that the interface is up.

As far as DNS goes, I put the DNS servers that my ISP is using. DNS shouldn't be the problem, cause I can not ping IP addresses.

I have a Linksys BEFSR11, and I don't believe you can "turn off" NAT on it. (Unless the linksys routers run NAT and PAT, which i doubt.)

Without NAT, I won't be able to connect all the computers to the 'net....

I'll try putting another NIC in and see what happens

Thanks


0

Response Number 5
Name: Devin
Date: October 22, 2002 at 07:33:43 Pacific
Reply:

I switched network cards, and it still does not work. It recognizes the cards and when they were changed, but i can not ping/connect to other computers.

I noticed when i ping 192.168.1.3 it responds. But when I ping alder (hostname) it pings 127.0.0.1

Is tcp/ip binding correctly with the NIC?

I've reinstalled 2x, and still hit this brick wall...


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Linux Network Problems w/ Linksys

Linux networking problem www.computing.net/answers/linux/linux-networking-problem/2165.html

Linux networking problems www.computing.net/answers/linux/linux-networking-problems/7875.html

Linux Network Problem www.computing.net/answers/linux/linux-network-problem/7120.html