OpenWrt安装CIFS客户端挂载网络驱动器
标签: Barrier Breaker, CIFS, OpenWrt, Samba, 路由器
标题: OpenWrt安装CIFS客户端挂载网络驱动器
作者: Demon
链接: http://demon.tw/hardware/openwrt-cifs-client.html
版权: 本博客的所有文章,都遵守“署名-非商业性使用-相同方式共享 2.5 中国大陆”协议条款。
CIFS(Common Internet File System)客户端允许在OpenWrt上挂载网络驱动器,相当于Windows系统里的映射网络驱动器功能,与Samba服务器一起使用的话可以很方便的实现网络共享。
CIFS在OpenWrt安装起来很简单:
opkg update opkg install kmod-fs-cifs opkg install kmod-nls-utf8 kmod-nls-base kmod-crypto-hmac kmod-crypto-md5 kmod-crypto-misc cifsmount
简单使用的示例:
mount -t cifs //cifs-server/share /localfolder -o user=username,password=password
匿名访问:
mount -t cifs //cifs-server/share /localfolder -o guest