Bekijk de volledige versie : no /dev/discs on own compiled 1.9.2.7-4
Jean-Fabrice
21-03-2005, 07:02
Humm.
I tried recompile 1.9.2.7-4 for my wlhdd but after flashing it, I lost /dev/discs.
Compile operation was :
src/wl500g-1.9.2.7-4/make kernel
src/wl500g-1.9.2.7-4/make
src/gateway/make
src/gateway/make package-WLHDD
any idea why my firmware lacks /dev/discs ?
Hi,
I wish you success with your special WL.HDD Edition of Olegs Firmware.
I also use a WL-HDD with the latest Oleg Firmware...the only things I miss: Formatting via WebGui, hdparm and a save shutdown. Do you have plans to implement that in a future version?
cu,
peter
Hi,
I wish you success with your special WL.HDD Edition of Olegs Firmware.
I also use a WL-HDD with the latest Oleg Firmware...the only things I miss: Formatting via WebGui, hdparm and a save shutdown. Do you have plans to implement that in a future version?
cu,
peter
Save shutdown ? USB => Eject unmounts the harddisk => you can switch the device off after....
BTW: Does anybody have a recompiled version with r/wsize 32768 for NFS server ?
BTW2: is there something i should know when i try to recompile with SUSE 9.2 ?
Ciao Gerd
Save shutdown ? USB => Eject unmounts the harddisk => you can switch the device off after....
thank you for the hint.
BTW: Does anybody have a recompiled version with r/wsize 32768 for NFS server ?
..I hope it will be in the final version
Martin1802
23-03-2005, 10:55
Hi :-)
I have some ideas for a custom version of oleg's or original ASUS firmware ...
--------------------------
- I'm searching one version in which I'm able to modify the default setting inside the .trx and do not have to change them after upgrading ...
* set my custom IPs / DHCP setting
* store my custom WEP keys / settings
* WLAN status default to off
* ...
- I want to have the keypress of button press modified ... to have easy access to some basic functions ...
* switch WLAN on / off (short button press toggles wlan)
* shutdown device (press button 5 sec.)
* reboot device (press button longer than 15 sec.)
* restore factory setting (press button on power on only!)
... this will be only possible examples for the new function of that button :-)
--------------------------
Posted also in my post on this thread ...
http://wl500g.info/showthread.php?t=1675
Any ideas how to realize this ?
Any chance to get anywhere the new ASUS firmware sources V1.2.3.4?
Thanks
Martin
I have some ideas for a custom version of oleg's or original ASUS firmware ...
* ...
- I want to have the keypress of button press modified ... to have easy access to some basic functions ...
* switch WLAN on / off (short button press toggles wlan)
* shutdown device (press button 5 sec.)
* reboot device (press button longer than 15 sec.)
* restore factory setting (press button on power on only!)
... this will be only possible examples for the new function of that button :-)
--------------------------
I change button keypress in Oleg's firmware 1.9.2.7-3 (file rc/watchdog.c) with some other functionality:
- reboot 3 sec, power led flashs shortly
- power down 5 sec, power led flashs longly
- reset to factory settings 15 sec, power led flashs too longly
- and super feathure - short press (0.25-2 sec) watchdog counting short keypresses, power led flashs too quickly, and than run script
/usr/local/sbin/button-pressed <count> where <count> - counts of press, and you can change button processing at any time and add any counts of functions :D ;
I write in script on one press WLAN ON/OFF:
/usr/local/sbin/button-pressed
#!/bin/sh
buttonlog() {
echo "`date`: $1" >> /tmp/button.log
}
wlupdown() {
CHECK=`wl isup 2>&1| grep on`
if [ -z "$CHECK" ]; then
insmod wl && wl up && buttonlog "WiFi started up"
else
rmmod wl && buttonlog "WiFi shutdowned"
fi
}
buttonlog "Button pressed count $1"
case "$1" in
1)
wlupdown;;
*)
buttonlog "No handlers for count $1";;
esac
und if you want to WLAN OFF on boot - write in /usr/local/sbin/post-boot script
wl down
- power down 5 sec, power led flashs longly
Have you managed to turn off WL-HDD?
Have you managed to turn off WL-HDD?
Yes, but "emulated" - i use execution this sequence:
wl down
/usr/local/sbin/pre-shutdown
sync
# call power led off (in watchdog.c)
halt
and device now in "shutdowned mode"
P.S.
in script /usr/local/sbin/pre-shutdown can add some more
Yes, but "emulated" - i use execution this sequence:
wl down
/usr/local/sbin/pre-shutdown
sync
# call power led off (in watchdog.c)
halt
and device now in "shutdowned mode"
P.S.
in script /usr/local/sbin/pre-shutdown can add some more
well, in fact I'm interested on how stock firmware turns it off...
well, in fact I'm interested on how stock firmware turns it off...
Your can view sources of original WL-HDD firmware (router/rc/services.c, void call_shutdown) - in original sources used this sequence:
unmount usb disks
stop services
rmmod usb
leds off
park hdd (ioctl)
set nvram shutdown_hit = 1
rmmod ide
and no really turn-off calls
call_shutdown used on call to linked as "stophd" rc, and on 10 sec key press.
yes, just checked this. so, it's also a fake. ;)
yes, just checked this. so, it's also a fake. ;)
...but it's a usefull 'fake' and a little bit more than only a psychovisual power saving ;)
After some mods to fw, /dev/discs, /dev/ide gone...
but unresolved symbols appear in all ide modules.....
I have been playing with BT and HID...
fredlcore
22-10-2006, 17:49
Hi undead,
I change button keypress in Oleg's firmware 1.9.2.7-3 (file rc/watchdog.c) with some other functionality:
- reboot 3 sec, power led flashs shortly
- power down 5 sec, power led flashs longly
- reset to factory settings 15 sec, power led flashs too longly
- and super feathure - short press (0.25-2 sec) watchdog counting short keypresses, power led flashs too quickly, and than run script
Great idea, I was thinking of something similar but if you've already done it, could you post the diff to watchdog.c please?
Also, does anybody have a link to wlextract to change some of the files without recompiling everything? I could only find an unreachable host in Czech republic...
CU!
Frederik.