Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-30-2003, 12:20 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
Mandrake 9.0 connection sharing with windows ME

Hi need help please very very new to linux, here's the situation

The server is my linux box and the client is the ME(ip mask, I set up the config on the win me just like one of the post said(ie type dig get the server ip then nslookup the ip to get the hostname and domain) so i don't think the problem is at the ME part

As for my own linux box I'm using a usb adsl modem D-Link DSL 200 with the eci-adsl driver which works fine (still trying to get it to work on boot) so my internet connection is tap0, while the ethernet card(with ip according to ifconfig) is eth0

First question is about the Mandrake Control Center -> Network & Internet -> Connection Sharing (drakGW), my config is
**Local Network Address:
**Net Mask:
**(This) DHCP Server IP:
**The DNS Server IP: (ip from "dig" command)
**The internal domain name: (from nslookup)
** the rests are default values (ie DHCP start range: 16)
if this is enabled as is at boot the internet will not work, so is there a mistake in the config?

another method i get from this forum is as follows:

modprobe ipt_MASQUERADE
iptables -F; iptables -t nat -F; iptables -t mangle -F
iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

this was said to be the same as with the control center one however typing these commands does not halt my internet, but both still does not result in the ME getting internet connection

oh and one more thing, the ME is able to ping my linux while i can't ping the ME (once i can but dunno what i did and still no sharing anyway) and the firewall config in mandrake is everything (no firewall) -> from control center -> security

sorry for the long post and any help is appreciated
Old 09-30-2003, 04:36 AM   #2
LQ Newbie
Registered: Sep 2003
Posts: 5

Original Poster
Rep: Reputation: 0
well finally managed to get it to work, i think why gorbachov (hope i spelled this right) commands did not work for me was because my connecction is on tap0 instead of eth0

anyway i followed the iptables tutorial from (link came from this forum but too lazy to look it up again) and it worked so i thought maybe someone will need this information



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
Mandrake 10.1 internet connection sharing with windows XP problem dbancajas Linux - Networking 1 07-02-2005 02:51 AM
Sharing internet connection with windows Kontrau Linux - Networking 2 05-02-2004 07:10 PM
Internet Connection Sharing with a Windows PC Chryzmo Linux - Networking 22 09-26-2003 12:10 PM
Linux sharing connection with windows matt3333 Linux - Networking 10 04-28-2003 01:35 AM
sharing a windows connection with linux tyler0485 Linux - Networking 8 01-28-2002 10:56 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:16 PM.

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
Open Source Consulting | Domain Registration