Wii Linux (XWhiite 0.2) with working WiFi tutorial

Requirements

- BootMii (either installed as boot2 or as IOS)
- SD(HC) card (at least 1GB, 2GB recommended)
- USB keyboard

Preparing the SD card

You have to create 2 partitions. One little FAT16/32 for BootMii, HBC and the kernel and one big ext3 for the filesystem ("userland"). You can do this for example with gParted in Ubuntu. If you don`t have Ubuntu installed, use the latest LiveCD. For this tutorial it is important to set the descriptions of the partitions.

- Backup your current BootMii folder
- 1. partition: At least 32 MB, FAT16/32, "kernel" as description
- 2. partition: Remaining free space, EXT3, "filesystem" as description
- Copy your BootMii folder to the first partition

Installing the kernel

The mike kernel must be booted via BootMii! If you boot it with the homebrew channel, wifi and other things won`t work.

There are two ways to boot the kernel:

1.)
The first one (and also the recommended one) is to copy the kernel to the first partition of your sd card, for example to the BootMii folder. To boot the kernel you can use the sd card explorer in BootMii and select the kernel. It could happen that it doesn`t work and return to the BootMii main menu. If this happens try to update to the newest BootMii version (beta4). If it also doesn`t work with beta4 then you have to use the second way.

2.)
With the second way you will have to replace the executable of the BootMii GUI with the kernel. This should always work, but the disadvantage is that the kernel will boot immediately after launching BootMii. So you won`t see the GUI of BootMii. If you need the BootMii GUI you may use a second sd card for Linux only.

- Rename the file "ppcboot.elf" in the BootMii folder to "ppcboot.elf.backup"
- Download the latest mike kernel (mikep5) with your appropriate TV mode:

- 480i PAL: http://downloads.sourceforge.net/gc-linux/...480i(PAL60).elf
- 576i PAL: http://downloads.sourceforge.net/gc-linux/...i.576i(PAL).elf
- 480p PAL: http://downloads.sourceforge.net/gc-linux/...i.480p(PAL).elf
- 480i NTSC: http://downloads.sourceforge.net/gc-linux/....480i(NTSC).elf
- 480p NTSC: http://downloads.sourceforge.net/gc-linux/....480p(NTSC).elf

- Rename the kernel to ppcboot.elf and copy it to your BootMii folder
- If you have BootMii beta1 or beta2 you need to download the latest armboot.bin to prevent an error with the mike kernel: http://downloads.sourceforge.net/gc-linux/mikep1-armboot.bin. Rename it to "armboot.bin" and replace it with the one in your new BootMii folder. If you are running BootMii beta3 or later you might skip this step, because it should already include a newer version of armboot.bin

Installing the filesystem

- Download XWhiite 0.2 to your Desktop: http://hbcapps.com/debian-etch-4.0+whiite-...ite-0.2.tar.bz2
- Open a terminal and login as root (sudo su)
- Change the directory to your Desktop:
Code:
cd /home/yourusername/Desktop
- Extract the filesystem to your sd card:
Code:
tar -C /media/filesystem/ -xjvf debian-etch-4.0+whiite-0.1+xwhiite-0.2.tar.bz2
- Backup your xorg.conf:
Code:
cd /media/filesystem/etc/X11/
cp xorg.conf xorg.conf.backup
- Open your xorg.conf and set your TV mode (pal or ntsc):

Code:
gedit /media/filesystem/etc/X11/xorg.conf
- Find the Subsection "Display" in the section "Screen"
- Replace "pal_50" with "ntsc_60" if you have a NTSC TV
- If you have the problem with the "small line" try to remove the lines with "HorizSync", "VertRefresh", "Modeline "pal_50"" and "Modeline "ntsc_60"" in the section "Monitor" and the whole subsection "Display"

- Now you can try to boot your Wii with Linux.

Getting WiFi to work

- Download the necessary debian packages and put them to /media/filesystem/home/wii/:

- nano: http://ftp.us.debian.org/debian/pool/main/...ch1_powerpc.deb
- wpasupplicant: http://ftp.us.debian.org/debian/pool/main/...5-2_powerpc.deb
- wireless-tools: http://ftp.us.debian.org/debian/pool/main/...f.1_powerpc.deb
- udev: http://security.debian.org/debian-security...ch1_powerpc.deb
- libiw28: http://ftp.us.debian.org/debian/pool/main/...f.1_powerpc.deb
- libvolume: http://security.debian.org/debian-security...ch1_powerpc.deb
- wifi firmware: http://sourceforge.net/projects/gc-linux/f...tar.gz/download

- Boot your Wii Linux
- Open a terminal and login as root (pwd is "whiite")
- Install the packages:
Code:
cd /home/wii/
dpkg -i *.deb
- Extract the wifi firmware:
Code:
cd /
tar -xzvf /home/wii/openfwwf-5.2-bin.tar.gz
- Edit the wifi settings:

Code:
nano /etc/network/interfaces
- For WPA 1/2 add this:

Code:
auto wlan0
iface wlan0 inet dhcp
ÂÂÂÂÂÂÂÂwpa-ssid YOUR_SSID_GOES_HERE
ÂÂÂÂÂÂÂÂwpa-psk YOUR_SECRET_GOES_HERE
ÂÂÂÂÂÂÂÂwpa-key-mgmt WPA-PSK
ÂÂÂÂÂÂÂÂwpa-pairwise TKIP CCMP
ÂÂÂÂÂÂÂÂwpa-group TKIP CCMP
ÂÂÂÂÂÂÂÂwpa-proto WPA RSN
ÂÂÂÂÂÂÂÂwpa-ap-scan 1
ÂÂÂÂÂÂÂÂwpa-scan-ssid 1
- For WEP (ASCII string key) add this:

Code:
auto wlan0
iface wlan0 inet dhcp
ÂÂÂÂÂÂÂÂwireless-essid YOUR_SSID_GOES_HERE
ÂÂÂÂÂÂÂÂwireless-key YOUR_ASCII_SECRET_GOES_HERE

- For WEP (binary key) add this:

Code:
auto wlan0
iface wlan0 inet dhcp
ÂÂÂÂÂÂÂÂwireless-essid YOUR_SSID_GOES_HERE
ÂÂÂÂÂÂÂÂwireless-key s:0123-4567-89


- Test your wifi connection:
Code:
ifup wlan0
ping www.google.com
- If you get responses: CONGRATULATIONS! Now your Wii will automatically connect your wifi on every boot

And what now?

- Now you can update your system (as root!):
Code:
apt-get update
apt-get upgrade
- You can also install a "normal" desktop environment like XFCE4. It`s more comfortable to use, but will use more RAM and will run slower. But it`s quite usable.
Code:
apt-get install xfce4
- Install whatever you want! Have fun!

Problems and their solutions

Problem: No sound
Solution: CODEusermod -G audio


by elmurato
revision 5


PS: If something isn`t clear feel free to ask so that I can improve this tutorial. Thanks!

