Mongoose vs. Xampp

Discussion in 'Wii U - Hacking & Backup Loaders' started by mpkostek, Apr 7, 2016.

  1. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    I have a 5.4.0 wii u and finally got loadiine to launch successfully while hosting the loadiine files on a server with Xampp. However I'm finding that I run into issues (get error message when executing the loadiine files) when I try to host either mongoose or xampp on any Mac OS machine. Are there any special things I need to be aware of when trying to run a server on OS X?
     
  2. EclipseSin

    EclipseSin FullMental Trollemist

    Member
    1,813
    1,287
    Apr 1, 2015
    United States
    Vegeta's Hyrule
    I'm fairly certain it's just luck, seeing as the online hosts are using the same files too (for the most part). So I wouldn't say there are any special options you need to do for Mac OS X. The PHP version you use might effect how reliable yellow8's exploit works though, but I don't think anyone had tested that (not sure). If you're just serving straight MP4's, it shouldn't matter too much.

    Someone shed some extra light if I'm wrong here.

    Personally, I've been trying for about two weeks to get my cousins 5.4.0 to even run a userspace app with no luck and I'm on Windows(apache)\Linux(nginx), using apache/nginx with php and mysql. I haven't tried the standalone web servers like mongoose or tiny web server for 5.4.0 though.
     
  3. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    764
    1,862
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Sort of unrelated to the post, but I I've always used the Web Sharing feature in OSX. Once you modify it to have PHP it's rock-solid.

    It does require a bit more work on your part though.
     
    vgmoose likes this.
  4. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    I'm VERY interested in this, care to share some more info on how to set up?
     
  5. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    764
    1,862
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Sure thing.
    Open up System Preferences and head into Sharing. Unlock it if you need to then tick the box labelled "Web Sharing". From there, you should get some URLs and stuff to the right. Take a moment to double check it's working okay - Looking at these URLs in a browser should work properly.
    Once you're hosting properly, take a look at this article I found on how to get PHP running.
    I'm on mobile right now so I can't go into much more detail, but that should be enough to get a basic server running. Just drop in your exploit files and away you go.
     
  6. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    I can vouch for this method as well!
     
  7. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    The image that I attached is this list that I see in sharing. I don't see any "Web sharing". Could you point out which one you meant? I'm guessing you just made a harmless typo :).
     

    Attached Files:

  8. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    I usually run:
    Code:
    sudo apachectl start
    and replace start with stop when I'm done. Maybe Apple removed the "Web Sharing" in system preferences? Either way the apachectl command should run the same thing
     
  9. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    Okay I just tried running this command, where do I place the files in the computer and what address to I type in on my wii u?
     
  10. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    I believe you put them in /Library/WebServer/Documents/

    For the address, you need to get your local IP either from terminal (ifconfig) or system preferences, and then punch that in. You should also test it locally to make sure you can visit it from your own computer.
     
  11. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    Could you list an example of something you would type as the URL in the Wii u? I seem to always get these wrong and that's what gets me stuck. I appreciate your help!

    — Posts automatically merged - Please don't double post! —

    Like do I literally just input "http://myipaddress" ?
     
  12. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    Yeah it's no problem, you'd literally type something like:

    http://192.168.1.104/filename.php

    Where 192.168.1.104 is the output from here, and filename.php is one of the files you put in /Library/WebServer/Documents/

    A quick way to get to the /Library/WebServer/Documents/ folder is to run:
    Code:
    open /Library/WebServer/Documents/
    When in doubt just keep trying: fail fail fail until you get it :D Everything I know with respect to this is from painful trial and error
     
  13. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    Yeah this is a great method and is beautifully simple, but I still get the "cannot load file" on my wii u when I try to run this. I definitely can see the file (I tried to access on my computer and it worked), and the wii u seems like it also found the file but just can't execute it. Now what should I try?
     
  14. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    Sorry my help for you ends here after my brief motivational sprint. Don't give up though, maybe someone else has more information.

    I'm guessing you might need to try a different build or something. I'm on 5.5 so I've never actually run loadiine...
     
    Last edited by vgmoose, Apr 7, 2016
  15. mpkostek
    OP

    mpkostek Advanced Member

    Newcomer
    80
    9
    Mar 25, 2016
    United States
    Shoot, guess I'm right back where I started lol. Thanks for your help anyways!
     
  16. vgmoose

    vgmoose GBAtemp Regular

    Member
    210
    609
    Jan 31, 2016
    United States
    Yeeah, I should've read your OP more carefully lol. You might want to try a new post with a different title (or get a mod to edit it) cause you seem to be hosting it correctly.