Huawei E160G wireless USB on Three with Debian Lenny

I bought a 3 Prepaid mobile broadband Internet USB key modem so that I'm able to hook my eeePC up to the net wherever I am.. sometimes one is in between source and destination and needs to re-attach screen and fix a problem that Nagios has alerted one to :)

The USB modem model is a Huawei E160G. I had some difficulty finding out what the settings are to use for the PPP connection. Unfortunately Debian Lenny has a version of NetworkManager prior to 0.70, which apparently introduced support for mobile broadband devices such as these. As a result, it's apparently a plug'n'play sort of setup on Ubuntu, but as usual, a little more work on Debian.

Incredibly, a lot of people have got it to work (just google it), but have a habit of simply saying 'wow this is great, I got it to work with wvdial, just enter the settings into /etc/wvdial.conf and run wvdial and it works'... somehow everyone has forgotten that it might be useful to actually post example settings for networks.

So here's mine, running on the 3 network in Australia, for the Prepaid package (the Plan version has different settings: apparently you can substitute '3services' below with '3netaccess'.

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Modem = /dev/ttyUSB0
New PPPD = yes
Phone = *99#
ISDN = 0
Username = '
Password = '
Stupid Mode = yes
Carrier Check = no
Baud = 460800
Init5 = AT+CGDCONT=1,"IP","3services"
Auto Reconnect = no

Comments

Thanks maaate! Writing from x200 via WWAN internets.

Add new comment