Samba Client Problem


Horscht

Banned?
Joined
Jan 5, 2004
Messages
1,612
Age
38
Location
Germany
Website
Visit site
Hi

I downloaded the Samba client utility from the GP2X filearchive, connected to the GP2X via Samba and installed the files. I am using Windows XP SP2, Firewall disabled. My laptop has 2 Nics plus the additional RNDIS one. That makes 3 NICs.

NIC1: IP: 192.168.73.21 <--- connected to the Router/internet
NIC2: IP: 192.168.0.1 <--- connected to my xbox
NIC3: IP: 10.1.0.234 <--- connected to the GP2X

All NICs have the same subentmask (255.255.255.0), the Name of the PC is "Sascha", it's in the "WORKGROUP"


the GP2X is set up to use the IP 10.1.0.235. USB network, Web server, FTP/Telnet Server and Samba server are set to always on.

I can connect TO the GP2X just fine using all protocolls

but when I try to mount my PC shared folders with the GP2X using telnet I get problems. I am now telling step by step what I did.

1. I connect to the GP2X using Hyper Terminal. it tells me:

Linux 2.4.25 (gp2x) (ttyp0)

gp2x login:

here i enter "root" and now get the following:

[root@gp2x root]$


now I type "insmod smbfx.o" getting the result:

Using /lib/modules/2.4.25/kernel/smbfs.o
[root@gp2x root]$

now I want to mount the "123" folder from my C drive in the ext-storage menu of the gp2x. to do so, i type

smbmount //Sascha/123/ /mnt/ext/

but I get a lot of errors:

Code:
tdb((null)): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No
such file or directory
tdb((null)): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No
such file or directory
tdb((null)): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No
such file or directory
Error connecting to 192.168.0.1 (Network is unreachable)
63: Connection to Sascha failed
SMB connection failed

Why does it try to connect to 192.168.0.1? That's not the NIC the GP2X is connected to. I already tried disabling NIC2 and mount the folder again. I basicaly got the same error, but this time it tried to connect to 129.168.73.23 instead.

what am I doing wrong? I also tried the following;

smbmount //10.1.0.234/123/ /mnt/ext/

giving me the error:

64: session request to 10.1.0.234 failed (Called name not present)
64: session request to 10 failed (Called name not present)

any help would be apreciated.

thanks in advance

Horscht
 
Horscht posted on May 10 2006 at 07:57 PM said:
64: session request to 10.1.0.234 failed (Called name not present)
64: session request to 10 failed (Called name not present)

Actually, I get this all the time. It's something you can easily ignore, usually. HAve you tried checking /mnt/ext to see if there's anything in there?
 
Last edited by a moderator:
heh, seems like i missed a few lines.

when I try to "smbmount //10.1.0.234/123/ /mnt/ext/

i get:

64: session request to 10.1.0.234 failed (Called name not present)
64: session request to 10 failed (Called name not present)
Password:
64: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share
name)
SMB connection failed

where it asks me for a password, i simply press enter.
the shared folder does not appear under the ext menu

EDIT: nevermind. I know the error now. I don't have to type

smbmount //10.1.0.234/123/ but

smbmount //10.1.0.234/123 (notice the missing "/" at the end)

thanks for the help guys
 
Back
Top