Solved

Getting internet shareing working with Mandrake and Win98

Posted on 2004-03-25
5
373 Views
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 192.168.0.1
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 192.168.0.162 with 0% loss

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

winipcfg on the 98 machine gives satisfying results:

ip: 192.168.0.162
subnet: 255.255.255.0
default gateway: 192.168.0.1

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 127.0.0.1
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.
0
Comment
Question by:simly0101
  • 3
  • 2
5 Comments
 

Author Comment

by:simly0101
Comment Utility
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.
0
 

Accepted Solution

by:
RFMuller earned 45 total points
Comment Utility
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
0
 

Author Comment

by:simly0101
Comment Utility
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,

http://www.samba.netfirms.com/

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.






0
 

Expert Comment

by:RFMuller
Comment Utility
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?

-Robert
0
 

Author Comment

by:simly0101
Comment Utility
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.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now