1,刷机rc4~rc5
2,修改/etc/opkg.conf源地址 修改/etc/config/uhttpd管理端口为8088 删除firewall
修改wan为10.10.10.100 255.255.255.0 10.10.10.10 10.10.10.10
3,opkg update
opkg install kmod-usb-core kmod-usb-ohci kmod-usb-storage kmod-usb2 kmod-fs- ext3 e2fsprogs
4,mkfs.ext3 /dev/sda1
5,reboot
6,mount /dev/sda1 /mnt
mkdir /tmp/root
mount -o bind / /tmp/root
cp /tmp/root/* /mnt -a
umount /tmp/root
umount /mnt
echo Booted from internal rom >> /etc/banner
opkg update
opkg install block-extroot
#修改etc/config/fstab文件
config mount
option target /mnt
option device /dev/sda2
option fstype ext3
option options rw,sync
option enabled 1
option enabled_fsck 1
option is_rootfs 1
echo option force_space >> /etc/opkg.conf
7,reboot
2,修改/etc/opkg.conf源地址 修改/etc/config/uhttpd管理端口为8088 删除firewall
修改wan为10.10.10.100 255.255.255.0 10.10.10.10 10.10.10.10
3,opkg update
opkg install kmod-usb-core kmod-usb-ohci kmod-usb-storage kmod-usb2 kmod-fs- ext3 e2fsprogs
4,mkfs.ext3 /dev/sda1
5,reboot
6,mount /dev/sda1 /mnt
mkdir /tmp/root
mount -o bind / /tmp/root
cp /tmp/root/* /mnt -a
umount /tmp/root
umount /mnt
echo Booted from internal rom >> /etc/banner
opkg update
opkg install block-extroot
#修改etc/config/fstab文件
config mount
option target /mnt
option device /dev/sda2
option fstype ext3
option options rw,sync
option enabled 1
option enabled_fsck 1
option is_rootfs 1
echo option force_space >> /etc/opkg.conf
7,reboot