Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-05-2003, 09:38 PM   #1
LQ Newbie
Registered: Apr 2003
Location: chile/arg
Distribution: mandrake 9.1
Posts: 5

Rep: Reputation: 0
Unhappy help: i cant make a LAN - PC MDK9.1 to Win98

i need help pls!!!
i want to do a LAN that share internet
the PC with internet has MDK9.1 and winXP and the other has win98

the LAN works when i am in winxp
but i cant configure for conect mdk to win98

pls someone help me

contact me in icq or msn

Old 04-06-2003, 01:27 AM   #2
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
You mean you have your MDK 9.1 as a router for your internet connection?

you need to enable IP masquerading and add the win 98 host to your /etc/hosts file in order for the machine to actually see it in the LAN (this does not mean you can share files), also you can edit your ichains in /etc/sysconf/ipchains and add the following:

Where it says:
:forward ACCEPT
-P forward DENY
-A forward -i ppp0 (<<-- this is your interface) -s <your LAN network here>/<subnet mask> -j MASQ
: output ACCEPT

Edit your /etc/sysctl.conf file to allow ipv4 forwading (change it to 1)
Lastly, edit /etc/sysconfig/network to look like this:
HOSTNAME=<your hostname here> (you can set it under /etc/hosts)
DOMAINNAME=<write here if you have one>
GATEWAY=<you can either comment the line preceding it with "#" or leave it blank>
GATEWAYDEV=ppp0 <our internet interface.>

This information is assuming you have an aDSL/Cable/Dial up connection, if your connection has another format... well I cannot help you there. Also if you like to use iptable more than ipchains... well... I do not know how to set it up to forward and masquerade

Last edited by Thetargos; 04-06-2003 at 01:28 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MDK9.2 fails to install - how do I reinstall Win98? chrism General 4 03-26-2004 08:58 AM
Prep Mdk9.2 install - Win98/Bootmagic Question trike Linux - Newbie 1 01-04-2004 10:27 AM
LAN mdk9.1 and mdk9.0 linuxfond Linux - Networking 1 05-09-2003 02:49 PM
HELP! - I cant make a LAN between MDK9.1 and win98 Flouer Linux - Networking 6 04-05-2003 11:27 PM
Remote terminal with MDK9 and win98... geraldomanaus Linux - Networking 1 01-20-2003 03:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration