[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Re: IP address via DHCP
Richard Ibbotson wrote:
>> but instead it was set to just pc-62-31-17-212-sh which isn't much
>> use as an IP address though it did give me the information I
>> wanted. On the same theme, how do I change the hostname to
>> something other than "linux"?
>
> If this is SuSE 7.2 then all you have to do is change the
> configuration file with YaST. Nothing more than that.
>
> Open up YaST and look for the part of the menu that mentions the
> config file. Then select start DHCP and that's it.
sorry, I didn't make myself very clear. DHCP was working fine, behind
the scenes. It did it so well, I didn't even realise what IP address it
had assigned. this made it difficult to telnet and ftp to my machine
externally. All I really needed to do is to find a way of automatically
emailing myself at work at boot time with the new IP address so I can
access my machine from work. So now I know how to find the new IP
address (with ifconfig) and I know how to mail it to myself (with mail
and a pipe), but I still don't know how to do that automatically at boot
time. Any help much appreciated!
Matt.
--
------------------------------------------------
| Matt Fairtlough |
| 22 Harley Road |
| Sheffield S11 9SE UK tel. 0114 236 2067 |
------------------------------------------------
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.