Re: Nicknames for my Hostname

2002-05-07 Thread Eliran
I just rebooted and the change was working, perhaps because I set it on /etc/sysconfig/network like nadav said ? BTW I run RH7.1 On Tue, May 07, 2002 at 08:04:34PM +0300, Muli Ben-Yehuda wrote: > On Tue, May 07, 2002 at 07:10:00PM +0300, Amir Tal wrote: > > > The effect of the "hostname" command

Re: Nicknames for my Hostname

2002-05-07 Thread Muli Ben-Yehuda
On Tue, May 07, 2002 at 07:10:00PM +0300, Amir Tal wrote: > > The effect of the "hostname" command will only last until the next reboot, > > where the init scripts will set the name "localhost" for him - I assume > > that's not what he wants. This will happen at least in RedHat, and I would > > gu

Re: Nicknames for my Hostname

2002-05-07 Thread Oleg Goldshmidt
Eliran <[EMAIL PROTECTED]> writes: > 127.0.0.1 eliran localhost.localdomain localhost There are claims that some stupid network apps do not work if the loopback address is mapped to a name other than localhost.localdomain. The /etc/host that comes with RH systems has a comment to t

Re: Nicknames for my Hostname

2002-05-07 Thread Christoph Bugel
> The effect of the "hostname" command will only last until the next reboot, > where the init scripts will set the name "localhost" for him - I assume > that's not what he wants. This will happen at least in RedHat, and I would > guess in most other distributions. Correct! from slackware /etc/rc.

Re: Nicknames for my Hostname

2002-05-07 Thread Eliran
think he actually meant that after you reboot the change dissapear. > > no, "he" didnt. > > > > > On Tue, May 07, 2002 at 07:01:19PM +0300, Amir Tal wrote: > > > On Tuesday 07 May 2002 18:38, you wrote: > > > > On Tue, May 07, 2002, Amir Tal wrote a

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > > > > However, the effect of the "hostname" command is only until the > > > > > next reboot. > > > > > > > > not 100% correct. logout and login are enough, at l

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 19:08, Nadav Har'El wrote: > On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > after "hostname nadav.look.at.this" the hostname DID change, and it will > > stay that way until the next time it will be cha

Re: Nicknames for my Hostname

2002-05-07 Thread Eliran
I think he actually meant that after you reboot the change dissapear. On Tue, May 07, 2002 at 07:01:19PM +0300, Amir Tal wrote: > On Tuesday 07 May 2002 18:38, you wrote: > > On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > > > Howev

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 19:01, Nadav Har'El wrote: > On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > change your hostname to eliran by typing "hostname eliran" > > they type "hostname" to see the new name. logout, l

Re: Nicknames for my Hostname

2002-05-07 Thread Nadav Har'El
On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > after "hostname nadav.look.at.this" the hostname DID change, and it will stay > that way until the next time it will be changed. reboot will NOT set it back > to localhost. Did you actual

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 18:38, you wrote: > On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > > However, the effect of the "hostname" command is only until the next > > > reboot. > > > > not 100% correct. l

Re: Nicknames for my Hostname

2002-05-07 Thread Nadav Har'El
On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > change your hostname to eliran by typing "hostname eliran" > they type "hostname" to see the new name. logout, login and you are all set. > tal. No. I don't understand why

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 18:28, Eliran wrote: > Thanks both, it works. > > I though I have to buy a domain for it. good god, no ! you can try some free domain services for your host. check out www.dynip.com and www.dyndns.org . there are more, but these 2 are the most common one's. tal. > > than

Re: Nicknames for my Hostname

2002-05-07 Thread Nadav Har'El
On Tue, May 07, 2002, Amir Tal wrote about "Re: Nicknames for my Hostname": > > However, the effect of the "hostname" command is only until the next > > reboot. > > not 100% correct. logout and login are enough, at least for mandrake and > redhat.

Re: Nicknames for my Hostname

2002-05-07 Thread Eliran
Thanks both, it works. I though I have to buy a domain for it. thanks. On Tue, May 07, 2002 at 06:26:58PM +0300, Amir Tal wrote: > On Tuesday 07 May 2002 18:05, you wrote: > > Hello group! > > > > I am trying to add another nickname for 127.0.0.1 which I want to be called > > 'eliran', pinging

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 18:17, you wrote: > On Tue, May 07, 2002, Eliran wrote about "Nicknames for my Hostname": > > 'eliran', pinging 'eliran' (ping eliran) works fine but why does the > > shell bash keeps telling me it's 'localhost' (I

Re: Nicknames for my Hostname

2002-05-07 Thread Amir Tal
On Tuesday 07 May 2002 18:05, you wrote: > Hello group! > > I am trying to add another nickname for 127.0.0.1 which I want to be called > 'eliran', pinging 'eliran' (ping eliran) works fine but why does the shell > bash keeps telling me it's 'localhost' (I set PS1="\h\$ " but it still > keeps show

Re: Nicknames for my Hostname

2002-05-07 Thread Nadav Har'El
On Tue, May 07, 2002, Eliran wrote about "Nicknames for my Hostname": > 'eliran', pinging 'eliran' (ping eliran) works fine but why does the shell bash >keeps telling me it's 'localhost' (I set PS1="\h\$ " but it still keeps >

Nicknames for my Hostname

2002-05-07 Thread Eliran
Hello group! I am trying to add another nickname for 127.0.0.1 which I want to be called 'eliran', pinging 'eliran' (ping eliran) works fine but why does the shell bash keeps telling me it's 'localhost' (I set PS1="\h\$ " but it still keeps showing me localhost). Here is my /etc/hosts after ad