Re: Some network setup issues (Linux to internet via Windows)
From: Michael Collard (quadfour_at_iinet.net.au)
Date: Thu, 10 Jun 2004 20:38:45 +0800
Hiya, this problem is caused by Windows's 2nd rate internet connection
sharing. It creates MTU problems which stop big packets from going
through, this is why you can resolve names but not browse.
To work around the problem change the MTU on Linux to 1432 with this
command... 'ifconfig eth0 mtu 1432'. You can put this in
/etc/rc5.d/S99local to make it stay like that. Either way I would strongly
recommend connecting through Linux, it is many many times more reliable.
On Thu, 10 Jun 2004 02:38:57 -0700, Debarka Banik wrote:
> I have 2 computers connected via ethernet, one running Debian and the
> other running Windows XP. The windows machine has a dial-up connection
> to the internet, and I've enabled sharing on that connection. I've
> also enabled routing in the registry. In the Linux machine, I've set
> the gateway to the ethernet IP of the windows machine. Now the problem
> is that although domain resolving works nice and fast, none of the
> applications seem to be able to make any communication with the
> internet. For example, Mozilla resolves the domain, then shows the
> "connecting to..." message on the status bar till it times out. FTP
> and telnet also wait endlessly trying the connect. The only thing that
> works flawlessly is ping!
> The other thing I would like to do is make the Linux machine
> accessible from the internet. For example, if I host a site on Apache,
> I would like to make it accessible from the internet. Can it be done?
> I'm relatively new to Linux, having started with Red Hat 6.2 quite a
> long time ago and now working with Debian after a long break. So
> please excuse me if I've asked something stupid. Also, I know it would
> be better if I had the internet connection on my Linux machine and
> connected the Windows PC to it, but I can't do it because AFAIK my
> modem (Rockwell HCF PCI) is not supported in Linux.
> Any help appreciated, thank you! :)