This firmware upgrade image fixes some issues with the previos versions.
If a file called autoexec is placed in the root of the disk ( /mnt/autoexec ) it will be run a boot time. This means that if one should wish so, a complete linux can be placed on the disk, and the autoexec file can be used to chroot to it. This completely opens the routers, and as the CPU is running i486 emulation, most x86 applications can be run here !
Changes:
- Test SDA1/autoexec and after HDA1/autoexec (you can restore a bad HD filesystem with USB one)
- AT-Keyboard lag in syslogd out.
- FTP server ok.
- chmod -R 777 down.
- mkswap & swapon/off. loop & losetup. iwtools included.
For the Techies amoungst you, this is what has been changed:
CHANGES from original MFB100
**************************************
File: ./rom_disk/bak.etc/rc.d/rc.bridge
======================================
#!/bin/ash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
echo 'set path'
#--- begin changes ----------------
mount /dev/sda1 /mnt
if [ -f /mnt/autoexec ];then
/mnt/autoexec
exit
else
echo "USB /mnt/autoexec not found"
umount /mnt
fi ;
mount /dev/hda1 /mnt
if [ -f /mnt/autoexec ];then
/mnt/autoexec
exit
else
echo "HDA1 /mnt/autoexec not found"
umount /mnt
fi ;
#---end changes ----------------
mkdir /var/log
.
.
.
route add -net 224.0.0.0 netmask 240.0.0.0 dev br0
#---- begin changes ---------------
telnetd &
chmod ugo-w /share &
#-----end changes --------------
exit
**************************************
File: ./usr_src/amit_bin/hotplug.sh
Files created from telnet-root are only readable for shares.
======================================
#!/bin/ash
case $1 in
.
.
.
fi
fi
done
SDR=/dev/$i
mount -t ext2 $SDR $DIR/$DEV$Disk
if [ "$?" = "0" ];then
- # comment---> #chmod -R 777 $DIR/$DEV$Disk
if [ -d "$DIR2" -a "$DEV" = "USB_" ];then
mount -o bind $DIR/$DEV$Disk $DIR2/$DEV$Disk
fi
rec="$rec $i $DEV$Disk"
.
.
.
|