LinuxQuestions.org
Help answer threads with 0 replies.
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 05-23-2011, 07:54 PM   #1
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Rep: Reputation: 0
Home Network question


Hi all,

I have three computers, 1 x laptop, 1 x desktop 32 bit and 1 x desktop 64 bit. Various OS's spread among them (Windows 7 / XP and Linux), but all have in common Debian Squeeze, which is the most used on all. I have a wireless router that two of the computers use wirelessly and the third is connected to the router with a cable.

I want to make a home network so that all three can access each other through Debian. I am a basically noob at this sort of thing. Please point me in the right direction for doing this.

Thanks in advance.
 
Old 05-23-2011, 08:16 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Well, when you create a working network within a single subnet, there is no need to route all traffic through one machine. If you simply want them to be able to connect to each other as peer-to-peer, you will need to configure Samba on your Debian machine to enable communication with the Windows boxes.

The two Windows boxes should be able to network with each other using the built-in Windows networking. The work will come in getting Samba to work.

The best help I found when I set up a mixed Windows/Linux network was Samba by Example. The examples move from very simple to very complex. It's been a few years, but I think I found an "example" that answered my needs before page 20.

The About dot com Linux site is a reference that is written with new users in mind: Here's their section on networking.

http://linux.about.com/library/bl/op...ewbie4.5.1.htm
 
1 members found this post helpful.
Old 05-25-2011, 12:51 AM   #3
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Crikey, I did not realize it would be that complicated or long winded! Setting up the router for internet access was easy by comparison.

To recap, I only want the network to interconnect the three computers through Debian, on the wireless router. Anyway, I will dive into it over the next few days. It looks like it needs time, and that is a precious commodity for me.

Thanks, just the same!

All the best.
 
Old 05-25-2011, 07:33 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
Quote:
Originally Posted by feeblebrain View Post
Crikey, I did not realize it would be that complicated or long winded! Setting up the router for internet access was easy by comparison.
Look around in your Debian menus. There might be a file sharing item. If so, that would make it a lot easier. I have both Gnome and KDE on my computer and applications from both of them show up in my gnome menu.

And remember, it's only complicated the first time. (grin)

Once I got a Samba configuration that I liked, I made copies of the smb.conf file in mucho different locations and have been basically recycling and tweaking the same file for the last four years.

Here's the bit that defines my shared directory:

Code:
[Insert Directory Name]
path = /home/[username]/[folder name]
guest ok = yes
read only = no
available = yes
browsable = yes
public = yes
writable = yes
 
1 members found this post helpful.
Old 05-26-2011, 05:52 AM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by feeblebrain View Post
...I want to make a home network so that all three can access each other through Debian. I am a basically noob at this sort of thing. Please point me in the right direction for doing this.
Hi,

after reading your first post twice I did not really understand what you want to achieve. What do you mean with "... through Debian ..."?

As an example, I have a homenetwork with 3 computers (with various operating-systems) one (connected wired to the router) is the server. The only configuration I did was giving the server a static IP and inserting an entry in the /etc/hosts file on every other Machine/operating-system (because my router which is the DNS-server cannot handle hostnames of Linux-machines).

If you want to access the (Linux-)Server from a Windowscomputer you'll have to configure for Samba as frankbell wrote.

Hope that helps.

Markus
 
1 members found this post helpful.
Old 05-27-2011, 07:03 PM   #6
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Thank you both for the answers. I think I was reading too much into the process and, most importantly, not taking the necessary, figurative step back to look at the situation in macro. I am not at home right now, but I believe that, thanks to your posts, I have twigged and possess a better idea what to go after when I do get back.

Thanks!
 
Old 06-02-2011, 11:44 AM   #7
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Finally got some time to look into this issue and solved it very quickly this way;

1. installed openssh-server and openssh-client on two computers that I wanted to test this on.
2. opened connect to server in the places menu, and set up this way;
a. Service type SSH.
b. IP of the computer I wanted to access.
c. Port 22
d. Name of a folder I wanted to access on the other computer.
e. Name of the computer I wanted to access.

It asked for my log in password (for the computer I was accessing), and bingo, mounted the other computer's folder on my desktop. This was exactly what I wanted and got me started on this theme nice and gently, no hassle. How about that?

I make this post;

A. To declare the thread solved, and;
B. If anyone knows any pitfalls, security risks, or anything else associated with using openssh, please advise me.

Thanks all!
 
Old 06-02-2011, 09:05 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
This is indeed networking. I guess when people say "networking," listeners tend to leap to file sharing and browsable folders.

You can get a program called PuTTY for your Windows computer. It will make it ssh-capable.

Openssh is quite secure; its traffic is encrypted.

Edit: With the qualification that no security is perfect. I used to work in the physical security industry (card access control). The premise of security is to make breaking in so inconvenient that the bad guy goes down the street to find an easier crib to crack.

Last edited by frankbell; 06-02-2011 at 09:45 PM.
 
Old 06-05-2011, 11:16 AM   #9
feeblebrain
Member
 
Registered: Feb 2011
Posts: 55

Original Poster
Rep: Reputation: 0
Thumbs up Nice!

Quote:
Originally Posted by frankbell View Post
You can get a program called PuTTY for your Windows computer. It will make it ssh-capable.
Thanks, that was a nice bonus! It gave me a terminal screen from Windows partition on my laptop to my Debian desktop. Strange, using Linux commands in the Windows console! Full access to my folders on Debian. Typing "who" in the terminal of the Debian computer shows the IP of my laptop, confirming a successful log in. Great! Firing on all cylinders, now.

Just one question remains, and I am in two minds about posting another thread, as this one is solved, but here goes anyway (apologies if it is not the done thing).

I have a fourth old "relic" with Ubuntu and XP on the hard drive. This fourth computer has no wireless capability, but does have an ethernet socket. I would like to connect it directly to my desktop with a cross over cable to access the files on that one, too. Is it as simple as just hooking them together? I ask before I try.

Thanks again!

EDIT: Solved! Never mind.

Last edited by feeblebrain; 06-07-2011 at 07:50 PM.
 
  


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
Basic home network question JohnRock Linux - Newbie 12 05-06-2009 10:35 AM
Multiple routers on home network question grapnell Linux - Networking 4 04-09-2006 08:22 PM
Home Network set up and another related question webwolf70 Linux - Networking 4 07-15-2004 11:33 PM
Home Network Question lmanwarren Linux - Newbie 2 11-12-2003 02:26 PM
home network question sujte Linux - Networking 3 07-15-2003 01:50 PM

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

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