Offline Network Enabler
| This article may require cleanup to meet WiiBrew's quality standards.
Reason: Needs cleanup
|Offline Network Enabler|
When you set up a network connection trough the wii's system menu, if there's no internet access the connection can't be used, so if you don't have internet access from your wii you can't use networking features of applications like WiiMC, ftpii, wiiload...
So this application, based on the code of fstoolbox for nand access will allow you to enable and set one of the 3 connections as default, meaning you can use networking without internet access.
Warning: this application writes to the nand, it has been tested on my wii without problems, it -should- be as trustable as fstoolbox is.
How to use
- Configure a network connection (wifi or cable) trough the wii's system menu configuration screen, for example connection 2.
- If you don't have internet access, the connection test will fail, as expected.
- Now run Offline Network enabler, it will promp you to reload IOS using a CIOS. Reload whichever IOS you want that has nand access rights (patched IOS 36, CIOS 202 (default). CIOS 249...)
note: if run from the latest homebrew channel, it will work without reloading IOS (even though the app will say it failed to identify as super user), or at least it works on my wii.
- Press one of the buttons. All existing conections will be enabled (see below) and the desired connection will be set as default.
Enabled connection: means that you can select it from the wii system menu (as if it had passed the internet test). Default or selected connection: the connection that the wii and homebrew will actually use.
Documentation about config.dat: http://wiibrew.org/wiki//shared2/sys/net/02/config.dat
In the source code of Offline Network Enabler you will find sys_net.c and sys_net.h, which have all the information and functions needed to setup all the network settings from a homebrew application. There's commented sample code in changenet() function in main.c.
With this information you can write a full network configuration application as long as you can write to the nand.
This release was compiled with:
- DevkitPPC r26: http://sourceforge.net/projects/devkitpro/files/devkitPPC/
- libOGC 1.8.11 git (2012-07-25): http://sourceforge.net/projects/devkitpro/files/libogc
note: should compile and run fine with 1.8.11 release
- libfat 1.0.11: http://sourceforge.net/projects/devkitpro/files/libfat/
- Portlibs (the ones available at release date): http://sourceforge.net/projects/devkitpro/files/portlibs/ppc/