RedHat9 sharing internet connection with XP
Hey!
I would like to be able to share my Windows XP machine's internet access with my RedHat 9 box, I have tried my best but can't manage to do it. Any help would be much appreciated! Cheers, Silverstormer |
so what was your setup? were you getting any error messages? what is the result of "ifconfig" ? is your ethernet card recognised, are the modules loaded? ..........................
|
Sorry, I was a bit brief...
I have freshly installed RedHat 9 as standard. I can ping my XP machine from Linux and access its shares. Linux machine is connected to XP machine via a crossover cable, network card to network card. XP machine is connected to a cable modem via USB and is working fine. I have even enabled ICS to see if that works, also I have made an entry in my firewall for linux box. No error messages except, "Can not resolve host" when trying to goto URL... |
looks like linux box is not getting the DNS information, maybe it has to do something with your windoz firewall
|
i am having the same problem with mandrake 9, what can i do?
|
Are you running dhcpd on the linux machine? Theres some netbios stuff that needs to go into the /etc/dhcpd.conf file to send nameservers to the windows machine.
http://www.tldp.org/HOWTO/mini/DHCP/x369.html |
Hi,
a fresh install of linux will not allow any packet forwarding. If I remember correctly, the following commands may get you started... echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE you may also want to check your route to make sure the default gateway is linked to ppp0 Hope this helps :) |
As ealpert1 said, it must be a DHCP problem. Try getting dhcp to work or try netconfig and configure your IP, gateway and DNS manually.
|
sorry, my mistake... I didn't read that the modem was on the xp box :P
is the linux box configured with a static ip or is it using dhcp like the others suggested.. |
This works for me.....XP has a modem attached and I use wingate to share the connection. On the linux boxes I assign the XP box as the gateway and assign my ISP's DNS IP as the DNS server. This also works for other windoze machines to share from the XP box. (using wingate may be cheating but hey it makes it very easy....is there a similar opensource program to run for linux??)
|
If your Linux PC has a static IP, you can add the DNS IPs manually to /etc/resolv.conf
The syntax looks like this: Code:
nameserver x.x.x.x |
All times are GMT -5. The time now is 09:33 PM. |