Log in

Bekijk de volledige versie : DNS entries



jonasdiemer
04-07-2005, 21:40
Hi!

Is it possible to set DNS entries in the WL-500gx router? I have some LAN stations with static IPs (or dynamic IPs based on MAX addresses) that I would like to be known via the 500g's DNS server. I used to do that with my "big" linux router by simply adding those entries to /etc/hosts where dnsmasq (I dunno which dns server the 500g uses) got them.

If this is not yet possible, maybe this goes for a feature request for a custom firmware? :-)

regards

Oleg
04-07-2005, 21:51
yes, it's possible. use /usr/local/etc/hosts in the flashfs.

jonasdiemer
04-07-2005, 21:59
Thanks for the quick response.

can I simply edit that through telnet or do I have to mess with the firmware Image?

A web-Frontend option would be cool for that...

David07
05-07-2005, 00:10
In the same way can we use /usr/local/etc/passwd and /usr/local/etc/group
(for ssh accounts creation for exemple) ?

Oleg
05-07-2005, 09:18
Thanks for the quick response.

can I simply edit that through telnet or do I have to mess with the firmware Image?

A web-Frontend option would be cool for that...
telnet/ssh.

Oleg
05-07-2005, 09:19
In the same way can we use /usr/local/etc/passwd and /usr/local/etc/group
(for ssh accounts creation for exemple) ?
no, edit /etc/passwd and /etc/group directly and add them to /usr/local/.files

David07
05-07-2005, 22:47
Ok thanks, I will do that.

wtzm
06-07-2005, 14:54
BTW: If one adds multiple user accounts to /etc/passwd, wouldn't it be more secure to convert the system to use shadow passwords?