NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Huawei E870?



Hi folks,

the Huawei works on NetBSD 5.0 beta.

Here is how you decode the messages on the second (/dev/ttyU1) USB serial port:

http://trac.warp.es/wader/browser/trunk/wader/common/hardware/huawei.py?rev=229

They look like this:

^DSFLOWRPT:00009044,00000000,00000000,0000000000518CDC, 000000000677D28D,000BB800,1014C903

^MODE:5,4

^DSFLOWRPT:00009046,0000005E,0000003A, 0000000000518D99,000000000677D301,000BB800,101A0903

^MODE:5,5

Maybe somebody can write a nice Rddtool frontend for it?

netbsd5: {6} cat /etc/ppp/chat.gsm
#
#Chat script to dial out with GSM phone
#
ABORT "BUSY"
ABORT "NO CARRIER"
ABORT "DELAYED"
ABORT "NO DIALTONE"
ABORT "VOICE"

TIMEOUT 10
""      AT
OK-AT-OK    AT&F
OK          AT+CGDCONT=1,"IP","\U"

TIMEOUT 60
OK  ATDT\T
CONNECT \c

netbsd5: {7} cat /etc/ppp/options
460800
crtscts
local
defaultroute
usepeerdns
noipdefault


netbsd5: {10} cat /etc/ppp/peers/gprs
/dev/ttyU0
connect "/usr/sbin/chat -V -f /etc/ppp/chat.gsm -U pinternet.interkom.de -T *99#"
noccp

netbsd5: {12} cat /etc/ppp/chap-secrets
* * fonic


after you did that do a "pppd call gprs" and it should work :)

David




Home | Main Index | Thread Index | Old Index