Linux - NetworkingThis 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.
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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Are you sure the network cable is good? Also, try /sbin/iptables -F. You may have a firewall loaded that's preventing you from getting responses to DHCP requests.
tried configureing lan and restarted, "bringing up eth0" failed, but it does everytime I restart still nothing
heres the output of iptables -F
/lib/modules/2.4.22-6mdk/kernel/net/ipv4/netfilter/ip_tables.o.gz: create_module: Operation not permitted
modprobe: insmod /lib/modules/2.4.22-6mdk/kernel/net/ipv4/netfilter/ip_tables.o.gz failed
modprobe: insmod ip_tables failed
iptables v1.2.8: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
the driver should already be included. Go to mandrake control center-> hardware ->harddrake. It will list the hardware it detects. Click on the ethernet card and then run the config tool.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
As root do lsmod. Is 8139too included on the list?
I don't remember if this has been asked already, but are you sure your router is using NAT? It's possible that you only have one public IP and it's being assigned directly to your other machine. Have you ever tried booting up the Linux box after shutting down your other machine? Have you tried configuring your NIC with an IP on the same subnet as your other machine and making the subnet mask match that of the other machine?
On your WinXP machine do ipconfig /all and see what the settings are for your network card, then on the Linux box use ifconfig to give your card the same settings (except a different IP). Then do netstat -ran and make paste the output here (if it's still not working). Also include the output of ipconfig /all from the WinXP box and ifconfig -a from the Linux box.
I have XP on both machines, and they can share the net. Comp #2 the xp only box has the net all the time, and the linux box can't connect even when the other machine is turned off.
8139 is included
couldn't figure out how to assign values to the ifconfig in linux, so I tried doing it through the drakxconnect controls.
heres the outputs....
Linux
netstat
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
I have a cablemodem connected to the router, they arn't a single peice. The Lan works under windows but under linux it doesn't. I'm pretty sure the driver is loaded, Mandrake is said to come with it to begin with I tried to install the one from the website, but ran into some...issues about knowing what to put in where. Think If I assigned the Gateway "correctly" that it would work?
Originally posted by Nocturn I have a cablemodem connected to the router, they arn't a single peice. The Lan works under windows but under linux it doesn't. I'm pretty sure the driver is loaded, Mandrake is said to come with it to begin with I tried to install the one from the website, but ran into some...issues about knowing what to put in where. Think If I assigned the Gateway "correctly" that it would work?
It might, why don't you give it a try?
Also, try this:
Go to the taskbar > Configuration > Configure your computer > Network & Internet > DrakConnect
someone else told me to assign it to DHCP, which I have done, but when I do it asks me to fill in a box for DHCP
Do you have your router (assuming its a broadband router) set up to hand out DHCP addresses? You can have your linux box ask for an IP address forever, if there isn't anything on the LAN handing them out, its not going to get one.
If you're XP box is running ok, find out what the IP address is of that, then just add one digit to the last octet, for instance, if your XP box has an IP address of 192.168.0.101, then assign your linux box an IP address of 192.168.0.102, and match the subnet mask (probably 255.255.255.0) of the XP box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.