LinuxQuestions.org
Review your favorite Linux distribution.
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 01-21-2004, 10:35 AM   #1
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Rep: Reputation: 0
Direct connect Linux to Win via ethernet


I have had no problem connecting to our LAN windows shares via LinNeighborhood. I am helping a friend this evening build a windows box, and he currently doesn’t have internet access. What I would like to do is directly connect my Linux laptop running RH9 to his windows machine with an Ethernet cable. . . can I do this with smb or will I have to go about this another way?
 
Old 01-21-2004, 10:44 AM   #2
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
You can do this as it is the same as being on a network. MAKE SURE you use a crossover cable!!!!
 
Old 01-21-2004, 10:45 AM   #3
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
thank you for reminding me about the crossover......warm regards

-Jeremy
 
Old 01-21-2004, 01:19 PM   #4
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
now do i have to set my ip to an internal one (ie 182.169.0.1), or will this not be needed?
 
Old 01-21-2004, 09:05 PM   #5
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
You will still need to have compatible IP settings, so yes you will need to set IP's on both ethernet cards in a compatible network (192.168.0.x/255.255.255.0). You won't however need to set a gateway or DNS servers unless you intend to connect to the internet.

Basically it's exactly the same as setting up a normal network, the PC's are just directly connected rather than using a hub or switch or router.

So if your gonna use Samba/MS File and Print Sharing, both of those services must be enabled on all machines.
 
Old 01-22-2004, 09:26 AM   #6
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks, I used the internal IP 10.0.01/2 . . . . since it was a fresh install of windows out of the box, these services were already enabled. The only thing I had to set up on the windows box to allow me to be able to do this was change IP to an internal one, and set up work group with user name and password. Thanks Fataldata for your help

- Jeremy
 
Old 01-23-2004, 09:13 AM   #7
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
No Problem, I genarally ask alot of questions here and I'm just glad I could help someone else.
 
  


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
Direct Connect for linux? minm Linux - Newbie 6 09-21-2004 03:10 PM
linux type Direct Connect? xrn0id Linux - Software 1 08-09-2004 02:11 AM
Direct Connect Clients for Linux atheist Linux - Software 6 02-16-2004 01:49 PM
2 linux comp, direct connect? e1000 Linux - Networking 2 01-27-2004 11:23 PM
Direct Connect 4 Linux not working. Brakki Linux - Software 2 06-15-2003 11:42 AM

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

All times are GMT -5. The time now is 10:45 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