Dobrica Pavlinušić's random unstructured stuff
Huawei E220: Revision 7
Working configuration(for me at least :-) /etc/ppp/peers/huawei-e220dpavlin@llin:~$ cat /etc/ppp/peers/huawei-e220 # /etc/ppp/peers/huawei-e220 pppd script # pppd call huawei-e220 debug kdebug 3 nodetach #persist /dev/ttyUSB0 460800 idle 7200 noipdefault defaultroute usepeerdns connect "/usr/sbin/chat -vf /etc/chatscripts/huawei-e220.chat" # avoid compression: noccp #nobsdcomp novj # t-mobile specific? #ipcp-restart 8 #ipcp-max-configure 50 #ipcp-accept-local #ipcp-accept-remote #ipcp-max-failure 20 lcp-echo-failure 0 lcp-echo-interval 0 modem crtscts require-pap refuse-chap show-password user YOUR_USERNAME@DOMAIN password YOUR_PASSWORD passive /etc/chatscripts/huawei-e220.chatdpavlin@llin:~$ cat /etc/chatscripts/huawei-e220.chat TIMEOUT 3 ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED "" ATZ OK ATQ0V1E1S0=0&C1&D2 OK AT+COPS? OK AT+CGDCONT=1,"ip","carnet.vip.hr" OK ATDT*99# CONNECT "" Links
Turn off pin$ cu -l /dev/ttyUSB0 at+clck="sc",0,"PIN!" OK libusb driver programCompilationGet source from http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo.c cc huaweiAktBbo.c -o huaweiAktBbo -lusb hal problemIf you modem is restarting like mad, it's problem with hal. |