Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: Recovering by failsafe: connection lost after ~30 sec

$
0
0
This was clear to me, but what changed the IP? Perhaps a behaviour of the network manager? (I'm on Debian 7.6).

Any way, eager to look into the box, I tried with another machine. Ok with the failsafe, but the situation appears quite bad. I'm afraid the last resource is to reflash the factory firmware and then start everything again...

root@(none):/# mount_root
/sbin/mount_root: line 1: pi_include: not found
/sbin/mount_root: line 1: pi_include: not found
/sbin/mount_root: line 1: set_jffs_mp: not found
/sbin/mount_root: line 1: determine_root_device: not found
/sbin/mount_root: line 1: can't create /.extroot.md5sum: Read-only file system
switching to jffs2

root@(none):/# mount
rootfs on / type rootfs (rw)
/dev/root on / 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)

root@(none):/# ls -la /mnt/usb
ls: /mnt/usb: No such file or directory

Same story for /opt and /etc/config...

root@(none):/# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt_backports"
DISTRIB_RELEASE="12.09.2"
DISTRIB_REVISION="r40431"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt_backports Attitude Adjustment 12.09.2"
DISTRIB_BACKPORT="V0.2"

root@(none):/# dmesg | tail -n 20
[    0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.560000] mtd: partition "rootfs_data" created automatically, ofs=310000, len=E0000
[    0.560000] 0x000000310000-0x0000003f0000 : "rootfs_data"
[    0.570000] 0x0000003f0000-0x000000400000 : "art"
[    0.580000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.600000] ag71xx_mdio: probed
[    0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.170000] TCP cubic registered
[    1.170000] NET: Registered protocol family 17
[    1.170000] Bridge firewalling registered
[    1.180000] 8021q: 802.1Q VLAN Support v1.8
[    1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.200000] Freeing unused kernel memory: 216k freed
[    3.570000] Registered led device: tp-link:green:3g
[    3.570000] Registered led device: tp-link:green:wlan
[    3.570000] Registered led device: tp-link:green:lan
[    3.570000] Registered led device: tp-link:green:wps
[    6.180000] eth0: link up (100Mbps/Full duplex)
root@(none):/#

root@(none):/# ps
  PID USER       VSZ STAT COMMAND
    1 root      1636 S    {preinit} /bin/sh /etc/preinit
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0: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]
  250 root         0 SW   [kworker/0:1]
  366 root       804 S    /sbin/hotplug2 --set-worker /lib/hotplug2/worker_for
  428 root      1496 R    telnetd -l /bin/login.sh
  432 root      1488 S    lock /tmp/.failsafe
  433 root      1500 S    ash --login
  441 root      1508 S    /bin/ash --login
  460 root      1496 R    ps

Viewing all articles
Browse latest Browse all 3254

Trending Articles