Views: 6,702,689 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 03-29-24 08:45 AM
Guest:

0 users reading Why does MelonDS require ethernet connection? Any way around it? | 1 bot

Main - General - Why does MelonDS require ethernet connection? Any way around it? Hide post layouts | New reply


lunoboi
Posted on 03-02-20 04:35 PM Link | #1525
I have every connection setting correct, I spoofed ethernet and tricked melonds into connecting to the internet, but I just can't connect. I Keep getting error 52100 in Nintendo WFC settings. As soon as I plug in an ethernet cable (it's not very accessible or comfortable) it works. What causes this? Is it packet loss or is a fixable issue that could allow me to connect through high-speed Wi-Fi?

Arisotura
Posted on 03-02-20 05:05 PM Link | #1526
I don't know how 'ethernet spoofing' works in detail, but


basically, melonDS emulates a wifi access point your game connects to. then, outgoing traffic that goes through the emulated AP, is directly forwarded through your computer's network adapter. that is, packets sent by melonDS use the DS's own MAC address, and conversely, packets sent to melonDS are sent to its own MAC address and not that of your computer.

this works if you're on an ethernet connection. normally, you wouldn't be able to receive packets that aren't sent to your computer's MAC, but we can use promiscuous mode to receive these packets.

however, if you're connected via wifi, it's a different story. basically, packets sent to your computer will first go through the access point your computer is connected to. the AP, knowing that your computer is connected, authenticated, associated and all, happily forwards the packets.

however, if there are any packets sent to melonDS, the AP does not know melonDS's MAC address, so the packets are just dropped before they even reach your computer.

which is why it doesn't work.


you might want to try indirect mode in the wifi settings, but indirect mode has its set of issues.

____________________
Kuribo64

Sorer
Posted on 03-04-20 11:39 AM Link | #1529
I heard you can get it to work on wireless adapters when using Linux.
I wonder if something similar could be done for the Android version as well.

squeegily
Posted on 03-26-20 01:51 AM (rev. 5 of 03-27-20 12:36 AM) Link | #1565
Posted by Sorer
I heard you can get it to work on wireless adapters

You might want to observe 262#1420

It seems that there is a build of pcap floating around that works around whatever's insufficient about Wi-Fi adapters. highly sketch but it allegedly works (for Windows, not Linux, interestingly)

Posted by Arisotura
packets sent to your computer will first go through the access point your computer is connected to. … the AP does not know melonDS's MAC address, so the packets are just dropped before they even reach your computer.

I wonder if it'd be reasonable/logical (when using Direct Mode) to override the virtual DS's MAC Address to be equal to that of the host's card?


[ETA: that said, I'd love to see indirect mode be regarded as "the norm" / "the goal" / "the default" / "the most-supported": for DS game traffic to be emitted and recieved just exactly like other game/application traffic sounds a lot more robust+sustainable than emitting and receiving highly unusual packets in a way that requires administrative networking privileges and increases inter-OS divergence]


Main - General - Why does MelonDS require ethernet connection? Any way around it? Hide post layouts | New reply

Page rendered in 0.039 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 84/84, time: 0.023 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.