The upgrade went very smooth using the X-WRT interface, just upload the X-WRT based image and wait until the web page returns.
A USB disk is connected to my router which needs to be mounted and shared using NFS on my local (linux only) network.
Simply install
kmod-usb2
kmod-fs-nfsd
kmod-usb-storage
kmod-fs-ext3
e2fsprogs
portmap
nfs-kernel-server
To get the disc to mount we use a script /etc/init.d/usbdrive
#!/bin/sh /etc/rc.common
START=99
STOP=40
start()
{
echo -n "Testing USB Partition: "
e2fsck -p /dev/scsi/host0/bus0/target0/lun0/part1 &
sleep 5
echo -n "Mounting USB drive: "
mount -t ext3 -o noatime /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/disc0_1
echo "Done."
}
stop()
{
echo -n "Umounting USB drive: "
sync
sync
umount /dev/scsi/host0/bus0/target0/lun0/part1
echo "Done."
}
restart()
{
stop
start
}
Geen opmerkingen:
Een reactie posten