You are not logged in.
hi all, i have asus eee pc 1003hag with intel wifi/wimax 5150 module.
i've compiled driver and all tools like describes in here http://linuxwimax.org/pipermail/wimax/2 … 00469.html but without instructions for 64bit system. also i have used this howto (warning, howto is in russian lang) - http://community.livejournal.com/yota_ru/270575.html
problem is with daemons - they setup in /etc/init.d and they don't want to start.
thats the errors
[taz@taz-eee ~]$ sudo /etc/init.d/wimax start
Starting WiMAX Network Service: /etc/init.d/wimax: line 27: daemon: command not found
lets take a look at them
#!/bin/bash
#
# /etc/rc.d/init.d/wimaxd
#
# description: start/stop the wimax daemon
DESC_APPSRV="WiMAX Network Service"
NAME=wimax
BINPATH=/usr/local/bininit.d
DAEMON=$BINPATH/$BINNAME
BINNAME=wimaxd
VARRUNPATH=/var/run
DAEMONSCRIPTDIR=/etc//
PIDFILE=$VARRUNPATH/$BINNAME.pid
SCRIPTNAME=$DAEMONSCRIPTDIR/$NAME
init.d
DAEMON=$BINPATH/$BINNAME
# Source function library.
. /etc/init.d/functions
start() {
echo -n "Starting WiMAX Network Service: "
if [ -f $PIDFILE ]; then
PID=`cat $PIDFILE`
echo -e "\n$DESC_APPSRV is already running:$PID"
exit 2;
else
daemon $BINPATH/$BINNAME
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$BINNAME
sleep 5
fi
}
stop() {
echo -n "Shutting down WiMAX Network Service:"
killproc -p $PIDFILE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$BINNAME
rm -f $PIDFILE
}
case "$1" in
start)
start
;;
stop)
stop
;;
status)
echo -n "$DESC_APPSRV"
status -p $PIDFILE
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status}" >&2
exit 1
;;
esac
exit $?
please help - how can i change this script for arch?
and ssory me for my bad english
Last edited by taz (2009-06-11 02:41:24)
linux is <3
Offline
linux is <3
Offline
"daemon" is available in AUR if you can't hack up the init script, maybe it would magically work out ?
# yaourt -S daemon
I'd try getting it started up via CLI first to make sure it works before trying to get the init scripts in order though. Good luck!
Offline
rewritten. Needs testing.
Offline