|
From: Alex d. <ale...@gm...> - 2008-06-10 00:30:43
|
You could always use wireshark or tcpdump to dump the network traffic. That'll show you which end is terminating the connection, and maybe why. - A On 9-Jun-08, at 5:39 PM, Patrik Jonsson wrote: > Hi all, > > I'm trying to set up afpd on my Linksys router running linux, and > I'm running into some trouble. I looked through the archives but > couldn't find anything that described this situation, so I figured I > should shoot off an email. > > The afp server seems to start ok, when I try to connect to it using > "connect to server" to afp://192.168.2.1 in Leopard, I type in the > user/pwd and get a window saying "Connection Failed. There was an > error connecting to the server. Check the server name or IP address > and try again." If I try using mount_afp, I get "AFPMountURL > returned error 2, errno is 32". It doesn't matter which share name I > give mount_afp, even if I give a random string, I get the same error. > > On the server side, the log says: > > Jun 8 21:03:19 wrt350n daemon.info afpd[2002]: ASIP session:548(7) > from 192.168.2.3:53407(5) > Jun 8 21:03:19 wrt350n daemon.info afpd[32588]: server_child[1] > 2002 done > Jun 8 21:03:19 wrt350n daemon.info afpd[2003]: ASIP session:548(7) > from 192.168.2.3:53408(5) > Jun 8 21:03:19 wrt350n daemon.info afpd[2003]: dhx login: patrik > Jun 8 21:03:19 wrt350n daemon.info afpd[2003]: login patrik (uid > 500, gid 500) AFP3.1 > Jun 8 21:03:19 wrt350n daemon.info afpd[2003]: logout patrik > Jun 8 21:03:19 wrt350n daemon.info afpd[2003]: 0.24KB read, 0.16KB > written > Jun 8 21:03:19 wrt350n daemon.info afpd[32588]: server_child[1] > 2003 done > > so it looks like it authenticates ok, but then immediately kicks me > out. (If I intentionally use the wrong password, I get a window > saying I entered an invalid username or password, and mount_afp then > gives error -5023. The log also the nnever gets to the "login patrik > (uid 500)" line either.) > > afpd.conf says > > - -noddp -advertise_ssh -uamlist uams_dhx.so -savepassword -ipaddr > 192.168.2.1 > > and AppleVolumes.default says > > /mmc/patrik patrik allow:patrik > > The router is running dd-wrt kernel 2.4.35, afpd is version 2.0.3. > Any hints how to proceed would be most appreciated, > > Thanks, > > /Patrik > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php_______________________________________________ > Netatalk-admins mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netatalk-admins |