FC3 WinXP file sharing
I have home network with WinXP box.
New Linux (FC3) box, clean install, no partitions, no dual boot I cannot see the WinXP shares on the Unix side, nor the Unix share on the WinXP side. All connections seem up and running. Internet Connection Sharing through XP box is working OK. Read many posts and followed many of the suggestions. See print out below The WinXP share that I am trying to see is my C: drive with sharename "Desk1 C" Anybody any suggestions ? Help very much appreciated. Thanks in advance [root@localhost ~]# nmblookup desk1 querying desk1 on 192.168.0.255 192.168.0.1 desk1<00> xx3.xx6.xx2.xx5 desk1<00> (x-ed out for security reasons) [root@localhost ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 0x:1x:5x:7x:8x:8x (x-ed out for security) inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fexx::2xx:5bxx:fexx:8dxx/64 Scope:Link (x-ed out for security) UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14570 errors:0 dropped:0 overruns:0 frame:0 TX packets:15957 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12667568 (12.0 MiB) TX bytes:1425069 (1.3 MiB) Interrupt:10 Base address:0xa000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:2451 errors:0 dropped:0 overruns:0 frame:0 TX packets:2451 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4957406 (4.7 MiB) TX bytes:4957406 (4.7 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root@localhost ~]# ping desk1 PING desk1.mshome.net (192.168.0.1) 56(84) bytes of data. 64 bytes from desk1.mshome.net (192.168.0.1): icmp_seq=23 ttl=128 time=0.238 ms --- desk1.mshome.net ping statistics --- 24 packets transmitted, 24 received, 0% packet loss, time 22999ms rtt min/avg/max/mdev = 0.142/0.241/0.497/0.060 ms, pipe 2 [root@localhost ~]# [root@localhost ~]# rpm -aq | grep samba samba-client-3.0.10-1.fc3 samba-common-3.0.10-1.fc3 [root@localhost ~]# [root@localhost ~]# mount -t smbfs -o credentials=/home/hans/smb.cred //Desk1/Desk1%20C /home/hans Password: 5599: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed [root@localhost ~]# [root@localhost ~]# smbclient //Desk1/Desk1%20C -U hans -W MSHOME Password: Domain=[DESK1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] tree connect failed: NT_STATUS_BAD_NETWORK_NAME |
first of all you should try to get rid of the space in the sharename. Rename it to for instance Disk1_C which saves a lot of hassle on the command line.
Hint: don't mount something into your home dir. Make a new directory and mount your windows share there. I advise you to use CIFS instead of SMBFS and mount your share like that: Code:
mount -t cifs -o user=YOUR_USERNAME //Desk1/Desk1_C /home/hans/SOMEWHERE You have to configure Samba to share directories from Linux to Windows. (Fedora has a nice and simple GUI for that called "system-config-samba") |
All times are GMT -5. The time now is 01:54 AM. |