off-line wikipedia for eee-note

Discussion in 'Asus (Android)' started by Muhali, Apr 14, 2012.

  1. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    I have compiled the offline wikipedia reader evopedia for the eeenote.

    For testing, do the following:


    1. Unzip this file to the external card, and plug the card into enote
    2. Start Enote and launch the console.
    3. execute cd /mnt/extsdcard
    4. execute ./nohup ./evopedia &
    5. exit console
    6. launch browser
    7. goto 127.0.0.1:8080

    You can go to the settings and install larger archives from here, but that requires a larger sd card.

    Enjoy!

    M.
     
    Last edited: May 1, 2012
  2. etienne

    etienne Pen Pal - Newbie

    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    15
    I thought you were asking us to add all articles in an ebook! It would have been such a pain. Thank you, I'll try when I get time.
     
  3. etienne

    etienne Pen Pal - Newbie

    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    15
    It does not work. Nothing appears in localhost. And also console doesn't launch after left it.
     
  4. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    the console app does not show anything, tha's ok (it only provides the localhost port).

    Have you tried replacing 'localhost' with 127.0.0.1?

    M.
     
  5. etienne

    etienne Pen Pal - Newbie

    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    15
    Haha, sorry, I was mixing 192 and 127 also. It doesn't work on localhost, but I tried many times 192.0.0.1 (192 usually default of routers).

    Console, doesn't launch anymore when I do evopedia &
    It shows "Loading ..." until time out (~10 sec).

    Thanks a lot for that app !
     
  6. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    The console may be waiting for the standard output to come back; I don't know how to 'disown' the job, but that should be fixable.

    so does it work now when you exit the console and just click on the browser?
     
  7. burgerproductions

    burgerproductions Pen Pal - Newbie

    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    15
    Muhali.
    I followed your instructions but nothing happened.
    Do I have to unmount before executing the console command?
    What should I be seeing after point no 3?
    Thanks
     
  8. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    You may have to replace 'localhost' with '127.0.0.1'; that should work (I hope, it worked at least 5 min. ago).

    wrt. the console command, one would need 'nohup' but that isn't on the enote. I may have to compile it then.

    This evopedia thing is just an experiment. Are there any 10GB+ mini SD cards at all? This would be needed if you want to have the entire wikipedia.


    M.
     
  9. burgerproductions

    burgerproductions Pen Pal - Newbie

    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    15
    Ok Muhali,
    I got it working for a bit but then the browser timed out and now i can't reload the offline pages.
    Any idea why?
     
  10. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    even after reboot?

    Why did it time out in the first place?

    M.
     
  11. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    I have now added the nohup command (see original post). Plus I have just puchased a 16GB micro SD card for a reasonable price. So the full wikipedia will be available (to me) offline shortly. ;)

    M.
     
  12. burgerproductions

    burgerproductions Pen Pal - Newbie

    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    15
    I still can't make it work.
    Basically, everything was working and I was searching the wikitionary on my sdcard, but I noticed there was no way to get back to the search bar without pressing the back button on the browser. So I pressed the back button several times, and that is when it stopped working.
    I've tried reinstalling it, following the instructions in your first post, but still no success.
    When I go into Console and type:
    execute cd /mnt/extsdcard
    I see: /bin/sh: execute: not found
    When I type:
    execute ./nohup evopedia &
    I see: /bin/sh: execute not found
    [1] + Done(127) execute ./nohup evopedia

    Is this correct?

    Some questions to clarrify why it might not work for me:
    Are you using the native browser?
    Did you unpack the evopedia file to an evopedia folder on your sdcard or to the root of the extsdcard?

    I'd really like to get this working and I don't know why it isn't.
     
  13. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    no, that's not correct. With 'execute' I meant what you are supposed to type. In this case, just type 'cd /mnt/extsdcard' followed by return into the command line, and then './nohup evopedia &', followed by return.

    I am using lightweight2, and evopedia is on the root filesystem.

    I hope it works after the corrections.

    M.
     
  14. burgerproductions

    burgerproductions Pen Pal - Newbie

    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    15
    Still no go!
    When I follow these instructions, the only thing that happens is a file is created on the sdcard called something like 'no.hup'
    However, I still can't make the evopedia work on either the Asus explore or Lightweight2.
    Which firmware do you have? i'm using the Russian version. Could that somehow influence the result?

    Could it be that when I installed evopedia the very first time, something was copied to my internal SD card which needs to be deleted to allow me to reinstall the evopedia file?

    Thanks for the help
     
  15. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    hm... that's too bad. Maybe you can check with the command

    netstat -nap

    but I am not sure if it works. Is your wifi connected (it should not be)? What do you see in the browser? What gives

    cat /mnt/extsdcard/nohup.out

    I will get back to you once I'm back from the office.

    M.
     
  16. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    note the updated 4. above. The nohup argument needs to be prefixed with './' to indicate the path.
     
  17. etienne

    etienne Pen Pal - Newbie

    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    15
    Displaying images doesn't work even connected to WiFi :(
     
  18. Muhali

    Muhali Pen Pal - Newbie

    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    15
    yes, the reason being that enote's network interface has the unusual name eth0.

    It should work now, the zip file is updated accordingly.

    M.
     
  19. burgerproductions

    burgerproductions Pen Pal - Newbie

    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    15
    ok last update worked fine. I am now able to use wiki offline. thanks for all the work.
     
  20. m.schellingerhout

    m.schellingerhout Pen Pal - Newbie

    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    5
    Hello,

    Does this also work with the (huge) Wikipedia dump? I´ve a 32 Gb micro sd card.

    Thanks,

    Micha
     
    Last edited: May 25, 2012

Share This Page