Re: Some network setup issues (Linux to internet via Windows)

From: Michael Collard (quadfour_at_iinet.net.au)
Date: 06/10/04


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.

Kind regards
Michael Collard

On Thu, 10 Jun 2004 02:38:57 -0700, Debarka Banik wrote:

> Hi!
>
> 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! :)
>
> Debarka



Relevant Pages

  • Re: gforth dos/win
    ... I use a dial-up connection, there is no internet connection ... a version of Linux on a laptop, ...
    (comp.lang.forth)
  • Re: Linux Server - Windows 2000, networking
    ... I think you are saying in windows you are ... to the internet and you want to share that connection with you redhat linux, ... > For internet sharing you will want IPTables. ...
    (comp.os.linux.networking)
  • Re: [kde] seeking tips for setting up a home office...
    ... and handles NAT (Internet sharing). ... > much use if your running a webserver), or ethernet connection to an ADSL ... I believe USB router/modems are a problem with Linux. ... installation on linux but installs with linux. ...
    (KDE)
  • NTP on embedded Linux with GPRS connection
    ... I have Linux running on ARM. ... System has GPRS connection to internet, ...
    (comp.protocols.time.ntp)
  • Re: Routing/Filtering: scalability
    ... > routed to the internet or to local SMB shares. ... > wireless connection through PPPoE. ... It's not clear what nics/bandwidth you have attached to the Linux box, ... It's a Google thing. ...
    (comp.os.linux.networking)