Getting XS4ALL HSDPA/UMTS working on OS X Leopard 11

Posted by andy

Article was updated. See below, the Option software should work out-of-the-box for Leopard 10.5.5 or higher!

Last week I received my HSDPA/UMTS/GPRS card from XS4ALL. After the major ADSL outtage fiasco It really dawned on me that not having net access for a day actually costs more than the whole wireless plan per month! Think about it, as I telecommute 4 days in the week I would actually have to drive to the office to get work done (luckily our offices were spared from the outtage!), the parking money alone is almost more than the whole plan (go Amsterdam!). Enough justification for the new toy. It arrrived, weeh!

The specs clearly state it should work fine an OS X 10.3.x or later. Unfortunatly the instructions from XS4ALL are completely useless when you are running on Leopard. It probably has more to do with Option and their drivers or OS X and its (shoddy) support for the hardware which is the Globetrotter Express 7.2 card btw.

After 2 hours of fiddling with various releases of drivers and trying all the the blog tricks from people around the world with the same card I was almost ready to give up when I stumbled upon this HOWTO for Linux. As always Linux to the rescue. It turns out the card is basically just a glorified modem and you just need the right AT commands and some pppd magic to get things going.. Grrrreat, familiar territory! (I have to confess, OS X dumbs you down, so having things breaking once in a while is gooooood!!)

After some searching I found the following devices:



Cool, connecting to the cu.GT HSDPA Modem tty device should work:

$ screen /dev/cu.GT\ HSDPA\ Modem
AT<return>
OK

Yes! The device is alive. Now, to find out if there is some combination of settings in the Network Preferences that actually make it work. Some further blogging shows that the Option » GSM configurations comes closest to what this cards expects.

Wow, 5 entries for the card. Just pick one which gives you a modem icon. Then choose "Advanced..." and pick model "Option" and then choose "GSM" (should be the only option anyway). In the "APN" field you should fill in "umts.xs4all.nl".

Back to the connection setup screen. Fill in "*99***1#" in the Telephone number field, although this is not strictly needed I think. Fill in your XS4ALL username and password in the field. Note: even though XS4ALL states you don't need your account password to connect at least I had to fill in the correct password. The pppd connection would immediately be dropped otherwise. Also, select the "Show modem status in menu bar" for convenience.

Now it's time to connect. Select the "Connect Globetrotter HSDPA Modem" from the dropdown modem menu bar. You should see the modem connecting..

You can open up the console and monitor "system.log" and also filter on "pppd" to see the relevant lines

If everything went well you should now be connected to the Internet and have an IP address in the mobile.xs4all.nl range. Enjoy! I have the Mobile start plan which currently gives you 768/128 and I'm happy to say that from all the locations I've tried so far in and around Amsterdam I always get the full bandwidth. Ping times are also quite reasonable, most of the time around 90ms, sometimes in the 300ms range (perhaps when it drops back to GPRS?). Anyway, SSH and web browsing are perfectly doable. Next up.. OpenVPN setup... another day..

Update: Forgot to mention this, but you need to disable the PIN on your SIM card for all of this to work. You can do this by putting it in your mobile phone and disable it using the phone's config menus.

