Re: [opensuse] Re: simple LAN



On Sun, 2007-06-17 at 08:16 -0400, Kenneth Schneider wrote:
On Sun, 2007-06-17 at 10:52 +0100, Robert Best wrote:
Eberhard,
it is not easy.


As in all things it is easy once you know how.

On Saturday 16 June 2007 17:53, Eberhard Roloff wrote:
Robert Best wrote:
rwb:~> ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
......
2: eth0: <BROADCAST,MULTICAST,NOTRAILERS,UP,10000> mtu 1500 qdisc
......
inet 192.168.1.65/24 brd 192.168.1.255 scope global eth0
......

fam:~> ip a
......
inet 192.168.1.64/24 brd 192.168.1.255 scope global eth0
with 64 instead of 65.

rwb:~> ping 192.168.1.64
sends and receives packets

fish://192.168.1.64
works !!!


For a simple lan use the file /etc/hosts to define your PCs.

# IP-Address Full-Qualified-Hostname Short-Hostname

First column has the IP address of the PC, the second column has the
full name and the third is the short/alias name. In your case the lines
would look like:

192.168.1.64 fam.homelan.com fam
192.168.1.65 rwb.homelan.com rwb

The domain homelan.com can be different and is only used as an example.
Your install will have something different by default. Also check the
file /etc/nsswitch.conf for a line that starts with hosts: and make sure
it looks like this:

hosts: files

Sorry my cut-n-paste got chopped off, it should read:

hosts: files dns


This will make sure the the PC uses the /etc/hosts file for local name
resolution. Form any changes made to the /etc/hosts file they are
automatically used without restarting anything or rebooting.

If you still have problems let us know.

As far as the ADSL Speedtouch it should suffice as a firewall for you.

Good luck,


--
Ken Schneider
UNIX since 1989, linux since 1994, SuSE since 1998

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages