[Samba] Connection to a Remote XP Box

Joseph A Nagy Jr pagan_prince at charter.net
Fri Nov 29 00:45:01 GMT 2002


What I've done so far:

Studied man samba
Connected to my parents XP box on my LAN (two different connections, even).

root at 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

         Workgroup            Master
         ---------            -------
         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




More information about the samba mailing list