Update 2: After upgrading Leopard to 10.5.5 the above instructions were completely invalidated for me. However!!! The GT Mac Connect 1.3d0-164 software (downloadable from Option worked for me out of the box, where previously it failed mysteriously!! Try it!!

Comments

Leave a response

  1. Thijs van der VossenJune 05, 2008 @ 09:30 AM
    I'm wondering how reliable this is. Have you had any issues with the card and/or the HSDPA/UMTS/GPRS service from XS4ALL?
  2. andyJune 05, 2008 @ 09:46 AM
    @Thijs: so far it has been very stable. Got max. download/upload performance from every location I've tried it from so far. I'm also quite happy with the latency (90ms average) so can't complain. It's just too bad the installation was a hassle on Leopard, at least for me. A friend of mine has a the Vodafone HSDPA package and their offering is Leopard friendly because they bundle a special version of launch2net with their cards (same hardware).
  3. JohanJune 09, 2008 @ 02:24 PM
    Hi Andy, Having the same problem, I tried your solution. Only thing is I don't see the Modem in /dev. I do see the App Diag and Control though. Do you have any thoughts on that? By the way, thanks for posting this solution in the first place. Johan
  4. andyJune 09, 2008 @ 09:23 PM
    Hi Johan,

    Did you install the drivers that came with the card? If not, you can also find them online:

    http://www.option.com/data/gtmac/GlobeTroter%20Connect_1.3d0-164.20618.zip

    Sounds like you are still missing those..

    -andy
  5. JohanJune 10, 2008 @ 09:38 AM
    Yes, I did all that, but I don't see the cu.GT HSDPA Modem entry. I only have these: Last login: Tue Jun 10 08:44:05 on console crw-rw-rw- 1 root wheel 9, 3 10 jun 08:43 /dev/cu.GT HSDPA App crw-rw-rw- 1 root wheel 9, 1 10 jun 08:43 /dev/cu.GT HSDPA Control crw-rw-rw- 1 root wheel 9, 5 10 jun 08:43 /dev/cu.GT HSDPA Diag crw-rw-rw- 1 root wheel 9, 2 10 jun 08:43 /dev/tty.GT HSDPA App crw-rw-rw- 1 root wheel 9, 0 10 jun 08:43 /dev/tty.GT HSDPA Control crw-rw-rw- 1 root wheel 9, 4 10 jun 08:43 /dev/tty.GT HSDPA Diag Then, connecting (with the modem, as you described) gives this: Jun 10 09:04:20 jj-de-jongs-macbook-pro pppd[246]: pppd 2.4.2 (Apple version 314) started by root, uid 501 Jun 10 09:04:21 jj-de-jongs-macbook-pro ccl[248]: Initializing phone: ATE0V1&F&D2&C1&C2S0=0 Jun 10 09:04:21 jj-de-jongs-macbook-pro ccl[248]: Initializing PDP context: AT+CGDCONT=1,"IP","umts.xs4all.nl" Jun 10 09:04:21 jj-de-jongs-macbook-pro ccl[248]: Dialing: ATD*99***1# Jun 10 09:04:21 jj-de-jongs-macbook-pro ccl[248]: Waiting for connection Jun 10 09:05:31 jj-de-jongs-macbook-pro ccl[248]: Modem error; the modem is not responding. Jun 10 09:05:31 jj-de-jongs-macbook-pro ccl[248]: CCLExit: -6019 (Modem error, modem not responding.) Jun 10 09:05:31 jj-de-jongs-macbook-pro pppd[246]: Connect script failed Another thing that strikes me is that the Option Modem scripts (in /Library/Modem Scripts/) are executables (Option Globetrotter GSM and Option Globetrotter 3G). I tried to copy/paste them in a textfile. No use of course, but I have to try anything ;-) As far as I'm aware I disabled the SIM PIN (I did it on XP, where the connection does work though...) The last thing I can think of is that there's a HW problem, i.e maybe something's wrong with the expresss bus. And then it ends for me... Any thoughts would be welcome, if none, no problem, I'll look further.
  6. JohanJune 10, 2008 @ 09:52 AM
    Sorry, the new lines don't seem to work
  7. andyJune 12, 2008 @ 02:33 PM
    Hmm, strange

    Can you create the device special files yourself and then try the connect? The "tty.GT HSDPA Modem" should be the next device after "cu.GT HSDPA Diag". The "cu.GT HSDPA Modem" should then be after that one i.e. if the "tty.GT HSDPA Diag" file is "9,9" then you should mknod the 9,10 and 9,11 modem files yourself. Mind you, I don't know if this is possible and even if it will work, good luck

    -andy

    PS. Yeah, commenting sucks, sorry, you have to add HTML markup to make things look right :(
  8. JohanJune 27, 2008 @ 07:06 PM
    I installed launsch2net and suddenly the tty.GT HSDPA Modem did appear. Though Launsch2net didn't work, now your solution does. Thanks.
  9. Jan van der TornSeptember 08, 2008 @ 05:47 PM
    I can't get the damed thing to work. I'm missing the modem device nodes you listed, so I only gor 6 nodes, not the 8 you've got. Naturally my Mac says, device not found :-( Any suggestions? The Option company leaves me in the dark, no help from them thank you very much... Jan
  10. andySeptember 22, 2008 @ 10:58 AM
    @Jan: try installing the launch2net drivers and see if that helps:

    http://www.novamedia.de/e_pages/e_produkte_mac_l2n.html

    -andy
  11. JanNovember 05, 2008 @ 09:58 AM
    I got it working. A xs4all guy told me that the (Mac) software from Option forgets to turn of the zero CD-option. After an XP installation (that software does function right) the zero CD bit is set. The card works on my Mac now. grt, JvdT :-)
Comment