OpenWrt安装CIFS客户端挂载网络驱动器

标签: , , , ,

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

参考链接:http://wiki.openwrt.org/doc/howto/cifs.client

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. C/C++的64位整型
  2. 纯真IP数据库QQWry.dat格式详解
  3. Python中的长整型(Long)乘法C源码分析
  4. VC编写在Windows 7下需要管理员权限的程序
  5. HTML,Unicode与NCR(数字字符引用)

2 条评论 发表在“OpenWrt安装CIFS客户端挂载网络驱动器”上

  1. 高手菜鸟说道:

    在路由器上的Openwrt 也可以吗?我现在一直无法挂载。

  2. 酱油兔纸说道:

    安装完之后执行
    mount -t cifs 是挂载失败
    mount.cifs 是notfound。
    博主是什么效果?

留下回复