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 |
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 update-rc.d sshd defaults |
thnx for the insight
|
All times are GMT -5. The time now is 12:30 AM. |