Sources

http://www.gc-linux.org/wiki/WL:whiite-linux
http://www.tehskeen.com/forums/showthread.php?t=9777
http://www.gc-linux.org/wiki/MINI:KernelPreviewThree
http://www.gc-linux.org/wiki/WL:Wifi_Configuration
 

Littlefighter19

Member
Newcomer
Joined
Nov 12, 2011
Messages
15
Trophies
0
XP
79
Country
Gambia, The
Well i don't think it's the armboot problem, it seems to find the hardware even through the HBC, but there has to be another reason, the armboot is contained at the first page of this article, but like I already said, i don't think its the armboots fault.
 
  • Like
Reactions: 1 person

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
phy0 seems to be the assigned as a wlan card for you littlefighter19 (not wlan0 or wlan1 as stated by default in etc/network/interfaces).

I wonder if this happens because of newer Wii WLAN chipsets... and if there's a way to install a newer driver.

In theory if launched from arm: most features should be working, because arm wipes (or completes) the current data on ram (in this case, ios) and process the new one (loading a new chunk of data), right? :unsure:

waiting for tueidj's answer
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Yes. But he's using an ethernet usb dongle because of eth0 plugged and detected.

Like before, I used whiite on a boot1 exploitable wii before and WLAN0/or 1 was detected and enabled by default. Now I can't because the older wii's GPU was dying and had to get rid of it, and in the way get a newer boot1 fixed wii (which seems to produce less heat).

So now as I type I'm trying to run the MiNI elf through priiloader/postloader2, and any other homebrew capable of running arm ppc code.
 

-DarkAceZ-

