Home > Mac OS X > Configuring the AnyDATA ADU-510L modem on Mac OS X

Configuring the AnyDATA ADU-510L modem on Mac OS X

Recently I subscribed to the new VDSL service from Romtelecom for 3 years and, as a bonus, I got the Clicknet Mobile service for free. Romtelecom uses (or at least this is what I got) as modem for this service the following modem model: ADU-510L from AnyDATA.

The modem worked as a charm on Windows, but on Mac OS X I had a few problems.. The modem was recognized just fine the first time when I inserted it into my computer, but then, the next times, it wasn’t. I was getting only screens such as:

Disk insertion

It seems this problem is caused by the zeroconf feature of ADU-510L modem: once it’s installed, the configuration is removed from the USB device (at least this was the explanation that I found somewhere on the net). Hence, any later attempt to install it won’t work. (let me know if this is wrong so I can correct it)

Then I found a few posts on the internet on how to make this modem work on Linux. The most useful was this one, in Romanian (thank you!)

So.. here are the steps I used to make everything work on my computer.. These steps might not work for you, so use them with caution !

  • I installed libusb using macports:
    • sudo port install libusb
  • I downloaded the usb_modeswitch from here and I compiled it:
    • I edited the Makefile:
      • I added the following line at the beginning: CFLAGS = -I/local/include -I/opt/local/include -L/local/lib -L/opt/local/lib
      • I added the $(CFLAGS) in the $(PROG) line below: $(CC) $(CCFLAGS) $(CFLAGS) -o $(PROG) $(OBJS)
    • I un-commented the following lines in usb_modeswitch.conf:

    DefaultVendor=  0x05c6

    DefaultProduct= 0×1000

    TargetVendor=   0x16d5

    TargetProduct=  0×6502

    MessageEndpoint=0×08

    MessageContent=”5553424312345678000000000000061b000000020000000000000000000000″

    • Then I run make && make install to compile and install it.
  • I inserted the modem into the computer (I still got the error dialog above).
  • I executed the following command (this step was inspired by this post):
    • sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
  • After this, I run the command sudo usb_modeswitch which, to my surprise, was successful.
  • Then I went System Preferences -> Network. A dialog let me know that the modem was recognized..
  • From this moment on, I just followed the docs provided with the Mac drivers.

Yippee ! Now I’m really mobile ! :)

Advertisement
  1. iscutaru
    August 14, 2009 at 6:56 am | #1

    It seems the setup is lost after restart.. I had to create the following short script:

    #!/bin/sh
    sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass
    /usr/sbin/usb_modeswitch

    I run it every time before I try to login..

  2. narcizzen
    September 3, 2010 at 2:17 pm | #2

    hi! Thank you for outlining the necessary steps, but unfortunately I have to fix this for my brother who is another country, and he is not tech savvy at all.To top it off, even though I’m pretty good with pc’s, I have never owned a mac, so I have no idea how to follow these steps.Could you please provide a simpler explanation, or maybe some fix that he can apply directly?I would be very grateful…I hope you will see this after all this time.Thanks!

    • iscutaru
      September 3, 2010 at 2:32 pm | #3

      Hi,

      Unfortunately this was the simplest I could write it.. I haven’t much experience with programming in Linux either, so providing an automated way it’s even harder..

      Besides this, it’s been a while since I wrote the article ..

      I’m sorry, I can’t help..

  3. December 9, 2010 at 9:17 am | #4

    Hi there,

    I’ve try your step on my Leopard 10.5.8 but I use gcc42preview1.dmg only not Xcode, because I really run out of space. Unfortunately it can’t compile usb_modeswitch. It seem doesn’t have some include file in lib directory.

    So, would you mind to upload your compiled usb_modeswitch or send it to my e-mail.
    Thanks….

  1. December 17, 2010 at 11:16 am | #1
  2. June 18, 2011 at 6:23 am | #2
  3. June 30, 2011 at 6:42 am | #3
You must be logged in to post a comment.
Follow

Get every new post delivered to your Inbox.