T-Mobile 3G Dongle and OSX Snow Leopard
by Mike
~After spotting a great deal in PC World this evening, I came home with a T-Mobile PAYG 3G Dongle, £20 got me the Dongle, £10 credit and 30 days service for just £2.
Upon installing, everything seemed fine until I went to use Terminal.. “[Process Completed]“, at first, I thought zcsh was broken, but no other shells were working either, so I reboot in hope that it may just go away, but this is where my problems start, it won’t boot.
After doing a bit of research, it seems the installer replaces libcurl.4.dylib with a 32bit only version - many things rely on this lib, resulting in a broken system.
Now, to fix this problem, you need to replace the lib with the original, you can download a copy of this here: http://www.mike-hughes.net/share/libcurl.4.dylib.bz2
Once you have this, you need to boot your mac up in Single User mode, you can do this by holding Command/Apple + S immediately at boot.
Once there, you need to mount your disk
fsck -fy
mount -uw /
Now, The only easy way I found of getting the file over to the mac in single user mode is to scp it over, but for this you’ll need networking support, you’ll need an ethernet connection;
launchctl load /System/Library/LaunchDaemons/com.apple.kextd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.notifyd.plist
launchctl load /System/Library/LaunchDaemons/com.apple.configd.plist
launchctl load /System/Library/LaunchDaemon com.apple.DirectoryServices.plist
Once you’re connected (You can check with `ifconfig`), you can scp the file over;
scp user@yourhost.com:/path/to/libcurl.4.dylib .
And then simply copy it to /usr/lib;
cp libcurl.4.dylib /usr/lib/
And that’s it, reboot and you’re all sorted.
I’ve tested my dongle since, and it still seems to work, I’ll report back if any more issues ensue.