et wrote:

I think Ronnie hit the nail on the head tho, if the /etc/hosts file is
correctly filed in, the box will/should in default config look to hosts
file before it looks to DNS and since the local router will most likely
give the same IP to the same MAC address when all the boxes are up, it
should work. it may be the '@' part he is failing at. I use fish around
here some times, works about like windo$ 'map network drive' with the
only shortcoming is on my box I still can not scp anything larger than 2
gigs. (so I can not copy a dvd ISO) fish is a KDE _only_ front-end gui
for ssh/scp. maybe the OP can let us know what happens now.



et <[EMAIL PROTECTED]>

It will assign the same IP address based on the MAC address if one
of these are true:

1. The lease has not expired on the IP address. When you boot the
   box, it will treat the DHCP request like a renewal request.
2. You have a fixed IP address assigned to the MAC address. I do not
   know if the DHCP server in the router supports this.
3. You boot the boxes in the same order, or only have one box shut
   down at a time.

Chances are, putting entries in /etc/hosts will work fine. But if
for some reason you have both boxes and the router down at the
same time, (Power outage, relocation, etc...) you may have problems.
As long as you are aware of the problem, it is safe to go this
route. Just make a note someware that if using host names fails,
that you need to check the /etc/hosts files to make sure the IP
address still matches.

Having @ in a host name will cause problems. It is used in too many
commands to separate the host name from ether the user name, or in
the case of dig, the name server name. It also breaks the rules for
domain names. For example:

scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
    [-l limit] [-o ssh_option] [-P port] [-S program]
    [EMAIL PROTECTED]:]file1 [...] [EMAIL PROTECTED]:]file2

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to