On Oct 15, 2008, at 6:35 PM, Philip Prindeville wrote:

> Lonnie Abelbeck wrote:
>> On Oct 15, 2008, at 6:00 PM, Mark Phillips wrote:
>>
>>
>>> Now all I have to do is work out how to make a static change to the
>>> hosts file. Perhaps that could be added to the Network tab on the  
>>> UI?
>>>
>>> Mark
>>>
>>
>> If /mnt/kd/hosts exists, it is appended to the system /etc/hosts file
>> automatically.
>>
>> If /mnt/kd/hosts exists, it will be editable via the Edit tab.
>>
>> You can do a one time "touch /mnt/kd/hosts" to make this happen.
>>
>> Lonnie
>>
>
> And don't forget the STATHOSTS variable in /mnt/kd/rc.conf ...
>
> -Philip

Thanks, I did not know that...

##Static hosts for local resolver + DNSMasq
##This should be a space-seperated list of hostname and IP
##address pairs seperated by colons.  Configure as many
##as you wish
#STATHOSTS="server1:192.168.1.11 server2:192.168.1.12"

So Mark , in the Network tab, at the bottom, you can click on the  
[Edit User Config...] button in the "Advanced Configuration" section.

Then add:
STATHOSTS="server1:192.168.1.11 server2:192.168.1.12"

That is a good way of doing it, if you don't have a lot of them.

Lonnie






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to