Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connessione umts H3g [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Thu Jul 30, 2009 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Wed Dec 16, 2009 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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