MR3020 issue when installing PirateBox 1.0

Posted by janolap1 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
MR3020 issue when installing PirateBox 1.0
July 10, 2014 04:12PM
Hi,

I've just bought a MR3020 to test the PirateBox 1.0 system.
But I've got a problem !

Here's what I did and the problem I encounter :
- I have plugged a 8Gb usb key with the install directory in it
- I browsed to 192.168.0.254(in 3G mode) and did a firmware update (the firmware is the good one : openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin)
- The router restarts but after waiting a couple of minutes, something seems to go wrong : the router reboot every 20 seconds.
- So I decided to unpower the router an look inside the content of my usb key. I've found that it was NTFS formatted. So I formatted it to FAT32 and plugged it again to the router.
- After powering it up and waiting a few minutes (15 minutes), the lights were stables and I decided to try the telnet, witout success because there was no route to host.
- So I decided to unplug the usb key and look inside it's content. The log show me that the key was too small (no space letf on the device).
- I'm currently trying with a 32Gb usb key, but it still the same : after rebooting and waiting a long time, I can't access to the router (192.168.1.1) using telnet. Windows tries to get an ip address but can't. Inside the install.log this is what I get : http://pastebin.com/FeNdj9wZ. What I see is that there is no space on the device... but I'm surely missing something...

The access point "PirateBox : Share freely" is shown and my android phone, but I can't access it : alway trying to get an IP address.

What should I do ?

Cordially

Jean
Re: MR3020 issue when installing PirateBox 1.0
July 10, 2014 07:33PM
Okay, I'm responding to myself.
I am under Windows XP, so here is what I did to connect via telnet :
- Go to network properties, go to TCP-IP properties, and choose use this IP address : 192.168.1.2, network mask : 255.255.255.0 and default gateway : 192.168.1.1 . Set DNS to 192.168.1.1, and I can connect via telnet.

But I always got the same issue : the disk is "full". Here is the df command :
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                     896       828        68  92% /
/dev/root                 2048      2048         0 100% /rom
tmpfs                    14588        64     14524   0% /tmp
tmpfs                      512         0       512   0% /dev
/dev/mtdblock3             896       828        68  92% /overlay
overlayfs:/overlay         896       828        68  92% /
/dev/sda1             31250016     11904  31238112   0% /mnt/usb
So I can't even do a passwd command to write to the disk : no space left on device...

My MR3020 is not connect to the web, only to my PC using a rj45 cable (and I only have one network card on my PC).

What can I do ?

Thank you in advance...

Jean
Re: MR3020 issue when installing PirateBox 1.0
July 10, 2014 08:48PM
Working on this problem...

I followed the instructions on : http://piratebox.cc/openwrt:reflash_with_usb without going into failsafe mode (I thought I don't have to press the WPS button in my case).

So I have copied the firmware on the usb key, plugged the usb key into the router and write the firmware on it.

This time, after reboot, the df command gave something better :
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  896.0K    216.0K    680.0K  24% /
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    14.2M      9.1M      5.1M  64% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mtdblock3          896.0K    216.0K    680.0K  24% /overlay
overlayfs:/overlay      896.0K    216.0K    680.0K  24% /
/dev/sda1                29.8G    158.9M     29.6G   1% /mnt/usb
/dev/loop0               98.2M     28.4M     64.9M  30% /mnt/ext

and this time I could do the passwd command and access via ssh.
thumbs up

But trying to do the post install stopped me immediatly because the /opt/piratebox/www/board/config.pl was empty.
confused smiley

I think it's anormal, so I have deleted install.log from the usb key and rebooted the router with the usb key plugged. Now the wps light is flashing and I'm waiting. I can access via ssh and the process list is :
 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]
   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]
  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]
  484 root         0 SW   [kworker/u:2]
  506 root      1536 S    {rcS} /bin/sh /etc/init.d/rcS S boot
  507 root      1504 S    init
  508 root      1536 S    {rcS} /bin/sh /etc/init.d/rcS S boot
  509 root      1496 S    logger -s -p 6 -t sysinit
  541 root         0 SW<  [cfg80211]
  615 root         0 SW<  [bat_events]
  642 root      1508 S    /sbin/syslogd -C16
  644 root      1488 S    /sbin/klogd
  646 root       872 S    /sbin/hotplug2 --override --persistent --set-rules-file /etc/hotplug2.rules --set-coldplug-cmd /sbin/udevtrigger --max-children 1
  654 root       872 S    /sbin/ubusd
  726 root         0 DW<  [loop0]
  731 root         0 DW   [jbd2/loop0-8]
  732 root         0 SW<  [ext4-dio-unwrit]
  737 root      1468 S    /sbin/netifd
  940 root         0 SW   [flush-8:0]
  942 root         0 DW   [flush-7:0]
 1200 root      1152 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1337 root      1500 S    /sbin/watchdog -t 5 /dev/watchdog
 1401 nobody     956 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
 1403 root      1540 S    {S95done} /bin/sh /etc/rc.common /etc/rc.d/S95done boot
 1404 root      1496 S    sh /etc/rc.local
 1405 root      1500 S    {box_installer_s} /bin/sh /bin/box_installer_start.sh
 1407 root      1492 S    syslogd -n -L -R 192.168.1.2:9999
 1408 root      1512 S    {box_installer.s} /bin/sh /bin/box_installer.sh
 1409 root      1496 S    logger
 1423 root      3764 D    opkg --cache /mnt/usb/install/cache -d ext install extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna
 1724 root      1216 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1767 root      1520 S    -ash
 1880 root      3800 S    opkg --cache /mnt/usb/install/cache -d ext install extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna
 1881 root      3804 S    opkg --cache /mnt/usb/install/cache -d ext install extendRoot-piratebox piratebox-mod-imageboard extendRoot-minidlna
 1914 root      1496 R    ps

Maybe it's installing... or not...

I'm going to sleep and will see tomorrow morning what happened.

If you have some ideas...

Jean
Re: MR3020 issue when installing PirateBox 1.0
July 10, 2014 09:21PM
After minutes of wait, it's alive !
hot smiley
Re: MR3020 issue when installing PirateBox 1.0
July 16, 2014 06:05PM
Good work Jean smiling smiley

I'm glad you solved it.


This is only my signature.
Re: MR3020 issue when installing PirateBox 1.0
July 18, 2014 06:05PM
Awesome thread! Nice work smileys with beer