rozważania o CNC

Marzec 29, 2024, 12:17:26
Witamy, Gość. Zaloguj się lub zarejestruj.

Zaloguj się podając nazwę użytkownika, hasło i długość sesji
Strony: [1]   Do dołu
  Drukuj  
Autor Wątek: huawei E176 - przyłaczamy do Linuksa  (Przeczytany 10809 razy)
markcomp
Administrator
*****
Offline Offline

Wiadomości: 14877



WWW
« : Maj 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
« Ostatnia zmiana: Maj 25, 2009, 10:02:26 wysłane przez markcomp » Zapisane

MARKcomp77

http://oferta.forum-cnc.pl/
Sterowniki.Silniki

markcomp
Administrator
*****
Offline Offline

Wiadomości: 14877



WWW
« Odpowiedz #1 : Maj 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.
Zapisane

MARKcomp77

http://oferta.forum-cnc.pl/
Sterowniki.Silniki

Strony: [1]   Do góry
  Drukuj  
 
Skocz do:  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Manuscript design by Bloc Strona wygenerowana w 0.047 sekund z 18 zapytaniami.