免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 451 | 回复: 0
打印 上一主题 下一主题

在来一次!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-27 18:19 |只看该作者 |倒序浏览
[root@HH-27 root]# mount -t smbfs -o username=adminstrator,password=ZGFYzgfy//192.168.0.4/game /mnt/game
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options].
For many more details, say man 8 mount .
[root@HH-27 root]# mount -t smbfs -o username=adminstrator,password=ZGFYzgfy //1
92.168.0.4/game /mnt/game
Could not resolve mount point /mnt/game
[root@HH-27 root]# mount -t smbfs -o username=guest,password= //192.168.0.4/game /mnt/game
Could not resolve mount point /mnt/game
[root@HH-27 root]# smbclient //192.168.0.4/game -U administrator
added interface ip=192.168.45.27 bcast=192.168.255.255 nmask=255.255.0.0
session request to 192.168.0.4 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[root@HH-27 root]# smbclient //192.168.0.4/game -U guest
added interface ip=192.168.45.27 bcast=192.168.255.255 nmask=255.255.0.0
session request to 192.168.0.4 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[root@HH-27 root]# smbclient //192.168.45.26/F -U HH-26
added interface ip=192.168.45.27 bcast=192.168.255.255 nmask=255.255.0.0
session request to 192.168.45.26 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
[root@HH-27 root]# smbclient //192.168.45.14/Download -U administrator
added interface ip=192.168.45.27 bcast=192.168.255.255 nmask=255.255.0.0
session request to 192.168.45.14 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
smb: \>; ls
. D 0 Tue May 11 20:48:24 2004
.. D 0 Tue May 11 20:48:24 2004
wangzhi.txt A 15 Mon Oct 25 20:53:56 2004
__CS D 0 Sun Aug 29 17:26:34 2004
Temporary Internet Files DS 0 Sun Aug 29 20:54:20 2004
2K_XP D 0 Thu Sep 2 13:13:28 2004
tiantang.txt A 819 Fri Oct 22 04:06:20 2004
Thumbs.db HS 23040 Tue Aug 31 20:27:12 2004
isa2000 D 0 Sat Sep 4 23:55:16 2004
Linux____ D 0 Sun Oct 24 20:25:46 2004
Swf2Gif_v1.33-kYiNG D 0 Sun Oct 24 21:58:02 2004
18293X57165.mp3 A 5403382 Mon Oct 25 21:00:44 2004
pmlx35 D 0 Thu Sep 16 21:36:56 2004
subversion.wmv A 24589260 Tue Oct 26 11:25:34 2004
34321 blocks of size 65536. 28176 blocks available
smb: \>; cp Linux____ /home/zhazha/hh-14
cp: command not found
smb: \>; cp Linux____/*.* /home/zhazha/hh-14
cp: command not found
smb: \>; man cp
man: command not found
smb: \>; cd Linux____
cd \Linux____\: NT_STATUS_OBJECT_NAME_NOT_FOUND
smb: \>; ls
. D 0 Tue May 11 20:48:24 2004
.. D 0 Tue May 11 20:48:24 2004
wangzhi.txt A 15 Mon Oct 25 20:53:56 2004
__CS D 0 Sun Aug 29 17:26:34 2004
Temporary Internet Files DS 0 Sun Aug 29 20:54:20 2004
2K_XP D 0 Thu Sep 2 13:13:28 2004
tiantang.txt A 819 Fri Oct 22 04:06:20 2004
Thumbs.db HS 23040 Tue Aug 31 20:27:12 2004
isa2000 D 0 Sat Sep 4 23:55:16 2004
Linux____ D 0 Sun Oct 24 20:25:46 2004
Swf2Gif_v1.33-kYiNG D 0 Sun Oct 24 21:58:02 2004
18293X57165.mp3 A 5403382 Mon Oct 25 21:00:44 2004
pmlx35 D 0 Thu Sep 16 21:36:56 2004
subversion.wmv A 24589260 Tue Oct 26 11:25:34 2004

34321 blocks of size 65536. 28176 blocks available
smb: \>; cp wangzhi.txt /home/zhazha/hh-14
cp: command not found
smb: \>;
各位大哥大姐帮我看看这是什么问题呢?谢谢!

在出现这些问题之前,我在LINUX系统上什么也没装,好象都是RH9.0自带的吧
因为RH9好象自带了很多东西,比如chinput等,samba好象也是自带的!!!
192.168.0.4是局域网内的服务器(电影、歌曲、工具)
192.168.45.27是LINUX RH9
192.168.45.14是局域网内的一普通的WIN2000和WINXP机器
192.168.45.26是局域网内的一台普通的WIN98机器
因为局域网很大,所以网段最高是192.168.100.*
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP