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.
Got you didn't I? Well, that's just about how I feel now. I'm running Mandrake 9.1, and my LAN won't work. I've tried both dynamic and static IPs. I've configured my network six times(three times each for DHCP and static)in total; I've used drakconnect, and it didn't work. I've tried ifconfig, and it didn't work. I've edited the relevant .conf files, and they didn't work. So WTF am I supposed to do now? I'm using a CNet(some cheap brand from Taiwan. Don't ask me to change it; I'm not the one in charge of hardware)router. My assigned IP address should be 192.168.1.4, although dynamic IPs are acceptable, and indeed, preferred. My router's IP is 192.168.1.1. Can anyone help me?
I'm afraid I don't know how to go about disabling iptables in Mandrake as I've not gotten round to installing it yet. I'm still a newbie myself, had Red Hat on my PC for a couple of weeks before I had to lend someone the drive for a bit.
Anyway, you should be able to bring up a list of services and from there you should be able to deactivate iptables. I'm sure someone else here could tell you how to do it from the terminal, but until they do perhaps you could try looking around in the control centre... there must be a list of services in there somewhere. Iptables is a firewalling system, this may be blocking your access to the internet.
Distribution: Mandrake as base, most software hand rolled
Posts: 80
Rep:
Re: I Give Up; Linux Just Isn't Ready For Primetime
Quote:
Originally posted by johnleemk Got you didn't I? Well, that's just about how I feel now. I'm running Mandrake 9.1, and my LAN won't work. I've tried both dynamic and static IPs. I've configured my network six times(three times each for DHCP and static)in total; I've used drakconnect, and it didn't work. I've tried ifconfig, and it didn't work. I've edited the relevant .conf files, and they didn't work. So WTF am I supposed to do now? I'm using a CNet(some cheap brand from Taiwan. Don't ask me to change it; I'm not the one in charge of hardware)router. My assigned IP address should be 192.168.1.4, although dynamic IPs are acceptable, and indeed, preferred. My router's IP is 192.168.1.1. Can anyone help me?
What does not work *exactly*? What error messages do you get? Do you see the interface with ifconfig ...
To start with, post the output from ifconfig -a and netstat -rn .
If there's nothing for eth0 at all after doing ifconfig then you'll have to get your card going/recognised if it has try and ping the router or another computer
I will boot into my Mandrake partition later; thanks for the help guys. My particular problem was being unable to ping other computers or the router itself; either I was told the network was unavailable, or the destination was unreachable. I'll inform you on my progress ASAP; hopefully from my Linux machine itself.
It still failed. At least ifconfig outputted something. I cannot ping other computers or the router; I am told the destination was unreachable. I would post the output of ifconfig -a and netstat -rn, but apparently KWrite didn't save them correctly on my Windows drive; the files never showed up. I'll have to boot again into Linux and save the files to a floppy I guess.
Remember as well if you do have a firewall on Mandrake and it hasn't been disabled everytime you reboot it'll go back to what it was before
iptables --list
will show you what you've got
Check you can ping the actual interfaces on Mandrake whilst using it
ping 127.0.0.1
and
ping 192.168.1.4
Also maybe a wee bit obvious but try a cable that you know for sure is working
The more details from the output of commands such as route -n and ifconfig et.c that you post , the more people will be able to help, no guarantees on success of course
Double check that you're routers ip really is 192.168.1.1 , although there's no reason to doubt constantly reviewing things does no harm.
Thanks, Looking_Lost. I've had this hardware for a few months already, and I'm pretty comfortable with it, as well as sure that it's not the hardware's problem. The cables work fine; I'm just dual-booting; this machine was running Linux ten minutes ago. I got the output at last:
I guess when you boot in Windows everything is fine, yeah? (Assuming you are dual-booting with windows) You can use the internet , ping the router as well as other computers on the Lan?
Even though you probably can you can ping 127.0.0.1 and 192.168.1.4 while actually on the Mandrake computer just confirm
this says I am on the 192.168.1.0 network and I should be able to talk directly to any other
computers in the same ip range that I have a direct physical path too, although not in so many words. No other computers are having any problems I assume.
Holy, schmoly! Houston we have a problem!! That must qualify for most iptables rules of the year award or at least it must come a close second!!!
Get rid of that firewall I'm not even going to attempt to interpret it all
I notice it's saying shorewall on it which I'm not familiar with but either way take the time to find out how to completely clear out your iptables and leave them deactivated on Mandrake, unfortunately I don't have the info off hand as I don't use it, but I'd put money on this being your problem as was originally suggested at the start of the thread. You'll get there, you're probably one simple step away, so just a little more patience
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.