Network setup failure
I want to transfer files across my local network to/from an XP box. I am using a router. The XP box can access the internet via the router. It has the following settings:-
Windows IP Configuration Host Name . . . . . . . . . . . . : oem Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet Controller (3C905C-TX Compatible) Physical Address. . . . . . . . . : 00-06-5B-5D-C3-30 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.0.151 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 DNS Servers . . . . . . . . . . . : 213.150.135.210 195.58.103.21 From my Linux box, ifconfig produces... eth0 Link encap:Ethernet HWaddr 00:13:D4:18:7C:02 inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:164 errors:0 dropped:0 overruns:0 frame:0 TX packets:263 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:76195 (74.4 Kb) TX bytes:50843 (49.6 Kb) Interrupt:21 Base address:0xdead lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1499 errors:0 dropped:0 overruns:0 frame:0 TX packets:1499 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:179529 (175.3 Kb) TX bytes:179529 (175.3 Kb) My Linux box has been configured via SWAT as follows:- # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2008/08/14 15:00:25 [global] workgroup = WINDOWSSNT netbios name = LINUXMASTER map to guest = Bad User guest account = guest printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile os level = 2 preferred master = No local master = No domain master = No usershare allow guests = Yes hosts allow = 192.168.0.100/255.255.255.0 printing = cups cups options = raw print command = lpq command = %p lprm command = [homes] comment = Home Directories valid users = %S, %D%w%S read only = No inherit acls = Yes browseable = No [profiles] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 store dos attributes = Yes [users] comment = All users path = /home/ inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 BUT the SWAT status shows... version: 3.0.26a-3-1478-SUSE-SL10.3 smbd: not running nmbd: running winbindd: not running Active ConnectionsPID Client IP address Date Kill Active SharesShare User Group PID Client Date Open FilesPID Sharing R/W Oplock File Date ...and pointing my browser to smb:/workgroup produces "The address type is unknown or unsupported". Can someone tell me what I have done wrong? Thanks. |
You stated in samba config: workgroup = WINDOWSSNT
whereas trying to access in browser smb:/workgroup Isn't it mistake? Then, try to access by IP: smb:/192.168.0.151 Another problem could be with browser you use. Not every one supports such urls. To be sure everything is correct, run the command smbclient -L //192.168.0.151 |
Mount the share
Hello,
Have you tried mounting an XP share using CIFS: 1. su 2. mkdir /mnt/xpbox 3. mount -t cifs //192.168.0.151/'sharename' /mnt/xpbox -o username='xpuser',password='xp password',umask=000 4. Now you can copy files to and from the share by cd'ing to /mnt/xpbox Is the what you are looking for? Regards, Randy. |
I have now trashed XP on my client box and I have to re-install (after kicking myself a few times). I will try the CIFS method after that. Thanks for the help.
|
I tried the mount.cifs method as suggested. The result is very puzzling. The command never finishes executing. The HD light keeps flashing, but no error message shows up. If it is a hardware problem I am sure I would get a quick error message. I have spent far too much time trying to figure this out. I think I might resort to the cowardly method of using CD's.
Thanks for the assistance. |
All times are GMT -5. The time now is 07:49 AM. |