1) Ar pieejamu internetu (modēms vēl nav pieslēgts) savelkam vajadzīgās pakas mūsu linux versijai - usb-modeswitch un vodafone-mobile-connect no šejienes
2) sudo dpkg -i usb-modeswitch_*.deb
sudo dpkg -i vodafone-mobile-connect_*.deb
3) Ja rodās kļūda ar atkarībām, (manā gadījumā bija šāda kļūda):
dpkg: dependency problems prevent configuration of vodafone-mobile-connect:
vodafone-mobile-connect depends on python-crypto; however:
Package python-crypto is not installed.
vodafone-mobile-connect depends on python-serial; however:
Package python-serial is not installed.
vodafone-mobile-connect depends on python-sqlite; however:
Package python-sqlite is not installed.
vodafone-mobile-connect depends on python-twisted; however:
Package python-twisted is not installed.
vodafone-mobile-connect depends on python-tz; however:
Package python-tz is not installed.
vodafone-mobile-connect depends on wvdial; however:
Package wvdial is not installed.
dpkg: error processing vodafone-mobile-connect (--install):
dependency problems - leaving unconfigured
Processing triggers for hal ...
Regenerating hal fdi cache ...
Restarting Hardware abstraction layer: hald.
Errors were encountered while processing:
vodafone-mobile-connect
tad laižam sudo apt-get -f install
4)Izveidojam failu (gedit vietā lietojam savu iecienīto teksta editoru): sudo gedit /etc/wvdial.conf
[Dialer Defaults]
Phone = *99#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
[Dialer pin]
Init1 = AT+CPIN=5876
[Dialer 2g]
Init4 = AT+COPS=0,0,"Vodacom-SA",0
[Dialer 3g]
Init4 = AT+COPS=0,0,"Vodacom-SA",2
[Dialer tele2]
Init5 = AT+CGDCONT=1,"IP","internet.tele2.lv";
[Dialer lmt]
Init5 = AT+CGDCONT=1,"IP","internet.lmt.lv";
[Dialer bite]
Init5 = AT+CGDCONT=1,"IP","wap"
[Dialer 384k]
Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384
[Dialer 144k]
Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144
[Dialer 64k]
Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64
5) Zem parastā (nevis sudo) usera laižam komandu vodafone-mobile-connect-card-driver-for-linux
6) Konfigurējam:
Nu tā kā būtu viss:
No comments:
Post a Comment