OpenWrt Forum Archive

Topic: samba smb client module

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Is somebody know how to mount a windows share on wrt54gs to extend capacity like in dd-wrt firmware?
In dd-wrt firmware we can find smbmount and smbmnt.
I search but I just find kmod-smbfs ipkg but doesn't work and an other name samba_3.0.10_mipsel.ipk but is to big!
thx

dragouf wrote:

Is somebody know how to mount a windows share on wrt54gs to extend capacity like in dd-wrt firmware?
In dd-wrt firmware we can find smbmount and smbmnt.
I search but I just find kmod-smbfs ipkg but doesn't work and an other name samba_3.0.10_mipsel.ipk but is to big!
thx

Use the packages 'kmod-cifs' and 'cifsmount' from my repository at http://nbd.vd-s.ath.cx/openwrt/packages
CIFS is the newer protocol that replaces SMB.

You have to be running experimental to get this working, yeah?

Yes the kmod-cifs is a 2.4.29 kernel module, which is provided by the experimental version. Earlier kernel such as 2.4.20 did not have CIFS support, just SMBfs

thx it work fine now.
I install ipkg "kmod-cifs" and "cifsmount" then I do :

root@OpenWrt:~# mkdir /tmp/smbmount
root@OpenWrt:~# insmod cifs
root@OpenWrt:~# mount.cifs //myip/myshare /tmp/smbmount -o user=mywindowslogin

And now I can see my windows share in /tmp/smbmount

thank you for your help smile

The discussion might have continued from here.