LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2003, 07:40 AM   #1
Vegetarian
LQ Newbie
 
Registered: Oct 2003
Location: Brisbane, Australia
Distribution: Red Hat 9.0
Posts: 3

Rep: Reputation: 0
Connecting RHL 9 to WinXP via LAN?


I've recently installed Red Hat 7.1 on my laptop, and I've been trying my best to get it to network with a computer running WinXP (family computer which accesses the internet). I just want a simple LAN connection to it, but so far, every guide I've read about it has told me I need a router, a more recent version of RHL or to have a Linux network to connect to in order to do this. Is there any way of doing this with just my laptop and my WXP box?

Once again, I'm running RHL 7.1 on a Dell Inspiron laptop (830 MHz cpu) with a single ethernet port. The computer I want to open a LAN connection to is a custom built 2.8 GHz WXP machine with access to a cable modem. Connecting to this modem currently takes up its only network port, although I have a second card I can install. I've installed Linuxconf on the laptop, but I've been having difficulties installing Samba 2.2.8-1 (it seems to be missing some files, specifically libcrypto.so.2, libcups.so.2, libreadline.so.4 and libssl.so.2). I've been trying to get it to connect to a WinME machine so far, with seemingly no luck, although I'm more interested in connecting it to the WinXP machine. Any help would be appreciated.

Last edited by Vegetarian; 10-27-2003 at 05:58 AM.
 
Old 10-13-2003, 07:51 AM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Can you ping that XP machine?
 
Old 10-14-2003, 03:18 AM   #3
Vegetarian
LQ Newbie
 
Registered: Oct 2003
Location: Brisbane, Australia
Distribution: Red Hat 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
No, but interestingly, I can ping the RHL machine. I think that there's some sort of loopback driver running on the ME machine I was trying to network to (the machine's IP is 127.0.0.1). I haven't got the second network card in my XP computer at the moment ... perhaps it would be a good idea to get it in there sometime.

Last edited by Vegetarian; 10-14-2003 at 03:20 AM.
 
Old 10-14-2003, 06:13 AM   #4
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Well u will not need a router but maybe something called a hub/switch to connect your network. If u have problems with cash then creat a cross over cable this will allow u to connect one pc to the other.

The reason u see that IP addr 127.0.0.1 this means that it's the local machine. With windows pc give it a IP addr like 192.168.0.1/ 255.255.255.0 once that has been created type cmd ipconfig to confirm IP addr. Goto your laptop type the cmd redhat-config-network or netconfig and setup IP addr 192.168.0.2. Once this has been setup type cmd ifconfig to confirm IP addr then ping 192.168.0.1 to confirm coms between the 2 pc.

To share files with M$ XP use samba type this cmd to view the shares available under XP smbclient -L //remote_server/share, then mount //remote_server/share /mnt/mount_piont. If you change dir to /mnt/mount_piont XP files will be displayed.

chow

Last edited by aqoliveira; 10-14-2003 at 06:47 AM.
 
Old 10-27-2003, 05:56 AM   #5
Vegetarian
LQ Newbie
 
Registered: Oct 2003
Location: Brisbane, Australia
Distribution: Red Hat 9.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, aqoliveira, I'm about halfway there now ... I've got the network card in my XP box and I've been able to ping both machines (they both picked up packets over the network). Now, I have a new problem ... I can't get the smbclient to connect to the XP machine, although I have tried the commands you posted. I can't seem to view files on either side of the network (from the other respective side, of course).

I've upgraded to RHL 9 since my last visit. I still want to be able to share files between the two computers and access the net from the laptop via the XP machine. Samba works, but like I said, I can't get it to access the XP machine. I'm running a firewall, but it is set to trust my laptop's connections to it. Any ideas?
 
Old 10-27-2003, 07:10 AM   #6
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Try disabling FW by typeing service iptables stop. Then make sure that shares r correct on XP box then try again with cmds given.

chow
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalling RHL 9 and WinXP on 2 hdd's...gimme your thoughts torquehead Red Hat 3 08-23-2004 11:55 PM
Onboard Nvidia LAN not working in RHL EL 3 floyd101077 Linux - Networking 2 08-04-2004 04:01 PM
Surecom EP320XS LAN card support in RHL 8.0 ? floyd101077 Linux - Networking 1 07-20-2004 11:46 AM
Lan-express Pci Wifi under RHL 9.0 in PCG-NV190 msirivia Linux - Hardware 1 05-04-2004 08:24 PM
connecting to a WinXP share kyrra Linux - Networking 2 11-04-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration