Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
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.