Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2016, 01:55 PM   #1
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Disable auto connect to wifi

Hello, there is any way to disable auto connect to a known wifi network if airplane mode is off?
I'd prefer to choose if to connect or not to a network

Last edited by encol; 05-22-2016 at 02:11 PM.
encol is offline   Reply With Quote
Old 05-22-2016, 02:10 PM   #2
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
delete the known network entry from the scan list (try a long tap on the entry).
If you want to stop the network probe (to see if the device can reach Amazon):

In the top level of visible USB storage create the file:
WIFI_NO_NET_PROBE
All uppercase, no extension, no contents
knc1 is offline   Reply With Quote
Advert
Old 05-22-2016, 02:12 PM   #3
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
I know this, but I'd prefer to maintain saved credentials
encol is offline   Reply With Quote
Old 05-22-2016, 02:14 PM   #4
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by encol View Post
I know this, but I'd prefer to maintain saved credentials
You would probably have to edit the control files.
Look for: wpa*
in the /var/local sub-tree.

I haven't had a need for that, so I haven't looked into them.
knc1 is offline   Reply With Quote
Old 05-22-2016, 05:49 PM   #5
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by knc1 View Post
Look for: wpa*
in the /var/local sub-tree.
nothing here

I think some interesting files can be:
Code:
/etc/network/interfaces
/etc/wpa_supplicant.conf
but settings for the connection to a particular network seems to be elsewhere
encol is offline   Reply With Quote
Advert
Old 05-22-2016, 07:41 PM   #6
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
There are only two parts of the directory tree that can be written -
/mnt/us (What becomes the USB mass storage export)
/var/local (What is used for persistent storage of runtime data (which is what the discovered A.P. our)).
knc1 is offline   Reply With Quote
Old 05-22-2016, 09:46 PM   #7
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Change something about the discovered WiFi access points.
Then (within 10 minutes):
find /var/local -mmin -10
(Any file modified in not more than 10 minutes before running the command).
You can ignore anything /var/local/*/log/*

If anything that was changed ends with: *.db
that is sqlite3 database, for example:
sqlite3 example.db .dump >/mnt/us/documents/example.sql
then read it.
knc1 is offline   Reply With Quote
Old 05-23-2016, 04:42 AM   #8
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Nice trick!

I've done this and this is what changed:

Code:
/var/local/appreg.db
/var/local/wsync.db
/var/local/system/wifid.conf
The sql returned nothing relevant for me.

I think wifi configuration is in wifid.conf but it seems encrypted
encol is offline   Reply With Quote
Old 05-23-2016, 09:37 AM   #9
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by encol View Post
Nice trick!

I've done this and this is what changed:

Code:
/var/local/appreg.db
/var/local/wsync.db
/var/local/system/wifid.conf
The sql returned nothing relevant for me.

I think wifi configuration is in wifid.conf but it seems encrypted
Adult Content?
Just because the first few characters are: aes-128?

= = = =

Seriously, putting sensitive information on a 6 oz, portable device -
I would hope they encrypt the information.

But it **must be** false security (just a warm and fuzzy thing) -
the key must be on the device somewhere so the information can be used.

Look for an executable file, wpa* (or wpa_*) in /bin /sbin /usr - -
I would expect something of that name pattern to have the key hardcoded in it.
Some use of readelf or objdump on the files you find might help (it will be in the 'constant' storage area of the file (where the strings are) but will look like binary rather than printable strings).
Re-Think on that:It may be base64 encoded to be printable, but that would be a dead giveaway itself.

- - - -

I am living in a 'Wifi Free' zone here, while working on NiLuJe's PW-3.
But with any luck, that job will only last a few more days.

- - - -

Disable Whispersync - somewhere along this path:
Menu -> Settings -> Device Options -> Personalize your Kindle -> Advanced Options
That should stop the changes being made to wsync.db

Which requires (real or fake) registration. See:
https://www.mobileread.com/forums/sho...0&postcount=76
for how I 'fake registered' NiLuJe's PW-3

- - - -

Isn't this a lot of fun?

Last edited by knc1; 05-23-2016 at 09:52 AM.
knc1 is offline   Reply With Quote
Old 05-23-2016, 10:23 AM   #10
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Oops -
It may just be your having WhisperSync enabled that is causing the auto-connects you want to get rid of (see above).

My Kindles always ask permission - but then I never have WhisperSync enabled.

Last edited by knc1; 05-23-2016 at 10:36 AM.
knc1 is offline   Reply With Quote
Old 05-23-2016, 10:52 AM   #11
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
Quote:
Originally Posted by knc1 View Post
Oops -
It may just be your having WhisperSync enabled that is causing the auto-connects you want to get rid of (see above).
I disabled it but it still auto-connect
encol is offline   Reply With Quote
Old 05-23-2016, 11:11 AM   #12
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by encol View Post
I disabled it but it still auto-connect
Maybe a behavior change with 5.7.4.1?
I only have NiLuJe's running anything 5.7 -
and I am keeping it isolated from any network connections.

Now that I have practiced on his - maybe I'll update my own.
I can see how this would be an irritation -
I **should** be done with NiLuJe's in a few days, the rest of his hardware arrives today and tomorrow.
knc1 is offline   Reply With Quote
Old 05-23-2016, 12:24 PM   #13
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Your going to love this one!

Code:
sqlite3 /var/local/reg/ServerConfig.db .dump >/mnt/us/documents/ServerConfig.sql
(or add a '.txt' to that output name for viewing on Kindle)

It helps if you read en_SQL, but you'll get the idea even if you don't.

Just for those who thought they had purchased a **private** e-book reader.

Last edited by knc1; 05-23-2016 at 12:27 PM.
knc1 is offline   Reply With Quote
Old 05-23-2016, 12:54 PM   #14
encol
Addict
encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.encol ought to be getting tired of karma fortunes by now.
 
Posts: 388
Karma: 750286
Join Date: Apr 2016
Location: Italy
Device: Kindle PW3 5.8.5.0.1
I'm out of home now, i'll try this as soon as possible.
...
I can't wait! what's in that file?
encol is offline   Reply With Quote
Old 05-23-2016, 01:00 PM   #15
knc1
99.44/100% On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,667
Karma: 17654322
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
It appears to define and control what is sent to Amazon.
and there are some ...key... fields mentioned.
knc1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable connectivity check / connect to "island" WiFi morinew Kindle Developer's Corner 2 07-01-2015 10:56 AM
Hacks Disable Auto-Sleep PW1 Bob Brunius Amazon Kindle 3 02-04-2015 11:22 PM
HowTo Disable auto-connect to Kindle julia-m Calibre 1 09-21-2013 12:38 PM
Disable auto-updates Alkhabiru Kindle Developer's Corner 6 08-11-2013 09:19 AM
PRS-600 Remind me how to disable auto-run? ziegl027 Sony Reader 8 10-07-2010 02:08 PM


All times are GMT -4. The time now is 10:07 PM.


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