LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-04-2008, 06:36 AM   #1
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Rep: Reputation: 15
Question setting up home network system


HI, i have a debian server and kubuntu client

trying to set up learning environment,
both pc's are connected with a cat5 ethernet cable

i ssh into the server, but how i make sure i can do this after boting both pc'c again

i gave both pc's a static ip , was able to ping to both and ssh , but would like this to happen after boot without having to reconfigure everything again
first time i ssh succesfully trying to get a step further
need i do something with resolve.conf and host. files or so
can anyone guide me from here
thnx

firedancer

Last edited by firedancer; 02-04-2008 at 06:39 AM.
 
Old 02-04-2008, 07:36 AM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Some distros come with avahi configured by default. That is a zeroconf system that causes each PC to broadcast it's own DNS name and address to the local network. In theory, it just works.

If you choose to use avahi, you can use the man command to view help for avahi-daemon.conf and the various commands: avahi-browse, avahi-publish, avahi-daemon, etc.

But I don't use it, in favor of the older but conceptually more simple method of maintaining my own /etc/hosts file on each PC. To do that (instead of using avahi), just make sure each PC has entries for each PC in it's /etc/hosts file. Here is a sample file, assuming you have named the two Linux PCs 'server' and 'client'. Substitute the actual names.
Code:
127.0.0.1       localhost
192.168.1.1     router
192.168.1.2     server
192.168.1.3     client
Of course, you also have to make sure sshd is configured to start automatically at least on the server. If it's not already enabled, I believe this command will do it on a Debian system:

update-rc.d sshd defaults

Last edited by KenJackson; 02-04-2008 at 07:37 AM. Reason: typo
 
Old 04-22-2008, 08:08 PM   #3
firedancer
Member
 
Registered: Apr 2007
Posts: 146

Original Poster
Rep: Reputation: 15
thnx for the insight
 
  


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
Setting up a home network reverse Linux - Networking 2 07-14-2007 11:53 PM
Help setting up a home network bobwidget Linux - Networking 7 07-18-2006 09:09 PM
Setting up a home network mrh7184 Linux - Wireless Networking 5 11-23-2005 11:59 AM
setting up a home network, unix/win2k box to connect with xp system Cher Linux - Networking 7 03-11-2004 01:41 AM
Setting up a home network gi13s Linux - Networking 1 08-06-2001 08:37 AM

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

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