webif on sheevaplug

webif on sheevaplug

build opkg package for kirkwood glibc 2.6.x linux 2.6 install/force opkg on sheevaplug. seems to coexist with apt-get but it may get confusing.

install uci libuci haserl ( these may be on the optware/cs08q1armel repository) or build them.

build busybox package for kirkwood glibc 2.6.x linux 2.6 to include ps, awk, ls, sh , ash , free. just copy the exe to /bin. Add httpd if you want to use it. i use thttpd (works ok) need to link sh, ash,ps,awk,ls to busybox( free is accesssed explicitly via "busybox free" command). try to rename old links to XXX.old alternatively dl the busybox package from optware and extract the busybox exe.

build webif package for kirkwood glibc 2.6.x linux 2.6. webifmetabin is the only executable in this package attempt to install.

modify /etc/init.d/webif.... remove /etc/rc.common reference and comment out start(). (cowboy hack...yeehaa)

#!/bin/sh /etc/rc.common # identification of the device START=90 start() { . /lib/config/uci.sh . /usr/lib/webif/functions.sh

becomes

#!/bin/sh # identification of the device # START=90 { . /lib/config/uci.sh . /usr/lib/webif/functions.sh

run /etc/init.d/webif

thttpd start command: /usr/sbin/thttpd -C /etc/thttpd/thttpdwebif.conf -i /var/run/thttpdwebif.pid

# /etc/thttpd/thttpd.conf: thttpd configuration file port=8080 dir=/www nochroot nosymlinks novhost user=root cgipat=/cgi-bin/*|/cgi-bin/webif/* throttles=/etc/thttpd/throttle.conf max_age=

http://yourip:8080 ....and away you go.

Reply to
indo
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.