Hacking (vWii) - Tri-Core Linux

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Not trying to compete with Trinux or anything, but I also have plans to port my OS kernel to the Espresso in vWii mode. I figure it's a good way to combine the two programming projects I'm currently involved with. :) Right now, DarkSide only supports x86 PCs, but I've designed it portably so it shouldn't be too hard to add PowerPC support as well.


cool, good job so far.
 

Relys

^(Software | Hardware) Exploit? Development.$
Member
Joined
Jan 5, 2007
Messages
878
Trophies
1
XP
1,239
Country
United States
Uhhh, isn't this all open source?

As long as there's no propriety or copyright code why should the method of distribution matter? You should probably be hosting this on git or a similar svn anyways.
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
Hey guys, I'm having an unusual issue here. I've been waiting for my Wii/Wii U compatible LAN adapter to come in the mail so I can actually try installing some simple Debian compatible apps onto my Wii U (using the image sd card image above, which is based on Whiite-Linux. I set up the wired connection in Wii U mode no problem. Then I tested the connection in vWii mode, connected fine in HBC. I seem to be having an issue within Whiite Linux though sadly. I'm trying to use the apt-get install command to download various different apps, and it looks like everything is going smoothly (connects to repository etc etc), but it never finds the app I want to install. Mind you I've tried quite a few of them. To test my connection within linux, I tried pinging google.com to no avail. No response which leads me to believe that the apt-get command is misinforming me about connecting to the repo. It seems to me that its not connecting at all and just falsely reporting that it IS connecting, but can't find the package I'm looking for. From this point I decided to ping my router to see if I could at least reach that point, and to my surprise it sees the router no problem. I get responses back no problem! Is anyone else experiencing this issue with the SD card image posted above, or is it just me? If its just me then for some reason my router is prolly blocking me from connecting to the outside world from within linux on the Wii U, because for w/e reason it flags it as a security risk.

I have yet to try any other distros of linux since I got this lan adapter today. I plan on trying Easy Wii Linux next to see if that works out (especially considering how easy it is to set up :P). I'm just curious if anyone else is having this issue.

UPDATE: I'm having this same issue on Easy Wii Linux as well, so this doesn't seem to be an issue isolated to that particular Whiite distro :(. My guess is my router is 'firewalling' me. It could even be my software firewall. I'll try playing around with that first

YET ANOTHER UPDATE: Well, its certainly not my software firewall blocking me. I've ruled that out. Something huge did occur to me when I was testing though. When I went into HBC, it was giving me the signal indicating I was connected to wifi. So apparently vWii is still using my Wifi connection, and that's why I can't get online in linux *facepalm*. I set the wired connection as my "default connection" in Wii U mode, but apparently that wasn't enough. The vWii is still automatically connecting to my wireless network. I'm going to try to use http://gbatemp.net/threads/how-to-c...in-wiimode-via-settingseditorgui-v1-6.339796/ in this forum to see if I can correct this, to get it to pick up the wired connection.

YET ANOTHER UPDATE 2: I really should've read the thread for the Settings Editor. It doesn't let you override the internet settings within the vWii at all. They have to be changed in Wii U mode, like I originally thought. So as a result, I went back into Wii U mode, deleted all other connection settings so the only option the console has to connect is through the wired connection (I also set it as the "Preferred connection" even though its the only connection just to be safe. Went back into Easy Wii Linux. No change whatsoever *facepalm*. The only other thing I can think of, is my router is blocking me for some reason. The vWii linux connection is getting 'misflagged' as a threat by my router's internal firewall. In order to test this, I'm going to try again, but bypass my router altogether and plug the Wii U directly into my cable modem. Wish me luck :P

YET ANOTHER UPDATE 3: Plugging my Wii U directly into my cable modem didn't help at all either. In fact it made things worse. The lan adapter LED indicator wouldn't even light up at all while connected to the modem and neither would the cable modems LED for the computer ethernet port :(. This is really frustrating. Internet works fine outside of Wii Linux, both in vWii mode and Wii U mode. Is anybody else having this issue? I'm also going to take a pic of my lan adapter for comparison purposes:

IMG_20140711_233156.jpgIMG_20140711_233147.jpgIMG_20140711_233133.jpg

Is it because this is a generic adapter maybe? Do these particular Wii linux distros only support the official Nintendo lan adapter for some funny driver reason? I've ruled out everything else that I can think of.
 

obcd

Well-Known Member
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
Those LAN adapters use an ASIX chipset. There are 2 different chips that are used. One is having an A extension on it's chipnumber.
They enumerate as different devices. Most generic ASIX drivers seem to be able to work with both chipsets. I asked ASIX for their program to change the usb PID and VID, but they refused to give it as I am no huge integrator (buyer) of their chips.
I don't have a Wiiu, but I know that the wii only works with the older chipset using the chip without that A extension.
However, if you are able to ping your router from within linux, you should be able to ping to the outside as well (it means it has a working driver installed.)
Routers don't block outgoing traffic on their own. They use rules for that and those can be adjusted in the router configuration page.

Some things that can go wrong with external ethernet access are the dns server settings. If those are incorrect in your linux setup, you will only be able to ping ip's like
google's 8.8.8.8 dns server. Another important thing to use the apt-get command is the file that contains the location where apt-get is looking for packages.
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
Those LAN adapters use an ASIX chipset. There are 2 different chips that are used. One is having an A extension on it's chipnumber.
They enumerate as different devices. Most generic ASIX drivers seem to be able to work with both chipsets. I asked ASIX for their program to change the usb PID and VID, but they refused to give it as I am no huge integrator (buyer) of their chips.
I don't have a Wiiu, but I know that the wii only works with the older chipset using the chip without that A extension.
However, if you are able to ping your router from within linux, you should be able to ping to the outside as well (it means it has a working driver installed.)
Routers don't block outgoing traffic on their own. They use rules for that and those can be adjusted in the router configuration page.

Some things that can go wrong with external ethernet access are the dns server settings. If those are incorrect in your linux setup, you will only be able to ping ip's like
google's 8.8.8.8 dns server. Another important thing to use the apt-get command is the file that contains the location where apt-get is looking for packages.


Ya I forgot to mention, I tried to use apt-get update to update all my repo's but that didn't work either :(.

As for the router configuration, I'll see if I can get it working by fooling around with that, but seeing as I hooked it directly into my cable modem, and it still didn't work, i'm not very hopeful that this will resolve my issue.
 

gudenau

Largely ignored
Member
Joined
Jul 7, 2010
Messages
3,882
Trophies
2
Location
/dev/random
Website
www.gudenau.net
XP
5,378
Country
United States
Ya I forgot to mention, I tried to use apt-get update to update all my repo's but that didn't work either :(.

As for the router configuration, I'll see if I can get it working by fooling around with that, but seeing as I hooked it directly into my cable modem, and it still didn't work, i'm not very hopeful that this will resolve my issue.


The repos are dead, you need to use the archive. This goes in /etc/apt/sources.list
Code:
deb http://archive.debian.org/debian/ lenny main non-free contrib
deb-src http://archive.debian.org/debian/ lenny main non-free contrib
# Volatile:
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
# Backports:
deb http://archive.debian.org/debian-backports lenny-backports main contrib non-free
# Previously announced security updates:
deb http://archive.debian.org/debian-security lenny/updates main
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
The repos are dead, you need to use the archive. This goes in /etc/apt/sources.list
Code:
deb http://archive.debian.org/debian/ lenny main non-free contrib
deb-src http://archive.debian.org/debian/ lenny main non-free contrib
# Volatile:
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
# Backports:
deb http://archive.debian.org/debian-backports lenny-backports main contrib non-free
# Previously announced security updates:
deb http://archive.debian.org/debian-security lenny/updates main
Ok thx :). I will give this a go :)
 

Ninja_Carver

Well-Known Member
OP
Member
Joined
Dec 27, 2012
Messages
364
Trophies
0
Age
39
XP
652
Country
United States
Ok thx :). I will give this a go :)

you also have to bring the interface 'up', if I recall correctly. once that's done you have to run dhclient to obtain an IP via DHCP.

try,

# ifconfig eth0 up
# ifconfig <--- do you now see eth0 listed?
# dhclient eth0

this will bring up the interface and run the dhcp client to configure your NIC.

if it can't find eth0, try # dmesg | grep ASIX or # dmesg | grep eth
 

Ninja_Carver

Well-Known Member
OP
Member
Joined
Dec 27, 2012
Messages
364
Trophies
0
Age
39
XP
652
Country
United States
If all that works, you can add 'ifconfig eth0 up ; dhclient eth0' to your /etc/rc.local to run the commands automatically at boot time.
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
The repos are dead, you need to use the archive. This goes in /etc/apt/sources.list
Code:
deb http://archive.debian.org/debian/ lenny main non-free contrib
deb-src http://archive.debian.org/debian/ lenny main non-free contrib
# Volatile:
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
# Backports:
deb http://archive.debian.org/debian-backports lenny-backports main contrib non-free
# Previously announced security updates:
deb http://archive.debian.org/debian-security lenny/updates main


Okay sorry for the delay, I haven't had a chance to actually try this yet. I need to throw Whiite Linux back on my SD card and then update the repo's accordingly. Hopefully this resolves my issue of "not having internet access in linux." See the whole reason I want to get internet access in the first place is so that I can install some apps/emulators to see how their performance is BEFORE we manage to add Tri-Core support, just to see where we're currently at using just the "standard wii" hardware. That way I have something to compare it to during the testing phases (after writing instructions for Tri-Core support etc)
 

TeamScriptKiddies

Licensed Nintendo (indie) Game Developer
Member
Joined
Apr 3, 2014
Messages
1,970
Trophies
0
Age
36
Location
Planet Earth :P
XP
1,703
Country
United States
you also have to bring the interface 'up', if I recall correctly. once that's done you have to run dhclient to obtain an IP via DHCP.

try,

# ifconfig eth0 up
# ifconfig <--- do you now see eth0 listed?
# dhclient eth0

this will bring up the interface and run the dhcp client to configure your NIC.

if it can't find eth0, try # dmesg | grep ASIX or # dmesg | grep eth


and that's eth0 not to be confused with echo correct? Just want to make sure thats not a typo XD

FYI thanks for all you do Ninja_Carver. Even though you're too busy to work on this project, your still keeping an eye on this thread to help me and others out :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    AncientBoi @ AncientBoi: 🫂 +1