hi all,
i'm new to this forum and to openwrt; so please forgive me any newbie-mistakes...
i have a linksys wrt54G Rev 3.1 with SD-mod, running kamikaze 8.09 (kernel 2.4.x)... the sd-card is working...
now, i wanted to mount the sd-card to have enough space to install some additional software - to do this, i followed this howto (i like the idea to have the original filesystem still "available" if anything fails):
http://oldwiki.openwrt.org/OpenWrtDocs( … HowTo.html
after setting the correct gpiomask for the rev 3.1-mod, everything works fine, EXCEPT:
- the part "Testing the script with your setup"; grep-commands make the router stall
- autostarting the bootext-script will cause a loop, which can only be stopped by removing the micro-SD (i soldered the sd-adapter on the linksys, so i can change the microSD) and power off/power on the router...
- starting the script (/etc/init.d/bootext start) will also make the router stall
B U T when (the rooter boots "normal", and) i enter the command
echo "0xb8" >> /proc/diag/gpiomask
manualy before "bootext start", everything is working fine...
i copied the bootext-script and the bootfromexternalmedia-config 1by1 from the howto-page, altering the gpiomask and mount-points i needed... as a "new to linux-script and -config"-guy, i think the echo-command in the bootext-script is not beeing processed/or not in the needed chronological order... at the moment, i start the router without bootext, then i enter the gpiomask & start the bootext-script... due to my "experiments" with/on the router & the software, i have to reboot frequently, what makes this procedure very ... hard.
does anyone has an idea how i can solve this problem, so i can enable the script for automatic start on bootup?
(if you need any config-files or system-logs: pls. tell me which ones, or how i can get them & i'll post them, thanks!!)
cheers & thanks for any reply!
mike