User Tools

Site Tools


auto-oz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
auto-oz [2011/05/11 10:33]
admin
auto-oz [2013/09/28 16:06] (current)
Line 2: Line 2:
  
 ===== Updates ===== ===== Updates =====
-===== May 11 2011 =====+==== May 11 2011 ====
 My service expired last night. My renew script still isn't working, but I didn't try very hard. All I did was run:<​code>​ My service expired last night. My renew script still isn't working, but I didn't try very hard. All I did was run:<​code>​
 curl -K curlcfg2 http://​google.com -v curl -K curlcfg2 http://​google.com -v
 curl -K curlcfg2 http://​phc.prontonetworks.com/​cgi-bin/​authlogin -v curl -K curlcfg2 http://​phc.prontonetworks.com/​cgi-bin/​authlogin -v
 curl -K curlcfg2 "​https://​register.prontonetworks.com/​registration/​Main.jsp?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​tempName=selAuth&​orgUrl=&​userMacId=00:​23:​69:​b3:​ce:​65"​ -v -c /​tmp/​cookiejar curl -K curlcfg2 "​https://​register.prontonetworks.com/​registration/​Main.jsp?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​tempName=selAuth&​orgUrl=&​userMacId=00:​23:​69:​b3:​ce:​65"​ -v -c /​tmp/​cookiejar
-curl -K curlcfg2 -d '​username=%%%%%%%%&​password=%%%%%%%%&​changePassword='​ "​https://​register.prontonetworks.com/​registration/​customization/​default/​CheckValidUserToLogin.jsp"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar +curl -K curlcfg2 -d '​username=$$$$$$$$&​password=$$$$$$$$&​changePassword='​ "​https://​register.prontonetworks.com/​registration/​customization/​default/​CheckValidUserToLogin.jsp"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar 
-curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​chooseAuth.do -d '​loginUserId=%%%%%%%%&​loginPassword=%%%%%%%%&​authType=Pronto'​ -e "​https://​register.prontonetworks.com/​registration/​customization/​default/​CheckValidUserToLogin.jsp"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​+curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​chooseAuth.do -d '​loginUserId=$$$$$$$$&​loginPassword=$$$$$$$$&​authType=Pronto'​ -e "​https://​register.prontonetworks.com/​registration/​customization/​default/​CheckValidUserToLogin.jsp"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​
 curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​buyAPlan.do -d '​planId=#############&​rPM=Yes&​selectPG=Verisign&​agree=agree'​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​ curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​buyAPlan.do -d '​planId=#############&​rPM=Yes&​selectPG=Verisign&​agree=agree'​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​
 curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​buyAPlanConfirm.do -d '​planId=#############&​planType=PREPAID&​requestComingFrom=BuyAPlan&​paymentMethodId=CC&​customerId=#############&​creditCardNumber=################&​creditCardId=#############'​ -v -c /​tmp/​cookiejar -b /​tmp/​cookiejar ​ curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​buyAPlanConfirm.do -d '​planId=#############&​planType=PREPAID&​requestComingFrom=BuyAPlan&​paymentMethodId=CC&​customerId=#############&​creditCardNumber=################&​creditCardId=#############'​ -v -c /​tmp/​cookiejar -b /​tmp/​cookiejar ​
 curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​process.jsp -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​ curl -K curlcfg2 https://​register.prontonetworks.com/​registration/​process.jsp -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar ​
-curl -K curlcfg2 https://​phc.prontonetworks.com/​cgi-bin/​authlogin -d '​serviceName=ProntoAuthentication&​userId=%%%%%%%%&​password=%%%%%%%%' -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar+curl -K curlcfg2 https://​phc.prontonetworks.com/​cgi-bin/​authlogin -d '​serviceName=ProntoAuthentication&​userId=$$$$$$$$&​password=$$$$$$$$' -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar
 curl -K curlcfg2 "​http://​www.onezone.ca/​wifi/​wifi_success.html?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​newReg=Y&​sessionId=#############&​freePlan=N"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar curl -K curlcfg2 "​http://​www.onezone.ca/​wifi/​wifi_success.html?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​newReg=Y&​sessionId=#############&​freePlan=N"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar
 curl -K curlcfg2 "​http://​www.onezone.ca/​wifi/​wifi_checkaccount.html?​wispId=5338&​sessionId=#############&​nasId=00:​1b:​24:​78:​ab:​82&​newReg=Y"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar curl -K curlcfg2 "​http://​www.onezone.ca/​wifi/​wifi_checkaccount.html?​wispId=5338&​sessionId=#############&​nasId=00:​1b:​24:​78:​ab:​82&​newReg=Y"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar
 curl -K curlcfg2 "​https://​register.prontonetworks.com/​registration/​Main.jsp?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​sessionId=#############"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar curl -K curlcfg2 "​https://​register.prontonetworks.com/​registration/​Main.jsp?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82&​sessionId=#############"​ -v -b /​tmp/​cookiejar -c /​tmp/​cookiejar
 </​code>​ </​code>​
-Note that you'll need to replace "%%%%%%%%" with your username or password as appropriate,​ and "#############"​ with whatever the appropriate number is, matching whatever was received in the results of the last command. If you run these commands twice, it'll bill your account twice, but give you two months of service. You can confirm this by checking your oz account info (for which you don't need cookies): +You need the file /​sbin/​curlcfg2,​ which contains:<​code>​ 
-  - Go to http://​www.onezone.ca/​wifi/​myaccount.html (from anywhere)+-A "​Mozilla/​5.0 (iPhone; U; CPU iPhone OS 2_2_1 like Mac OS X; en-us) AppleWebKit/​525.18.1 (KHTML, like Gecko) Version/​3.1.1 Mobile/5H11 Safari/​525.20"​ 
 +-k 
 +</​code>​ 
 + 
 +Note that you'll need to replace "$$$$$$$$" with your username or password as appropriate,​ and "#############"​ with whatever the appropriate number is, matching whatever was received in the results of the last command. If you run these commands twice, it'll bill your account twice, but give you two months of service. You can confirm this by checking your oz account info (for which you don't need cookies): 
 +  - Go to http://​www.onezone.ca/​wifi/​myaccount.html?​wispId=5338&​nasId=00:​1b:​24:​78:​ab:​82 ​(from anywhere)
   - Click My Account   - Click My Account
   - Log in with username and password   - Log in with username and password
Line 110: Line 115:
   - run this:<​code>​   - run this:<​code>​
 ipkg update ipkg update
-ipkg install microperl+ipkg install microperl ​curl
 cd /sbin cd /sbin
 wget http://​wirelesstoronto.ca/​dist/​om-checkin.pl wget http://​wirelesstoronto.ca/​dist/​om-checkin.pl
auto-oz.1305127988.txt.gz · Last modified: 2013/09/28 16:06 (external edit)