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

Re: mr3040 bootloop / USB not mounting (SOLVED)

$
0
0
Ok so it seems that the problem was two fold 1) some usb sticks just were not mounted so you could ssh but you could not actually connect to the usb in anyway 2) others would cause the router to go into a reboot loop you could notice that every few min all leds would go on and it would reboot in this case you could ssh but the connection would be reset very fast and in effect you could not stop the reboot.

I found the problem using ... tail -f /var/log/messages ... it gives you a view on the install and shows you potential problems

Here below a few commands I used that could come in useful


To make clean

Do reset turn Mr 3040 on wait 5 seconds and press 3 seconds reset button

Then set static ip on computer to 192.168.1.2 / 255.255.255.0

ssh root@192.168.1.1

mtd -r erase rootfs_data

____________________________________________________________________

To move Openwrt file to router and flash it

cd Downloads
sudo scp *.bin root@192.168.1.1:/tmp/

cd /tmp
mtd -r write openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin firmware

_____________________________________________________________________


ssh-keygen -R 192.168.1.1

_____________________________________________________________________
To connect PB to your network

vi /etc/config/network

type i to start edit and shift zz to save

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 'ip in Ip range of router'
option netmask '255.255.255.0'
option gateway 'ip of gateway router'
list dns 'ip of gateway router'
list dns '8.8.8.8'

cd /tmp

wget [stable.openwrt.piratebox.de]

mtd write -r openwrt.piratebox.de/auto/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin firmware

----------------------------------------------------------------------------------------------------

to follow install

tail -f /var/log/messages

Viewing all articles
Browse latest Browse all 3254

Trending Articles