![]() |
#1 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Kobo WebPortal / Notes / ServiceMenu
This used to be a mod for the iriver Story HD. Old threads for sake of history:Story HD Mod: WebPortal ; Story HD Mod: Notes ; Story HD Mod: ServiceMenu. The Kobo Web Portal is a local webserver, running on your Kobo. It has a HTML landing page with links to several sites. It can also run CGI scripts and thus provide you with browser-based apps. To install, copy KoboRoot-WebPortal.tgz » .kobo/KoboRoot.tgz After installation it can be reached via http://webportal/ and you can choose to "Set Page as Home" in Kobo's webbrowser settings. Unfortunately it won't work if no wifi network is available, since the Kobo refuses to start the webbrowser. But it does come with a small hack that allows intranet wifi networks (without real internet connectivity). To enable this hack, see .addons/webportal/vhosts.conf After the installation you will find the following files:
Note: These files will be overwritten any time you install this mod. If you customize these files, make backups! Alternatively set a different home directory in httpd.conf and make your customizations in that directory. To uninstall, create .addons/webportal/uninstall and reboot the device. It will be renamed to .addons/webportal/uninstall-date-time and you can remove the .webportal directory yourself. Notes Read, write and edit notes as plain text files in your webbrowser. They will be stored in /notes/file.txt. May be useful for shopping lists or something. (From the way it looks you can tell it was originally made for another device. I've yet to learn Kobo browser oddities. Clicking the 'save' button only seems to work while the keyboard is open.) ServiceMenu Displays system info. Checks internal and external memory for read errors. Also has an option to format the external card. (On the iriver Story HD, this mod could also format the internal card, and delete the book database, but I've disabled it here). FileManager Lets you browse the Kobo's files, as well as download individual files or entire folders (as TAR). Also lets you upload files, and upload&install TAR/TGZ. In order to use this you must allow machines in your local network to access the web portal, by editing .webportal/httpd.conf. The Kobo's IP can be seen in Settings->Device Information (while Wifi is enabled). Last edited by frostschutz; 09-10-2015 at 05:01 PM. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2015
Device: Kobo Auro H2O
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
Unzipping the KoboRoot-WebPortal.zip gives you KoboRoot-WebPortal.tgz and you rename that to KoboRoot.tgz and copy it into the .kobo directory on the reader (same dir that also has the KoboReader.sqlite which is the database of all your books and reading progress). The reader should install it and reboot automatically. If it was installed successfully you should see a .webportal directory which contains the files listed above. If you got this far it should work. If it does not, it needs more than just the www.msftncsi.com/ncsi.txt ... Unfortunately my WIFI Router only lets me block WWW access for testing; it does not block DNS queries so it may behave differently in that case. I'll see if I can set up tethering on my ancient smartphone to test with another wifi network... EDIT: Just tested with tethering, and no real internet connection whatsoever, and it worked so I hope it will work for you as well. Last edited by frostschutz; 07-01-2015 at 05:59 AM. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2015
Device: Kobo Auro H2O
|
![]() It works ![]() Really, thanks a lot |
![]() |
![]() |
![]() |
#5 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
File Manager is a WebPortal CGI script that lets you browse the Kobo's filesystem in a web browser and download books and other files from it. In particular it also lets you download an image of the internal SD card if you navigate to /dev/mmcblk0 and download that [no guarantees on filesystem consistency though].
I also want to add an upload function, both for individual files and tar packages, so you can use it to install mods; as well as rename / delete / edit / ... it's not finished yet and thus not included in the package above, but you can get it from GitHub if you really want to. Last edited by frostschutz; 07-06-2015 at 08:13 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Updated the package, the File Manager is now included. It supports download and upload (including TAR support so you can upload&install KoboRoot-tgz), but not yet rename/delete. Turns out upload forms (multipart/form-data) is not easy to parse in a shell script so there is a helper program written in C for that.
|
![]() |
![]() |
![]() |
#7 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Updated it to fix two bugs:
- setting a custom home dir in httpd.conf didn't actually work - the webserver running off /mnt/onboard caused problems with USB connectivity Also the included "intranet wifi" hack is now disabled by default and you have to uncomment a line in .webportal/vhosts.conf to enable it. It was too intrusive for readers that do not need this modification. Last edited by frostschutz; 08-10-2015 at 11:10 AM. |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 68
Karma: 10
Join Date: Nov 2014
Location: Orcas, WA
Device: Kindle PW & Kobo H2O
|
Works great, thank you.
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 68
Karma: 10
Join Date: Nov 2014
Location: Orcas, WA
Device: Kindle PW & Kobo H2O
|
What will happen with a post to the server?
|
![]() |
![]() |
![]() |
#10 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Not sure what you mean exactly, but nothing happens unless you make something happen yourself. If you're coming from PHP or something, no such magic here.
As an example, cgi-bin/notes takes regular form posts, cgi-bin/filemanager takes multiple file upload posts ( using a helper to handle multipart_pipe data ). |
![]() |
![]() |
![]() |
#11 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura H2O
|
Many Thanks from kobo owners in the new great wall.We can't connect wifi and the pocket can't work any more after the firmware 4.7.10413, until a internet user named sirwu found you postings.We can watch the sky again.
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Can you tell me what it was? |
|
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Jun 2017
Device: Kobo Aura H2O
|
Quote:
你猜的是对的。4.7.10413固件连接WiFi网络正常,但是4.8以后的固件经常不能连接WiFi网 络,并伴随假死重启现象。据说是因为4.7.10413之后的固件改变了WiFi连接安全验证的策略,验证 地址也从微软的改到了Kobo,而这个验证地址恰巧在瓷器国防火墙的名单之内。因此我们只能委曲求全使用4 .7.10413或之前更早的固件,以确保Pocet能够正常使用。 |
|
![]() |
![]() |
![]() |
#15 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The URL for the check is now http://www.kobo.com/buildinfo.xml. The was a discussion about how to get around this recently. It was someone doing something on a local network to return the appropriate results. That would allow you to use later firmware. But, for your situation, a patch to disable the check would probably be better. I can't remember if there is one or not. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch End notes and Kobo Touch | AlexBell | Kobo Reader | 3 | 05-19-2014 05:27 AM |
Story HD Mod: WebPortal | frostschutz | iRiver Story | 31 | 05-31-2013 07:25 AM |
Webportal Mod not running | asklepios | iRiver Story | 15 | 05-12-2013 07:22 AM |
Touch Notes on the Kobo Touch | Trisman | Kobo Reader | 4 | 10-03-2011 04:34 PM |
Kobo Firmware Release Notes? | Beethoven | Kobo Reader | 3 | 11-05-2010 10:38 AM |