Thanks guys!

Let me say thanks to everyone who’s actually involved or supporting the project in any way. Great support and way to go!

Timo, thanks for uploading the indexes and the rest to to rapid share. I appreciate it very much.

I’ve added the ability to let the user set the port for the server. Not released because neither the setting is stored nor retrieved from an eventually manually started server. Further I ran into a UI problem with 1.1.3. I don’t have 1.1.3 installed on my iPod touch, a friend of mine has on his iPhone.

While on 1.1.3: Looks like a lot of applications are not working anymore on that firmware. Mainly because the apps are started under the user account “mobile” and not “root”. Looks like that the mobile account is restricted. VT-100 terminal isn’t working anymore. Neither afpd.

For WikiServer it means that the server can be started from the WikiServer-App (and is running) but isn’t listing to the ip port. At least not 80. Maybe more luck with some higher port numbers (8080 or even more). Personally I will stick to 1.1.1 (or 1.1.2) until Apple releases the SDK by the end of the month.
Until then (on 1.1.3): You can start WikiServer using ssh as before and it works. But you can’t stop it with the application if started from the root account (using ssh).

19 Responses to “Thanks guys!”

  1. nicolas Says:

    OK, i finally found a way to run wikiserver on iPhone Firmware 1.1.3. This Method allows you to start the server without connecting external via ssh. so you are good to go, even after a device-reboot in the desert.

    first: just follow the normal install instructions.
    2.)Add the following source to installer: http://www.trejan.com/irepo/ and install the “SUID Lib Fix” found under “Tweaks (1.1.3)”
    3.)ssh into your iphone and issue the following commands:
    /bin/chmod +s /Applications/WikiSrv.app/wikisrv
    4.) reboot

    now you are able to start the wikiserver normally via the application on your homescreen.

    one disadvantage: you can’t stop and restart the server. after stopping it once, you need an reboot your device in order to start the wikiserver again. (dont ask me why, doing a ps -aux showed the server ist still running)

    whatsoever, this method (the suidfix will set the wikiserver to run as root - credits for the suidfix: http://www.hackint0sh.org/forum/showthread.php?t=25751&page=3 ) will allow you to run wikiserver autonomous on your 1.1.3-device.

  2. nicolas Says:

    addition to the 1.1.3 solution:

    ok, everything works great, even restarting the server. the described disadvantage only happens if you try to access the wiki while the server is not running. seems like a safari caching bug to me.

    1.) example: start server. access wiki. stop server. start server, access wiki… -NO PROBLEM

    2.) example: start server. access wiki. stop server. access wiki (gives you a safari error). start server (same safari error). - PROBLEM

    solution: dont try to load the 127.0.0.1 url while the server is not running. if you did. just stop an start the wikiserver once again.

  3. c0caine Says:

    I installed the suidfix but when I try to run the /bin/chmod command i get the error: Invalid file mode: s

    whats up with that?

  4. c0caine Says:

    ok in the iphoneticker.de comment the + is missing ;)

    But my WikiSrv.app still crashes on startup (simply showing a white screen) :(

  5. nicolas Says:

    try the following
    apply the suidfix, reboot, /bin/chmod +s the file, check the rights (0755) for the application.

  6. daniel Says:

    When I try to copy the wikisvr.app to my iPod Touch, I will always get an error message, that it could not copy the application. Tried with cyberduck and winscp.
    Also when I connect to my iPhone via SSH and Terminal I can only access root but not the applications folder, so I am unable to do the chmod…
    Any advise for me?

  7. nicolas Says:

    here is an alternative icon, which might fit a little better to the rest of the iPhone-Icons: http://www.iphone-ticker.de/wp-content/uploads/2008/01/icon.png

    @tom: i would have asked for your permission , but cant find an emailaddress anywhere

  8. tom Says:

    The WikiSRV Application works just fine as it is on my iPod Touch with 1.1.3 Nate True Jailbreak. So you say it’s not working under 1.1.3 official jailbreak?

    btw. does anybody know where to get all the images from the wikipedia site? searched the dump sites, but couldn’t find them. It would be awsome to have all the images on the iPod.

  9. tom Says:

    I just found something:
    http://de.wikipedia.org/wiki/Wikipedia:DVD/Download

    maybe the DVD-Version could be indexed and used with the WikiSRV.

    There are two versions:
    - images in thumbnail size 3.3 GB
    - full resolution images 7.5 GB

  10. Ganxta91 Says:

    thanks for your support! now i can start wikisrvr, but if i search, or give in the link directly, i get a 404 error, but i used the german .bz2 files which were uploaded in rs.de. here is a picture: http://img218.imageshack.us/img218/5264/snap204900dy1.jpg

  11. Ganxta91 Says:

    oh man, im so stupid! i forgot the artictles.dat and .idx
    works perfect on 1.1.3. (except for images of course :P)

  12. Akuma Says:

    it still doesn’t work for me
    i stil get the page not found error
    Apache/1.3.37 Server at 127.0.0.1 Port 80

    so it looks like it only works on nates jb? cause im using the dev teams one

  13. tom.haukap Says:

    Akuma-

    And you still don’t need the Apache server.

    At least not for the Wiki-Server.

    Either uninstall Apache, let Apache listen to a different port than 80 or let the Wiki-Server listen to a different port than 80. Everything is possible.

    Quickest method: Stop the Wiki-Server, deinstall Apache, and start the Wiki-Server.

    -Tom

  14. Akuma Says:

    hm..i stopped wiki server, deinstalled apache und restart wiki again but same error with apache… :( what now? ^^ how to change the wiki port?

  15. tom.haukap Says:

    Akumar-

    How can you get the error from Apache if Apache is not installed?

    To use a different port you have to start the daemon from the command line using ssh or the VT-100 terminal. For more information read the article “Installation tips for the Wikipedia Offline Server”.

    -Tom

  16. tom.haukap Says:

    BTW: I have a changed the launcher application and now it allows you to change the port.

    But there are some issues. As soon as I’m finished the new indexer I will fix that.

    -Tom

  17. Akuma Says:

    i wonder aswell why apache still works tho its uninstalled 0o
    i had installed a fix for wiki for 1.1.3 before but don’t really know what excactly it fixes maybe thats the prob? can’t uninstalled it too only reinstall :(
    i also change port to 800 but same problem, i guess i just w8 for the next version ^^

  18. Akuma Says:

    a update for the wiki fix just came out and it works now! :D

Leave a Reply