Computing.Net > Forums > Linux > Connect to a LAN in Mandrake 9.2

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.

Connect to a LAN in Mandrake 9.2

Reply to Message Icon

Name: joesmithers
Date: December 19, 2003 at 08:35:03 Pacific
OS: mandrake 9.2/XP Home
CPU/Ram: 2.53ghz P4/512DDR
Comment:

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.




Sponsored Link
Ads by Google

Response Number 1
Name: Guido130473
Date: December 19, 2003 at 11:38:39 Pacific
Reply:

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.


0

Response Number 2
Name: joesmithers
Date: December 19, 2003 at 15:47:25 Pacific
Reply:

Hi, that guide didn't help any..Still lost..sorry..


0

Response Number 3
Name: Guido130473
Date: December 19, 2003 at 16:27:00 Pacific
Reply:

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.


0

Response Number 4
Name: Guido130473
Date: December 19, 2003 at 17:14:01 Pacific
Reply:

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!


0

Response Number 5
Name: 3Dave
Date: December 22, 2003 at 03:38:07 Pacific
Reply:

You should be able to set everything up under mandrake with draknet


0

Related Posts

See More



Response Number 6
Name: Harold C.
Date: January 6, 2004 at 03:37:30 Pacific
Reply:

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.


0

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: Connect to a LAN in Mandrake 9.2

Flash in Mandrake 9.2/Mozilla 1.5 www.computing.net/answers/linux/flash-in-mandrake-92mozilla-15/23269.html

Mandrake 9.2 Problems www.computing.net/answers/linux/mandrake-92-problems/23341.html

mandrake 9.2 nvidia problems www.computing.net/answers/linux/mandrake-92-nvidia-problems/23795.html