Click to See Complete Forum and Search --> : Networking linux and XP with crosscable


DiPpY^
08-02-2002, 06:22 PM
Hi everyone ... i am new to this forum and new to linux .. i have always used Windows but i wanna check out linux. Now i have Red Hat and i am using dialup :( ... but what i was wondering is this..

I have Windows XP on this computer and use AOL :( ... I just made a crosscable so i can network my linux computer through my XP computer ... can this be done?? and if this can be done what software do i need on both machines for my linux to use the internet and so on??

Please any help would be great :)

MaCCa
08-03-2002, 02:56 AM
hey, well iam also quite newb to linux, here is what i did to network the computers i got me and linux, same sort of thing, go in windows and right click your network icon on your desktop, click on the tcp/ip <network card> and click properties, then go add the following ip, 192.168.0.2, if there is a subnet mask there add this ip, 255.255.255.0, click ok and restart, to setup the linux box in the shell type in netconfig then add the ip 192.168.0.1, in the sub add 255.255.255.0 and leave the rest blank, click ok, then in the shell type
/etc/rc.d/init.d/xinetd restart
also if you cant enter that command for what ever reason then try typing this
ifconfig eth0 192.168.0.1
then do the /etc/rc.d/init.d/xinet restart
and try the below

then try ping each others machines by simply typing on the linux box ping 192.168.0.2 and on the windows machine in the command box typing ping 192.168.0.1

if after none of that works then try restarting both the linux box and the windows machine. wait for the windows machine to start up first though and if on the linux box watch the start up screen to see if it has picked up eth0, if not, thats all i can offer as thats what i have done and no not much about this kind of stuff

DiPpY^
08-03-2002, 11:15 AM
Thanks for the reply .. ill try it out and let u know..

WarMachine
08-04-2002, 02:19 AM
You need to turn on ICS (Internet connection sharing) in windows XP, I've never tried this with dialup but it SHOULD be fairly the same

Windows should walk you though it just some points to remember:
AOL installs its own network adapter, which it uses to connect. If/when you're asked for the adapter that connects to the internet, that will be it
Out to the network would be your ethernet connection with the crossover cable (duh)

On the linux side just bring up your NIC correctly:
My distrobution came with a configuration file that made this easy because I barely had to change anything, if you have root access this will work on and distro:
ifconfig eth0 down (make sure it's down before putting it back up)
ifconfig eth0 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0

You may want to read up on ICS some more though, windows (as usual) doesn't give you too much information

jymbo
08-04-2002, 12:10 PM
Install a proxy server on the XP box and point your Linux browser to it.

AnalogX makes an excellent, free proxy server for Windoze machines:

http://www.analogx.com/contents/download/network/proxy.htm

DiPpY^
08-04-2002, 02:27 PM
Hmmm i cant seem to find where to enable the ICS .. can you tell me step by step ?

That would be great thanks :)

WarMachine
08-04-2002, 11:16 PM
Actually I can't show you now, because I no longer have 2 NIC's in any of my windows machines. If you get into your network connections right click and sift through properties of your connections and it should be self explainitory. If not, do a search on the windows help for ICS or Internet Connection Sharing, I remember seeing a long description when I'd looked at it before

WarMachine
08-04-2002, 11:38 PM
if you can't get that to work, go with a proxy I guess although it sucks to configure a proxy for nearly every app that wants to use the internet on that other machine

try winroute possibly?

DiPpY^
08-05-2002, 03:29 PM
Thank you all that have helped me!!! i got them both networked but now i need to know how to config samba.. anyone know how?

DMR
08-07-2002, 04:20 AM
There's an NHF on Samba (http://linuxnewbie.org/nhf/Networks/Samba.html), the documentation supplied with Samba, and that available at samba.org (http://www.samba.org) to start with. Samba is a very popular topic here, and a forum search for the keyword Samba will give you a wealth of posts to review.

DiPpY^
08-07-2002, 09:48 PM
Thank you SO much :)

but now im havin one other problem ...

I have apache config and running but how would i let apache use the iternet with dialup and crosscable?? i have been using the proxy on XP so my unix computer can use the web browser but how would i let apache use the internet?