Active Member
Newcomer
Joined
Nov 1, 2011
Messages
42
Trophies
0
Website
www.secretmaryo.org
XP
33
Country
United States
Hmmm, I just tried replacing the armboot.bin and nothing changed...
[EDIT] Yeah, I'm also trying to boot it with priiloader, (not directly, priiloader>launch Bootmii) but nothings making any sense. How did you (littlefighter19) get a different output when you changed the armboot?
[EDIT] Oh, wait it did notice it, although nothing has changed in the output of ifup wlan0.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Oh my god... XD

Just typed iwconfig...

wlan1 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power: 0 DBM
Retry Limit:7

etc-

Gotta test this baby right now! =D!!

ps: non boot1 bugged wii..
 
  • Like
Reactions: 1 person

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Good news, swap as mem2 is working, this wasn't available while running as IOS IIRC. DHCPDISCOVER does something between wlan card and kernel, giving some timeout results.
 
  • Like
Reactions: 1 person

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
After about an hour of messing with settings and stuff, I found an old tarball I modified somehow.. found an empty SD card to test things and guess what...

An image's worth thousands words


pic1.jpg


pic2.jpg


MEM2 , DVD ACCESS, WIFI on a NON boot1bugged Wii!

Tomorrow I'm gonna post the tarball, setup dol included (xwhiite installer beta) which will require you to have a blank SD card and a USB drive (FAT) with at least 200MB available and will install XFCE4 and xcube drivers by default! ..

edit: looking for a way to use latest Farter's newest RGB Linux Driver..
 
  • Like
Reactions: 1 person

-DarkAceZ-

Active Member
Newcomer
Joined
Nov 1, 2011
Messages
42
Trophies
0
Website
www.secretmaryo.org
XP
33
Country
United States
YES!!!!!!!! Finally!!! Thankyou!!! WOOHOO!!! Can't wait for it!!!
Are you going to include Synaptic on it? That would be nice.

Also, I think you should write a new topic on a step-by-step tut for for IOS users. That would get us a lot more WiiLinux users. (maybe)

[EDIT] " which will require you to have a blank SD card and a USB drive (FAT) with at least 200MB available and will install XFCE4 and xcube drivers by default!"
Wait, so I can't install everything on my 8GB SD card after all? I don't have a USB drive...
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Uhm.. Dont' worry, the tarball contains the kernel 2.1xx. Contains the XFCE4 environment installed and booted by default. A web explorer called Iceweasel (firefox on linux), and a bunch of other apps. Opera is included as well but it won't work so you'll need to get rid of it then download the latest PPC build.

Synaptic is included as well, but before anything, log as "su root", pass "whiite" edit the etc/apt/sources.list with "nano" (text editor) then add any repositories for lenny (whiite's debian version) you may find (the reps should be secure as well) from google.

Wii's internal (32MB?)MEM2 works as swap, and this is quite noticeable (resulting in speed improvement), wifi, DVD working as well.



YES!!!!!!!! Finally!!! Thankyou!!! WOOHOO!!! Can't wait for it!!!
Are you going to include Synaptic on it? That would be nice.

Also, I think you should write a new topic on a step-by-step tut for for IOS users. That would get us a lot more WiiLinux users. (maybe)

[EDIT] " which will require you to have a blank SD card and a USB drive (FAT) with at least 200MB available and will install XFCE4 and xcube drivers by default!"
Wait, so I can't install everything on my 8GB SD card after all? I don't have a USB drive...

No. You'll need any cheap 256MB USB Stick to retrieve the tarball/config files which will be installed onto your SD card (you'll require ext3, linux swap, and a fat16 partition[optional]), and you'll need once, during the installation process. The fat partition helps while loading apps/executables off the SD card (which can be the mini elf, or the IOS loader)
 

-DarkAceZ-

Active Member
Newcomer
Joined
Nov 1, 2011
Messages
42
Trophies
0
Website
www.secretmaryo.org
XP
33
Country
United States
No. You'll need any cheap 256MB USB Stick to retrieve the tarball/config files which will be installed onto your SD card (you'll require ext3, linux swap, and a fat16 partition[optional]), and you'll need once, during the installation process. The fat partition helps while loading apps/executables off the SD card (which can be the mini elf, or the IOS loader)
Oh, then I can just use my SDHD USB card reader with a 2GB card as my USB drive.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: @SylverReZ, Indeed lol