Go Premium for a chance to win a PS4. Enter to Win


Getting internet shareing working with Mandrake and Win98

Posted on 2004-03-25
Medium Priority
Last Modified: 2006-11-17
I have two computers conected by crossover ethernet cable.  My main computer has two network cards, one for cable modem, second for conection between computers.  When my master computer is running XP and my client is running 98 the network works fine, file shareing and internet shareing.

I just installed Mandrake Linux 9.2 on the master as a dual boot.  But am unable to configure it to alow for internet shareing nor file shareing.  The client cannot connect to any web site.  But the master (Mandrake Linux) can always access the internet.

I tryed to use DrakeConnect and DrakeGw to set things up.

eth0 is connected to the client and should be
eth1 is my internet conection (cable) using dhcp

They are both reported to be up and running in the DrakeConnect controll pannel.

In DrakeGw I chose to enable Internet shareing, but after enable, and next, the window closed and there were no other steps.

I can ping the client with 0% loss

Client can ping master and there is 0% loss, a nice conection.

winipcfg on the 98 machine gives satisfying results:

default gateway:

ipconfig on Mandrake (master) produces a command not found.

I viewed the services list and could not find any dns, but did find nfs, netfs and network are all running and start on boot.

My host file on Mandrake only contains localhost
Same with 98 machine.  Only localhost

I need help to get internet shareing and file shareing working in Mandrake linux so when I am in linux my mom can use her computer just about the same as she would when i am in xp.

Please help me configure it to work.
Question by:simly0101
  • 3
  • 2

Author Comment

ID: 10683608
I will add points as they come available, As i thought I had more to spend, and this is a chalengeing question

Sorry for being stingy.

Accepted Solution

RFMuller earned 180 total points
ID: 10684405
In mandrake, do ifconfig not ipconfig

also, you probably need to enable ip forwarding:
echo 1 > /proc/sys/net/ipv4/ip_forward

and nat (Network Address Translation):
/sbin/iptables -t nat -A POSTROUTING -i eth0 -o eth1 -j MASQUERADE

and flesh out your firewall a little:
/sbin/iptables -P INPUT DROP
/sbin/iptables -P FORWARD DROP
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A INPUT -i eth0 -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -j ACCEPT

Author Comment

ID: 10684522
ok that worked and she can get the internet,  but my file shareing still isnt working, so I went looking and found this Samba tutorial,


Problem is that yes, i now have a samba under network neighbourhood in 98 machine BUT none of the folders work, and I made sure I created the folders as directed and gave them permission.  I get the error that //SAMBA/everyone is not accessable.

I went to Controll Center and samba mount points and tryed to mount //SAMBA//everyone to /mnt/everyone but it still fails on her end.

I will give you points but before I close the question and award points I still need help to this file share part of the question.


Expert Comment

ID: 10684611
Sorry, but I don't know much about samba (I don't use it myself).
Are the permissions on /mnt/everyone set so that users on the Win98 machine can read/write?


Author Comment

ID: 10684643
permisions are ok, well I think I solved most of my samba problems now, I can now access //SAMBA/everyone

Thanks so much for solveing my internet shareing, and here are your points.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Loops Section Overview

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question