RedHat 9/Win XP: Problem in sharing XP network drive (Called name not present)
Hi All!
I'm trying from some days to mount a XP network drive from my Red Hat 9 box with the command:
As root:
[root@madmax root]# mount -t smbfs -o username=linux,password=redhat,workgroup=WORKGROUP //192.168.1.45/temp /mnt/XP/
But I receive the following error:
1658: session request to 192.168.1.45 failed (Called name not present)
1658: session request to 192 failed (Called name not present)
1658: session request to *SMBSERVER failed (Not listening on called name)
SMB connection failed
On RH9 side I have:
1) Started Samba.
2) Stopped IPTABLES (service IPTABLES stop)
3) Created the mount directory /mnt/XP
4) [root@madmax root]# smbclient -L 192.168.1.45
added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.2.10 bcast=192.168.2.255 mask=255.255.255.0
session request to 192.168.1.45 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Not listening on called name)
5) [root@madmax root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.254 0.0.0.0 UG 0 0 0 eth1
On Windows XP Pro side I can:
1) ping the RH9 box 192.168.1.10
C:\Documents and Settings\>ping 192.168.1.10
Pinging 192.168.1.10 with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.10:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
2) I can see the Windows XP share
C:\Documents and Settings\>net share
Share name Resource Remark
--------------------------------------------------------------------------
C$ C:\ Default share
ADMIN$ C:\WINXP Remote Admin
IPC$ Remote IPC
temp C:\temp
The command completed successfully.
3) I can see my RH9 share
C:\Documents and Settings>net view
Server Name Remark
-------------------------------------------------------------------------------
\\MADMAX Samba Server
\\TOSHIBA toshiba
The command completed successfully.
4) From Windows XP I can access the RH9 samba drive without problems.
CAN SOMEONE HELP ME? !!!!!
THANKS IN ADVANCE......
/Max
Last edited by holeinone72; 08-26-2003 at 06:08 AM.
|