Change hostid
Stelios A.
linux at climbincrete.com
Tue Feb 20 17:11:56 EET 2007
Akuro to euro.
An to psaxnei kai kapoios alos edo einai i lusi:
#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[])
{
if(argc < 2)
{
fprintf(stderr,"Usage:%s <hostid>\n",argv[0]);
return 1;
}
sethostid(
strtoul(argv[1],NULL,16) );
return 0;
}
> Stelios A. wrote:
>> Kalispera,
>>
>> Gnorizei kapoios pos mporo na alakso to hostid (oxi to hostname) se ena
>> mixanima?
>
> Fysika.
>
> 8a sas kostisei mono to 10% tou kostous ths arxikhs adeias.
>
>
> --
> Christos Ricudis ricudis at itc.auth.gr
> Systems Administrator +30-2310-998656
> IT Support Center
> Aristotle University of Thessaloniki, GREECE
>
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr
--
Stelios Asmargianakis
www.climbincrete.com
More information about the Linux-greek-users
mailing list