Using a Novatel U760 on Snow Lepoard (with automatic ejecting)
One of the most useful new features in Snow Leopard is built-in support for many common WWAN USB devices used to connect to the internet over a 3G connection. This means that instead of having to use a special application (such as "Mobile Connect" when connecting with Bell), you can just use the new menu applet instead. I'm using a Novatel U760 adapter, and here are the steps I used to make its use seamless under 10.6.
Uninstall the old Leopard drivers
If you've upgraded from a 10.5 installation which had the Novatel drivers installed, you'll need to uninstall them manually. While they still allow you to connect, they do prevent the built-in drivers from working, and don't seem to work with Internet Sharing. There isn't an automatic uninstaller, so for now move the following files to your desktop, and trash them when everything is working with the built-in drivers:
/Library/LaunchAgents/com.novatelwireless.NvtlServer.plist/System/Library/Extensions/NovatelWireless3G.kext/System/Library/Extensions/NovatelWirelessFilter.kext/Applications/Mobile Connect(or whatever your connect application is branded as by your ISP)
Once these files are out of the way, remove the USB adapter and reboot. If you're a CLI hacker, you can use kextunload and lanuchctl to unload everything without rebooting.
Test that your adapter works with the built-in drivers
After rebooting, insert the USB adapter. The Novatel U760 will present itself as a USB storage device with the drivers to install. Eject the volume ("MobileConnect" in my case), but leave the adapter connected. After a moment or two, the adapter will switch into it's network mode, and OS X will detect the adapter. Click "Network Preferences..." to confirm the connection. OS X automatically filled in the required fields for me, so it should "just work" unless your ISP didn't pre-configure your adapter for you. Click "Connect", and in a moment you should be online. As well, the menu applet will now show your connection status, along with options to connect and disconnect. The Novatel U760 doesn't seem to communicate signal strength properly, but that will hopefully be fixed in a later OS X revision.
Automate the volume ejection process
Remembering to eject and unmount the driver installation volume is a bit of a pain, but OS X has the ability to automatically do this for us. launchd can be notified to run an action whenever a folder changes, without any additional overhead. Download the attached ca.abdevelopment.umount-mobileconnect.plist and save it to ~/Library/LaunchAgents, or /Library/LaunchAgents to have it apply for all users. This file will automatically detach any volume mounted at /Volumes/MobileConnect. Log out and back in to have the new file load, or use launchctl.
If your adapter uses a different volume name, then open up the plist in Property List Editor or TextEdit and change the path as needed. If any other large ISPs are using different volume names, feel free to post them in the comments and I'll add them to this page.
| Attachment | Size |
|---|---|
| ca.abdevelopment.umount-mobileconnect.plist | 495 bytes |

Comments
Yes! WWAN is a win.
When I first saw the built in option, I had incorrectly assessed that it implied that the wireless network cards shipped with Apple computers had WWAN capabilities; I'm sure one day, this will be a reality. How do you find the 3G USB stick? Can it replace a DSL/Cable connection for general internet access?
Now if Apple will just fix their internet connection sharing, and allow you to share out the 3G connection with WPA2 encryption over the built in aircard, things would be perfect.
(Apparently, there's no technical limitation-- WEP encryption is the only one offered because the feature has just slipped to the side.)
Both Bell and Rogers sell USB
Both Bell and Rogers sell USB adapters. They can't replace a wired connection as they both have pretty atrocious bandwidth limits; the Bell service is something like $30 / month for 6GB of transfer.
I did open Wifi sharing and it worked fine, but we were up north with no one around to try to steal internet access. Long term, if I needed secure wifi sharing, I'd either set up a VM with Ubuntu (Linux supports the U760 adapter as well), or a dedicated machine.
I also discovered by accident that my ancient cell phone is now supported for data transfer - 14.4 Kbps!
Bell Mobile Connect on Snow Leopard
Andrew, thanks for the above tip. Since moving to snow leopard with the Bell Mobile Connect program and the U760 USB stick, I have had consistent system freezes and messages to reboot! If I removed the USB stick and did not start the Mobile Connect program, my system ran fine!
I followed your instructions above but had to make a few changes to it. The com.novatelwireless.nvtlserver.plist file was not in the directory you specified but in "launchDaemons". Also in that same directory was a file called "Mobile Conect.plist". I deleted that also. Everything else went fine as per your notes. I did not have to automate the ejection process. After first reboot and establishment of the network connection, I shut down and rebooted the mac with the stick still installed - everything worked fine
Will let you know if using the native snow leopard drivers for the U760 stops my system freezes.
Fred
Bell Mobile Connect on Snow Leopard
Andrew, no system freezes for 24 hours - a miracle! A small correction to the above message. I did have to implement the automatic ejection of the MobileConnect Volume on startup. When I shut the system down and started back up the volume did appear. Restart it did not. Anyway all is working well now. Many thanks for your workaround.
Fred
Glad to hear it's working for
Glad to hear it's working for you.
I wonder if the RunAtLoad key would make it work for a full shutdown? It makes sense what's happening, since a full shutdown will kill power to the modem, flipping it back to USB disk mode.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>ca.abdevelopment.umount-mobileconnect</string>
<key>ProgramArguments</key>
<array>
<string>hdiutil</string>
<string>detach</string>
<string>/Volumes/MobileConnect</string>
</array>
<key>QueueDirectories</key>
<array>
<string>/Volumes/MobileConnect</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Novatel U760
I sure am glad I found this article because I had about 19 panics, 1 about every 24 hrs. Bell could not help me till they finally tried with their workaround on the 19th of April about 10 a.m. edt. It did not work. Apple has not answered me yet since April 11th.
Yours has been working fine since some hours after that, I thank you very much.
I still have some strange happenings in some logs.
Window server: Apr 21 05:36:30 [70] kCGErrorIllegalArgument: CGXSetTrackingAreaOption : Invalid tracking area
system log: Apr 21 08:15:46XXXXXXXXXXXXX com.apple.DirectoryServices[15]: YP server for domain bell not responding, still trying
Apr 21 08:15:46 XXXXXXXXXXX ypbind[27]: dead domain bell
NK
ypbind is for NIS passwords,
ypbind is for NIS passwords, so it seems really strange that your system is doing that, unless you or someone else set that up. But, glad to hear that your kernel panics have stopped.
Post new comment