LinuxQuestions.org
Review your favorite Linux distribution.
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 04-01-2008, 09:49 PM   #1
yulester
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Rep: Reputation: 15
Home network for 6 Linux terminals and no broadband connections


Here is what we want to do. We have 6 terminals in our home with Kubuntu, Suse 10 Pro, and Mandrive 2008. I have the house wired for 10/100/1000 with a switch.

Since Broadband is not available, Three of the terminals have external hardware modems for internet connection.

My first priority would be to be able to transfer files from one terminal to another.

Second priority would be to put a jet port / printer on the switch for frinting from all the terminals.

My third wish would be to use one terminal to access internet via damned slow dialup, and pull all of the different user accounts to one machine (PC Server) and distributed from there. This is not a priority

Since Windows is not an issue, I don't see a need for Samba. Since broadband is not available, there doesn't appear to be a need for a router. What I do neet to keep seperate is the network configurations of KPPP / PPP from my internal network.

Last edited by yulester; 04-01-2008 at 10:11 PM.
 
Old 04-02-2008, 12:28 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Using a router will simplify things (addresses) quite a bit. Then just use nfs to transfer files.

Teaming the modems (phone) will be a whole other ball of wax. In MOST case the connection to any one thing will not be sped up.
 
Old 04-02-2008, 06:08 AM   #3
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Since you already have a switch, and can't get broadband, the only thing a router would do for you is provide DHCP to automatically assign IP addresses to the PCs. But the router would not be the default route, since the modem will be connected to one PC, so it would actually be a little tricky to setup.

Before I got broadband a few years ago, I actually did what you are trying to do.

Have you assigned IP addresses? There are various zeroconf schemes to take care of assigning IP addresses automatically, such as the very popular avahi. But my preference is to just manually assign IP address to each machine and manually update /etc/hosts, which I then copy to each machine. Changes are rare for me, so this is not a burden.

You can setup each machine as an nfs server, mount each machine's disk on the others and freely copy files back and forth with no effort.

When you setup a printer on any machine, you can make it sharable so the others can find it and print to it. I think there is a checkbox for this if you set it up with cups via a browser.

Allowing the other PCs to access the internet through one PC's modem requires two steps:
  • On the PC with the modem, enable forwarding in /etc/sysctl.conf, and
  • On the other PCs, specify the PC with the modem as the default route or gateway (e.g. in /etc/sysconfig/network).
 
Old 04-02-2008, 09:24 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
First you can do all of this, setup the machine you want to use for dialup as a router, run DNS, and DHCP on this. This will firstly allow you to use this as a gateway for all the other systems, it will also allow you to simplify the management of the other computers as they can pull all the IP info from the DHCP server, set the DNS server to be authoritative on your internal network and a caching server for all other requests.

Next setup user accounts for all the people that access your computers on the gateway/router, you can use a shell script to login to the gateway and use each individual username to logon with the modem (is this a neccesity, or could you use one dialup account, it would simplify things, when someone requests an internet thing then the router would dial on demand to that one user-dialup account)

As for printing are you talking about using a networked printer, if you are then you just need to plug it into the switch and then setup a cups printer on each system for that type of printer with the printer IP address as the printer queue, otherwise use cups to share the printer from whatever system you have the printer attached to.

And as said you can use nfs to transfer files from one machine to another.

Good luck
 
Old 04-02-2008, 08:08 PM   #5
yulester
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Original Poster
Rep: Reputation: 15
Then I think I'm on the right path - -

I have put static IP's on all the terminals. Can ping most of them. I hadn't considered the etc/host/ file as I was looking at that as the outside connection info to the ISP. I also hadn't considered the possibility of needing to create user accounts across terminals, and making each terminal an NFS Server, but that does make sense.

I like the idea of using one terminal as a router - - I'll have to look at that some more.

I'm not looking to gang the modems together. (I have two phone lines into the house, but use only one for internet) My damned slow dialup wouldn't make that a worthwhile possibility although I might get up to the proverbial 53Kps by doing so. We are happy we have seen an increase from 21.6 to 28.8 recently (people getting away from copper lines)

I should have a better idea after playing with these teminals this weekend.
 
  


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
VPN and Internet access on different broadband connections tsaravan Linux - Networking 1 09-21-2007 10:37 AM
2 broadband connections for redundancy msound Linux - Networking 1 07-05-2005 12:58 PM
1 firewall for 2 broadband connections lothario Linux - Networking 2 02-11-2005 06:50 AM
Dual broadband connections and linux? tekhead2 Linux - Networking 1 08-08-2004 05:26 PM

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

All times are GMT -5. The time now is 07:41 AM.

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