Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Linux Software

Windows Host, Linux Client? 7

Chris asks: "For the past while I have had a LAN connecting my parents Win95 machine to my Win98 macine. The 95 machine has a connection to the phone line, and I have been using a Proxy server to connect to that machine and use the net at the same time. Recently, I've installed Red Hat 6.0 on my machine. My problem is that I want to connect to the internet using Linux through my parent's machine like I have always done, but I can't find any info on how to do it. My ISP dynamically allocates our IP address, so that complicates the matter. I realize that IP-Masquirading exists, but that only works with the Linux machine as the server, and I want it as the client. I also know about proxy servers, like squid, but they are too large for a 2 computer network, and again, use Linux as the server. I know my Ethernet card has support, according to LinkSys it uses a Tulip driver and that was detected on installation. Any help would be greatly appreciated."
This discussion has been archived. No new comments can be posted.

Windows Host, Linux Client?

Comments Filter:
  • as the gateway? It would simplify things, plus you would be in control of more of the internet at your house.
  • Why don't you just use you linux machine as the gateway? It would simplify things, plus you would be in control of more of the internet at your house.
  • then install something like wingate or something similar on the winbox.
  • Try Sygate [sygate.com].
  • ifconfig eth0 up
    route add -host eth0
    route add default gw

    Quick and easy.. set's up your network card, then adds a route to you parents comp. then sets everything to go through your parents comp.

    or even better:
    ifconfig eth0 up
    route add -net netmask 255.255.255.0 eth0
    route add default gw
    Although I highly recommend you to use your linux box as the gateway, it is possible to use the win 95 one..

    Kenny

    BTW: All Should work as in Win9x

  • Apparently ./ Took away my Ip's.. oh well.. replace your-ip with your IP address and parents-ip with your parents IP and your-subnet with the first 3 numebrs of your Ip followed by .0 =-)

    As Root type:
    ifconfig eth0 up your-ip
    route add -host parents-ip eth0
    route add default gw parents-ip

    Quick and easy.. set's up your network card, then adds a route to you parents comp. then sets everything to go through your parents comp.

    or even better as root type:
    ifconfig eth0 up your-ip
    route add -net your-subnet netmask 255.255.255.0 eth0
    route add default gw parents-ip

    Although I highly recommend you to use your linux box as the gateway, it is possible to use the win 95 one..

    Kenny

  • Unless your W95 box is running gateway software like Sygate, you'll end up tearing your hair out. Another alternative, if it's not possible to use the Linux box as the gateway, would be to upgrade to Windows 98, which has a feature called "Internet Connection Sharing" designed to do exactly what you have in mind (although it changes the Ethernet adaptor to 192.168.0.1 for the duration of the Internet connection)

"It's the best thing since professional golfers on 'ludes." -- Rick Obidiah

Working...