LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2005, 04:28 AM   #1
bradab
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Sharing files between Windows and Linux


OK, first things first.. I'm not super linux savvy, but I know my way around. I've had samba running before when I had my systems set up in a lan under a router but now things are different. Any advice would be greatly appreciated.

Due to dropping connection issues with my wireless router I've got a 5 port switch to handle the linux box and router directly with the internet.
Connection setup goes as follows:
Internet -> 5 port switch -> Linuxbox (Switch Port 1) \ Wireless Router (Switch Port 2) -> Windows Box (Router Port 1)

If that's hard to understand.. my internet connection goes into the switch, out of the switch I have my linux box and a wireless router.. out of the wireless router is my windows box and various other wireless devices that aren't an issue here.

Now the Linux box has it's own ip assigned from my ISP. The wireless router has it's own IP assigned from my ISP. The windows box gets a static IP from the router so it is 192.168.1.2.

Now question is, how can I get the linux and windows boxes talking together through the switch? is this possible? I was hoping I could still 'samba' them together and mount the drives.

Does anyone else have a similar configuration and what do you do to transfer files between the machines? I don't really want to set up ftp servers on the windows box if I don't have to.

Cheers,
Brad.
 
Old 09-26-2005, 05:57 AM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You can probably tell the wireless router to pass traffic to/from your linux IP address and the Windows IP (192.168.1.2). As to how you do that would be specific to the type of wireless router you are using.
 
Old 09-26-2005, 11:11 AM   #3
bradab
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply, here's some more information about the setup.

Router is a Linksys WRT54G.
Switch is just a cheap switch with no setup that I know of, Surecom EP-805SX.
Linux version is Slackware 10.2.
Windows version is 2000 pro.

Obviously the main problem is probably the firewall since the linux box is not behind the router firewall and the windows box is. I'd rather not DMZ my whole windows box, so like you said, I need to figure out a way to open up the windows box to the linux box and vice versa.

I imagine from what I've read about Samba that it is not possible to use for this set up since the two computers are not behind the same gateway. Hopefully there is another way to mount drives remotely.

How do networks do it when they have all their computers 'switched' with software firewalls? Perhaps some insight into that would lead to a solution.

Cheers,
Brad.
 
Old 09-27-2005, 05:27 PM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Pull out your WRT54G users manual and follow along starting on pg 14.
From the Windows computer start Firefox and in the address box type 192.168.1.1. Leave the user blank and the default password is admin. The first thing you should do is change the password, under the administration tab.

You may want to enable remote configuration so you can access the router from the linux box. This is also in the Administration tab and follow instructions on page 32 .

Now to enable samba go to the Applications and gamming tab and follow instructions on page 30. The IP address should be the IP of the linux box. The ports will be 137-139 and protocol will be both.

Last edited by /bin/bash; 09-27-2005 at 05:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sharing Files between linux and windows invinciblegod Linux - General 4 07-27-2005 12:54 PM
Sharing files between Linux and Windows Bryanlee Linux - Newbie 4 07-21-2005 02:09 AM
need help sharing files between windows an linux? wisdom Linux - Software 3 12-28-2004 08:55 PM
Linux/Windows Partition and Sharing Files njschroe Linux - General 2 11-30-2004 02:43 AM
Sharing files between Linux and Windows partitions Rudebr00d Linux - Newbie 3 07-08-2003 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration