Hi guys,
i think i f***ed my installation and only installed OpenWRT with out the Piratebox.
I downloaded the custom openwrt.bin, but renamed my zip extraced to install, instead of install_...
I can connect via ssh and changed the root password.
After i noticed that i can't run any installation order, I tried to use the Upgrade PirateBox guid to install the firmewire.
But after I set mkdir /mnt/usb/, i tried to mount with uuid /mnt/usb but failed, with access denied.
I hope you can help me.
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,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
ls -la /mnt/
drwxr-xr-x 1 root root 0 Jan 1 00:09 .
drwxr-xr-x 1 root root 0 Jan 1 00:00 ..
drwxr-xr-x 2 root root 0 Jan 1 00:09 usb
ls -la /mnt/usb
drwxr-xr-x 2 root root 0 Jan 1 00:09 .
drwxr-xr-x 1 root root 0 Jan 1 00:09 ..
ls -la /mnt/usb/Piratebox
ls: /mnt/usb/Piratebox: No such file or directory
ls -la /opt/Piratebox
ls: /opt/Piratebox: No such file or directory
ls -la /opt/Piratebox/www
ls: /opt/Piratebox/www: No such file or directory
cat /opt/piratebox/version
cat: can't open '/opt/piratebox/version': No such file or directory
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
cat /etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 11
option hwmode 11ng
option macaddr e8:de:27:74:83:10
option htmode HT20
list ht_capab SHORT-GI-20
list ht_capab SHORT-GI-40
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
ps
PID USER VSZ STAT COMMAND
1 root 1504 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW [kworker/u:0]
6 root 0 SW< [khelper]
7 root 0 SW [kworker/u:1]
63 root 0 SW [sync_supers]
65 root 0 SW [bdi-default]
67 root 0 SW< [kblockd]
96 root 0 SW [kswapd0]
144 root 0 SW [fsnotify_mark]
173 root 0 SW< [ath79-spi]
184 root 0 SW [mtdblock0]
189 root 0 SW [mtdblock1]
194 root 0 SW [mtdblock2]
199 root 0 SW [mtdblock3]
204 root 0 SW [mtdblock4]
209 root 0 SW [mtdblock5]
442 root 0 SWN [jffs2_gcd_mtd3]
472 root 0 SW [khubd]
481 root 0 SW [scsi_eh_0]
482 root 0 SW [usb-storage]
483 root 0 SW [kworker/0:2]
501 root 1536 S {rcS} /bin/sh /etc/init.d/rcS S boot
502 root 1504 S init
503 root 1536 S {rcS} /bin/sh /etc/init.d/rcS S boot
505 root 1496 S logger -s -p 6 -t sysinit
537 root 0 SW< [cfg80211]
611 root 0 SW< [bat_events]
638 root 1508 S /sbin/syslogd -C16
640 root 1488 S /sbin/klogd
642 root 868 S /sbin/hotplug2 --override --persistent --set-rules-f
650 root 872 S /sbin/ubusd
673 root 1468 S /sbin/netifd
1065 root 1152 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1163 root 1500 S /sbin/watchdog -t 5 /dev/watchdog
1215 nobody 956 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
1217 root 1540 S {S95done} /bin/sh /etc/rc.common /etc/rc.d/S95done b
1218 root 1496 S sh /etc/rc.local
1219 root 1500 S {box_installer_s} /bin/sh /bin/box_installer_start.s
1223 root 1492 S syslogd -n -L -R 192.168.1.2:9999
1224 root 1512 S {box_installer.s} /bin/sh /bin/box_installer.sh
1225 root 1496 S logger
1233 root 1564 S {ext} /bin/sh /etc/rc.common /etc/init.d/ext init
1409 root 1220 R /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1425 root 1504 S -ash
1908 root 0 SW [kworker/0:1]
2495 root 1488 S sleep 1
2496 root 1496 R ps
Best regards
Kdax
i think i f***ed my installation and only installed OpenWRT with out the Piratebox.
I downloaded the custom openwrt.bin, but renamed my zip extraced to install, instead of install_...
I can connect via ssh and changed the root password.
After i noticed that i can't run any installation order, I tried to use the Upgrade PirateBox guid to install the firmewire.
But after I set mkdir /mnt/usb/, i tried to mount with uuid /mnt/usb but failed, with access denied.
I hope you can help me.
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,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
ls -la /mnt/
drwxr-xr-x 1 root root 0 Jan 1 00:09 .
drwxr-xr-x 1 root root 0 Jan 1 00:00 ..
drwxr-xr-x 2 root root 0 Jan 1 00:09 usb
ls -la /mnt/usb
drwxr-xr-x 2 root root 0 Jan 1 00:09 .
drwxr-xr-x 1 root root 0 Jan 1 00:09 ..
ls -la /mnt/usb/Piratebox
ls: /mnt/usb/Piratebox: No such file or directory
ls -la /opt/Piratebox
ls: /opt/Piratebox: No such file or directory
ls -la /opt/Piratebox/www
ls: /opt/Piratebox/www: No such file or directory
cat /opt/piratebox/version
cat: can't open '/opt/piratebox/version': No such file or directory
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
cat /etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 11
option hwmode 11ng
option macaddr e8:de:27:74:83:10
option htmode HT20
list ht_capab SHORT-GI-20
list ht_capab SHORT-GI-40
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
ps
PID USER VSZ STAT COMMAND
1 root 1504 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
5 root 0 SW [kworker/u:0]
6 root 0 SW< [khelper]
7 root 0 SW [kworker/u:1]
63 root 0 SW [sync_supers]
65 root 0 SW [bdi-default]
67 root 0 SW< [kblockd]
96 root 0 SW [kswapd0]
144 root 0 SW [fsnotify_mark]
173 root 0 SW< [ath79-spi]
184 root 0 SW [mtdblock0]
189 root 0 SW [mtdblock1]
194 root 0 SW [mtdblock2]
199 root 0 SW [mtdblock3]
204 root 0 SW [mtdblock4]
209 root 0 SW [mtdblock5]
442 root 0 SWN [jffs2_gcd_mtd3]
472 root 0 SW [khubd]
481 root 0 SW [scsi_eh_0]
482 root 0 SW [usb-storage]
483 root 0 SW [kworker/0:2]
501 root 1536 S {rcS} /bin/sh /etc/init.d/rcS S boot
502 root 1504 S init
503 root 1536 S {rcS} /bin/sh /etc/init.d/rcS S boot
505 root 1496 S logger -s -p 6 -t sysinit
537 root 0 SW< [cfg80211]
611 root 0 SW< [bat_events]
638 root 1508 S /sbin/syslogd -C16
640 root 1488 S /sbin/klogd
642 root 868 S /sbin/hotplug2 --override --persistent --set-rules-f
650 root 872 S /sbin/ubusd
673 root 1468 S /sbin/netifd
1065 root 1152 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1163 root 1500 S /sbin/watchdog -t 5 /dev/watchdog
1215 nobody 956 S /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
1217 root 1540 S {S95done} /bin/sh /etc/rc.common /etc/rc.d/S95done b
1218 root 1496 S sh /etc/rc.local
1219 root 1500 S {box_installer_s} /bin/sh /bin/box_installer_start.s
1223 root 1492 S syslogd -n -L -R 192.168.1.2:9999
1224 root 1512 S {box_installer.s} /bin/sh /bin/box_installer.sh
1225 root 1496 S logger
1233 root 1564 S {ext} /bin/sh /etc/rc.common /etc/init.d/ext init
1409 root 1220 R /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1425 root 1504 S -ash
1908 root 0 SW [kworker/0:1]
2495 root 1488 S sleep 1
2496 root 1496 R ps
Best regards
Kdax