Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Greetings,
I recently installed Mandrake 9.2. Everything is running smoothly except for that I can't get DrakConnect setup right for my computer to access my LAN. I have used many other distrobutions and Mandrake is the only one that I can't get setup right to access my LAN. I have used Suse, Red Hat, College Linux, Lycoris, and a few other ones and I set them up fine, so I think I know what I'm doing, but I'm lost in Mandrake.
If anyone could help me through this I could gladly tell you the IP address, Gatweway, and DNS numbers...I'm also a bit confused about the use of dhcp in Linux. I know my windows installation uses it to assign my IP, but i'm not sure in Linux. I also am a little lost about the host name, but I know my ISP's host name.
Also, My computer (with Linux) is connected to a LAN running through a 5 port Netgear switch that is using a shared Direcway connection on a Windows ME machine.

Everything you want to know can be found in this ebook/file:
http://linux-ip.net/linux-ip.pdf
At page 19 configuration files for networking under Mandrake are mentioned, read chapter 4 for routing.
Linux kernel 2.4 uses IPtables, so skip IPchains.

Okay, open a terminal and we try to find out what does work.
If in your network you have an ethernetadress with IP 10.0.0.138; then give the command:ping 10.0.0.138 <enter>
Output is either destination unreachable or you will see return times from the ping request. What you basically do is asking IP 10.0.0.138 to answer.
Now check your routing table, to see if you have a destinations for default packages.
Go to the /sbin directory:
cd /sbin
type:
./route
By example if you have a broadband ethernet modem at adress 10.0.0.138, then you should have a default gateway at internet adress 10.0.0.138; Basically saying, "send all packages to 10.0.0.138, unless I've been instructed otherwise".
If you don't have a default gateway for IP 10.0.0.138, you can create one by coming superuser and give the command:
./route add default gw 10.0.0.138 dev eth0
(Assuming the modem is connected to eth0)See also the command: man route
If ping doesn't work and you know you are trying to ping to a known and connected IP number and it does know which ethernetcard to use (eg, eth0;eth1l;eth2), then either the correct ethernet drivers are not used by Mandrake or the ethernetcard has not been set "active", I know Red Hat did frustrate me with that trick sometime.
e.g. you could assign a static IP adress in windows like 10.0.0.150 and connect it to eth 1 in linux, give the command
./route add 10.0.0.150 dev eth1
(This "overrides" the default gateway)
And see if you can reach her by ping 10.0.0.150
If al this does work, then you are halfway, all commands given here do not change your configuration files, so you can play with them as you like, after a reboot everything will be "original" again.

Oh, I forget to write down, the output of
a "ping" command is either:
- network unreachable, in which case the network card itself is misconfigured, has the wrong driver or is not set active
- destination unreachable, in which case the routing table is misconfigured
- it gives out times in milliseconds in which it received a respond.
But I'm going to sleep now!

I have the same problem and I just setup first the Firewall, ticking the boxes DNS, SSH and FTP.
After That I setup my connection checking my IP, Gateway and my DNS wich has been changed.
Finally I can use my LAN internet connection.

![]() |
![]() |
![]() |

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