From Mexico.purplecow.org

(Difference between revisions)
Jump to: navigation, search
(Conecting to Vodafone Australia using the Huawei E220 USB 3G Modem / Dongle on Solaris)
Current revision (17:09, 7 September 2009) (view source)
(details)
 
(One intermediate revision not shown.)
Line 1: Line 1:
-
= Connecting to Vodafone Australia using the Huawei E220 USB 3G Modem / Dongle on Solaris =
+
= Huawei E220 on Solaris<br><br>with Vodafone Australia =
 +
 
 +
== Connecting to Vodafone Australia using the Huawei E220 USB 3G Modem / Dongle on Solaris ==
== Grep Bait ==
== Grep Bait ==
-
A few keywords to help search engines index this up for the googlers: Huawei E220 Vodafone Australia vfinternet vfinternet.au Solaris OpenSolaris pppd stupid design
+
A few keywords to help search engines index this up for the googlers: Huawei E220 Vodafone Australia vfinternet vfinternet.au Solaris OpenSolaris pppd peers stupid dongle usb configure
== Tips ==
== Tips ==
Line 10: Line 12:
* Run a current Solaris 10 or OpenSolaris. This was tested on 10u6, it definately didn't work on 10u2.
* Run a current Solaris 10 or OpenSolaris. This was tested on 10u6, it definately didn't work on 10u2.
 +
 +
* Don't take everything you read in the forums too seriously, a lot of it is dated and/or just plain wrong.
 +
 +
* There are some claims of problems with more than 1 core which should be fixed by a current release, but I tested on a Grover+ and thus didn't get a chance for it to break.
 +
 +
* You may wish to twiddle up some keep-alive arrangement to stop the modem going to sleep and adding latency.
 +
 +
* If you pull the SIM out (don't do this), bad things will happen and it'll screw you around. Mine changed USB device ID (!), hence the two entries in driver_aliases instead of just teh entry of usb12d1,1003.
 +
 +
* tip on /dev/term/0 can be handy.
 +
 +
* Vodafone seems to impose a "deny all incoming" type firewall, but you should probably configure ipfilter just in case.
 +
 +
* Don't forget to take care of DNS.
 +
 +
* Local caching proxy will probably help, as will Opera 10's "Turbo" function (possibly!, untested).
== Configure your files! ==  
== Configure your files! ==  

Current revision

Huawei E220 on Solaris

with Vodafone Australia

Connecting to Vodafone Australia using the Huawei E220 USB 3G Modem / Dongle on Solaris

Grep Bait

A few keywords to help search engines index this up for the googlers: Huawei E220 Vodafone Australia vfinternet vfinternet.au Solaris OpenSolaris pppd peers stupid dongle usb configure

Tips

  • Try using your Huawei E220 with Windows first. It makes sure it works and if the Voda drivers do anything special, they will have done it.
  • Run a current Solaris 10 or OpenSolaris. This was tested on 10u6, it definately didn't work on 10u2.
  • Don't take everything you read in the forums too seriously, a lot of it is dated and/or just plain wrong.
  • There are some claims of problems with more than 1 core which should be fixed by a current release, but I tested on a Grover+ and thus didn't get a chance for it to break.
  • You may wish to twiddle up some keep-alive arrangement to stop the modem going to sleep and adding latency.
  • If you pull the SIM out (don't do this), bad things will happen and it'll screw you around. Mine changed USB device ID (!), hence the two entries in driver_aliases instead of just teh entry of usb12d1,1003.
  • tip on /dev/term/0 can be handy.
  • Vodafone seems to impose a "deny all incoming" type firewall, but you should probably configure ipfilter just in case.
  • Don't forget to take care of DNS.
  • Local caching proxy will probably help, as will Opera 10's "Turbo" function (possibly!, untested).

Configure your files!

/etc/ppp/peers/vodafone

term/0
460800
debug
logfile /var/adm/voda.log
idle 7200
lock
crtscts
modem
noauth
defaultroute
user removed
password 1
connect "/bin/chat -Vv -f /etc/ppp/chat-vodafone"
noipdefault
usepeerdns
:0.0.0.0
noccp
novj
nodetach
persist

/etc/ppp/chat-vodafone

 ABORT 'BUSY'
 ABORT 'NO CARRIER'
 "" AT&F
 OK AT\136u2diag=0
 OK ATE0V1E1X1\136SYSCFG=2,2,3FFFFFFF,1,2
 OK ATS7=60
 OK AT+CGDCONT=1,"IP","vfinternet.au"
 OK AT+CGQMIN=1
 OK AT+CGQREQ=1
 OK "ATD \052 99\052\052 2 \043"
 REPORT CONNECT ''

APPEND to /etc/driver_aliases

usbsacm "usb12d1,1003"
usbsacm "usb12d1,1001"

CONNECT

pppd call vodafone debug

(I'm sure the debug bit is obvious, right?)

Links

Original help from http://blogs.sun.com/jmcp - check it for further links and help.

Testing platform

Sun Blade 150 (yep, SPARC), Solaris 10u6.