WRT600N & USB Storage

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
dem1an
DD-WRT Novice


Joined: 23 Nov 2008
Posts: 4

PostPosted: Sun Nov 23, 2008 1:01    Post subject: WRT600N & USB Storage Reply with quote
I upgraded today to try to improve my wireless signal. It seems to be better. I installed DD-WRT v24-sp1 (07/27/08) mini - build 10011. I've been wanting to add some USB storage to my router and it looks like I need the mega build to support a USB drive. Is this a fairly straight forward configuration? Is there a good thread for how to do this?

Also, is anyone bumping up their TX power? I just noticed my signal dropped to "low"; although, it seems to be staying up at "good" or "very good" much more consistently after the fw upgrade.
Sponsor
dem1an
DD-WRT Novice


Joined: 23 Nov 2008
Posts: 4

PostPosted: Tue Nov 25, 2008 23:55    Post subject: Reply with quote
Any advice on this? Thanks!
snake98
DD-WRT User


Joined: 18 Jun 2008
Posts: 90

PostPosted: Wed Nov 26, 2008 0:36    Post subject: Re: WRT600N & USB Storage Reply with quote
dem1an wrote:
I upgraded today to try to improve my wireless signal. It seems to be better. I installed DD-WRT v24-sp1 (07/27/0Cool mini - build 10011. I've been wanting to add some USB storage to my router and it looks like I need the mega build to support a USB drive. Is this a fairly straight forward configuration? Is there a good thread for how to do this?

Also, is anyone bumping up their TX power? I just noticed my signal dropped to "low"; although, it seems to be staying up at "good" or "very good" much more consistently after the fw upgrade.


You can't use the built in script, it will fail a lot, instead here is my startup script, it will get you going in the right direction.

Code:

cat usb-drive
#!/bin/sh
check='/tmp/jffs.log'
if [ -d $check ]; then
# keeps the startup script from running more than #once, on the wrt600n it wants to do that sometimes #when the dsl connection drops and restarts
  exit
fi

(
echo "starting jffs startup"
cd /lib/modules/2.4.36/
while true
do
        insmod usbcore.o
        insmod ehci-hcd.o
        insmod scsi_mod.o
        insmod usb-storage.o
        insmod sd_mod.o
        sleep 12

        if dmesg | tail -n10 | grep 'Attached scsi disk' 2>/dev/null 1>/dev/null
           then
           break
        else
          rmmod sd_mod
          rmmod usb-storage
          rmmod scsi_mod
          rmmod ehci-hcd
          rmmod usbcore

          gpio diable 4
          sleep 1
          gpio enable 4
          sleep 1
        fi
done

# Filesystems
#insmod ext2.o
insmod jbd.o
insmod ext3.o
insmod fat
insmod vfat.o
insmod printer.o
sleep 5


insmod /jffs/lib/loop.o
sleep 1
mkdir /tmp/drive1
mkdir /tmp/drive2
sleep 5
#check file system-make sure you have e2programs installed to the jffs partion
/jffs/sbin/e2fsck -p /dev/scsi/host0/bus0/target0/lun0/part3


#usbharddrive mounting no sd card
mount /dev/scsi/host0/bus0/target0/lun0/part3 /tmp/drive1 -o noatime
sleep 10
mount -o bind /tmp/drive1/opt /opt
sleep 5
/opt/bin/busybox swapon /dev/scsi/host0/bus0/target0/lun0/part2
echo "Starting check on main hard drive $(date)"
/jffs/sbin/e2fsck -p /dev/scsi/host0/bus0/target0/lun0/part1
echo "fished check $(date)"

mount /dev/scsi/host0/bus0/target0/lun0/part1 /tmp/drive2 -o noatime
sleep 5


#ftp server-on jffs partion
echo "nobody:Password:0:0:User,,,:/tmp/root:/bin/sh" >> /tmp/etc/passwd
export LD_PRELOAD='/jffs/lib/libuClibc-0.9.27.so'
/jffs/usr/sbin/vsftpd /jffs/etc/vsftpd.conf &
unset LD_PRELOAD
env > /dev/null

) > /tmp/jffs.log 2>&1

/opt/scripts/optware
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum