Webif - web administration interface¶
/www treba biti link na mrežnu lokaciju /mnt/1/www
root@router-wan-sa-1:~# mv /www/ /www.orig root@router-wan-sa-1:~# ln -s /mnt/1/www /www
root@router-wan-sa-1:~# ipkg install -d net webif
Installing webif (0.3-11) to net... Downloading http://openwrt.bring.out.ba/packages/brcm-2.4/./webif_0.3-11_mipsel.ipk Configuring webif Done.
root@router-wan-sa-1:~# ipkg install -d net haserl
ako već nije u predhodnom koraku instaliran ... (iako bi trebalo da jeste)
simbilički linkovi
root@router-wan-sa-1:~# ln -s /mnt/1/usr/lib/webif /usr/lib/webif root@router-wan-sa-1:~# ln -s /mnt/1/usr/bin/haserl /usr/bin/ root@router-wan-sa-1:~# ln -s /mnt/1/usr/bin/webifmetabin /usr/bin/
ne rade mi teme, problem je sa linkom /www/themes/active
root@router-wan-sa-1:/mnt/1/www/themes# ln -s xwrt active root@router-wan-sa-1:/mnt/1/www/themes# ls -l active lrwxrwxrwx 1 root root 4 Apr 24 1999 active -> xwrt
startup
root@router-wan-sa-1:~# ln -s /mnt/1/etc/init.d/webif /etc/init.d/webif
u mrežnu init skriptu staviću na kraj startovanje httpd servera i webif-a
/mnt/1/etc/init.d/init-b-out-ba
. /etc/init.d/httpd start . /etc/init.d/webif start