Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
linux 下访问windows 局域网共享的方法
Apps Section
937
views ·
0
replies ·
To
floor
Go
isunny
deepin
2016-12-30 16:57
Author
linux 下访问windows 局域网共享的方法
win下:
在运行里输入 \\public
弹出的登陆框
用户名:one\fufei ##one为windows 下的登陆域
密码:fufei123
查看局域网下开放共享的机器的ip 通过共享名即上诉\\public中的public
ping -4 public
获得局域网的public共享的ip地址
此时来到linux或者mac下:
1
使用文件管理器的地址栏输入:
smb://ip
弹出的登陆框使用如下用户名密码登陆:
用户名:one\fufei ##one为windows 下的登陆域
密码:fufei123
或者
用户名:fufei ##我在linux下可以不用输入登陆域
密码:fufei123
2 将共享直接挂载到本地 这里我挂载到了
sudo mount -t cifs -o username="fufei",password="fufei123" //192.168.3.2/public ~/public
refer:
http://jingyan.baidu.com/article/b7001fe1694b800e7282dde4.html
mount -t cifc "windows共享文件夹" "Linux /mnt路径"
i.e. mount -t cifs //16.187.190.50/test /mnt/
mount -t cifs -o username=WindowsLogin,password="passwordinWindows"
//16.187.190.50/test /mnt/
注意:该命令中,username为windows上的用户;password为window用户对应的密码
步骤3的命令也可以使用以下方式实现:
mount.cifs -o username="Administrator",password="
asswordForWindows" //16.187.190.50/test /mnt/
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
win下:
在运行里输入 \\public
弹出的登陆框
用户名:one\fufei ##one为windows 下的登陆域
密码:fufei123
查看局域网下开放共享的机器的ip 通过共享名即上诉\\public中的public
ping -4 public
获得局域网的public共享的ip地址
此时来到linux或者mac下:
1
使用文件管理器的地址栏输入:
smb://ip
弹出的登陆框使用如下用户名密码登陆:
用户名:one\fufei ##one为windows 下的登陆域
密码:fufei123
或者
用户名:fufei ##我在linux下可以不用输入登陆域
密码:fufei123
2 将共享直接挂载到本地 这里我挂载到了
sudo mount -t cifs -o username="fufei",password="fufei123" //192.168.3.2/public ~/public
refer:http://jingyan.baidu.com/article/b7001fe1694b800e7282dde4.html
mount -t cifc "windows共享文件夹" "Linux /mnt路径"
i.e. mount -t cifs //16.187.190.50/test /mnt/
mount -t cifs -o username=WindowsLogin,password="passwordinWindows"
//16.187.190.50/test /mnt/
注意:该命令中,username为windows上的用户;password为window用户对应的密码
步骤3的命令也可以使用以下方式实现:
mount.cifs -o username="Administrator",password="