Internet Connection Sharing
Hi,
I have Internet Connection Sharing Enabled on my Win2k Box which has a dial-up connection to the net. This is then Networked with my Slackware Box. I can Share files with, and ping the Win2k Box, but I can not ping any Internet site (address) or IP Address. In a browser it attempts to connect (Message resolving www.....) then errors can not find www..... , if I try to connect to an IP address it just times out. Any help would be great! |
Apologies in advance if I'm pointing out the obvious, but have you set up the default gateway, DNS and ip address on your Mandy box?
|
Linux & Windows 98 SE Internet Sharing
Hi
I have 2 PC's connected with a switch. The one is a machine running windows 98 SE. This machine is connected to Internet with a USB ADSL. Another machine is Linux red hat 6.2. I can do ping from windows to linux and vice versa. I can see the windows machine from linux using samba. However I am not able to connect to Internet. I have installed Internet Connection Sharing windows 98 but Linux can not access to Internet via Lan. Do you suggest something for me? Alex |
Re: Linux & Windows 98 SE Internet Sharing
Quote:
On the windows computer, click on the start button, then on run and type in "winipcfg". Then click on the "expand all" and look for your DNS server addresses. Write them down on a piece of scrap paper or something. Then on your RedHat box go into your network configuration utility of choice. Since you can already see and ping your windows box the IP information is correct so that's the major part of the battle done right there. Set your "Default Gateway" to " 192.168.0.1 " (your windows box), and then put in your ISP's DNS servers for your RH box to use. Once that is all done you should be able to browse and do everything on your RH box. If you have anymore problems please feel free to post back. Cheers Tap |
Hi Tap...
Thanks a lot... I have followed your steps. In my RH machine, I have typed # linuxconf and I changed in Name Server Specification (DNS). I have changed the Gateway, setting it in base to Windows 98 IP. Finally this is my small LAN: 1 - Windows 98 - IP: 192.168.168.1 / NetMask: 255.255.255.0 2 - Linux Red Hat - Ip: 192.168.168.168 / NetMask: 255.255.255.0 Gateway: 192.168.168.1 -> This is the IP address of Windows 98. Name Servers: 201.225.225.225 But when I restart the RH machine for save the new configuration, it is to late Booting and waiting for "STARTING SYSTEM LOGGER" and "STARTING SENDMAIL". The network settings has changed, but in the /etc/sysconfig/network-scripts/ifcfg-eth0 file, several values are between quotations. For example, before the changes, we have the ifcfg-eth0 file like that: ************************ DEVICE=eth0 IPADDR=192.168.1687.2 GATEWAY=192.168.168.1 NETMASK=255.255.255.0 BROADCAST=192.168.168.255 ONBOOT=yes NAME=seidi BOOTPROTO=none ************************ But now values have changed to: ************************ DEVICE="eth0" IPADDR="192.168.1687.2" GATEWAY=192.168.168.1 NETMASK="255.255.255.0" BROADCAST=192.168.168.255 ONBOOT="yes" NAME=seidi BOOTPROTO="none" IPXNETNUM_802_2="" IPXPRIMARY_802_2="no" IPXACTIVE_802_2="no" IPXNETNUM_802_3="" IPXPRIMARY_802_3="no" IPXACTIVE_802_3="no" IPXNETNUM_ETHERII="" IPXPRIMARY_ETHERII="no" IPXACTIVE_ETHERII="no" IPXNETNUM_SNAP="" IPXPRIMARY_SNAP="no" IPXACTIVE_SNAP="no" ************************ The same case has been occurs with the file /etc/sysconfig/network Before changes: ************************ NETWORKING=yes HOSTNAME=seidi GATEWAY=192.168.168.1 GATEWAYDEV="" ************************ After restart it is: ************************ NETWORKING="yes" HOSTNAME="seidi" GATEWAY="192.168.168.1" GATEWAYDEV="eth0" FORDWARD_IPV4="yes" ************************ The file /etc/resolv.conf is: nameserver 201.225.225.225 With that changes, I still can see windows 98 SE machine using samba and pinging both machines, But I am not able to access Interbet yet. Could you suggest something to do? Alex |
Hi,
The LAN NIC IP Address of the Windows Dial Up Machine is set to 192.168.0.1 . This then has the Modem IP address of 81.174.207.245 Gateway 81.174.207.245 Primary DNS 212.159.6.9 Secondary DNS 212.159.13.49 The Linux box has the Static IP address 192.168.0.101 Gateway of 192.168.0.1 and Nameserver of 212.159.6.9 . The Nameserver appears in the /etc/Resolv.conf file. |
Hey mate, sorry it took so long for me to respond the first time, work has kept me busy these last few days.
I would put the second DNS server into your /etc/resolv.conf file, because the more DNS servers the merrier I say. Also on your windows box, run the winipcfg utility, click on the "expand all" button. Now near the top you should see a box that says IP forwarding or Router or something like that and if all is set up correctly it should have a check mark in there. If not you may need to re-run the ICS util in windows. Aside from that if it still dosn't work post back what error message(s) appear and we'll again try to help as best we can. Cheers Tap |
Hi,
Thanks for that, Can't find winipcfg on Win2k so did ipconfig /all instead, results below; Windows 2000 IP Configuration Host Name . . . . . . . . . . . . : winhost Primary DNS Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Broadcast IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139(A)-based PCI Fast Et hernet Adapter Physical Address. . . . . . . . . : 00-30-BD-1B-8A-E3 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : PPP adapter Free F9: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface Physical Address. . . . . . . . . : 00-53-45-00-00-00 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 81.174.202.203 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : 81.174.202.203 DNS Servers . . . . . . . . . . . : 212.159.6.9 212.159.13.49 NetBIOS over Tcpip. . . . . . . . : Disabled It says IP Routing is enabled, which I guess is what you were looking for. I agree on the Nameserver in Resolv.Conf just on thing what is the syntax for multiple nameservers? Is it nameserver 123.123.123.123 nameserver 231.231.231.231 or nameserver 123.123.123.123, 231.231.231.231 Any help would be good. |
Sorry forgot to Mention the errors.
on pingging an IP it just drops all the packets. On trying an address or IP in Mozilla it just time's out. |
Windows 98 sharing Internet to Linux
Hi Tap-Out
Thanks a lot for your help. Finally I got access Internet from my red hat 6.2. My error was windows Internet sharing services was not setting ok. I installed wingate (demo of 30 days) and I can saw how it was setting windows for share Internet. Finally I uninstall wingate (because I was in 23 days demo) and I tried Windows ICS and finally, I set up Linux red hat 6.2 in DHCP and now it is working. However, there is a very old Netscape version. I would like to install firefox from Mozilla, did you know some special version for my redhat 6.2. Actually I am downloading Fedora core. I will try if that version could to run in my old PC. Best regards... Alex |
All times are GMT -5. The time now is 04:54 AM. |