Skip navigation

Tag Archives: afpd

Go ahead, fire up your Cydia and update your Netatalk soon. The “localhost” bug has been squashed.

Wheeeee ….

Thanks Jay!

Advertisements

Today saurik posted an update to Netatalk. It’s now version 2.0.3-5 and it’s a siginificant update — we now have real root access! That means we can now connect as either the root user or as the mobile user while previously we can only connect as the mobile user.

If you have followed my instructions on how to gain access to root in this post, please read its update on how to revert the changes made, otherwise you can only log in as the mobile user (which is quite okay.)

Unfortunately, it still shows up as “localhost” instead of your device’s actual name. But that’s a minor issue and we have the work-around; simply toggle AFP off and on it again using the BossPrefs plugin.

Late Nite Update: I spent the entire saturday evening trying to figure out the “localhost” isssue and got myself really stoned reading a bunch of technical thingy I don’t have any clues on. Sigh.

But lady luck is by my side and I’m pretty sure I’ve found the fix! Hooray.

I’m not putting up the fix here as I feel I should let Saurik (the maintainer of Telesphoreo) double-check it first. So I’m going to shoot him an email about it, and hope to see a version 2.0.3-6 soon.

‘nite.

Oct 11, 2008 Update: How to enjoy the updated version 2.0.3-5 by reversing changes made in this post:

  1. Launch your favorite sFTP client and navigate to /etc/netatalk/.
  2. Download this zip, and upload & overwrite the “AppleVolumes.default” file in /etc/netatalk/.
  3. Delete the “afpd.conf” file from /etc/netatalk/.
  4. Reboot your device.
  5. Important: DO NOT use your sFTP client to delete the symbolic file “root”. I repeat, DO NOT use your sFTP client to delete the symbolic file “root”. If you do that, the content of your entire device will be deleted! You’ll have to “Option+Restore” your device after that. Leave the file alone!
  6. To connect as “root”, toggle the “Disconnect” button (as seen in the below pic) and type “root” and “alpine” when prompted.

This following instructions for Netatalk 2.0.3-4 is obsolete; do not follow.
(Scroll down for AFP BossPrefs Toggle.)

This is a follow-up on my previous entry about enabling AFP Root Access by hanXa and how I modify hanXa’s instructions so my AFPd (Netatalk 2.0.3-4) behaves like it did in AFPd 1.x. It details, step-by-step, all the how-tos in one post.

  1. Needless to say, you must install Netatalk via Cydia. You can find it under the “Networking” section.
  2. Download this zip, and use your favorite sFTP client to upload its contents (“AppleVolumes.default” & “afpd.conf”) into /etc/netatalk/. When prompted, you will allow overwriting the existing files.
  3. Launch your OS X’s Terminal.app (it’s in your /Applications/Utilities/ folder) and issue the following command:

    ssh -l root 192.168.123.88

    Read More »

November 8, 2008 Update — Please read this newer post instead if your device is running the newer iPhone OS 2.

Feb 22, 2008 Update — AFPd is no longer available via the STE repository. You can, however, download it from the author’s site.

Listen, this guide is for Mac OS X users only. As of now, there’s no easy way to mount the iPod touch as if it’s a thumb drive in other operating system such as Windows. Mac users… read on!


You’ll need a jailbroken iPod touch, and a little app called “AFPd” by Prof. James F. O’Brien of UC, Berkeley. The app can be found in the Installer, under the “Network” category via the STE source (http://psmxy.org/iphone/). The “BSD Subsystem” package is mandatory and you’ll have to install it first if you have not already done so previously.

Read More »