Tom Murphy wrote: > Alexander Hall wrote: > >> I'll second this; from a gw of mine: >> >> $ sudo crontab -l | grep ral0 >> # Down and up ral0 on failure >> * * * * * ifconfig ral0 | grep -q >> OACTIVE && { ifconfig \ >> ral0; echo "\n *****\n"; ifconfig ral0 down; sleep 1; ifconfig ral0 >> up; ifconfig \ >> ral0; } >> >> /Alexander > > Hi Alexander, > > What does the 'OACTIVE' mean? I put that crontab entry in and about 5 > times already > it came up with OACTIVE in the ifconfig output and it downed the > interface and brought it back up. > So far the machine has stayed up and hasn't locked up solid yet. Is > downing the interface and bringing > it back up when it's 'OACTIVE' help prevent the box from locking up?
No idea really. I noticed sometimes that the ral0 interface stopped working and the down+up dance made it work again. Later I noticed that the OACTIVE flag was set when the card locked up. For me, the box itself never locked up, but rather the AP just got inaccesible. I skimmed through the code but to no avail. /Alexander