LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 01-21-2004, 10:35 AM   #1
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16
Thanked: 0
Direct connect Linux to Win via ethernet


[Log in to get rid of this advertisement]
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?
Jmeindl is offline     Reply With Quote
Old 01-21-2004, 10:44 AM   #2
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Thanked: 0
You can do this as it is the same as being on a network. MAKE SURE you use a crossover cable!!!!
fataldata is offline     Reply With Quote
Old 01-21-2004, 10:45 AM   #3
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16
Thanked: 0

Original Poster
thank you for reminding me about the crossover......warm regards

-Jeremy
Jmeindl is offline     Reply With Quote
Old 01-21-2004, 01:19 PM   #4
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16
Thanked: 0

Original Poster
now do i have to set my ip to an internal one (ie 182.169.0.1), or will this not be needed?
Jmeindl is offline     Reply With Quote
Old 01-21-2004, 09:05 PM   #5
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Thanked: 0
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.
fataldata is offline     Reply With Quote
Old 01-22-2004, 09:26 AM   #6
Jmeindl
LQ Newbie
 
Registered: Jan 2004
Posts: 16
Thanked: 0

Original Poster
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
Jmeindl is offline     Reply With Quote
Old 01-23-2004, 09:13 AM   #7
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101
Thanked: 0
No Problem, I genarally ask alot of questions here and I'm just glad I could help someone else.
fataldata is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 02:31 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration