Show Posts
|
|
Pages: [1] 2 3
|
|
2
|
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible / Firmware / Re: MGB100_400S08-no777
|
on: July 20, 2008, 00:27:20 AM
|
|
Hi Schufti, I see your concern for backwards compatibility, but I think the severity of this bug trumps that. Even without trying to install an OS on a disk, I'd be upset if a device silently wiped all the permissions on it. Also, any users who manage to install a customised firmware in the first place and who then connect an ext2 disk are almost certainly capable of dealing with Unix file permissions themselves.
Besides, doesn't everything run as root anyway, thereby ensuring access no matter the file permissions? Otherwise, is there a way to automount partitions in such a way that permissions are ignored without actually wiping them on disk?
|
|
|
|
|
3
|
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible / Firmware / MGB100_400S08-no777
|
on: July 19, 2008, 22:47:58 PM
|
After two unsuccessful attempts to install Debian on an internal disk on a Safecom SWSAPUR, I eventually found the reason for it: all file permissions on the disk had been changed to 777, i.e. full access for everyone, and sshd refused to work with a world-readable host key file. I eventually tracked it down to the firmware: hotplug.sh executes a 'chmod -R 777' for any ext2/3 disk you attach to it! Short of wiping the disk (which the firmware occasionally did with ext3 partitions in previous versions) modifying it silently is about as bad a thing as an NAS device can do. What were Amit thinking there? Surely anyone who'd attach an ext2 disk would know to set the permissions as needed for sharing?! Anyway, to fix that I downloaded Schufti's source for the 400s08 firmware version (MGB100schufti08.tar.bz2). Once I got it to build I removed those braindead chmod lines from hotplug.sh and rebuilt, which resulted in the attached firmware. (It's not really gzipped, but I renamed it to .gz because the forum software only allows certain file endings. Hence gunzipping it will fail. You might want to rename it to .img or .upg, although the firmware updater doesn't care anyway.) Schufti, could you patch that bug/misfeature in future updates of your firmware? ps: Anyone looking for a firmware build environment on Windows might want to take a look at andLinux, which is a Ubuntu based on a coLinux kernel that runs as a Windows app, which means that no VMWare or some such is needed. Additional packages can be installed as usual, through apt-get or synaptic from the standard Ubuntu repositories. Great stuff.
|
|
|
|
|
5
|
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible / Firmware / Re: tmpfs won't mount
|
on: January 13, 2008, 09:12:16 AM
|
Sorry for being so unspecific. I'm currently using your S06 image, but I'd previously tried it unsuccessfully with previous firmwares as well. (I'm trying to make the box more quiet by reducing disk activity.) Do you know why tmpfs appears in /proc/filesystems even though it isn't compiled in? It's not part of the modules package that pagano had previously posted either. I guess I need to install the toolchain and kernel sources to compile the module then. Unless you could find a spare moment ...  . Actually, it would be great if could just compile anything that might possibly be of use on the box as modules and post an updated modules package that goes with kernel 2.4.36.
|
|
|
|
|
8
|
SMC EZ Connect Storage (SMCWAPS-G), Micronica MGB100 Wi-Fi Hard Disk, Level One WAP-0007 and compatible / Firmware / Re: USB2.0 flash stick problems?
|
on: January 11, 2008, 06:49:43 AM
|
|
Hi Schufti,
I'd seen those reports in c't, but the sticks were from Sandisk and LG, so they shouldn't be that dodgy one would hope. In any case, they worked fine on the PC, both under Windows and Linux, so perhaps it's some sort of incompatibility with the host controller on the box?
What make and model are you using?
|
|
|
|
|