Views: 309,754 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 12-14-18 09:58 PM
Guest:

0 users reading Non-local wifi | 1 bot

Main - General - Non-local wifi New reply

Pages: 1 2
StapleButter
Posted on 12-18-17 09:39 PM Link | #460
so yeah



Nothing too new though, it had already been done before with DeSmuME.


Anyway, a couple things about this.


* It's the same old "emulated AP + libpcap" setup. You know what they say, why fix it if it ain't broke?

* No need to choose between separate "adhoc/infrastructure" modes like in DeSmuME. The emulated AP runs alongside the rest.

* So far melonDS's wifi stack seems to be robust. I was able to stay connected to the IRC server for one hour, and it didn't disconnect or anything.

* I was also able to connect to an altWFC server, but there was nobody online.

* You don't need to seek an obscure, unofficial wifi-enabled build.

* You need a network adapter that supports promsicuous mode and raw packet injection, and doesn't get in the way. Some adapters will overwrite the 'source MAC' field of outgoing packets, which will interfere with melonDS's thing.

____________________
Kuribo64

PSISP
Posted on 12-19-17 08:43 PM Link | #466
Hey that's me

Gippy2
Posted on 12-20-17 08:50 AM Link | #467
Sweet Jesus, this is good! (This is Gippy, forgot password lol)

The biggest issue with the old implementation was that wireless connections to a router were unsupported without a huge workaround, such as using the Microsoft Loopback Driver. Will this be corrected in MelonDS?

StapleButter
Posted on 12-20-17 03:55 PM Link | #468
I'd have to test it. I expect WinPCap to provide packets with Ethernet headers in all cases, but maybe in the case of wifi adapters it's providing 802.11 headers instead. I'd need a way to detect that and also to figure out how to make the 802.11 headers (it needs the access point's MAC address).

____________________
Kuribo64

Sorer
Posted on 12-21-17 03:28 AM Link | #470
HI.
Can i have a compiled version for win 10 x64.
I tried to compile with Codeblocks with no success

eeeey7
Posted on 12-27-17 06:51 PM Link | #473
Hello, could you tell me exactly how and what one needs to do to be able to connect like that?

Red_Soul
Posted on 01-13-18 01:14 PM Link | #498
Will non-local wifi eventually work without relying on external software and become a transparent process, completely integrated into the code?

StarTrekVoyager
Posted on 01-16-18 06:40 AM Link | #500
Holy shit

____________________
Thing.

StapleButter
Posted on 01-16-18 04:40 PM Link | #501
anyway, I think I found out why non-local wifi doesn't work on certain setups, mostly when a wifi connection is used.

promiscuous mode doesn't work.

which may require coding some bridge thing. dunno.

____________________
Kuribo64

T3st3r
Posted on 01-17-18 05:55 AM Link | #502
Hey.Come on.You make a great job.Do what you want and all thinks be good.I hope you have allso motivation to bring melonds forward.The thing with the internet is sh... I read about the usa for example what happen today. In europe the same sh... About the wifi connection. I dont need it, the person from mgba know what happen, maybe. Two brians are better than one. Have a great time. Greetings

adamboy7
Posted on 03-03-18 12:12 AM Link | #553
Can't wait for the release, I may just just have to give compiling the source a try again. Thank you for your continued hard work and effort.

neb1516
Posted on 04-29-18 05:02 AM (rev. 3 of 04-29-18 05:22 AM) Link | #586
What network adapter should I use? How do you get it to work? Like how do you add ethernet in WiFi settings?

SIGMA
Posted on 10-27-18 08:01 PM Link | #712
You have to be on a laptop and use its Ethernet port on it since it's usually considered the second adapter and as mentioned in this github post:
https://github.com/StapleButter/melonDS/issues/257#issuecomment-432381369

melonDS is currently hard-coded to use the second internet adapter for online, I'd like to know which lines in the code need to be changed to make it use the first internet adapter and as to whether that's possible without breaking the whole thing.

A feature to choose which adapter is used to connect to the internet with melonDS would be nice, but again, non-local Wi-Fi is something which will be worked down further down the line since it's incomplete so far.

TL;DR: You need a laptop with an Ethernet connection to try out melonDS's non-local Wi-Fi, otherwise you'll get a crash or error message 52000 when trying to connect to online on melonDS using a desktop PC.

PeeJay Bonobo
Posted on 10-27-18 08:21 PM Link | #713
I don't know, man. I'm using a desktop PC with Evolve and Hamachi installed, and I'm runnning Ethernet, and I'm currently searching for games on Sonic & SEGA All-Stars Racing right now, through MelonDS.

StapleButter
Posted on 10-27-18 08:26 PM Link | #714

Wifall
Posted on 10-27-18 08:33 PM Link | #715
But playing the way the emulator is right isn't giving any lag? I remember that when I used to play desmume wi-fi, it used to lag on me.(sometimes just a little bit, sometimes alot).

PeeJay Bonobo
Posted on 10-27-18 08:34 PM Link | #716
So far, I haven't found anyone on AltWFC, but I can say ClIRC is working without issue.

Wifall
Posted on 10-27-18 08:37 PM Link | #717
It's hard to find someone on altwfc since it got all those complicated steps that are hard to understand for non-advanced users. Back in the day, when I first tested it, I didn't found any player aswell(except for pokemon trades, these are pretty common even now).

PeeJay Bonobo
Posted on 10-27-18 08:39 PM Link | #718
I do have a couple of games we can playtest (MKDS, S&SASR), if you want.

Wifall
Posted on 10-27-18 08:44 PM (rev. 2 of 10-27-18 08:45 PM) Link | #719
Fine by me, just gonna check if I still have any of these roms(lost many of them on my old hard drive). But i'm not confident since i'm not being able to reach 60fps in any game for some reason. My cpu is AMD Phenom II X2 555 3,2GHz.
Gotta a question tho, is there any discord server for this emulator?
Pages: 1 2

Main - General - Non-local wifi New reply

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