Well this is What I have been able to do on my wrt54gs, installed asterisk and started to configure it with a pap2. I have been able to read and write to a network storage drive NAS, but only with smbclient, unable to find or load smbmount. dd-wrt has samba up and running great on a wrt54g v2, but I have yet to see one post where someone has asterisk up and running on dd-wrt tho. I would sure like to be able to use samba in openwrt with the ease of the dd-wrt setup.
I am trying to have a samba mount at boot, right now I have to use "smbclient //STORAGE/voicemail -U voicemail -N"
---------------------------------------------------
root@OpenWrt:~# smbclient //STORAGE/voicemail -U voicemail -N
smb: \> ls
. D 0 Mon Jan 2 10:18:02 2006
.. D 0 Mon Jan 2 10:18:02 2006
softvoice.txt A 3167 Sun Oct 29 14:15:04 2006
14900 blocks of size 16777216. 12786 blocks available
smb: \>
Connected to Asterisk 1.2.1 currently running on OpenWrt (pid = 4521)
Dec 31 19:15:40 NOTICE[4531]: chan_sip.c:10817 handle_request_register: Registration from 'phone2 <sip:5561@192.168.1.130
>' failed for '192.168.1.135' - Not a local SIP domain
OpenWrt*CLI> free
No such command 'free' (type 'help' for help)
OpenWrt*CLI>
root@OpenWrt:~# free
total used free shared buffers
Mem: 30504 14620 15884 0 548
Swap: 0 0 0
Total: 30504 14620 15884
root@OpenWrt:~#
Connected to Asterisk 1.2.1 currently running on OpenWrt (pid = 4521)
Dec 31 19:15:10 NOTICE[4531]: chan_sip.c:10817 handle_request_register: Registration from 'phone1 <sip:5560@192.168.1.130
>' failed for '192.168.1.135' - Not a local SIP domain
Dec 31 19:15:10 NOTICE[4531]: chan_sip.c:10817 handle_request_register: Registration from 'phone2 <sip:5561@192.168.1.130
>' failed for '192.168.1.135' - Not a local SIP domain
OpenWrt*CLI>
root@OpenWrt:~# ipkg list_installed
asterisk - 1.2.1-1 - Complete open source PBX
asterisk-codec-speex - 1.2.1-1 - Speex/PCM16 Codec Translator
asterisk-mysql - 1.2.1-1 - MySQL support
asterisk-pbx-dundi - 1.2.1-1 - DUNDi support
asterisk-sounds - 1.2.1-1 - Sound files
asterisk-voicemail - 1.2.1-1 - Voicemail support
base-files - 8 - OpenWrt filesystem structure and scripts
base-files-brcm - 2 - Board/architecture specific files
bridge - 1.0.6-1 - Ethernet bridging tools
busybox - 1.00-4 - Core utilities for embedded Linux systems
cifsmount - 1.5-2 - CIFS mounting helper utility
dnsmasq - 2.33-1 - A lightweight DNS and DHCP server
dropbear - 0.48.1-1 - a small SSH 2 server/client designed for small memory environments.
haserl - 0.8.0-1 - a CGI wrapper to embed shell scripts in HTML documents
ip - 2.6.11-050330-1 - iproute2 routing control utility
ipkg - 0.99.149-2 - lightweight package management system
iptables - 1.3.3-2 - The netfilter firewalling software for IPv4
iptables-saverestore - 1.0 - The iptables-save and iptables-restore files not present in a standard OpenWRT install.
iwlib - 28.pre7-1 - Library for setting up WiFi cards using the Wireless Extension
kernel - 2.4.30-brcm-4 -
kmod-brcm-wl - 2.4.30-brcm-4 - Proprietary driver for Broadcom Wireless chipsets
kmod-cifs - 2.4.30-brcm-4 - Kernel modules for CIFS support
kmod-diag - 2.4.30-brcm-5 - Kernel modules for LEDs and buttons
kmod-switch - 2.4.30-brcm-1 - switch driver for robo/admtek switch
kmod-vfat - 2.4.30-brcm-4 - Kernel modules for VFAT filesystem support
kmod-wlcompat - 2.4.30-brcm-4 - Compatibility module for using the Wireless Extension with broadcom's wl
libgcc - 3.4.4-8 - GCC support library
libmysqlclient - 5.0.18-1 - MySQL client library
libncurses - 5.2-8 - Terminal handling library
libpcap - 0.9.4-1 - a low-level packet capture library
libpthread - 0.9.27-1 - POSIX threads library
libspeex - 1.1.8-1 - an open source patent-free speech compression codec
libsqlite2 - 2.8.17-1 - SQLite (v2.x) database engine (library)
mtd - 4 - Tool for modifying the flash chip
nano - 1.3.8-1 - An enhanced clone of the Pico text editor
ntpclient - 2003_194-2 - NTP (Network Time Protocol) client
nvram - 1 - NVRAM utility and libraries for Broadcom hardware
samba-client - 2.0.10-2 - NetBIOS/SMB simple client
samba-server - 2.0.10-2 - NetBIOS/SMB file and print server
shorewall - 2.0.9 - A highly configurable firewall using iptables.
uclibc - 0.9.27-8 - Standard C library for embedded Linux systems
webif - 0.2-1 - A modular, extensible web interface for OpenWrt.
wificonf - 6 - Replacement utility for wlconf
wireless-tools - 28.pre7-1 - Tools for setting up WiFi cards using the Wireless Extension
zlib - 1.2.2-2 - an implementation of the deflate compression method (library)
Successfully terminated.
root@OpenWrt:~# top
Mem: 14784K used, 15720K free, 0K shrd, 548K buff, 4372K cached
Load average: 0.00, 0.05, 0.24 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
4545 root R 380 4542 5.6 1.2 top
4523 root S 3024 1 0.0 9.9 asterisk
4531 root S 3024 4524 0.0 9.9 asterisk
4530 root S 3024 4524 0.0 9.9 asterisk
4524 root S 3024 4523 0.0 9.9 asterisk
4532 root S 3024 4524 0.0 9.9 asterisk
4529 root S 3024 4524 0.0 9.9 asterisk
4527 root S 3024 4524 0.0 9.9 asterisk
4533 root S 3024 4524 0.0 9.9 asterisk
4526 root S 3024 4524 0.0 9.9 asterisk
4528 root S 3024 4524 0.0 9.9 asterisk
979 root S 460 406 0.0 1.5 dropbear
4542 root S 444 979 0.0 1.4 ash
439 root S 288 1 0.0 0.9 smbd
95 root S 228 1 0.0 0.7 syslogd
398 nobody S 184 1 0.0 0.6 dnsmasq
97 root S 148 1 0.0 0.4 klogd
419 root S 140 1 0.0 0.4 crond
384 root S 132 1 0.0 0.4 wifi
1 root S 100 0 0.0 0.3 init
92 root S 68 1 0.0 0.2 logger
409 root S 68 1 0.0 0.2 httpd
94 root S 68 1 0.0 0.2 init
406 root S 60 1 0.0 0.1 dropbear
416 root S 48 1 0.0 0.1 telnetd
4 root SW 0 1 0.0 0.0 kswapd
8 root SW 0 1 0.0 0.0 mtdblockd
3 root SWN 0 1 0.0 0.0 ksoftirqd_CPU0
2 root SW 0 1 0.0 0.0 keventd
161 root SW 0 1 0.0 0.0 cifsoplockd
5 root SW 0 1 0.0 0.0 bdflush
6 root SW 0 1 0.0 0.0 kupdated
68 root SWN 0 1 0.0 0.0 jffs2_gcd_mtd4