ltning

@[email protected]


27 following, 35 followers

📌 176 ★ 130 ↺

[?]ltning » 🌐
@[email protected]

Welcome to the Wii Cafe!

This instance is running under on a Nintendo Wii. My DMs are open, let me know if you'd like an account here.

Screenshot from fastfetch showing OS version and hardware platform: NetBSD 11.0-RC2, evbppc, CPU PPC750

Alt...Screenshot from fastfetch showing OS version and hardware platform: NetBSD 11.0-RC2, evbppc, CPU PPC750

    ...
    4 ★ 0 ↺

    [?]ltning » 🌐
    @[email protected]

    To anyone who may struggle to reach the site, I'm working on making sure it stays up. Snac sometimes exits under load (it doesn't "crash" - it's a clean exit) but I haven't yet figured out how.

    Working on it; meanwhile, it auto-restarts after a second or so.

    Thanks for reading ;)

      ...

      [?]Jared McNeill » 🌐
      @[email protected]

      @ltning You may want to consider upgrading to the Wii U 🙃

        Older...

        [?]Rairii :win3_progman: :win3: » 🌐
        @[email protected]

        @ltning ..well, what is it? a wii or a cafe???

          ...

          [?]Rairii :win3_progman: :win3: » 🌐
          @[email protected]

          @ltning or are you saying.this is a cafe in vwii mode?

            0 ★ 0 ↺

            [?]ltning » 🌐
            @[email protected]

            ...yes?

              [?]Willow :bhjflag_bisexual::anarchy_punk_demiboy: » 🌐
              @[email protected]

              @[email protected] honestly, impressive. I love when people repurpose old devices into something interesting. Too comfy on this instance though, but I wanted to compliment the achievement 💜

                ...
                0 ★ 0 ↺

                [?]ltning » 🌐
                @[email protected]

                I would not, at this stage, recommend anyone move here ;D
                Thank you for the kind words :)

                  ...

                  [?]Willow :bhjflag_bisexual::anarchy_punk_demiboy: » 🌐
                  @[email protected]

                  @[email protected] is it that bad? ​:neodog_lul:

                  I saw someone running snac on an esp32 though I believe that was stripped down of many functionalities. If you're really determined you could try to do something simillar?

                  Other than that, I'm not sure if there's many ways to speed it up. Swap and ram both don't seem full so there's probably no point in adding more swap. Maybe disabling it altogether could help since swapping does slow the system down a bit but then you'd most likely run into an oom ​:neodog_think:

                    ...
                    0 ★ 0 ↺

                    [?]ltning » 🌐
                    @[email protected]

                    It performs fine for the moment, but it quits from time to time for no apparent reason. It's not a memory issue; rather it seems to be hitting the max open files. I'll fix that shortly.

                      [?]forgetpassword » 🌐
                      @[email protected]

                      @ltning snac running on NetBSD is neat 👌 I knew there was a DreamCast build but didnt know theres one for Wii~

                        [?]sapphic girlthing doll {cb9d119} [it/its] » 🌐
                        @[email protected]

                        @ltning ooh, netBSD mega cute, and cute hardware, doll love this :3

                          [?]hufman [he/him] » 🌐
                          @[email protected]

                          @ltning That is sooo cool :neobot_heart_eyes_purple:

                            [?]zivi [shi/hir] » 🌐
                            @[email protected]

                            @ltning woah thats how little memory the Wii had?

                              ...
                              1 ★ 0 ↺

                              [?]ltning » 🌐
                              @[email protected]

                              Yeah .. it's rather amazing when you look at the games on this thing .. well, the games it had before I replaced all the fun stuff with NetBSD ;)

                                ...

                                [?]zivi [shi/hir] » 🌐
                                @[email protected]

                                @ltning NetBSD is fun too

                                  [?]Vincent 🐡 » 🌐
                                  @[email protected]

                                  @ltning Absolute cinema!
                                  My only question is : does it launch automatically on a reboot ?

                                    ...
                                    1 ★ 0 ↺

                                    [?]ltning » 🌐
                                    @[email protected]

                                    Yes. At least the OS boots, I have not actually checked that all the services (TLS proxy and snac) start as they should, but I'm fairly sure they will. Should probably test that soon....

                                      [?]trinity [it/she] » 🌐
                                      @[email protected]

                                      @ltning powerpc, dude - it's the future

                                        ...
                                        2 ★ 0 ↺

                                        [?]ltning » 🌐
                                        @[email protected]

                                        Well I dunno .. I'm living in the future and there are still not flying cars to speak of, so is it really the future we were promised? Since there's not a lot of PPC going around either, I'm clinging to what I can..

                                          [?]radhitya » 🌐
                                          @[email protected]

                                          @ltning how many people that wii able to handle?

                                          ...
                                          0 ★ 0 ↺

                                          [?]ltning » 🌐
                                          @[email protected]

                                          I have absolutely no idea. I'm gonna go with "not thousands". Probably even "not hundreds". Some absolute limits come to mind - max open files due to memory constraints, actual memory constraints, CPU constraints (those RSA signatures are slow and ActivityPub+EC crypto isn't a thing, for reasons I cannot comprehend), disk space constraints ....

                                            [?]ety://glyphscribe [they/them] » 🌐
                                            @[email protected]

                                            @ltning This is bordering on devious. I love it 💕

                                              ...
                                              1 ★ 0 ↺

                                              [?]ltning » 🌐
                                              @[email protected]

                                              I aim to please. :->

                                                [?]wuffel » 🌐
                                                @[email protected]

                                                @ltning
                                                wow. 👍

                                                  [?]jmcunx » 🌐
                                                  @[email protected]

                                                  @ltning

                                                  Am I reading this correctly, does the system only have 128M Memory ? Very nice! I thought I was doing good having on an old system with 512M :)

                                                  One of things I like about is seeing people running it on all kind of different hardware.

                                                    ...
                                                    1 ★ 0 ↺

                                                    [?]ltning » 🌐
                                                    @[email protected]

                                                    @[email protected] According to Wikipedia it has 24 MB 1T-SRAM + 64 MB GDDR3 SDRAM; afaik only the latter is actually used by NetBSD. :)

                                                      [?]nbe1233 [he/him] » 🌐
                                                      @[email protected]

                                                      @ltning Did you have any trouble porting it to the Wii or is Wii netBSD a seamless platform to port applications?

                                                        ...
                                                        0 ★ 1 ↺
                                                        passthejoe boosted

                                                        [?]ltning » 🌐
                                                        @[email protected]

                                                        NetBSD on Wii is just like on any other platform - unless software is targeting specific architectures, it tends to build just fine. Snac is a proper POSIX application, as are the other pieces of code I had to build. Hell, even fastfetch compiled, despite being a much bigger and more complex project than I thought 😀

                                                          ...

                                                          [?]nbe1233 [he/him] » 🌐
                                                          @[email protected]

                                                          @ltning Any trouble with endianess? I have come across endianness problems while porting software to the PS3 as it uses big-endian PowerPC. Ie. Some software that uses memcpy to load bytes into a int or float.

                                                            ...
                                                            1 ★ 0 ↺

                                                            [?]ltning » 🌐
                                                            @[email protected]

                                                            No - I literally just built it. And NetBSD itself is already endian-agnostic. It's part of why this is .. deceptively simple. :)

                                                              [?]Princess Serena Star ✨ [She/her] » 🌐
                                                              @[email protected]

                                                              @[email protected] How performant is it?

                                                                ...
                                                                0 ★ 0 ↺

                                                                [?]ltning » 🌐
                                                                @[email protected]

                                                                @[email protected] Surprisingly? The CPU is quite fast, and as long as I conserve RAM and don't do much disk I/O it feels adequate for the job so far. There's been a lot of responses and boosts to this post so it already has tentacles all over the fediverse by now.

                                                                  5 ★ 0 ↺

                                                                  [?]ltning » 🌐
                                                                  @[email protected]

                                                                  Dear followers: I am humbly asking for "likes" on this post to help me debug the alleged TLS errors some remote instances report when interacting with this one.

                                                                  Do not pollute the fediverse by boosting, though.

                                                                  Thank you. :)

                                                                  5 ★ 2 ↺

                                                                  [?]ltning » 🌐
                                                                  @[email protected]

                                                                  Just another day in the life of a Nintendo Wii running NetBSD: A Grafana dashboard put together with metrics from netbsd_exporter[1] and Pound.

                                                                  Not much going on over here, now that Pound and Snac have been tested for a bit and the configuration stabilized.

                                                                  There is one remaining issue: Some remote instances keep submitting likes and such repeatedly and at various intervals (typically hours). As others using Snac are experiencing the same, at least I know it is not my platform.

                                                                  Btw, the invitation still stands: If you want an account here, drop me a note and I'll see what I can do.

                                                                  [1] https://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/sysutils/netbsd_exporter/index.html


                                                                  Grafana dashboard showing CPU load averages, memory and swap utilization, disk and network I/O, disk freespace, and a handful of metrics from Pound.

                                                                  Alt...Grafana dashboard showing CPU load averages, memory and swap utilization, disk and network I/O, disk freespace, and a handful of metrics from Pound.

                                                                    ltning boosted

                                                                    [?]JesseBot [they/them or he/him] » 🌐
                                                                    @[email protected]

                                                                    ...
                                                                    1 ★ 0 ↺

                                                                    [?]ltning » 🌐
                                                                    @[email protected]

                                                                    @[email protected] Joined! Or applied, anyway ...

                                                                      [?]Stralau » 🌐
                                                                      @[email protected]

                                                                      ...

                                                                      [?]ltning » 🌐
                                                                      @[email protected]

                                                                      @stralau Yes please :)

                                                                        18 ★ 8 ↺

                                                                        [?]ltning » 🌐
                                                                        @[email protected]

                                                                        Well, this kinda blew up a bit. My original post here[1] has so far seen well over a hundred boosts, a new personal best :D

                                                                        It has been suggested it is time to detail a bit about the configuration of this beast. Let's start with the basics: This is a straight-up 11rc2 installation on a stock . Many people have detailed how to install it, but one useful source of information is Alex Haydock's blog[2], and of course the NetBSD release documentation. The kernel config[3] is modified slightly from the default WII in an attempt to save a bit of memory.

                                                                        Building was straight forward; no difference from building on i486 or i686. Simply make and make install, with the -f Makefile.NetBSD (the NetBSD-specific makefile is included with the snac sources).

                                                                        Since snac won't do TLS for inbound connections, a TLS proxy is needed. My go-to nginx isn't in the 11rc2 PPC package repository at the time of writing, so I built it from pkgsrc myself. This only took a couple of hours.. But alas, it's a bit too memory hungry for my taste, even with a minimal configuration.

                                                                        Next up, I found ttp[4]. It is a very small and simple proxy server, which works fine but cannot serve static files, nor does it support TLS 1.3. It is also incapable of dropping privileges, and since I want to run it as nobody I had to find a different way to pass port 443 traffic to it.

                                                                        Luckily, NetBSD has npf, a built-in firewall that can do NAT and which is fairly easy to configure (at least with the usual good documentation and examples included). Picking up port 443 and NATing it to a high port for ttp to handle worked fine - and allows me to easily move traffic from one TLS proxy to another while I experiment.

                                                                        TTP wasn't without problems - but they turned out to not be entirely its fault. I kept getting connection failures and snac kept exiting for no obvious reason.

                                                                        After some fiddling around, the snac author suggested[5] that I was running out of file handles, which is indeed the case. Adding ulimit -n 1024 to /etc/rc.d/snac solved that issue as well.

                                                                        Then my thoughts landed on an old acquaintance of mine - pound[6]. This is a reverse proxy with good TLS support, and recent versions can even serve static files in a fairly simple way. After a couple of bug reports, lots of help by the current maintainer, and some more fiddling, I got the most recent versions to build. Once the next release drops (4.21), I'll have a go at doing my first pkgsrc port update :)

                                                                        The pound configuration[7] now seems to be fairly complete, even keeping out most random scanning attacks (yes, they have already started).

                                                                        [1] https://wii.cafe/ltning/p/1773014130.033156
                                                                        [2] https://blog.infected.systems/posts/2025-04-21-this-blog-is-hosted-on-a-nintendo-wii/
                                                                        [3] https://anduin.net/~ltning/WII_TINY
                                                                        [4] https://github.com/Theldus/ttp
                                                                        [5] https://codeberg.org/grunfink/snac2/issues/576
                                                                        [6] https://www.gnu.org.ua/software/pound/manual/index.html
                                                                        [7] https://anduin.net/~ltning/pound/wiicafe_pound.tgz

                                                                        Screenshot of htop running on the Wii. pound and snac processes both hovering between 1 and 2 MB resident memory.

                                                                        Alt...Screenshot of htop running on the Wii. pound and snac processes both hovering between 1 and 2 MB resident memory.

                                                                          ...
                                                                          17 ★ 6 ↺
                                                                          Ben Zanin boosted

                                                                          [?]ltning » 🌐
                                                                          @[email protected]

                                                                          And this is what htop looks like soon after I posted the above. The Wii is working hard, but it handles it quite well, as it seems.

                                                                          /me pats Wii on back good Wii, good NetBSD ;)

                                                                          Htop screenshot during load. Both snac and pound has grown a bit in resident size, and CPU sits at 100%. Some network traffic can be seen.

                                                                          Alt...Htop screenshot during load. Both snac and pound has grown a bit in resident size, and CPU sits at 100%. Some network traffic can be seen.

                                                                            ...

                                                                            [?]Jenny753 [🏳️‍⚧️ she/her] » 🔓
                                                                            @[email protected]

                                                                            @ltning I'm curious if the Wii you're using is using the 90nm or 65nm node for the Broadway chip, as I imagine that would affect the heat strain of running at 100% usage for an extended time.

                                                                              ...
                                                                              1 ★ 0 ↺

                                                                              [?]ltning » 🔓
                                                                              @[email protected]

                                                                              Any idea how I can find out?

                                                                              Also when playing games I would also expect it to run at or near capacity - so I'm not sure how this situation differs all that much.

                                                                              I'm honestly more worried about my USB ethernet adapter. So much so that I'm considering configuring its wifi interface as well and sticking a load balancer in front of it 😀

                                                                                [?]breakgimme » 🌐
                                                                                @[email protected]

                                                                                @ltning it’s truly an honor to be federating with a wii

                                                                                ...
                                                                                1 ★ 0 ↺

                                                                                [?]ltning » 🌐
                                                                                @[email protected]

                                                                                bow
                                                                                The honour is mine. The hard work is done by others. I just get to play with the Lego pieces.

                                                                                  📌 176 ★ 130 ↺

                                                                                  [?]ltning » 🌐
                                                                                  @[email protected]

                                                                                  Welcome to the Wii Cafe!

                                                                                  This instance is running under on a Nintendo Wii. My DMs are open, let me know if you'd like an account here.

                                                                                  Screenshot from fastfetch showing OS version and hardware platform: NetBSD 11.0-RC2, evbppc, CPU PPC750

                                                                                  Alt...Screenshot from fastfetch showing OS version and hardware platform: NetBSD 11.0-RC2, evbppc, CPU PPC750

                                                                                    ...
                                                                                    4 ★ 0 ↺

                                                                                    [?]ltning » 🌐
                                                                                    @[email protected]

                                                                                    To anyone who may struggle to reach the site, I'm working on making sure it stays up. Snac sometimes exits under load (it doesn't "crash" - it's a clean exit) but I haven't yet figured out how.

                                                                                    Working on it; meanwhile, it auto-restarts after a second or so.

                                                                                    Thanks for reading ;)

                                                                                      ...

                                                                                      [?]Jared McNeill » 🌐
                                                                                      @[email protected]

                                                                                      @ltning You may want to consider upgrading to the Wii U 🙃

                                                                                        Older...

                                                                                        [?]Rairii :win3_progman: :win3: » 🌐
                                                                                        @[email protected]

                                                                                        @ltning ..well, what is it? a wii or a cafe???

                                                                                          ...

                                                                                          [?]Rairii :win3_progman: :win3: » 🌐
                                                                                          @[email protected]

                                                                                          @ltning or are you saying.this is a cafe in vwii mode?

                                                                                            0 ★ 0 ↺

                                                                                            [?]ltning » 🌐
                                                                                            @[email protected]

                                                                                            ...yes?

                                                                                              [?]Willow :bhjflag_bisexual::anarchy_punk_demiboy: » 🌐
                                                                                              @[email protected]

                                                                                              @[email protected] honestly, impressive. I love when people repurpose old devices into something interesting. Too comfy on this instance though, but I wanted to compliment the achievement 💜

                                                                                                ...
                                                                                                0 ★ 0 ↺

                                                                                                [?]ltning » 🌐
                                                                                                @[email protected]

                                                                                                I would not, at this stage, recommend anyone move here ;D
                                                                                                Thank you for the kind words :)

                                                                                                  ...

                                                                                                  [?]Willow :bhjflag_bisexual::anarchy_punk_demiboy: » 🌐
                                                                                                  @[email protected]

                                                                                                  @[email protected] is it that bad? ​:neodog_lul:

                                                                                                  I saw someone running snac on an esp32 though I believe that was stripped down of many functionalities. If you're really determined you could try to do something simillar?

                                                                                                  Other than that, I'm not sure if there's many ways to speed it up. Swap and ram both don't seem full so there's probably no point in adding more swap. Maybe disabling it altogether could help since swapping does slow the system down a bit but then you'd most likely run into an oom ​:neodog_think:

                                                                                                    ...
                                                                                                    0 ★ 0 ↺

                                                                                                    [?]ltning » 🌐
                                                                                                    @[email protected]

                                                                                                    It performs fine for the moment, but it quits from time to time for no apparent reason. It's not a memory issue; rather it seems to be hitting the max open files. I'll fix that shortly.

                                                                                                      [?]forgetpassword » 🌐
                                                                                                      @[email protected]

                                                                                                      @ltning snac running on NetBSD is neat 👌 I knew there was a DreamCast build but didnt know theres one for Wii~

                                                                                                        [?]sapphic girlthing doll {cb9d119} [it/its] » 🌐
                                                                                                        @[email protected]

                                                                                                        @ltning ooh, netBSD mega cute, and cute hardware, doll love this :3

                                                                                                          [?]hufman [he/him] » 🌐
                                                                                                          @[email protected]

                                                                                                          @ltning That is sooo cool :neobot_heart_eyes_purple:

                                                                                                            [?]zivi [shi/hir] » 🌐
                                                                                                            @[email protected]

                                                                                                            @ltning woah thats how little memory the Wii had?

                                                                                                              ...
                                                                                                              1 ★ 0 ↺

                                                                                                              [?]ltning » 🌐
                                                                                                              @[email protected]

                                                                                                              Yeah .. it's rather amazing when you look at the games on this thing .. well, the games it had before I replaced all the fun stuff with NetBSD ;)

                                                                                                                ...

                                                                                                                [?]zivi [shi/hir] » 🌐
                                                                                                                @[email protected]

                                                                                                                @ltning NetBSD is fun too

                                                                                                                  [?]Vincent 🐡 » 🌐
                                                                                                                  @[email protected]

                                                                                                                  @ltning Absolute cinema!
                                                                                                                  My only question is : does it launch automatically on a reboot ?

                                                                                                                    ...
                                                                                                                    1 ★ 0 ↺

                                                                                                                    [?]ltning » 🌐
                                                                                                                    @[email protected]

                                                                                                                    Yes. At least the OS boots, I have not actually checked that all the services (TLS proxy and snac) start as they should, but I'm fairly sure they will. Should probably test that soon....

                                                                                                                      [?]trinity [it/she] » 🌐
                                                                                                                      @[email protected]

                                                                                                                      @ltning powerpc, dude - it's the future

                                                                                                                        ...
                                                                                                                        2 ★ 0 ↺

                                                                                                                        [?]ltning » 🌐
                                                                                                                        @[email protected]

                                                                                                                        Well I dunno .. I'm living in the future and there are still not flying cars to speak of, so is it really the future we were promised? Since there's not a lot of PPC going around either, I'm clinging to what I can..

                                                                                                                          [?]radhitya » 🌐
                                                                                                                          @[email protected]

                                                                                                                          @ltning how many people that wii able to handle?

                                                                                                                          ...
                                                                                                                          0 ★ 0 ↺

                                                                                                                          [?]ltning » 🌐
                                                                                                                          @[email protected]

                                                                                                                          I have absolutely no idea. I'm gonna go with "not thousands". Probably even "not hundreds". Some absolute limits come to mind - max open files due to memory constraints, actual memory constraints, CPU constraints (those RSA signatures are slow and ActivityPub+EC crypto isn't a thing, for reasons I cannot comprehend), disk space constraints ....

                                                                                                                            [?]ety://glyphscribe [they/them] » 🌐
                                                                                                                            @[email protected]

                                                                                                                            @ltning This is bordering on devious. I love it 💕

                                                                                                                              ...
                                                                                                                              1 ★ 0 ↺

                                                                                                                              [?]ltning » 🌐
                                                                                                                              @[email protected]

                                                                                                                              I aim to please. :->

                                                                                                                                [?]wuffel » 🌐
                                                                                                                                @[email protected]

                                                                                                                                @ltning
                                                                                                                                wow. 👍

                                                                                                                                  [?]jmcunx » 🌐
                                                                                                                                  @[email protected]

                                                                                                                                  @ltning

                                                                                                                                  Am I reading this correctly, does the system only have 128M Memory ? Very nice! I thought I was doing good having on an old system with 512M :)

                                                                                                                                  One of things I like about is seeing people running it on all kind of different hardware.

                                                                                                                                    ...
                                                                                                                                    1 ★ 0 ↺

                                                                                                                                    [?]ltning » 🌐
                                                                                                                                    @[email protected]

                                                                                                                                    @[email protected] According to Wikipedia it has 24 MB 1T-SRAM + 64 MB GDDR3 SDRAM; afaik only the latter is actually used by NetBSD. :)

                                                                                                                                      [?]nbe1233 [he/him] » 🌐
                                                                                                                                      @[email protected]

                                                                                                                                      @ltning Did you have any trouble porting it to the Wii or is Wii netBSD a seamless platform to port applications?

                                                                                                                                        ...
                                                                                                                                        0 ★ 1 ↺
                                                                                                                                        passthejoe boosted

                                                                                                                                        [?]ltning » 🌐
                                                                                                                                        @[email protected]

                                                                                                                                        NetBSD on Wii is just like on any other platform - unless software is targeting specific architectures, it tends to build just fine. Snac is a proper POSIX application, as are the other pieces of code I had to build. Hell, even fastfetch compiled, despite being a much bigger and more complex project than I thought 😀

                                                                                                                                          ...

                                                                                                                                          [?]nbe1233 [he/him] » 🌐
                                                                                                                                          @[email protected]

                                                                                                                                          @ltning Any trouble with endianess? I have come across endianness problems while porting software to the PS3 as it uses big-endian PowerPC. Ie. Some software that uses memcpy to load bytes into a int or float.

                                                                                                                                            ...
                                                                                                                                            1 ★ 0 ↺

                                                                                                                                            [?]ltning » 🌐
                                                                                                                                            @[email protected]

                                                                                                                                            No - I literally just built it. And NetBSD itself is already endian-agnostic. It's part of why this is .. deceptively simple. :)

                                                                                                                                              [?]Princess Serena Star ✨ [She/her] » 🌐
                                                                                                                                              @[email protected]

                                                                                                                                              @[email protected] How performant is it?

                                                                                                                                                ...
                                                                                                                                                0 ★ 0 ↺

                                                                                                                                                [?]ltning » 🌐
                                                                                                                                                @[email protected]

                                                                                                                                                @[email protected] Surprisingly? The CPU is quite fast, and as long as I conserve RAM and don't do much disk I/O it feels adequate for the job so far. There's been a lot of responses and boosts to this post so it already has tentacles all over the fediverse by now.

                                                                                                                                                  History