Option USB HSDPA modem, Orange Internet, and Debian Linux
Recently I had to get an Option Icon 505 USB HSDPA modem working on Debian unstable (2.6.39-1 kernel) with a French Orange SIM. I don’t use NetworkManager. Here’s what worked for me. You’ll need the minicom package installed, also probably a 2.6.39 or later kernel.
- Plug in USB modem
- Look for /dev/ttyHS0 to appear in the filesystem (takes a few seconds). This is basically the control channel that accepts Hayes-style modem commands.
- Look for the hso0 network interface to appear by running ‘/sbin/ifconfig hso0′. This is the point-to-point network interface that will eventually send and receive your packets.
- Launch minicom, point it at /dev/ttyHS0
- Type :
ATZ
to res et the Hayes compatible modem interface (modem should respond with ‘OK’) - Type:
AT+CGDCONT?
to list the available configurations. This listed three entries on the modem here; only one of which turned out to be useful (more on this later):
+CGDCONT: 1,”IP”,”orange.ie”,”",0,0
+CGDCONT: 2,”IP”,”orange”,”",0,0
+CGDCONT: 3,”IP”,”orangeinternet”,”",0,0
The second quoted string above is apparently the APN. - The first number in each of the above output lines is the channel configuration ID. To ask the modem to try to connect to configuration 1, with connection progress messages enabled, use:
AT_OWANCALL=1,1,1
The general format of this command is apparently:
AT_OWANCALL=<configuration ID>,<operation>,<display connection progress messages?>
where <operation> can be either 0 (to disconnect) or 1 (to connect), and <display connection progress messages?> can be either 0 for ‘no’ or 1 for ‘yes’. - The modem should respond with “OK”, then some call status lines after a few seconds:_OWANCALL: 1,2
_OWANCALL: 1,3
The first line indicates that the modem is attempting to connect. The ’3′ in the second line indicates that the connection failed. In my case, configuration 2 was the only one that worked: after I entered:
AT_OWANCALL=2,1,1
the modem returned:_OWANCALL: 2,2
_OWANCALL: 2,1
(The final 1 meaning ‘connected’). - Now you need to figure out what IP address to use to configure the hso0 network interface. Type:
AT_OWANDATA?
This should return a line like:
_OWANDATA: 2, 10.99.101.63, 0.0.0.0, 192.168.10.110, 0.0.0.0, 0.0.0.0, 0.0.0.0, 102000
The important dotted quad is the first one, 10.99.101.63 in this case. I think the third dotted quad is the DNS server address, but am not really sure. - Exit minicom and configure your hso0 network interface as root or via sudo:
ifconfig hso0 10.99.101.63 netmask 255.255.255.255 up
route add default dev hso0 - That should do it. You might also have to edit your /etc/resolv.conf file to configure your DNS server, if you use a different configuration than I do.
Here are some other links that you might find useful:
Etna – Supported AT Commands (external use), Rev. V2.04
These packages may also be helpful for you, although they were not helpful here:
PHARScape Option USB modem control programs
Filed under: dun, linux, support · 4 Comments








































SourceForge is great for project hosting, but let’s face it.. their bug tracker is slow, clunky, and barely usable. Same for the SF.net support forums. Today I found 

