Hi,
My piratebox bricked when I restarted id after changing the default url (piratebox.lan) in /opt/piratebox/conf/piratebox.conf
I can't connect over Wifi anymore
I can't connect over SSH anymore
I can connect with telnet, then mount_root
When I go back to /opt/piratebox, the folder appears empty
So I compared to [piratebox.cc], and wrote below in red what is missing
And here what I get :
root@(none):/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /mnt/usb type vfat (rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /mnt/ext type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
/dev/loop1 on /opt/piratebox type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
2. root@(none):/# ls -la /mnt/
drwxr-xr-x 1 root root 0 Jan 1 00:01 .
drwxr-xr-x 1 root root 0 Jan 1 00:00 ..
drwxr-xr-x 2 root root 0 Jan 1 00:01 ext
drwxr-xr-x 2 root root 0 Jan 1 00:00 usb
3. root@(none):/# ls: /mnt/usb/
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 1 root root 0 Jan 1 00:01 ..
drwxrwxrwx 5 root root 4096 Jan 1 1980 PirateBox
-rwxrwxrwx 1 root root 142205 Jun 17 2012 piratebox_ws_img.tar.gz
4. root@(none):/# ls: /mnt/usb/PirateBox: No such file or directory
Usually, there is one :-)
When I go on my USB stick when plugged to my computer, the folder is *not* empty
Any idea how I can get it to work ?
Thanks
mokas01
My piratebox bricked when I restarted id after changing the default url (piratebox.lan) in /opt/piratebox/conf/piratebox.conf
I can't connect over Wifi anymore
I can't connect over SSH anymore
I can connect with telnet, then mount_root
When I go back to /opt/piratebox, the folder appears empty
So I compared to [piratebox.cc], and wrote below in red what is missing
And here what I get :
root@(none):/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /mnt/usb type vfat (rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /mnt/ext type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
/dev/loop1 on /opt/piratebox type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
2. root@(none):/# ls -la /mnt/
drwxr-xr-x 1 root root 0 Jan 1 00:01 .
drwxr-xr-x 1 root root 0 Jan 1 00:00 ..
drwxr-xr-x 2 root root 0 Jan 1 00:01 ext
drwxr-xr-x 2 root root 0 Jan 1 00:00 usb
3. root@(none):/# ls: /mnt/usb/
drwxr-xr-x 2 root root 0 Jan 1 00:00 .
drwxr-xr-x 1 root root 0 Jan 1 00:01 ..
drwxrwxrwx 5 root root 4096 Jan 1 1980 PirateBox
-rwxrwxrwx 1 root root 142205 Jun 17 2012 piratebox_ws_img.tar.gz
4. root@(none):/# ls: /mnt/usb/PirateBox: No such file or directory
Usually, there is one :-)
When I go on my USB stick when plugged to my computer, the folder is *not* empty
Any idea how I can get it to work ?
Thanks
mokas01