Operating System - Linux
1827421 Members
3755 Online
109965 Solutions
New Discussion

Re: sharing dialup connection between windows and linux

 
Aditya_1
New Member

sharing dialup connection between windows and linux

I have a win2000 box and a redhat7.0 box. I'm trying to make them share dial up connection ( i dial up from windows box). I have set the two NIC and gave my windows box 192.168.0.1 and linux box 192.168.0.2. I'm not using DHCP. I'm able to telnet and ftp to linux box from windows but not the other way round. I cannot even ping the windows machine from the linux box. I even set samba but is not helping in any way.

I'm experimenting this for the first time and any help would be great!
Fate as it seems is not without a sense of irony
4 REPLIES 4
Bill Thorsteinson
Honored Contributor

Re: sharing dialup connection between windows and linux

I haven't tried using Windows to share the connection. 168.192.x.x addresses need to be translated before they hit the network.

You need to run telnet and ftp servers on Windows to be able to connect to these services. You should be able to ping the Windows box at 168.192.0.1, but may not be able to ping the other address.

For the Linux side check out the IP-Masquerade-HOWTO at http://www.linuxdoc.org or in the /usr/doc tree. Other help for what you want to do can be found in the Net-Howto and Networking-Overview-Howto.

Linux has all the required facilities, including a dail daemon that will dial-out if you try to access the network from the Windows server. This is covered in the Diald-Howto.

If you choose to share from Linux follow the IP-Chains-Howto to firewall the Linux server. There are tools that will build the rules for you.
Aditya_1
New Member

Re: sharing dialup connection between windows and linux

Well you're right about ip-masquerading. It is pretty cool stuff. But the problem is that i'll have to buy a linux modem just for this. I don't want to put in any more into it, atleast now.
Infact i did enable ICS on windows about coupla years ago, but the problem is that i don't remember what i did then, nor did i make any note.
I appreciate your help.
Fate as it seems is not without a sense of irony
Bryce Dunn
Valued Contributor

Re: sharing dialup connection between windows and linux

you might not have to buy a linux modem. All good external modems will work, and even some "winmodems" (although these are really bad and even if you are using windows a nice external modem will perform a lot better).

I have a standard us robotics 56k modem and it works under linux with all the default settings

Re: sharing dialup connection between windows and linux

Hi,
The fact you cannot ping the windows box is odd to say the least, or is it that you are pinging the name of the windows box ?

If thats the case just add the name of your windows box into your hosts file in /etc

Now on to the connection it's self, with Win 2k you will need to enable the internet connection sharing service.

Next step is to set up the windows box a gateway on your linux box. Once that is working dialup and try pinging the dns server for your isp, my isp's dns is 193.113.185.227 ( if you want to use that. If that works then you are almost done ).

So if that works just add your isp's DNS servers to your linuxbox and you are all set.

Ohh if you have an external modem ignore everything i just said and install pppd on the linuxbox.

I hope this is of some help