View previous topic :: View next topic |
Author |
Message |
lucapost Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/17095691174866151fd78ae.gif)
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Thu Jul 30, 2009 6:39 pm Post subject: |
|
|
Ho attivato oggi un abbonamento con la 3, ecco la mia soluzione alla gentoo-way:
Code: | config_ppp1="ppp"
link_ppp1="/dev/ttyUSB2"
username_ppp1="tre"
password_ppp1="tre"
phone_number_ppp1="*99***1#"
pppd_ppp1="
debug
defaultroute
lock
460800"
chat_ppp1="
ABORT BUSY
ABORT ERROR
ABORT 'NO ANSWER'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
TIMEOUT 20
'' ATQ0
OK 'AT+COPS=1,0,\\\"3 ITA\\\",2'
OK 'AT+CGDCONT=16,\\\"IP\\\",\\\"datacard.tre.it\\\"'
OK 'ATD*99***1#'
CONNECT ''" |
_________________ LP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
lucapost Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/17095691174866151fd78ae.gif)
Joined: 24 Nov 2005 Posts: 1419 Location: <ud|me|ts> - Italy
|
Posted: Wed Dec 16, 2009 11:14 am Post subject: |
|
|
Code: | wget -nv --keep-session-cookies --save-cookies=/tmp/cookie.txt --post-data="proposition=consumer&username=NUMEROCELL&password=PASSWORD" http://areaclienti.tre.it/selfcare/login > /dev/null
wget -nv --load-cookies=/tmp/cookie.txt --keep-session-cookies --save-cookies=/tmp/cookie.txt -O - http://areaclienti.tre.it/selfcare/areaclienti133/4552_soglie_ITA_LOGGED.xsl > pagina_tre.html |
volevo giusto segnalare che ho trovato un semplice modo per verificare il traffico residuo del nostro abbonamento tre, tutto da linea di comando. I due comandi scaricano la pagina con le informazioni sul traffico residuo. Molto comodo da inserire in uno script!
LP _________________ LP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|