I have a machine running Debian 2.2 which can be connected to the internet via a modem.
This is part of a small network. One of the other machines on the network can use the above machine as a gateway and connect successfully to web sites using a browser when running Linux.
If the same (secondary) machine is running Windows 95 it cannot connect to any web sites via the Linux gateway machine although the gateway address is set correctly in the network configuration on the secondary machine.
Can anyone please offer any pointers?
Barry Samuels
On Sat, Dec 29, 2001 at 02:18:37PM +0000, bsamuels@beenthere-donethat.org.uk wrote:
Can anyone please offer any pointers?
Nothing I can think of. Are you sure all other network settings (eg proxy, IP address, etc) are identical between the two boots?
On Sat, Dec 29, 2001 at 02:18:37PM +0000, bsamuels@beenthere-donethat.org.uk wrote:
I have a machine running Debian 2.2 which can be connected to the internet via a modem.
This is part of a small network. One of the other machines on the network can use the above machine as a gateway and connect successfully to web sites using a browser when running Linux.
If the same (secondary) machine is running Windows 95 it cannot connect to any web sites via the Linux gateway machine although the gateway address is set correctly in the network configuration on the secondary machine.
Clearly the '95 machine cannot connect beyond the gateway, but can it connect *to* it? Does pinging it work?
If it does, have you checked that DNS is set up correctly in '95? Does using numerical addresses work?
Toby Jaffey toby@earth.li wrote:
On Sat, Dec 29, 2001 at 02:18:37PM +0000, bsamuels@beenthere-donethat.org.uk wrote:
I have a machine running Debian 2.2 which can be connected to the internet via a modem.
This is part of a small network. One of the other machines on the network can use the above machine as a gateway and connect successfully to web sites using a browser when running Linux.
If the same (secondary) machine is running Windows 95 it cannot connect to any web sites via the Linux gateway machine although
the
gateway address is set correctly in the network configuration on
the
secondary machine.
Clearly the '95 machine cannot connect beyond the gateway, but can it connect *to* it? Does pinging it work?
The gateway machine can be pinged successfully. The network in all other respects works as expected.
If it does, have you checked that DNS is set up correctly in '95?
Having looked at the DNS setup window I must admit that I don't know what to put in the Host and Domain fields. I am not running a DNS server so DNS lookups are done through my ISP. As far as I can remember when I set up the same machine running Linux all I had to do was to add a gateway address line in the network setup. I thought that doing the same for W95 would work.
Does using numerical addresses work?
No!
Barry Samuels
Barry
Having looked at the DNS setup window I must admit that I don't know what to put in the Host and Domain fields. I am not running a DNS server so DNS lookups are done through my ISP.
On my (working) Win98 config I do not have DNS enabled for the TCP/IP->NIC binding. I recall that this terminology appears slightly differently in the Win95 version of the networking control panel but AFAIR it is in there somewhere.
Syd
Having looked at the DNS setup window I must admit that I don't know what to put in the Host and Domain fields. I am not running a DNS server so DNS lookups are done through my ISP. As far as I can remember when I set up the same machine running Linux all I had to do was to add a gateway address line in the network setup. I thought that doing the same for W95 would work.
Does using numerical addresses work?
No!
DNS only controls mapping from domain name to IP address AFAIK. As you can't ping using numerical addresses (e.g 64.28.67.150 for /.), this implies there is a problem between your windows machine and the linux box. What does 'tracert 64.28.67.150' from your windows box output?
Ashley
Dr. Ashley T. Howes PhD http://www.ashleyhowes.com
"when all the animals of this world are gone, man will die of loneliness"
"Ashley" ash@blueskyresearch.net wrote:
Having looked at the DNS setup window I must admit that I don't
know
what to put in the Host and Domain fields. I am not running a DNS server so DNS lookups are done through my ISP. As far as I can remember when I set up the same machine running Linux all I had to
do
was to add a gateway address line in the network setup. I thought that doing the same for W95 would work.
Does using numerical addresses work?
No!
DNS only controls mapping from domain name to IP address AFAIK. As you can't ping using numerical addresses (e.g 64.28.67.150 for /.), this implies there is a problem between your windows machine and the linux box. What does 'tracert 64.28.67.150' from your windows box output?
Ashley
I think that you have mis-understood. I can ping the gateway machine but cannot access external sites using IP numerical addresses.
Barry Samuels
Hi Barry,
My setup is slightly different than yours but hopefully similar enough to be relevant. I have W98 and Mandrake 8.0
Although I have read that using static local IP numbers should work, I have had no success getting a Windows client to share a connection unless DHCP is enabled on the box with the modem attached. It has then been successful with Internet sharing installed in either Mandrake or Win98. (And, for that matter, using Freesco - linux-based router on a floppy).
On the Windows client machine, have TCP/IP installed and bound to the NIC and then to have the IP Address property set to be obtained automatically. All this is of course done in the Network Control Panel. (Apologies if I'm stating the obvious).
WINS is disabled but I do have the default gateway set to the IP of the PC which has Internet Sharing/DHCP installed.
FWIW I also have the IP of the NIC set in the Control Panel and for good measure also have a hosts file in the windows directory. I do not know if this is necessary or not as I put it there during earlier static-IP-based attempts and have not seen any reason to remove it.
I do not have either netbeui or IPX installed as they are not required and they should certainly (AFAIUI) not be bound to the NIC as I have read that this could be a major security hole.
Hope some of this may be of some use. As I wrote above, after a lot of faffing about the only way it would work at all for me was with DHCP but once that was enabled it all worked very smoothly.
Regards Syd
On Sat, 29 Dec 2001 22:42:48 Syd Hancock wrote:
Although I have read that using static local IP numbers should work, I have had no success getting a Windows client to share a connection unless DHCP is enabled on the box with the modem attached. It has then been successful with Internet sharing installed in either Mandrake or Win98. (And, for that matter, using Freesco - linux-based router on a floppy).
Making the gateway a DHCP server does seem like an elegant solution though I have definitely had Win95 using a Linux gateway to a dialup internet connection in the past with static IP.
The Linux box would have been running Debian potato at the time with IP Masqerading set up as per instructions in the HOWTO I found on www.linuxdoc.org. I also had the Linux box running wwwoffle (a web proxy cache) and the standard Berkely DNS server set up in caching only mode. On the LAN side both the Linux and Win95 boxes were configured using 10.* IP addresses and the Win95 box was configured to use the Linux box for DNS and as the web proxy.
Steve.
Steve Fosdick fozzy@pelvoux.demon.co.uk wrote:
On Sat, 29 Dec 2001 22:42:48 Syd Hancock wrote:
Although I have read that using static local IP numbers should work, I have had no success getting a Windows client to share a connection unless DHCP is enabled on the box with the modem attached. It has then been successful with Internet sharing installed in either Mandrake or Win98. (And, for that matter, using Freesco - linux-based router on a floppy).
Making the gateway a DHCP server does seem like an elegant solution though I have definitely had Win95 using a Linux gateway to a dialup internet connection in the past with static IP.
The Linux box would have been running Debian potato at the time with IP Masqerading set up as per instructions in the HOWTO I found on www.linuxdoc.org. I also had the Linux box running wwwoffle (a web proxy cache) and the standard Berkely DNS server set up in caching only mode. On the LAN side both the Linux and Win95 boxes were configured using 10.* IP addresses and the Win95 box was configured to use the Linux box for DNS and as the web proxy.
Steve.
Both machines are running Debian Potato and the gateway is running Wwwoffle and Junkbuster but it is not running a DNS server although it is set up for masquerading.
How did you configure DNS and web proxy on the Win95 machine?
Barry Samuels
Syd Hancock syd2@toufol.com wrote:
Hi Barry,
My setup is slightly different than yours but hopefully similar enough to be relevant. I have W98 and Mandrake 8.0
Although I have read that using static local IP numbers should work, I have had no success getting a Windows client to share a connection unless DHCP is enabled on the box with the modem attached. It has then been successful with Internet sharing installed in either Mandrake or Win98. (And, for that matter, using Freesco - linux-based router on a floppy).
On the Windows client machine, have TCP/IP installed and bound to the NIC and then to have the IP Address property set to be obtained automatically. All this is of course done in the Network Control Panel. (Apologies if I'm stating the obvious).
WINS is disabled but I do have the default gateway set to the IP of the PC which has Internet Sharing/DHCP installed.
FWIW I also have the IP of the NIC set in the Control Panel and for good measure also have a hosts file in the windows directory. I do not know if this is necessary or not as I put it there during earlier static-IP-based attempts and have not seen any reason to remove it.
I do not have either netbeui or IPX installed as they are not required and they should certainly (AFAIUI) not be bound to the NIC as I have read that this could be a major security hole.
Hope some of this may be of some use. As I wrote above, after a lot of faffing about the only way it would work at all for me was with DHCP but once that was enabled it all worked very smoothly.
Regards Syd
Well as far as I can remember DHCP is not enabled on the gateway machine. Perhaps that's something I should try.
The Win95 machine is set up for TCP/IP and Wins is disabled. I'm not sure that I am familiar with the term 'Internet Sharing' as far as Win95 is concerned.
I thought that setting this up under Linux was a doddle and am a little amused to find that it's proving more difficult under Windows which I seldom touch (it's on my wife's machine) and then only with a barge pole.
Many thanks for your detailed reply.
Barry Samuels