Broadband-Hamnet™ Forum :: Developer's Forum
Welcome Guest   [Register]  [Login]
 Subject :Move OS to USB in release version 3 series on WRT54G.. 2015-05-28- 13:52:44 
AF7EF
Member
Joined: 2013-11-12- 07:03:28
Posts: 2
Location: Pima, AZ

Greeting, I have numerous wrt54g routers that I did K5KTF's USB mod on; they all performed flawlessly in version 1 then I upgraded to release version 3.1. I have followed the same steps of getting the USB sticks recognized then moved the OS over to the sticks using K5KTF's instructions on this board at http://www.broadband-hamnet.org/applications-for-the-mesh/116-move-os-to-usb-storage.html everything seems to work accept name resolution. I can access the node and other mesh nodes using IP, but not by node names when ethernet connected to the node with the OS moved to usb. I can however access the node with os on usb from other nodes using it's name and even go through it to other mesh nodes by name when I have accessed the questionable node from another node. I have looked all over for differences but can't seem to find what the problem is. Any help would be greatly appreciated. I created the following file /etc/init.d/mountusb and it's startup in /etc/rc.d

#!/bin/sh /etc/rc.common EXTERNAL_PARTITION=/dev/scsi/host0/bus0/target0/lun0/part2

START=41

start () { echo "loading USB and ext2 modules"

for module in usbcore usb-ohci uhci ehci-hcd scsi_mod sd_mod usb-storage jbd ext2; do

insmod $module

done

sleep 2s

[ "$FAILSAFE" != "true" ] && [ -b $EXTERNAL_PARTITION ] && {

mount $EXTERNAL_PARTITION /mnt/root

[ -x /mnt/root/sbin/init ] && {

mount -o move /proc /mnt/root/proc && \ pivot_root /mnt/root /mnt/root/mnt/openwrt && {

mount -o move /mnt/openwrt/dev /dev

mount -o move /mnt/openwrt/tmp /tmp swapon /dev/scsi/host0/bus0/target0/lun0/part1

}

}

}

}

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




Also here is the results of the CLI 'mount' command

root@AF7EF-2:/etc/rc.d#

mount rootfs on / type rootfs (rw)

/dev/root on /mnt/openwrt/rom type squashfs (ro)

none on /dev type devfs (rw)

none on /proc type proc (rw)

none on /tmp type tmpfs (rw,nosuid,nodev)

none on /dev/pts type devpts (rw)

/dev/mtdblock/4 on /mnt/openwrt/jffs type jffs2 (rw)

mini_fo:/jffs on /mnt/openwrt type mini_fo (rw)

none on /proc/bus/usb type usbfs (rw)

/dev/scsi/host0/bus0/target0/lun0/part2 on / type ext2 (rw)

-------end

Thanks in advance

73

Dan ~ AF7EF

IP Logged
Last Edited On: 2015-05-28- 15:40:50 By AF7EF for the Reason
 Subject :Re:Move OS to USB in release version 3 series on WRT54G.. 2015-05-28- 15:29:00 
AF7EF
Member
Joined: 2013-11-12- 07:03:28
Posts: 2
Location: Pima, AZ


IP Logged
Last Edited On: 2015-05-28- 15:52:26 By AF7EF for the Reason
Page # 


Powered by ccBoard


SPONSORED AD: