On Wed, 3 Nov 1999, Tima Vaisburd wrote:
>
> Axalon Bloodstone <[EMAIL PROTECTED]> wrote:
>
> > > > > "localhost.localdomain" - server domain must exist
>
> <skip>
>
> > inform sendmail that you have a new hostname when your ppp connection
> > comes up.
>
>
> > echo "/etc/rc.d/init.d/sendmail restart" >> /etc/ppp/ip-up.local
> > chmod +x /etc/ppp/ip-up.local
>
> Hi Axalon, thank you for prompt responce.
>
> Sorry my stupidity/ignorancy/sheer lunacy/whatever,
> but do I (or should I) have a new hostname when ppp connection established?
> What is this name? What part of software and when sets it?
>
> I remember that when I got PPP connection as done in /etc/ppp/ppp-on example
> script, 'hostname' returned the same "localhost.localdomain" even after
> the connection comes up. I'll check it again.
>
> If something indeed changes the hostname, it would be even more strange,
> since my own attempt to do this by hand, e.g.
>
> echo hostname mail.inter.net.il" >> /etc/ppp/ip-up.local
>
> just broke X11 authorization mechanism - no new X apps, kfm could not
> open browser widget, and the like.
>
> Tima.
>
*sigh* I had forgotten that.
X needs restarted when you change the hostname (only work around i know
is with xauth, thats secure that is) You can try adding it as an alias for
127.0.0.1 in etc/hosts but i've also forgotten the exactly howto make that
work (specificly wether it works or not), as i've had a dedicated
connection long before i had the cablemodem
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon