Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2018, 08:26 PM   #1
asiago
Junior Member
asiago began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2018
Device: H2O Edition 2
Not able to connect to an access point that isn't routed to the internet?

What I've done is set up a web server + access point on a spare raspberry pi zero w, in the hopes that I could connect my kobo to it occasionally using the beta browser and more easily/lazily grab books from the rpi. I hadn't set it up to connect through to the internet, it's just a standalone intranet. It works great with other devices (a tablet, this chromebook, and a laptop) but my Kobo just won't connect to it.

I've fiddled around with all the settings, and just can't get it to work. My theory is that the Kobo doesn't consider itself 'connected' unless it can phone home (like, do a firmware version check, or something), and thus disconnects wifi entirely.

I did set up some logging on the server, and it appears to assign an IP address, but then de-auths the connection shortly after, lending weight to my theory.

I briefly chatted with Kobo's customer service and they confirmed that online access is required of a wifi connection, but didn't know much else. Anyone know if there's a flag in the config file to change this behavior, or am I out of luck?
asiago is offline   Reply With Quote
Old 06-08-2018, 09:11 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
That is correct. When you connect the device to WiFi, it verifies it can access a page on the internet. If it doesn't get a response, it disconnects. The device also uses the response to work out if you are using a hotspot that needs you to login.

I can't remember if there is a patch to workaround this or not. And the URL used has changed in recent firmware, so any patch might need to be changed.
davidfor is offline   Reply With Quote
Old 06-09-2018, 07:26 PM   #3
asiago
Junior Member
asiago began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2018
Device: H2O Edition 2
Quote:
Originally Posted by davidfor View Post
That is correct. When you connect the device to WiFi, it verifies it can access a page on the internet. If it doesn't get a response, it disconnects. The device also uses the response to work out if you are using a hotspot that needs you to login.

I can't remember if there is a patch to workaround this or not. And the URL used has changed in recent firmware, so any patch might need to be changed.
Awesome, thanks for the reply. Would you happen to know the URL of the page it tries to connect to? I found in some old threads that it used to connect to an apple.com test page, and then something to www.msftncsi.com, but that's apparently not current. In my logs, I can see connection attempts to www.kobo.com, but I'm not expert enough to figure out how to log the entire/exact URL.

I also grepped through the firmware code, but found nothing. It's possibly in some part of the code that's not open.
asiago is offline   Reply With Quote
Old 06-09-2018, 08:33 PM   #4
asiago
Junior Member
asiago began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2018
Device: H2O Edition 2
Update: The new file it's trying to access appears to be http://www.kobo.com/buildinfo.xml

I was able to set up a virtual host in my raspberry pi webserver to fake www.kobo.com and copied that file there, and make progress; now the kobo, when attempting to connect, will successfully connect, but then throws up the "this appears to be a public hotspot, would you like to continue" dialog. The dialog simply displays the text from that xml file. I suspect I may need to create further fakery.

I'm unsure what to do next, but hey, it's progress.
asiago is offline   Reply With Quote
Old 06-09-2018, 10:39 PM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
That sounds like it should work.

The firmware seems to be looking for the following in the file:

Code:
<\?xml[^>]*>[^<]*<BuildInfo
Unless there is something in the headers that is needed, then I would think returning the correct file is all that is needed.
davidfor is offline   Reply With Quote
Old 06-10-2018, 12:48 AM   #6
asiago
Junior Member
asiago began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2018
Device: H2O Edition 2
Working!

So, I got it working! Even though I used wget to grab the xml file from kobo's website, somehow the initial < was missing. I might have never noticed this. In any case, I fixed the xml tag and it works - kobo connects to it, and assumes everything is dandy.

Thanks for the input, davidfor!
asiago is offline   Reply With Quote
Reply

Tags
wifi


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle as access point edo1 Kindle Developer's Corner 12 07-12-2014 08:33 AM
Wireless access point experience Rumpelteazer Lounge 2 01-02-2012 02:20 PM
IQ Using android phone as WiFi access point Kingstas PocketBook 0 03-01-2011 06:53 PM
An E-Reader Just Like Paper... Isn't that the Point!? MartinDu General Discussions 19 12-22-2010 06:47 AM
Use your Kindle as a EVDO WiFi Access Point? brecklundin Amazon Kindle 22 10-23-2009 05:01 PM


All times are GMT -4. The time now is 08:55 AM.


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