rozważania o CNC

pozostałe => konfigurowanie pc itp => Wątek zaczęty przez: markcomp Maja 22, 2009, 06:29:37



Tytuł: huawei E176 - przyłaczamy do Linuksa
Wiadomość wysłana przez: markcomp Maja 22, 2009, 06:29:37
huawei E176 - przyłaczamy do Linuksa



http://blog.tech-pro.net/entry/38/Linux_and_the_Huawei_E169G
http://www.murga-linux.com/puppy/viewtopic.php?t=36882
http://wiki.debian.org/Huawei/E220

http://ubuntuforums.org/showthread.php?p=7249497


Tytuł: Odp: huawei E176 - przyłaczamy do Linuksa
Wiadomość wysłana przez: markcomp Maja 25, 2009, 10:10:22
Cytuj
I have a Huawei E169 working with puppy-4.1.2. I just opened the file /etc/rc.d/rc.local in a text editor, added the following line:
Code:
modprobe usbserial vendor=0x12d1 product=0x1001



Then I used pupdial to probe for the modem. I think I then had problems with wvdial giving a very low connect speed, so I needed to open /etc/wvdial.conf in a text editor, and edit it to have:
Code:

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Carrier Check = no
Dial Command = ATDT
Phone = *99#
Username = ppp
Password = ppp
Auto Reconnect = yes

[Dialer isp2]
Phone = MY2ISPPHONENUM
Username = MY2USERNAME
Password = MY2PASSWORD
Auto Reconnect = yes



I then rebooted, and the device is detected OK. Then ran pupdial & connected fine. I used an optus prepaid service, just recently on a train from Sydney to Melbourne, and while there were plenty of places with no signal, it switched from HSPA to GSM seamlessly.

Edit: Instead of relying on memory, I've added my current wvdial.conf, which I'm using to post this using an E169.