Recently, I’ve resumed playing Mario Kart DS, an old (2005) Nintendo game available on the Nintendo DS console, including playing online. The online service has been closed by Nintendo for a long time now, but people have volunteered to create replacements, the most famous probably being Wiimmfi, that only requires to set a DNS server address manually on the console.
Things are not that simple however. Because it’s an old game, it can only connect to either plain unprotected, open Wifi networks, or WEP-“protected” ones, which have now almost completely disappeared from domestic routers wireless configurations, and aren’t advisable even when they’re still available. To be able to give internet access to the console, options remain, among which :
- Sharing the phone’s mobile internet wirelessly
- Using a WEP/unencrypted soft AP on a computer acting as a router to the domestic wireless network
Both being temporary options to be shut down once the gaming session is over.
For option 1, I use the wireless AP of my Samsung A04s (One UI 6.0/Android 14).
I achieve option 2 by means of a laptop running Ubuntu 23.10 and two wireless adapters :
- On the domestic Wifi side, an Intel PCIe adapter (Intel Corporation Wi-Fi 6 AX201 160MHz)
- On the soft AP side, an old Belkin USB adapter (F5D7050 v3, rt73usb driver)
Problem
The problem is that while the mobile solution (1) works well, solution 2 fails and I can’t tell why. That is unfortunate because it would be my favorite, not needing to drain my phone’s battery and data plan (a poor man’s 5GB/month one).
I thought it was related to some traffic not going through, but snooping on the connection in both cases (to compare the one that works to the one that doesn’t) I didn’t notice anything going wrong in that respect. There’s some UDP traffic at the end and I suspect it’s where the console decides the connection isn’t good, but it does go through nevertheless.
The error message is very harsh since it says the console can’t access the internet, so I tried to connect another device, with which I was able to surf the net without problems.
Question
Now I’m at a loss and that’s why I came here, in the hope someone with more expertise than me could point in the right direction.
Where is the problem ? Maybe it’s related to the connection taking too much time ? In which case, would it be possible to set up a wireless bridge with the hardware I have ?
As I mentioned in the title, here are two pcap files, one for the successful case (1) and one for the failed case (2). Case 1 has been snooped on in monitor mode, as it didn’t involve the computer from which I was capturing.
Additional information
- nftables rules on the computer acting as a wireless router (automatically created by Network Manager) :
table ip nm-shared-wlx002275ae45ff {
chain nat_postrouting {
type nat hook postrouting priority srcnat; policy accept;
ip saddr 10.42.0.0/24 ip daddr != 10.42.0.0/24 masquerade
}
chain filter_forward {
type filter hook forward priority filter; policy accept;
ip daddr 10.42.0.0/24 oifname "wlx002275ae45ff" ct state { established, related } accept
ip saddr 10.42.0.0/24 iifname "wlx002275ae45ff" accept
iifname "wlx002275ae45ff" oifname "wlx002275ae45ff" accept
iifname "wlx002275ae45ff" reject
oifname "wlx002275ae45ff" reject
}
}
filter
,nat
,mangle
,raw
, andsecurity
, all are empty with ACCEPT policy). That indeed surprised me, since I was expecting at least one rule, and I wonder how NAT is performed since it clearly does NAT (other devices connect with no problem and have internet access)