[Samba] Connection to a Remote XP Box
What I've done so far: Studied man samba Connected to my parents XP box on my LAN (two different connections, even). root@omega-fleet root]# smbclient -L 64.131.112.121 added interface ip=192.168.1.11 bcast=192.168.1.255 nmask=255.255.255.0 added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0 session request to some.ip failed (Called name not present) session request to some failed (Called name not present) Password: Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment - --- IPC$ IPC Remote IPC D$ Disk Default share ADMIN$ Disk Remote Admin C$ Disk Default share Win98 SE (F) Disk Server Comment ---- CHRIS WorkgroupMaster ---- HOME CHRIS ping -c 10 some.ip PING some.ip (some.ip) from 192.168.1.11 : 56(84) bytes of data. 64 bytes from some.ip: icmp_seq=0 ttl=116 time=337.167 msec 64 bytes from some.ip: icmp_seq=1 ttl=116 time=279.711 msec 64 bytes from some.ip: icmp_seq=2 ttl=116 time=279.710 msec 64 bytes from some.ip: icmp_seq=3 ttl=116 time=259.711 msec 64 bytes from some.ip: icmp_seq=4 ttl=116 time=279.709 msec 64 bytes from some.ip: icmp_seq=5 ttl=116 time=279.691 msec 64 bytes from some.ip: icmp_seq=6 ttl=116 time=269.588 msec 64 bytes from some.ip: icmp_seq=7 ttl=116 time=259.712 msec 64 bytes from some.ip: icmp_seq=8 ttl=116 time=269.710 msec 64 bytes from some.op: icmp_seq=9 ttl=116 time=269.784 msec --- 64.131.112.121 ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/mdev = 259.711/278.449/337.167/20.947 ms He's connected directly to the gateway. No firewall. mount -t smbfs -o username=somename,password=somepass //s.o.m.e.i.p/F /chris/ 21287: session request to s.o.m.e.i.p. failed (Called name not present) 21287: session request to s failed (Called name not present) 21287: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed But the command works when I use: mount -t smbfs -o username=username,password=somepass //hal9001/C /linux/ ((box on lan)) What am I missing/doing wrong? -- Joseph A Nagy Jr Purgatory is where Windows users go when they Founder and CEO die so they can figure out Linux and ascend into Joseph A Nagy Jr Enterprises whatever higher plane one belives in. http://jan-jr-ent.homelinux.org Linux - The Choice of Every Generation C.S.S.: Construct Skilled in Sabotage H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection to a Remote XP Box
The one thing I missed...I'M behind a router (Linksys DSL/Cable 4-Port router). -- Joseph A Nagy Jr Purgatory is where Windows users go when they Founder and CEO die so they can figure out Linux and ascend into Joseph A Nagy Jr Enterprises whatever higher plane one belives in. http://jan-jr-ent.homelinux.org Linux - The Choice of Every Generation C.S.S.: Construct Skilled in Sabotage H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection to a Remote XP Box
As I recall your error was called name not present, yes? I am not sure what is doing this. To troubleshoot this, I would make sure that your host resolution is working right. The parameter: [global] name resolve order = lmhosts wins bcast hosts determines how things are looked up. lmhosts = lmhosts file on your linux box wins = use wins server bcast = broadcast hosts = use host lookup. Will check /etc/hosts, then your DNS. The default order, as listed in loadparam.c, seems to be: string_set(Globals.szNameResolveOrder, lmhosts host wins bcast); (Yes, host and hosts both seem to work, dunno.) Edit smb.conf, and use just one method at a time, eg: name resolve order = wins smbclient will only try the wins server with this options specified. You might be able to track down where the error is coming from. You don't have to restart smbd after you make these changes. My suspicion is that one of the methods of lookup is returning wrong data. Joel On Thu, Nov 28, 2002 at 06:53:28PM -0600, Joseph A Nagy Jr wrote: The one thing I missed...I'M behind a router (Linksys DSL/Cable 4-Port router). -- Joseph A Nagy Jr Purgatory is where Windows users go when they Founder and CEO die so they can figure out Linux and ascend into Joseph A Nagy Jr Enterprises whatever higher plane one belives in. http://jan-jr-ent.homelinux.org Linux - The Choice of Every Generation C.S.S.: Construct Skilled in Sabotage H.T.M.L.: Hazardous Troubleshooting and Mathematics Lifeform http://www.brunching.com/cgi/cyborger.cgi?acronym=Linux -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Connection to a Remote XP Box
Joseph A Nagy Jr wrote: Win98 SE (F) Disk mount -t smbfs -o username=somename,password=somepass //s.o.m.e.i.p/F /chris/ 21287: session request to s.o.m.e.i.p. failed (Called name not present) 21287: session request to s failed (Called name not present) 21287: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed I think this is a fairly easy problem. The name of the share is not 'F' but 'Win98 SE (F)' if I'm not mistaken. That is why you are getting the error about no such share. -- Um, can you repeat the part of the stuff where you said all about the things? - Homer Simpson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba