Hi Volker,
On Mon, 16 Apr 2007 at 22:27 +0200, Volker Springer wrote:
> Hi there,
> 
> have FreeWRT 1.0(revision 1937) running on a WL500p. To implement and 
> configure all the desired features (like SMB, NFS, p9100, SVN,...) took me 
> while but everything worked like a charm. 
> 
> However, one day I needed to change some WLAN-settings.
> When I tried to become root (su -) the command failed with
> "su: This applet requires root priviledges!"
> 
> Obviously the message should be expected as there is no SUID bit 
> for /bin/busybox ANYMORE!! (it must have been); and -even worse- the program 
> belongs to nobody.nogroup now.

Hmm, very strange. Are you sure you haven't updated with a corrupt
image?
 
> How can this happen? Was my Flash memory corrupted?
> SMB shares as nobody.nogroup, can there be a link (shouldn't, I know!)?
> And how can I cure the file? 
> Is someone out there who had a similar problem?
> 
> I assume I will have to use Failsafe-Mode and flash a new image?
> Or is there a smarter way to repair my system?

Just go into failsafe, mount_root && fwcf setup && chown 0:0
/bin/busybox && chmod u+s /bin/busybox && reboot 
 
> Just to repeat:
> ls -l /bin/busybox
> -rwxr-xr-x    1 nobody   nogroup    818584 Mar 27 00:02 /bin/busybox
> ls -l /rom/bin/busybox
> -rwsr-xr-x    1 root     root       818584 Feb 16 14:21 busybox
> ls -l /rom/jffs/bin/busybox
> -rwxr-xr-x    1 nobody   nogroup    818584 Mar 27 00:02 /rom/jffs/bin/busybox
> 
> Any comments are gladly appreciated!

Normally this happens if you flash a bad image, where the busybox is
not corrected. This should never happen with a 1.0 svn checkout or
release and I have never seen it in 1.0.

bye
        Waldemar
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to