You can try to switch usb mode by using the binaries present in the firmware.
Be sure no disk image is mounted.
This will be the case if you reboot and the file /share/1000/disk.image.1 is not present
Rename your XFS formatted disk image from /share/1000/disk.image.1 to /share/1000/disk.image.2
- Code: Select all
mv /share/1000/disk.image.1 /share/1000/disk.image.2
and perform a reboot
Now the webinterface will show that no disk image was found so nothing is mounted.
Now access the nwsp2 with Putty and give the command
- Code: Select all
/usr/sbin/switchusb device 2
This command will switch the nwsp2 to device mode when it finds the file /share/1000/disk.image.2 and connect this image file to the back side usb port.
To switch back to usb host mode use
- Code: Select all
/usr/sbin/switchusb host
ps just after boot the nwsp2 will be default in host mode (front side usb port) when no disk image is present.
Edit--- addition
if a disk image is present with name /share/1000/disk.image.1 then the autoswitch daemon will be activated at boot. If the image is not found then autoswitch daemon will not be started.