2846
Comment: correct typo
|
← Revision 3 as of 2010-11-08 02:22:23 ⇥
3085
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#format wiki | |
Line 3: | Line 2: |
||<tablestyle="width: 100%;" style="border: 0px hidden">~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/Modem/3G/Ericsson|Italiano]]-~||<style="text-align: right;border: 0px hidden"> (!) [[/Discussion|Discussion]]|| ---- |
|
Line 22: | Line 23: |
Accessing the modem with {{{cu(1)}}}: | Accessing the modem with [[DebianPkg:cu]]: |
Line 45: | Line 46: |
|| Display Revison || {{{at+gmr}}} || | || Display Revision || {{{at+gmr}}} || |
Ericsson F3507g
This article describes how to setup an Ericsson F3507g 3G-Modem.
This kind of modem is builtin into IBM/Lenovo Thinkpads T500 for example:
$ lsusb | grep -i ericsson Bus 004 Device 016: ID 0bdb:1900 Ericsson Business Mobile Networks BV
Modemsetup
Get Access
The kernel provides 3 serial interfaces:
/dev/ttyACM0 |
Ericsson F3507g Mobile Broadband Minicard Modem |
/dev/ttyACM1 |
Ericsson F3507g Mobile Broadband Minicard Data Modem |
/dev/ttyACM2 |
Ericsson F3507g Mobile Broadband Minicard GPS Port |
Accessing the modem with cu:
$ cu -l /dev/ttyACM0 Connected. at+gmi Ericsson OK at+gmm F3507g OK ~. Disconnected.
AT-Commands
Description |
AT-Command |
Display all Commands |
at* |
Display Manufacturer |
at+gmi |
Display Model |
at+gmm |
Display Revision |
at+gmr |
Display IMEI |
at+cgsn |
Show Command Option ex. |
at+cpin=? |
Read Command Option ex. |
at+cpin? |
GPRS + UMTS Radio on |
at+cfun=1 |
GPRS + UMTS Radio off |
at+cfun=4 |
GPRS (UMTS Radio off) |
at+cfun=5 |
UMTS (GPRS Radio off) |
at+cfun=6 |
CDC Ethernet Setup
The Kernel generates a new ethernet interface:
usb0: register 'cdc_ether' at usb-0000:00:1d.7-4, CDC Ethernet Device, 02:80:37:ec:02:00
/etc/network/interfaces
# GSM Interface iface usb0 inet dhcp pre-up /usr/sbin/chat -v -f /etc/chatscripts/eplus >/dev/ttyACM0 </dev/ttyACM0 post-down /usr/sbin/chat -v -f /etc/chatscripts/gsm_off >/dev/ttyACM0 </dev/ttyACM0
/etc/chatscripts/eplus
ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR TIMEOUT 10 '' AT+CFUN=6 OK AT+CPIN? READY-AT+CPIN="1234"-PACSP0 \dAT+CPIN? READY \c OK \dAT+CGDCONT=1,"IP","internet.eplus.de","0.0.0.0" OK \dAT*EIAAUW=1,1,"blau","blau",00111,0 OK \d\d\dAT*ENAP=1,1 OK
Replace 1234 in 'AT+CPIN="1234"' with your PIN
Replace internet.eplus.de with your APN
Replace "blau","blau" with your Username Password
without delays "\d" the modem setup doesn't work reliable
/etc/chatscripts/gsm_off
ABORT ERROR TIMEOUT 5 '' AT+CFUN=4 OK
External Links
http://www.thinkwiki.org/wiki/Ericsson_F3507g_Mobile_Broadband_Module
http://www.natisbad.org/E4300/Dell_Wireless_5530_AT_cmd_ref.html
http://redmonk.com/sogrady/2008/12/07/how-to-use-an-att-ericsson-f3507g-card-on-ubuntu-intrepid/