Solved

Getting internet shareing working with Mandrake and Win98

Posted on 2004-03-25
5
379 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
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.
0
 

Accepted Solution

by:
RFMuller earned 45 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
0
 

Author Comment

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

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
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?

-Robert
0
 

Author Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Veritas Asymmetric Cluster 2 356
ESXi NTP client time synch is not working 3 71
Redirect mail server from IP to IP 2 97
Xymon customize http timeout 2 87
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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