linux(ubuntu)怎么在局域网内与win共享呢?

8 views
Skip to first unread message

小花喵

unread,
May 22, 2013, 9:05:44 AM5/22/13
to sh...@googlegroups.com
在局域网内,怎么建立像在win下那个共享文档呢?

主要是从Linux(Ubuntu)上访问win机上的共享目录。
 >﹏< 弄了半天了,还是不成功。
什么subme啥的下了一堆可是用不了反正是打不开。


假设-1:win主机 192.168.0.100  的 f:/共享目录    是共享的。
我从Linux桌面上打开这个共享目录呢?


还就是我怎么让我Linux机上的目录和win共享呢?
假设Linux IP 192.168.0.102 共享的目录是 /home/共享目录。


小白菜求指点啊。路过的大人物们是不是不吝赐教呢。
(′▽` )

~盛开如夏莲,美丽动人~
~شکوفه مانند لوتوس تابستان، زیبا~
Me.Sina 
小花(Jyu..)谨上

Robber Phex

unread,
May 22, 2013, 9:16:41 AM5/22/13
to sh...@googlegroups.com
我上周末刚刚搞定samba的匿名共享。

先描述你的症状。

smbclient -L hostname 可以查看主机上的共享项目。

2013/5/22 小花喵 <she....@gmail.com>

--
-- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to sh...@googlegroups.com. To unsubscribe from this group, send email to shlug+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN
---
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 shlug+un...@googlegroups.com
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 



--
Regards,
RobberPhex

About me: http://about.me/RobberPhex

lin zhang

unread,
May 22, 2013, 9:17:35 AM5/22/13
to sh...@googlegroups.com
我的好像是在文件夹目录 按 Ctrl+L 就可以输入路径了,输入路径就可以了

小花喵

unread,
May 22, 2013, 9:23:52 AM5/22/13
to sh...@googlegroups.com
路径格式是什么样的?

Linux的目录默认是开放的吗?


~盛开如夏莲,美丽动人~
~شکوفه مانند لوتوس تابستان، زیبا~
Me.Sina 
小花(Jyu..)谨上


--

Robber Phex

unread,
May 22, 2013, 10:27:43 AM5/22/13
to sh...@googlegroups.com
搭车问:

linux下如何发现主机?使用nautilus。
我用nmblookup加计算机名都可以解析出ip的,但是nautilus就是不出现。

2013/5/22 小花喵 <she....@gmail.com>

Robber Phex

unread,
May 22, 2013, 10:32:49 AM5/22/13
to sh...@googlegroups.com
假设是主机192.168.122.12:
首先用smbclient -L 192.168.122.12找出共享名列表,比如有一个C$
然后执行smbclient \\\\192.168.122.12\\C$ -U administrator
输入密码,然后就可以ls什么的了。
如下:
smbclient \\\\192.168.122.12\\C$ -U administrator
Enter administrator's password:
Domain=[WIN-7OK66RV0RPL] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
smb: \> ls
  $Recycle.Bin                      DHS        0  Tue Jul 14 10:34:39 2009
  Boot                              DHS        0  Tue Mar  5 09:12:20 2013
  bootmgr                          AHSR   383786  Sun Nov 21 11:24:02 2010
  BOOTSECT.BAK                     AHSR     8192  Tue Mar  5 09:12:22 2013
  Documents and Settings            DHS        0  Tue Jul 14 13:06:44 2009
  pagefile.sys                      AHS 2147074048  Wed May 22 22:17:52 2013
  PerfLogs                            D        0  Tue Jul 14 11:20:08 2009
  Program Files                      DR        0  Sat Mar 16 06:39:09 2013
  Program Files (x86)                DR        0  Tue May  7 16:02:06 2013
  ProgramData                        DH        0  Sat Mar 16 06:35:53 2013
  Recovery                          DHS        0  Tue Mar  5 09:16:17 2013
  System Volume Information         DHS        0  Tue Mar  5 09:13:44 2013
  Users                              DR        0  Sun May 19 10:55:35 2013
  Windows                             D        0  Sun May 19 21:48:40 2013
  XBOMF                             HSR   465726  Sat Mar 16 06:54:19 2013

        61432 blocks of size 262144. 12540 blocks available
smb: \> ^C

2013/5/22 小花喵 <she....@gmail.com>

小花喵

unread,
May 24, 2013, 12:15:05 AM5/24/13
to sh...@googlegroups.com
…………表示我好像没有注意文件夹的左下角。。


~盛开如夏莲,美丽动人~
~شکوفه مانند لوتوس تابستان، زیبا~
Me.Sina 
小花(Jyu..)谨上


Reply all
Reply to author
Forward
0 new messages