Weird, problem solved by echo wl500g > /proc/sys/kernel/hostname
and then appying and saving settings in the webinterface!!
dont know if this is of any help for somebody...
Cheers,
Rainer
Hi
I had samba running fine in olegs custom firmware 1.7.5.9CR3
Now I have upgraded to 1.9.2.7-4. I have set hostname in the webinterface but when I ssh into the asus then I newer see the hostname like before admin@wl500g
now I have admin@x1-6-00-0e-a6-b7-e8-1f !!!!
and thus cat /var/log/smb gives me unknown hostname!
what can I do? also cat etc/hosts shows me the hostname set for 127.0.0.1 (localhost) and 192.168.1.1 (wl500g)
echo wl500g > /proc/sys/kernel/hostname
doesn't help either, after flashfs save && flashfs commit its not saved....
Cheers,
Rainer
Last edited by rdk; 21-03-2005 at 21:01.
Weird, problem solved by echo wl500g > /proc/sys/kernel/hostname
and then appying and saving settings in the webinterface!!
dont know if this is of any help for somebody...
Cheers,
Rainer
It just did! ;-)
Hi, before I uppgraded to the 1.9.2.7-5a firmware, I tried to add this line
to my post-boot sript, but it did not work (host name did not assigned) (the command worked when I used it manually) - any idea why (I am a very fresh newbie to scipting stuff)Code:wl500g > /proc/sys/kernel/hostname
the script looked like this:
- I used this link: http://wiki.wl500g.info/index.php/ho...CR4%20firmware to make it up.Code:#!/bin/sh /usr/sbin/smbd -D /usr/sbin/nmbd -D echo wl500g > /proc/sys/kernel/hostname
This is no longer required with -5a.
yes, I know, I am running 5a, I was just curious why it did not work;-).