Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-08-2010, 02:30 PM   #1
sinisterguy
Junior Member
sinisterguy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2010
Device: kindle
run script on wifi connect

hey,

i just jailbroke my kindle and i had a question. My university network requires a login via a webpage so that I can access the internet. It is a complete pain in the ass to deal with that on a kindle. I have a script that I use on my computer that uses curl to post to the web form and login and I was wondering if there would be any way to have said script run after every time my kindle tries to connect to one of those networks. Thanks

-Luke
sinisterguy is offline   Reply With Quote
Old 10-18-2010, 03:46 PM   #2
JohnsonZA
Member
JohnsonZA began at the beginning.
 
Posts: 10
Karma: 12
Join Date: Sep 2010
Device: Kindle 3 3G+Wifi
SSH to your Kindle and run: mntroot rw

You can then put your script in /etc/network/if-up.d/ and edit the /etc/network/interfaces file and add this line at the end of the file after "iface wlan0 inet dhcp"
Quote:
post-up /etc/network/if-up.d/YOURSCRIPT.sh
Remember to chmod +x your script and to mntroot ro when you're done.

You could probably check the SSID in the script to see if you are connecting to your university access point, but that's up to you.

Hope that helps.
JohnsonZA is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classic Cannot connect to B&N shop over wifi pienjo Barnes & Noble NOOK 0 07-11-2010 03:14 PM
Universal Flasher run script Jamp Sony Reader Dev Corner 1 08-26-2009 09:34 AM
iLiad Can't run my first script ragdoll iRex Developer's Corner 4 01-28-2008 06:40 AM
Connect software won't run steviej Sony Reader 3 11-30-2007 11:03 PM


All times are GMT -4. The time now is 11:24 AM.


MobileRead.com is a privately owned, operated and funded community.