DD-WRT SMB Setup




Router Model: Asus WL-500G Premium V2
Firmware Version: DD-WRT v24-sp2 (05/20/09) std-nokaid-usb - build 12171M NEWD Eko
Reference
d
~ # mkdir /mnt/opt
~ # mount -o bind /mnt/opt /opt

d
lamsao: the above links seem to be dead.  I found this link and it works.[dead links deleted]

wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh -O - | tr -d '\r' > /tmp/optware-install.sh
sh /tmp/optware-install.sh

Search Path
Adding /opt/bin to search PATH will save us from tedious typing of /opt/bin for each command from /opt/bin. For running applications from /opt tree search path should be expanded with
~# export PATH=/opt/bin:/opt/sbin:$PATH 

Installing Samba 2
/opt/bin/ipkg-opt update 
/opt/bin/ipkg-opt remove samba
/opt/bin/ipkg-opt install samba2
/opt/bin/ipkg-opt install xinetd

Startup script for external hard disk


/opt/bin/ipkg-opt install e2fsprogs

d

Post a comment