#63668 - bafio - Thu Dec 15, 2005 1:19 pm
HI!
I just completed my first WiFi program, using the wifi library prerelease.
you can find it here:
http://www.geocities.com/bafiollo/wifitransfer.zip
for more information and discussion:
http://www.1emulation.com/forums/index.php?showtopic=16203
Bafio
Last edited by bafio on Wed Jan 04, 2006 5:16 am; edited 1 time in total
#63671 - Darkflame - Thu Dec 15, 2005 2:30 pm
That seems like a fantasicaly usefull program.
I only wish I had a wi-fi card in my pc to test it :(
(I am wireless router only)
#63675 - MaHe - Thu Dec 15, 2005 2:54 pm
Wow, Bafio, you're great. I'm really excited about this. All we need now is a FTP server on a DS and a NDS FileManager :)
EDIT: That runme.bat thingy cannot find 'java' command, although I DO have Java Virtual Machine up and working :(
Can you convert the application to .exe?
Last edited by MaHe on Thu Dec 15, 2005 2:59 pm; edited 1 time in total
#63676 - rmco2003 - Thu Dec 15, 2005 2:58 pm
It works great, well done!
#63677 - bafio - Thu Dec 15, 2005 3:12 pm
MaHe wrote: |
EDIT: That runme.bat thingy cannot find 'java' command, although I DO have Java Virtual Machine up and working :(
Can you convert the application to .exe? |
I think it could be possible, but that would just call Java anyway, the easyest thing is for you to replace java with the complete path to the java.exe file.
This is probably something like c:/Programs/JRE (or JDK...) ... you can just do a search.
Updating the java installation could also be a solution.
Another solution again is to just doubleclick on the server.jar file, if Java is set up right on your machine.
PS. The source code of the java application is included in the jar file, the code for the DS application is still not released, I'll wait until the app and sgstair library becomes more stable...
Bafio
#63678 - bafio - Thu Dec 15, 2005 3:17 pm
Darkflame wrote: |
That seems like a fantasicaly usefull program.
I only wish I had a wi-fi card in my pc to test it :(
(I am wireless router only) |
Actually, even if I had no way to test it, the app should work with any router that supports Sgstair library.
The only difference is that, once connected and selected transfer from the menu, you should edit the destination IP to be that of the machine where the server is running.
Could you test it and tell me if it works?
Bafio
#63680 - Ilomoga - Thu Dec 15, 2005 3:44 pm
What a pity you need a GBAMP for that.
Tried it with Flash Cart and everything worked, except executing of course (but transfer worked).
But great app, I think I should get a GBAMP soon, it's a very good solution for DS Homebrew ....
_________________
The future of gaming is mobile Handheld Gaming.
#63681 - bafio - Thu Dec 15, 2005 3:48 pm
Ilomoga wrote: |
What a pity you need a GBAMP for that.
Tried it with Flash Cart and everything worked, except executing of course (but transfer worked).
But great app, I think I should get a GBAMP soon, it's a very good solution for DS Homebrew .... |
If I have time, I could try to add the other method for executing (the default libNDS one), would that work ona flash card?
Also, I would be interested on the possibility of executing from memory on the GBAMP, so this would probably make the CF card live a bit longer when doing continuous tests...
Bafio
#63682 - Veg - Thu Dec 15, 2005 3:52 pm
Pardon me for sounding like a wifi spastic, but would this work using something like the official Nintendo wifi USB dongle?
#63683 - El Hobito - Thu Dec 15, 2005 3:54 pm
its doesnt work on the m3(white screens) and i cant get past the associating part when i use my gbamp. is it using the old version of the lib by anychance?
update:okay the .nds version works on the m3 so ignore that part
Last edited by El Hobito on Thu Dec 15, 2005 4:01 pm; edited 1 time in total
#63685 - bafio - Thu Dec 15, 2005 3:58 pm
El Hobito wrote: |
its doesnt work on the m3(white screens) and i cant get past the associating part when i use my gbamp. is it using the old version of the lib by anychance? |
Yes, it is still using the old version, but Sgstair should be providing the new one pretty soon, until then this is the only one I have (as a library)...
Bafio
#63687 - bafio - Thu Dec 15, 2005 4:01 pm
Veg wrote: |
Pardon me for sounding like a wifi spastic, but would this work using something like the official Nintendo wifi USB dongle? |
I have very little knowledge of that, so I don't know, but I would think most probably not, since (if I understood that right) it has its own authentication methods.. but you can just try if you have one :)
The wifi library from Sgstair is still in prerelease phase, so that may change, I know he wants to fix the wep support.
Bafio
#63698 - Dudu.exe - Thu Dec 15, 2005 5:51 pm
Works on Supercard CF... but im making something wrong.. but tranfer never complete =]
But it is amazing for the begining!
_________________
http://flickr.com/photos/stuffbox
#63721 - Alec - Thu Dec 15, 2005 8:41 pm
I don't suppose sending the newly created Mario Kart Track Unlocker would work with this, eh?
_________________
Eat Those Gopher Cakes 'Til You Explode!
[Images not permitted - Click here to view it]
#63732 - Darkflame - Thu Dec 15, 2005 10:38 pm
bafio wrote: |
Darkflame wrote: | That seems like a fantasicaly usefull program.
I only wish I had a wi-fi card in my pc to test it :(
(I am wireless router only) |
Actually, even if I had no way to test it, the app should work with any router that supports Sgstair library.
The only difference is that, once connected and selected transfer from the menu, you should edit the destination IP to be that of the machine where the server is running.
Could you test it and tell me if it works?
Bafio |
Ok, seems to connect ok.
(I like the little moveing box thing btw)
However, When I type in my computers IP (192.168.1.3) and hit the list button I get:
ARP: Request IP 0100A8C0
T: FFFFFFFFFFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
R: FFFFFFFFFFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
Repeated down the screen.
I have tried with my firewalls off
What ports does it use? only 8888?
Do I have to redirect stuff on my router to point trafic on that port to my pc? *edit: nope, that dosnt work either, same error*
#63740 - Sintax - Fri Dec 16, 2005 1:00 am
If you keep getting the 'Requesting IP' line, I think you need to make sure your DHCP settings are correct, and set the connection to 'Manual DHCP Automatic IP.'
#63750 - bafio - Fri Dec 16, 2005 2:29 am
Dudu.exe wrote: |
Works on Supercard CF... but im making something wrong.. but tranfer never complete =]
But it is amazing for the begining! |
That's strange... do you get the same number of packets on both sides (server and clent?) I think it may be solved with the next release of Sgstair's library...
Bafio
#63752 - bafio - Fri Dec 16, 2005 2:32 am
Sintax wrote: |
If you keep getting the 'Requesting IP' line, I think you need to make sure your DHCP settings are correct, and set the connection to 'Manual DHCP Automatic IP.' |
Yes, if fact I get the same situation if I don't set correctly ip addess, gateway (the router or pc if you use a wireless card).
For the moving boxes, the library, and the test application it isbased on, credit should go to Sgstair!
See http://www.akkit.org/dswifi/index.html
Bafio
#63759 - Darkflame - Fri Dec 16, 2005 3:31 am
bafio wrote: |
Sintax wrote: | If you keep getting the 'Requesting IP' line, I think you need to make sure your DHCP settings are correct, and set the connection to 'Manual DHCP Automatic IP.' |
Yes, if fact I get the same situation if I don't set correctly ip addess, gateway (the router or pc if you use a wireless card).
|
Sorry..not sure I understand this.
Do you mean the settings on the Router or the DS? (theres no "Manual DHCP Automatic IP" on my DS connection set up screen)
I set the ds file transfere program to point to my machine (192.168.1.3)
My computers ip settings:
Code: |
IP Address. . . . . . . . . . . . : 192.168.1.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.1.1 |
#63762 - Phan - Fri Dec 16, 2005 4:26 am
I do hope you know that sgstair meant this as the pre-release, testing, library.
I was told by him it was not for releases, but merely to check if code was working.
#63763 - slizekalfer - Fri Dec 16, 2005 4:28 am
yea i heard the same thing! Methinks one should follow his wishes lest ye want to be on good terms with him
#63783 - Sintax - Fri Dec 16, 2005 7:37 am
Darkflame wrote: |
Do you mean the settings on the Router or the DS? (theres no "Manual DHCP Automatic IP" on my DS connection set up screen) |
Sorry, I posted that without really thinking about it, it's actually "DHCP IP, Manual DNS" next to where it says TCP/IP (on the DS). At least that's what it says on the demo, I haven't tried this program because I don't have a CF card. Set it like that and enter your DHCP and DNS numbers from your computer (the ones you posted).
#63797 - bafio - Fri Dec 16, 2005 10:44 am
Phan wrote: |
I do hope you know that sgstair meant this as the pre-release, testing, library.
I was told by him it was not for releases, but merely to check if code was working. |
I hope I have not misunderstood what he told, but looking in another thread:
[Bafio]
...
By the way, Stephen, what do you think about me releasing this file transfer code when done? Could I release it with source code, or (since I'm mostly following your example) would you prefer for me to wait?
The app will work with ds app and a server side written in java.
Bafio
[Stephen]
bafio: I don't really mind if you release it, though you may want to wait for me to finish fixing bugs in the lib... I think there is presently a problem with odd-length packets and the last byte isn't getting copied properly - I will be looking at this in the near future. (this could very easily be your problem)
-Stephen
So to my understanding it is fine with him. I will ask him just to be sure, I undestood that what he meant is that the library itself is not for public release, so I am not releasing the source code or the library.
I just thought I made something useful (mainly for developers) and wanted to share it with the others, but if this upset you, I will not release the new version I have here (with ip configuration saving and a couple of bugfixes)
Fabio
#63804 - sgstair - Fri Dec 16, 2005 12:27 pm
Yes, indeed - I don't mind programs being released with the lib at the moment.
I'm discouraging it because the lib is in a state of flux and I don't want the lib itself spread too widely at the moment - however if people can make working, useful applications (like this one) I'm not going to prevent them from releasing.
(that's actually kinda the whole point of the prerelease lib - so people can get started working on useful projects, even if not all of the functionality exists yet.)
-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/
#63806 - bafio - Fri Dec 16, 2005 1:49 pm
sgstair wrote: |
Yes, indeed - I don't mind programs being released with the lib at the moment.
[...]
-Stephen |
Stephen:
Thank you for clarifying this, so I know it's fine with you (and the other know too!)
I have uploaded a new release with config file saving, you can see here (I made a simple web page too):
http://www.geocities.com/bafiollo/
changes:
* Fixed file listing (we are getting there)
* New run method in the NDS file (for people using
other than GBAMP, I have no way to test it but you
should notice the option, it's pressing select after
a file download)
* Reads and saves the config file! no need to
enter all the time the settings, if you have
a different config. Goes to a simple text file
Bafio
#63813 - Ilomoga - Fri Dec 16, 2005 2:48 pm
I only get two white screens when starting this one. Tried the *.nds version with ndsloader, too - doesn't help.
EDIT: I'm using a F2a Pro.
_________________
The future of gaming is mobile Handheld Gaming.
#63820 - bafio - Fri Dec 16, 2005 4:35 pm
Ilomoga wrote: |
I only get two white screens when starting this one. Tried the *.nds version with ndsloader, too - doesn't help.
EDIT: I'm using a F2a Pro. |
Is the previous version working for you? it's still available on the site, if you want to check. I know it does not work on some carda, but I want to se if I introduced some new error since the previous release..
#63840 - Darkflame - Fri Dec 16, 2005 7:18 pm
Sintax wrote: |
Darkflame wrote: | Do you mean the settings on the Router or the DS? (theres no "Manual DHCP Automatic IP" on my DS connection set up screen) |
Sorry, I posted that without really thinking about it, it's actually "DHCP IP, Manual DNS" next to where it says TCP/IP (on the DS). At least that's what it says on the demo, I haven't tried this program because I don't have a CF card. Set it like that and enter your DHCP and DNS numbers from your computer (the ones you posted). |
Ok, done that, entered my computers IP in the "DestIP" section as well.
Ok,now something different, I get
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
ect
Down the top screen when I go list.
any ideas?
#63850 - Ilomoga - Fri Dec 16, 2005 8:38 pm
bafio wrote: |
Ilomoga wrote: | I only get two white screens when starting this one. Tried the *.nds version with ndsloader, too - doesn't help.
EDIT: I'm using a F2a Pro. |
Is the previous version working for you? it's still available on the site, if you want to check. I know it does not work on some carda, but I want to se if I introduced some new error since the previous release.. |
The previous version SOMETIMES just gave me a white screen, but sometimes it worked, this one never did, I tried it at least 10 times.
But sgstair's wardrive app (the new one from December 11th) had the same problem like V1 of your wifi transfer app.
_________________
The future of gaming is mobile Handheld Gaming.
#63883 - sgstair - Sat Dec 17, 2005 4:52 am
here's some general "fingerprints" of data that should appear that can be used to pinpoint specific problems in udp comms.
After the DS associates to an AP, and the app requests connection, the following things should happen (in a standard connection)
1) ARP broadcast send (requesting an IP). This looks like:
"T: FFFFFFFFFFFF 0009BF****** 0806"
2) AP reflects packet to all users on the wireless network
"R: FFFFFFFFFFFF 0009BF****** 0806"
(will also get an "ARP Request ...." line")
3) ARP response from computer with requested IP
"R: 0009BF****** ************ 0806"
4) UDP/IP sending/receivng
"T: ************ ************ 0800"
"R: ************ ************ 0800"
(may see some other UDP-related messages)
About troubleshooting:
A) If you see (1) and no others, you've associated to the AP, but due to the AP transmitting at too high of a rate (bad AP) or WEP being enabled (no WEP support) the AP is not receiving or retransmitting your packets.
B) If you see (1) and (2), but not (3), the IP being connected to does not exist on the network (or you have a really stupid AP that isn't sending data back to you.)
C) Any other combination besides all of the above messages is rather odd. (make sure you have workable IP settings..)
-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/
#63885 - sgstair - Sat Dec 17, 2005 5:36 am
Tutorial for setting up IP addresses...
Some of you don't quite know how to set up your static IP properly yet, this should serve as a guide to tell you how it works.
First, find the IP address information for your computer - on windows systems you can use 'ipconfig', on linux/unix/osx you should be able to use 'ifconfig' and 'route'
Sample 'ipconfig' output:
Code: |
C:\Documents and Settings\Stephen>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection 2:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.1.99
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
|
In this case, the 3 values given are the important ones (IP Address = 192.168.1.99, Subnet Mask = 255.255.255.0, and default gateway = 192.168.1.1)
sample 'ifconfig' and 'route' output:
Code: |
[root@redhat root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:5A:55:57:35
inet addr:192.168.1.98 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:5aff:fe55:5735/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3451234 errors:0 dropped:0 overruns:0 frame:0
TX packets:3638593 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:616019173 (587.4 Mb) TX bytes:1230436799 (1173.4 Mb)
Interrupt:11 Base address:0x5000
(...)
[root@redhat root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
|
Again, the values you're interested in are the "inet addr" = 192.168.1.98, "Mask" = 255.255.255.0, and in 'route' use the default gateway (192.168.1.1)
Ok, when you configure your IP settings on the DS, your "SNMask" and "Gateway" fields should be exactly the same as the subnet mask and gateway for your local computer. The IP address should be an unused address in your local IP space (generally this means you can just change the last number to one that's not in use - like 192.168.1.184)
At this point, the DNS values are unimportant, but using the gateway's IP address should work when they become important.
-Stephen (wasting too much time on the forums, hehe)
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/
#63888 - bafio - Sat Dec 17, 2005 5:48 am
Hi,
I have a new version on the server:
http://www.geocities.com/bafiollo/
Version 0.3a
* ! File selection !
* Auto discovery of the server address
* fixed (hopefully) the issues with the flash
cards not supported by the GBAMP driver
(no writing though, so I don't know how useful)
* Some other small bugfixes and cosmetic changes I can't recall
Bye!
Bafio
#63889 - bafio - Sat Dec 17, 2005 5:54 am
[quote="Darkflame"][quote="Sintax"] Darkflame wrote: |
...
Ok, done that, entered my computers IP in the "DestIP" section as well.
Ok,now something different, I get
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
T: FFFFFFFFFFFFFFFFFF 0009BF0FA134 0806
ect
Down the top screen when I go list.
any ideas? |
I think I now!
*********
BIG BUGFIX in version 0.3 :
*********
Try version 0.3, in version 0.2 I forgot to really set the output packets destination IP, so it was sending to 192.168.0.1 indipendently of the destination IP!!!!
This could have been the case also for other people. Now the server automatic discovery should set the correct IP...
Bafio
#63892 - knight0fdragon - Sat Dec 17, 2005 10:00 am
is this stuff ralink only? or can it work on any router
_________________
http://www.myspace.com/knight0fdragonds
MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206
#63894 - Ilomoga - Sat Dec 17, 2005 10:32 am
In 0.3 I can start the program again, connecting to my PC works, too.
Only starting doesn't work because I don't have a GBAMP. But File Selection seems to be a great feature. So you can play online AND transfer files via WLAN without Wifime :D
_________________
The future of gaming is mobile Handheld Gaming.
#63898 - bafio - Sat Dec 17, 2005 12:07 pm
knight0fdragon wrote: |
is this stuff ralink only? or can it work on any router |
Compatibility with version 0.3
***********************
On the server side, both a wireless card in AP mode and a compatible router should be ok. The server program itself needs Java version >1.4.
On the NDS, it's been tested by me on the GBAMP, works with full features.
It has been reported to work with flash cards, M3 (using .nds version), Supercard CF (probably), F2a Pro.
Executing the NDS file probably works only on the GBAMP.
Writing and readingto the CF is based on Chrism's driver ( http://www.geocities.com/chishm1/gbamp/ ).
That would mean:
GBAMP, M3, Supercard CF, standard GBA Flash Carts with SRAM.
This is based on docs and your replies, I just have a wireless card and a GBAMP.
Bafio
#63913 - GragonSon - Sat Dec 17, 2005 4:42 pm
ASSOCSTATUS_CANNOT CONNECT
I got this message and I don't know I have i done wrong. I tried the wifi_lib_test.nds and I got connected without any problem. I'm using M3 CF, please help me out I really want to use this cool app.
#63929 - theonegreen - Sat Dec 17, 2005 6:25 pm
I would first like to say thanks to sgstair and bafio for working on this stuff, I love it!
GragonSon wrote: |
ASSOCSTATUS_CANNOTCONNECT
I got this message and I don't know I have i done wrong. I tried the wifi_lib_test.nds and I got connected without any problem. I'm using M3 CF, please help me out I really want to use this cool app. |
I have the same problem. I can use wifi_lib_test.nds but when connecting with this app I get "UDP receive checksum incorrect".
sgstair wrote: |
here's some general "fingerprints" of data that should appear that can be used to pinpoint specific problems in udp comms.
After the DS associates to an AP, and the app requests connection, the following things should happen (in a standard connection)
1) ARP broadcast send (requesting an IP). This looks like:
"T: FFFFFFFFFFFF 0009BF****** 0806"
2) AP reflects packet to all users on the wireless network
"R: FFFFFFFFFFFF 0009BF****** 0806"
(will also get an "ARP Request ...." line")
3) ARP response from computer with requested IP
"R: 0009BF****** ************ 0806"
4) UDP/IP sending/receivng
"T: ************ ************ 0800"
"R: ************ ************ 0800"
(may see some other UDP-related messages)
About troubleshooting:
A) If you see (1) and no others, you've associated to the AP, but due to the AP transmitting at too high of a rate (bad AP) or WEP being enabled (no WEP support) the AP is not receiving or retransmitting your packets.
B) If you see (1) and (2), but not (3), the IP being connected to does not exist on the network (or you have a really stupid AP that isn't sending data back to you.)
C) Any other combination besides all of the above messages is rather odd. (make sure you have workable IP settings..)
-Stephen |
The only step I get is step 2. I never see anything like "T: FFFFFFFFFFFF 0009BF****** 0806"
I'm using flashme v5 + Supercard SD.
Thanks for the help
#63931 - Darkflame - Sat Dec 17, 2005 6:34 pm
Oddly, as soon as I fill in the settings and click connect, errors appear straight away at the top:
Code: |
ARP: request IP 0101A8C0
T: FFFFFFFFFFFFFF 0009BF7663A3 0806
R: FFFFFFFFFFFFFF 0009BF7663A3 0806 |
These continue to scroll while I am trying to quickly change the DestIP setting.
When they get to around a secreen and ahalf repeats, the whole thing freezes.
Even if I do change the DestIP in time (before it crashs), The errors change a little:
Code: |
T: 0009BF7663A3 0009BF7663A3 0806
T: FFFFFFFFFFFFFF 0009BF7663A3 0806
R: FFFFFFFFFFFFFF 0009BF7663A3 0806 |
I am using the latest version now.
#63932 - theonegreen - Sat Dec 17, 2005 6:38 pm
theonegreen wrote: |
I would first like to say thanks to sgstair and bafio for working on this stuff, I love it!
GragonSon wrote: | ASSOCSTATUS_CANNOTCONNECT
I got this message and I don't know I have i done wrong. I tried the wifi_lib_test.nds and I got connected without any problem. I'm using M3 CF, please help me out I really want to use this cool app. |
I have the same problem. I can use wifi_lib_test.nds but when connecting with this app I get "UDP receive checksum incorrect".
sgstair wrote: | here's some general "fingerprints" of data that should appear that can be used to pinpoint specific problems in udp comms.
After the DS associates to an AP, and the app requests connection, the following things should happen (in a standard connection)
1) ARP broadcast send (requesting an IP). This looks like:
"T: FFFFFFFFFFFF 0009BF****** 0806"
2) AP reflects packet to all users on the wireless network
"R: FFFFFFFFFFFF 0009BF****** 0806"
(will also get an "ARP Request ...." line")
3) ARP response from computer with requested IP
"R: 0009BF****** ************ 0806"
4) UDP/IP sending/receivng
"T: ************ ************ 0800"
"R: ************ ************ 0800"
(may see some other UDP-related messages)
About troubleshooting:
A) If you see (1) and no others, you've associated to the AP, but due to the AP transmitting at too high of a rate (bad AP) or WEP being enabled (no WEP support) the AP is not receiving or retransmitting your packets.
B) If you see (1) and (2), but not (3), the IP being connected to does not exist on the network (or you have a really stupid AP that isn't sending data back to you.)
C) Any other combination besides all of the above messages is rather odd. (make sure you have workable IP settings..)
-Stephen |
The only step I get is step 2. I never see anything like "T: FFFFFFFFFFFF 0009BF****** 0806"
I'm using flashme v5 + Supercard SD.
Thanks for the help |
OK! I figured out my problem (well, kinda). I tried to connect to my neighbors network and had no problem. Not sure what I have setup wrong on my router but I think that must be the issue. I turned off the WEP so I don't know what else to change.
Hmmm... If anyone has any ideas please reply.
Thanks again.
#63933 - bafio - Sat Dec 17, 2005 7:07 pm
Hi,
I think there are still some issues on the conection with the wifi router, mainly WEP should be off, and there is a bug with some ARP requests that seem to hang the application, this happens also to me, but very rarely.
Sgstair's library is being fixed, so I think these problems should be solved with the next release of the library.
Just to make it clear, this is till a "pre beta" quality release, if it doesn't work for you I think a new version will come up sometime soon :)
Also, I have only this hardware for testing (wifi card and GBAMP).
Anyway, I'm hapy to see it works at least for some people, I'll update the program as soon as a new version is available.
Bafio
#63936 - Dudu.exe - Sat Dec 17, 2005 7:25 pm
its working o Supercard Cf amazing well.. but i think file is get corrupet becouse it can be played after the tranfer =[
but even so, i realy impressed!
_________________
http://flickr.com/photos/stuffbox
#63937 - bafio - Sat Dec 17, 2005 7:51 pm
Dudu.exe wrote: |
its working o Supercard Cf amazing well.. but i think file is get corrupet becouse it can be played after the tranfer =[
but even so, i realy impressed! |
Nice to see it's working, I am updating to the new version of Stephen's library and that should solve some issues. To start (play) the program, you need to exit the application (can try pressing select or rebooting) and start it from the multiboot menu you are using. Directly starting from the app works only on GBAMP. If anybody has the code to start an NDS file from theother cards, you can send me and I see if I can add different execution modes.
Bafio
#63945 - bafio - Sat Dec 17, 2005 9:25 pm
Hello again,
New release, 0.4 . Second release today!
You can get it from http://www.geocities.com/bafiollo/ as usual
There are some known issues still, not all of them are solved at the moment.
Cheers, Bafio
From the changelog:
Version 0.4a
This update is using the new 0.2a version of Sgstair library, so
it should be more compatible with different AP.
Citing the release notes of the lib:
" * Fixed Crash bug in ARP timeout code
" * Changed Associacion code to associate faster and more reliably, and codebase
now includes rate spoofing to connect to a wider range of APs "
* On the server, I fixed a stupid bug that would show only 1/2 of the files.
* Again on the server, uses system look and feel.
Also, I cite from the library notes:
" ** It is important to note that this lib version is a PRERELEASE version. **
" ** Not all features exist or work correctly necessarily. **
" ** I will not be providing much in the way of support for this release. **
And please remember the "use it at your own risk"...
#63966 - GragonSon - Sun Dec 18, 2005 3:53 am
My M3 got connected now, but nothing happen. I don't see any file in the File Manager on my NDS. Please tell me what have i done wrong, here are what i did:
- Put the wifc.nds into my M3 CF card
- Created a folder called Wifi Transfer
- Copy a NDS file into the folder and renamed it as test.nds
- Run server.jar
- Choose Wifi Transfer as a directory
- Run wifc.nds on my M3
I put some other NDS files into the folder, but I see nothing on the File Manager.
sorry for my english.
#63969 - Darkflame - Sun Dec 18, 2005 4:18 am
Updated, and it no longer crashs! :)
But I still get the same errors :(
That is, the T: T: R: error.
My firewall is off, and I told the router to send everything on 8888 to my IP anyway.
Is their anything else it could be on the sever side?
Is 8888 the only port it uses? Could trillian and emule be interfering?
Is there a method I could do to test if my sever is working? (eg, goto another computer on the network and ping the port or something?)
Pretty sure my DS has what it needs.
Thanks.
(oh, and I dont have WEP on...)
#63970 - knight0fdragon - Sun Dec 18, 2005 4:19 am
nice little program, i was able to connect to my computer which was nice. Too bad you dont support supercard yet though
_________________
http://www.myspace.com/knight0fdragonds
MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206
#63971 - sgstair - Sun Dec 18, 2005 4:26 am
Darkflame wrote: |
Oddly, as soon as I fill in the settings and click connect, errors appear straight away at the top:
Code: |
ARP: request IP 0101A8C0
T: FFFFFFFFFFFFFF 0009BF7663A3 0806
R: FFFFFFFFFFFFFF 0009BF7663A3 0806 |
These continue to scroll while I am trying to quickly change the DestIP setting.
When they get to around a secreen and ahalf repeats, the whole thing freezes.
Even if I do change the DestIP in time (before it crashs), The errors change a little:
Code: |
T: 0009BF7663A3 0009BF7663A3 0806
T: FFFFFFFFFFFFFF 0009BF7663A3 0806
R: FFFFFFFFFFFFFF 0009BF7663A3 0806 |
I am using the latest version now. |
Er, just looking at that second block of data (the T: T: R: block)
it appears that you've set the "destination" IP to the same thing as your computer's IP (or set your DS's IP to the same thing as your computer's IP)
Either way, if the DS is making an arp request it shouldn't be replying to itself (and it is) - so something is wrong in your IP settings.
-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/
#63972 - Darkflame - Sun Dec 18, 2005 4:32 am
Sorry, I thought my PC was supposed to be the destination IP :x
My PC is 192.168.1.3 (its hosting the file)
My router is 192.168.1.1
I dont know what IP my DS thinks it is.
The default field on DestIP on the DS is just 192.168.0.1 (which is nothing on my network).
Which do I put in which boxs? thanks.
#63974 - GragonSon - Sun Dec 18, 2005 4:38 am
Put your PC IP, i just tried it and it worked...but the transferation seem to be corrupted 'cause i coudn't use my file.
#63975 - Darkflame - Sun Dec 18, 2005 5:05 am
In the DESTIP field?
Thats what I have been doing all the time :-/
If I put 192.168.1.1 in the IP field of the connection settings, and 192.168.1.3 in the IP field of the DeskIP I go back to the;
Request IP
T:
R: (just one T and R)
Error.
#63976 - GragonSon - Sun Dec 18, 2005 5:14 am
in the connection setting put a different IP address than your PC
in the DestIP put your PC...if it still not work try to go in and out File Transfer and click List...it worked for me
#63977 - sgstair - Sun Dec 18, 2005 5:16 am
Darkflame wrote: |
In the DESTIP field?
Thats what I have been doing all the time :-/
If I put 192.168.1.1 in the IP field of the connection settings, and 192.168.1.3 in the IP field of the DeskIP I go back to the;
Request IP
T:
R: (just one T and R)
Error. |
Ok, I may have mistyped something a few posts ago..
your dest IP should NOT be your DS IP,
your PC ip, gateway IP, and ds IP should all be different
Er, other than that, the T: and R: lines are just debugging information... they're not errors.
And, the information you're giving isn't entirely useful as the last field on the T and R lines is somewhat important to knowing what the problem is.
If you never get a T or R line with the last field being 0800, then there are problems, but it's not entirely clear what those problems are yet.
-Stephen
_________________
http://blog.akkit.org/ - http://www.akkit.org/dswifi/
#63978 - bafio - Sun Dec 18, 2005 5:22 am
Hi!
This is the last for today:
Version 0.5
This update is using the new 0.2a(bis) version of Sgstair library, so
should create less white screens.
new features:
* list up to 128 files, and scroll the list
Bafio
#63980 - GragonSon - Sun Dec 18, 2005 6:01 am
I just tried version 0.5 and found some bug:
- Transfer still seem corrupt, files can't be use.
- When change DestIP, it doesn't save. Have to inter DestIP every single time
I'm using M3 CF version with flashme
#63981 - bafio - Sun Dec 18, 2005 6:12 am
Darkflame wrote: |
In the DESTIP field?
Thats what I have been doing all the time :-/
If I put 192.168.1.1 in the IP field of the connection settings, and 192.168.1.3 in the IP field of the DeskIP I go back to the;
Request IP
T:
R: (just one T and R)
Error. |
Hi,
It's a bit confusing, but in theory you can see:
1) on the server program (the java one), do you get something like this after starting the transfer
From: /192.168.0.187
Command; where
receviced IMHERE message 192.168.0.187:8888
From: /192.168.0.187
This should be the autodiscovery of the server address. It's a broadcast to the subnetwork I use to avoid having to put the destination IP address.
If you don't get to this point the error is most probably before, on the network config.
2) NET CONFIG: (edit-check settings)
should select static ip,
select a random ip (last field: 192.168.1.XXX),
gareway,mask and dns should be set as in your computer wireless card (you can see these also doubleclicking on the network card icon in the system tray in windows and selecting support
Also, have you tried the original applcation, http://www.akkit.org/dswifi/wifi_lib_test.nds ?
What happens with that?
#63982 - bafio - Sun Dec 18, 2005 6:18 am
GragonSon wrote: |
I just tried version 0.5 and found some bug:
I'm using M3 CF version with flashme |
Hi,
Quote: |
- Transfer still seem corrupt, files can't be use. |
Are you trying to execute the file directly? That works only on the GBAMP, so you sould restart the DS and try to start the file from the bootloader.
Quote: |
- When change DestIP, it doesn't save. Have to inter DestIP every single time
|
The dest IP should be discovered automatically. Are you running the server and allowed it to connect to port 8888 (permission on the firewall)? try to run it with runme.bat
Are packets being transfered to the DS?
Bafio
#64015 - Darkflame - Sun Dec 18, 2005 3:39 pm
Quote: |
your dest IP should NOT be your DS IP,
your PC ip, gateway IP, and ds IP should all be different
|
Sorry, but I really thing I am doing what your all saying :-/
I have *always* been putting my PC IP address (the one currently severing the file) into the DestIP field. My Pc is 192.168.1.3
On the Screen before that I have:
Code: |
TCP/IP :[b] DHCP IP, Manual DNS
IP Address: 192.168.1.48 (I have tried a few numbers in that 48..this is the DS IP right?)
Gateway: 192.168.1.1 |
The numbers I get are:
Code: |
ARP: Request IP 0301A8C0
T: FFFFFFFFFFFFFFFF 0009BF0FA134 0806
R: FFFFFFFFFFFFFFFF 0009BF0FA134 0806 |
(same as before)
If, however, I use a static IP, I just get this :
Code: |
T: FFFFFFFFFFFFFFFF 0009BF0FA134 0806 |
I noticed, incidently, typeing in the DestIP field makes no difference to this result. (I can type in my PC IP, or nonsense, and I still get the same T: number at the top)
Quote: |
on the server program (the java one), do you get something like this after starting the transfer
From: /192.168.0.187
Command; where
receviced IMHERE message 192.168.0.187:8888
From: /192.168.0.187
|
Nope, the last thing in the java screen is just where the directory its severing is.
Quote: |
gareway,mask and dns should be set as in your computer wireless card (you can see these also doubleclicking on the network card icon in the system tray in windows and selecting support
|
Its a router I am using.
The router is at 192.168.1.1 on the network.
For my full IPconfig settings, see previous page.
#64025 - bafio - Sun Dec 18, 2005 6:11 pm
Darkflame:
I don't have a router so I am only guessing. This is obvious, but is the router compatible with the official wifi games?
For what I can understand, the problem is in the configuration or on the combination library/router...
Bafio
#64026 - GragonSon - Sun Dec 18, 2005 6:11 pm
Quote: |
Are you trying to execute the file directly? That works only on the GBAMP, so you sould restart the DS and try to start the file from the bootloader. |
No I didn't execute the file directly, I restart my DS and run the file but it didn't work. The file I used was a patched game called Elf bowling with 3MB.
This is what I got on the top screen when transfer is done: Code: |
file saved!
WARNING: Transfer error!
[A] execute GBAMP
[SEL] altern. back (others),
[B] back
R: 0009BF8D8300 00085BCF6E40 0800
R: 0009BF8D8300 00085BCF6E40 0800
R: 0009BF8D8300 00085BCF6E40 0800
R: 0009BF8D8300 00085BCF6E40 0800
R: 0009BF8D8300 00085BCF6E40 0800
R: 0009BF8D8300 00085BCF6E40 0800 |
Quote: |
The dest IP should be discovered automatically. Are you running the server and allowed it to connect to port 8888 (permission on the firewall)? try to run it with runme.bat
Are packets being transfered to the DS? |
The DestIP doesn't automatically discovered. The defaut is 192.168.0.1 which i don't see any of my files. I manually change the DestIP to my PC IP which is 192.168.0.2, then i can see my files. And yes I did run the runme.bat and choose the directory. I also set my firewall to allow port 8888
#64028 - bafio - Sun Dec 18, 2005 6:30 pm
GragonSon wrote: |
This is what I got on the top screen when transfer is done:
file saved!
WARNING: Transfer error!
|
that makes it more clear, I am having problem sending back packets to the server, so I have to relay on all the packets to arrive , on time, in the right order. When this will be fixed, I'll be able to add flow control and error correction (and faster transfers too). For now flow control il kind of a manual setting inthe server, I will allow to chenge the delay so you can increase it a bit and see if this fixes the problem.In the meantime you could try smaller files and keeping the DS near the PC. I get sometimes myself that error.
Quote: |
The DestIP doesn't automatically discovered. The defaut is 192.168.0.1 which i don't see any of my files. I manually change the DestIP to my PC IP which is 192.168.0.2, then i can see my files. And yes I did run the runme.bat and choose the directory. I also set my firewall to allow port 8888 |
Yes, I was thinking about adding the MAC address and the destiantion (server) ip in the config file, but I was hoping auto discovery would work.
I will add this to the next release.
I guess something is blocking broadcast packets from the NDS in your configuration.
Do you start the server AND chose the directory before connection?
Bafio[/quote]
#64029 - GragonSon - Sun Dec 18, 2005 7:06 pm
Quote: |
In the meantime you could try smaller files and keeping the DS near the PC. I get sometimes myself that error. |
I just tried to send a text file with 1MB to DS. It still showed that error, but I was able to view my text file.
Quote: |
Do you start the server AND chose the directory before connection? |
yes, i start the server and chose the directory before connection.
I tried to connect before start the server, but I got a message say: ASSOCSTATUS_CANNNOT CONNECT.
#64076 - Darkflame - Mon Dec 19, 2005 4:00 am
bafio wrote: |
Darkflame:
I don't have a router so I am only guessing. This is obvious, but is the router compatible with the official wifi games?
For what I can understand, the problem is in the configuration or on the combination library/router...
Bafio |
Yes, I can play Mario Kart online fine :) (thank god)
The official test app scans connections fine, wardriveing works well.
When I goto "Search for AP" and then click my connection, then click "connect", it just takes me back to the earlier menu.
No feedback on the top screen, just
"Do_ConfigureWiFi"
I dont think the test app has anything its supprosed to do after that point :-/
It would help if I could just confirm my sever end was ok.
I mean, it seems to be ok, but I am running out of different things to try at the DS end ;)
#64077 - Dudu.exe - Mon Dec 19, 2005 4:13 am
Did u appended the ndsloader.bin? it make miracles!
_________________
http://flickr.com/photos/stuffbox
#64098 - bafio - Mon Dec 19, 2005 10:48 am
Hi,
Quote: |
Yes, I can play Mario Kart online fine :) (thank god) |
I guessed so :)
Quote: |
When I goto "Search for AP" and then click my connection, then click "connect", it just takes me back to the earlier menu.
No feedback on the top screen, just "Do_ConfigureWiFi"
I dont think the test app has anything its supprosed to do after that point :-/ |
Actually it does. You should have an option to do an UDP test, running a program on the computer, to rend and receive packets. My transfer app is based on that, so it should work in the cases when this app work.
Quote: |
It would help if I could just confirm my sever end was ok. |
I really think that the problem is related to the network configutation/setup you have. If you don't get Sgstair test app to run, for sure this app won't work eigher. Anyway the library is evolving all the time, so I'm quite sure the compatibility is increasing too.
Bafio
#64099 - bafio - Mon Dec 19, 2005 10:49 am
Hi,
There is a new version on the program in http://www.geocities.com/bafiollo/
Try it out, it should help!
Bafio
Version 0.6
This update is using the new new 0.2a version of Sgstair library fixing
some issues with ARP requests.
new features:
* modified the transmission protocol, it's a little more resitant to errors
(retransmissions)
* transmissin seems to break less often
* the destionation IP is saved in the config file, with the AP MAC address
* You can set the transmission delay on the server. Lower mean faster transfers,more errors.
Use a higher delay if you get transfer errors.
* many small changes here and there, like better moving in the list of files, ...
* (discovered tifferent problems with atutomatic server detection, don't relay
on that)
NB. You need to use the new version of the server with the new NDS! The
protocol has changed.
#64111 - GragonSon - Mon Dec 19, 2005 4:10 pm
I just tried your new version and I was using the same text file which is 1MB as before, here are some reports:
- On the server side, package sent never go over 1035 no matter what delay I set.
- One my DS, received stop at 899 or 906
- The text file (received only 5K) can only view in the first 15 pages, the rests are all ?????? mark
- Config named as other file in my CF card (0052 - Another Code) and overwrite it. Can't recognize when rename to wificonfig.txt
Last edited by GragonSon on Mon Dec 19, 2005 4:59 pm; edited 1 time in total
#64114 - MaHe - Mon Dec 19, 2005 4:44 pm
Because it should be wificonfig.TXT
#64115 - Darkflame - Mon Dec 19, 2005 4:49 pm
Quote: |
Quote: | When I goto "Search for AP" and then click my connection, then click "connect", it just takes me back to the earlier menu.
No feedback on the top screen, just "Do_ConfigureWiFi"
I dont think the test app has anything its supprosed to do after that point :-/ |
Actually it does. You should have an option to do an UDP test, running a program on the computer, to rend and receive packets. My transfer app is based on that, so it should work in the cases when this app work. |
Arr..I was a bit out of date :)
*updates*
Ok, with the official one:
ConnectToAP>>SearchforAP>>WLAN(mine)>>Edit Check Settings:
Code: |
TCP/IP: Static IP
IP Address 192.168.1.189
Gateway: 192.168.1.1 |
>>Connect>(connects ok)> UDP Test>>Pick Port (8888)>>UDPExperimenter:
DestIP: 192.168.1.189 is the default.
I change it to 192.168.1.3
Click send.
I get:
Code: |
T: FFFFFFFFFFFFFF 0009BF0FA134 0806 |
Repeated.
Can I tell if my PC is recieveing anything at all on that port?
Using Telnet or something?
(sorry, I am not good with net related stuff)
Quote: |
Quote: | It would help if I could just confirm my sever end was ok. |
I really think that the problem is related to the network configutation/setup you have. If you don't get Sgstair test app to run, for sure this app won't work eigher. Anyway the library is evolving all the time, so I'm quite sure the compatibility is increasing too.
Bafio |
Its certainly related to the network set up and such, but I just wonder at what end.
Our network is a confusing one, using a modem, router and hub.
It wouldnt supprise me if theres something odd happening at some stage on its way to my pc.
Also, my pc is currently running a firewall, emule and trillian. (which is currently on ICQ, AIM and MSN).
I dissable my firewall before tests, but any one of the others might be using that port. (even though emule says its using 4662)
#64117 - GragonSon - Mon Dec 19, 2005 4:56 pm
Quote: |
Because it should be wificonfig.TXT |
I mean wificonfig.txt...sorry for the misunderstand
#64118 - bafio - Mon Dec 19, 2005 5:00 pm
GragonSon wrote: |
I just tried your new version and I was using the same text file which is 1MB as before, here are some reports:
- On the server side, package sent never go over 1035 no matter what delay I set.
|
That's probably because packets are sized 1024 bytes, so 1 MB ~ 1024 packets.1035 is then a more than normal value.
The delay doe not have to do with the number of packets sent, but with the speed. The shorter the delay, the faster the speed, the more probable is packet loss.
I still have to manage to get an ack reply to work, seems that when I receive a packet, the reply does not get sent for some reason. I would have all the code ready, making the transfer quite reliable, but until I can solve this... That's why I ahve to use a delay (I can send as many packets as fast as I want, but without ACK there is no flow control)
Quote: |
- One my DS, received stop at 899 or 906 |
You can try to set a longet delay, let's say 60 or 80. If packets get lost (poor connection or any other reason) I still can't get them back. See above.
In my specific situatio, I manage to transfer 3-4 MB files without packet loss, but I guess I'm lucky :)
Quote: |
- The text file (received only 5K) can only view in the first 15 pages, the rests are all ?????? mark |
What are you using to open that? I know older version of moonshell had that problem.
Quote: |
- Config named as other file in my CF card (0052 - Another Code) and overwrite it. Can't recognize when rename to wificonfig.text |
Sorry about that, the name of the file has to be hard coded. I will chose a different and more rare one for the next release...
Bafio
#64120 - bafio - Mon Dec 19, 2005 5:17 pm
Quote: |
Can I tell if my PC is recieveing anything at all on that port?
Using Telnet or something?
(sorry, I am not good with net related stuff)
|
You can use the UDP test program also frm Sgstair:
http://www.akkit.org/dswifi/udp_Test.zip
Bafio
#64133 - theonegreen - Mon Dec 19, 2005 7:31 pm
bafio wrote: |
Hi,
There is a new version on the program in http://www.geocities.com/bafiollo/
Try it out, it should help!
Bafio
Version 0.6
This update is using the new new 0.2a version of Sgstair library fixing
some issues with ARP requests.
new features:
* modified the transmission protocol, it's a little more resitant to errors
(retransmissions)
* transmissin seems to break less often
* the destionation IP is saved in the config file, with the AP MAC address
* You can set the transmission delay on the server. Lower mean faster transfers,more errors.
Use a higher delay if you get transfer errors.
* many small changes here and there, like better moving in the list of files, ...
* (discovered tifferent problems with atutomatic server detection, don't relay
on that)
NB. You need to use the new version of the server with the new NDS! The
protocol has changed. |
I haven't been able to get versions 0.5 and 0.6 to run on my Supercard SD. Will there be any support for these cards? I bought an SC SD because I have an SD card reader but it seems like I should have gotten the GBAMP if I wanted to run homebrew code.
Should I just bite the bullet and buy a GBAMP?
Thanks in advance.
PS It crashes when it starts up, the screen says "reading config file".
#64149 - bafio - Mon Dec 19, 2005 9:13 pm
theonegreen wrote: |
I haven't been able to get versions 0.5 and 0.6 to run on my Supercard SD. Will there be any support for these cards? I bought an SC SD because I have an SD card reader but it seems like I should have gotten the GBAMP if I wanted to run homebrew code.
Should I just bite the bullet and buy a GBAMP?
Thanks in advance.
PS It crashes when it starts up, the screen says "reading config file". |
Hi, thing is: for accessing the memory,I use Chrism's GBAMP fat driver, I think it actually supports many devices including M3, supercard and releated. I don't think it supports SD based devices because the hardware is different and they are lacking specifications. Anyway,GBAMP si relatively cheap and good for homebrew. Other work as well.
I could avoid using the CF routines if they are not available (I forgot for the config file) but then I would'n have a place to transfer the files to :) And I have no idea how to load an NDS directly to memory and run it, seems hard to be honest.
Bafio
#64155 - Bronto - Mon Dec 19, 2005 9:32 pm
A guy named cory1942 made a modified version of chishm's driver that works with supercard sd.
Look at this thread
http://www.scdev.org/forum/viewtopic.php?t=1449
You may be looking for this file there:
http://nds.cmamod.com/files/buildtest_newSD.zip
It looks like you just have to replace on source file.
That said, I would very much appreciate a supercard sd version. It would ease development a lot! (Not having to remove the ..fragile sc from the ds every time)
Martin
#64170 - bafio - Mon Dec 19, 2005 11:57 pm
Bronto wrote: |
A guy named cory1942 made a modified version of chishm's driver that works with supercard sd.
Look at this thread
http://www.scdev.org/forum/viewtopic.php?t=1449
You may be looking for this file there:
http://nds.cmamod.com/files/buildtest_newSD.zip
It looks like you just have to replace on source file.
That said, I would very much appreciate a supercard sd version. It would ease development a lot! (Not having to remove the ..fragile sc from the ds every time)
Martin |
OK, first a disclaimer:
This package contains a modified version of the wifi transfer program, that should allow to run on a supercard sd.
the source was found here:
http://www.scdev.org/forum/viewtopic.php?t=1449
and here:
http://nds.cmamod.com/files/buildtest_newSD.zip
I have not tested or even looked at the source code, so
**********************************************
NOT TESTED!!!
USE IT EVEN MORE AT YOU OWN RISK !
**********************************************
This program can be truested only if you trust the sources above and that replacing the code is enough.
So, just to make it more clear: I make no guarantees, I have not tested it, so if it breaks your ds, sd etc. don't blame me.
So I made a version replacing and recompiling, and it gave no errors.
Here is a link. USE IT ONLY FOR TESTING, and ONLY ON SUPERCARD SD, the normal version has the code directly from Chrism, so it's more updated.
http://www.geocities.com/bafiollo/TEST_wifitransfer_SD.zip
I think I have warned enough,
Bafio
#64178 - Bronto - Tue Dec 20, 2005 12:17 am
thanks, that was really quick :)
I tested it, here are the results:
config file: is being written (takes a few seconds, seems a bit long for 92 bytes) but after a restart it says after "reading config file" "old format" and all values are set to 0.0.0.0. I can send you the wificonf.txt if you want.
nds files: transfer completes (at least it says "** end --225"), but file on the sd card is only 20 kb while it should be 224.
thanks for your effort and let me know if I can help you.
#64194 - CubeGuy - Tue Dec 20, 2005 3:23 am
Why do I get the feeling that I'm messing up something simple? I can't get the server to run at all.
I looked at my system processes, and "javaw.exe" was running, but I never got asked for a directory, nor did I see a command line pop up.
_________________
It's 'CubeGuy.' One word. No space.
#64196 - bafio - Tue Dec 20, 2005 3:46 am
Hi to all,
I'll start my holiday tomorrow, so this will explain if you don't see me here that much. I am not abandoning the program anyway, so if not before, in the beginning of January there will be some more news!
Bafio
#64201 - theonegreen - Tue Dec 20, 2005 5:44 am
bafio wrote: |
Bronto wrote: | A guy named cory1942 made a modified version of chishm's driver that works with supercard sd.
Look at this thread
http://www.scdev.org/forum/viewtopic.php?t=1449
You may be looking for this file there:
http://nds.cmamod.com/files/buildtest_newSD.zip
It looks like you just have to replace on source file.
That said, I would very much appreciate a supercard sd version. It would ease development a lot! (Not having to remove the ..fragile sc from the ds every time)
Martin |
OK, first a disclaimer:
This package contains a modified version of the wifi transfer program, that should allow to run on a supercard sd.
the source was found here:
http://www.scdev.org/forum/viewtopic.php?t=1449
and here:
http://nds.cmamod.com/files/buildtest_newSD.zip
I have not tested or even looked at the source code, so
**********************************************
NOT TESTED!!!
USE IT EVEN MORE AT YOU OWN RISK !
**********************************************
This program can be truested only if you trust the sources above and that replacing the code is enough.
So, just to make it more clear: I make no guarantees, I have not tested it, so if it breaks your ds, sd etc. don't blame me.
So I made a version replacing and recompiling, and it gave no errors.
Here is a link. USE IT ONLY FOR TESTING, and ONLY ON SUPERCARD SD, the normal version has the code directly from Chrism, so it's more updated.
http://www.geocities.com/bafiollo/TEST_wifitransfer_SD.zip
I think I have warned enough,
Bafio |
Bafio you rock! Thanks for including the SC SD people. That said, my NDS freezes once the program is loaded. I get to the part where the bottum screen says "Config and connect to an AP" and "Play Wardriving". I can't select anything. It's just frozen.
Does it have anything to do with not having a config file? Do I need to make one or something?
Thanks.
#64242 - pg65 - Tue Dec 20, 2005 3:35 pm
I'm very new at this, I am getting error
R FFFFFFFFFFF 00016C2EF003 8006
when using the wifi_lib_test.nds, this is after removing the WEB Key, I have the Linksys Wireless-G Broadband Router and PCI Adapter, the WEB key is setup and so is MAC Address filter, would I have to remove the mac address filter as well as the WEB key? This is is the only thing not done yet, I do have the MAC address for this DS setup and can use Mario Kart online.
Update:
with MAC Address filter and WEB key off I am getting the same error.
#65590 - bafio - Wed Jan 04, 2006 5:20 am
Hi!
I just updated the program, this time it uses the latest SgStair library.
The protocol now works with syncronization, it's a bit slower now but much safer.
Changes:
Code: |
Version 0.7
Uses the new 0.2b release of the library. This fixes the send problem there
was before, so:
* modified transmission protocol. Now it should be ok for file transfer even when
there is packet loss! Remember to run also the new version of the server
* Removed some debug info
* hopefuly fixed some issues that could generate file loss on the CF in certain situations |
#65603 - cory1492 - Wed Jan 04, 2006 9:22 am
http://nds.cmamod.com/files/FAT_SCSDinc-2006-04-01.zip is what I have been working with on the SC SD
I have done alot of writes and reads from my SD cards and have not encountered errors, except when creating a new file and not giving it enough cpu time (chishm says it needed a couple vblanks to get the system time properly, but it shouldnt affect the data) to update the clock so that the time gets put into the time variable properly.
Feel free to blame me if something goes wrong though, and the slow writes are due to a bogged down/unoptimizeable-by-compiler asm file that sorely needs to be converted still, as well as allocating and clearing new sectors.
very nice idea/app by the way bafio, thanks for working on something like this (although I have not had a chance to test it, got my wifi for wmb and dont want to mess with it now that its working right)
edit:/I just saw an update, so I updated mine as well, it is current to what is on chishms site now.
#65700 - bafio - Thu Jan 05, 2006 1:37 am
Hi!
I compiled a version using your updated drivers, so it's based on version 0.7.
As I said before, I did not test this, so
*** I make no guarantees. ***
IF you have a Supercard SD and want to try it, you can get it at:
http://www.geocities.com/bafiollo/wifitransfer_07SCSD.zip
Right now I want to make the file transfer faster, it's prettiy slowright now with version 0.7, then I'll release the code.
Bafio
cory1492 wrote: |
http://nds.cmamod.com/files/FAT_SCSDinc-2006-04-01.zip is what I have been working with on the SC SD
I have done alot of writes and reads from my SD cards and have not encountered errors, except when creating a new file and not giving it enough cpu time (chishm says it needed a couple vblanks to get the system time properly, but it shouldnt affect the data) to update the clock so that the time gets put into the time variable properly.
Feel free to blame me if something goes wrong though, and the slow writes are due to a bogged down/unoptimizeable-by-compiler asm file that sorely needs to be converted still, as well as allocating and clearing new sectors.
very nice idea/app by the way bafio, thanks for working on something like this (although I have not had a chance to test it, got my wifi for wmb and dont want to mess with it now that its working right)
edit:/I just saw an update, so I updated mine as well, it is current to what is on chishms site now. |
#65840 - Bronto - Fri Jan 06, 2006 1:42 am
Hi Bafio,
thanks for your continuing effort on developing this :)
I was able to transfer smaller files (< 100kb) to the ds :) The client seems to crash after this, but the file gets written - and it works. I also compared it to the original file and found they were identical :)
For larger files, however, it seems to crash after a counter of about 120, but I will try again later.
Also I noticed transfer is starting fast, but getting slower and slower.
Again, thanks for your effort.
Cheers,
Martin
#65910 - JaJa - Fri Jan 06, 2006 7:49 pm
There was an update to the server (0.71) that fixes the problem where the window isn't shown on start up.
http://www.geocities.com/bafiollo/
#65991 - bafio - Sat Jan 07, 2006 11:35 am
Hi!
Version 0.8 is out,
main chenges:
In this version,I changed the protocol again :D and it works a bit more like the old one
so you can slow the transfer down by using the delay bar if you run into transfer errors.
* FAST! File transfer is now almost as fast as it gets, 84KBs here on my machine!.
* Direct connection,so you don't have to pass all the connection setting screens
* Some other minor changes
I think this should work reliably to everybody, but I can't be sure, so I appreciate some feedback to undestand if the new protocol is really reliable.
Cheers
Bafio
#65993 - Chetic - Sat Jan 07, 2006 12:25 pm
I set the server up and try to connect using the Supercard CF but it won't give me the list of files in the selected directory.
When I start "File Transfer" on the DS, the server says "receviced IMHERE message 192.168.0.189:8888" so I'm sure there's a connection going on.
[Edit] Exact same on GBAMP (which I guess is a good sign :p)
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit
#65994 - MaHe - Sat Jan 07, 2006 1:04 pm
You're probably using WEP, which isn't really supported yet.
#66002 - Chetic - Sat Jan 07, 2006 2:40 pm
I'm not using WEP.
_________________
Packin':
Grey DS with FlashMe v7
1Gbit XG2T 2005 (Neoflash compatible)
GBAMP, Supercard CF, 512Mb Magic Key 3 and EZFA 256Mbit
#66007 - bafio - Sat Jan 07, 2006 3:28 pm
Chetic wrote: |
I set the server up and try to connect using the Supercard CF but it won't give me the list of files in the selected directory.
When I start "File Transfer" on the DS, the server says "receviced IMHERE message 192.168.0.189:8888" so I'm sure there's a connection going on.
[Edit] Exact same on GBAMP (which I guess is a good sign :p) |
have you tried pressing the list option? sometimes it takes a moment before the ds starts sending correctly. Otherwise check that the server address is correct.
Bafio
PS. what does the server says?
#66066 - 0xtob - Sun Jan 08, 2006 12:18 am
Hi Bafio!
I just tried out your program and I love it! There's no quicker way to transfer nds files for debugging than this. Also the CF support rocks! I guess this will become my standard way of testing my code. Here are some suggestions and feature requests:
I seem to get data corruption when I set the delay to 0 in the server. Perhaps you should use a higher value as the default if more people are having problems.
It's a good idea to have a fixed directory that the nds files are served from that is specified in the server, because otherwise anyone could spy my hard drive. But, on the other hand, navigating the PC's filesystem from the DS to download other nds files or mp3s to my CF card would be neat, This should be optional and discouraged of course, as such an option would be a security risk.
When coding on a DS project, I always want to download and run the same program to test it. So, for the impatient like me, there should be an ultra quick one-click download button in the first menu. When I click it, the DS should associate with the AP, connect to the server, download the last file it downloaded (the filename could be saved in the config file) and run it.
But these are just my 2 cents. What you have done so far is really great and makes tesing and debugging much much faster and above all, it eliminates the need to restart the DS for every test, which was the biggest annoyance for me.
So, keep doing such a great job!
Tob
#66151 - splat - Sun Jan 08, 2006 3:24 pm
This will only work on SuperCard SD, correct? Any idea of how we CF users could get it to work? Thanks!
#66158 - bafio - Sun Jan 08, 2006 4:39 pm
splat wrote: |
This will only work on SuperCard SD, correct? Any idea of how we CF users could get it to work? Thanks! |
Actually the standard version works onthe different CF cards. The SD version is a separate one, so it works on CF (I am developing on a GBAMP)
Bafio
#66159 - falcon!!! - Sun Jan 08, 2006 4:45 pm
i just cant make it work on my gbamp!
I choose the dircetory in the server.jar but when i look for files from nds It doesnt find anything! :(
#66171 - bafio - Sun Jan 08, 2006 7:48 pm
falcon!!! wrote: |
i just cant make it work on my gbamp!
I choose the dircetory in the server.jar but when i look for files from nds It doesnt find anything! :( |
I don't know if that's the problem, but the 1st time you connect you should wait for some seconds for the ds to register with the AP before going to the transfer. Also, have you tried the "list" button in the transfer screen? Does Sgstair's demo work for you?
Bafio
#66183 - splat - Sun Jan 08, 2006 9:58 pm
bafio wrote: |
Actually the standard version works onthe different CF cards. The SD version is a separate one, so it works on CF (I am developing on a GBAMP)
Bafio |
I've tried the "wifc.nds" and the special version "wificSD.nds" on my SuperCard CF and both do the same thing -- show me the first Welcome screen and identify my DS, but i can't click on any of the buttons.. Which is why I thought I needed to wait for "wificCF.nds" to be released. :) thanks!
#66219 - Bronto - Mon Jan 09, 2006 3:09 am
any chance we get a supercard sd build of this ? :)
#66256 - ericde45 - Mon Jan 09, 2006 9:20 am
yes, please a supercard release would be great.
+1 :)
(CF are so fragile)
#66261 - bafio - Mon Jan 09, 2006 10:39 am
Bronto wrote: |
any chance we get a supercard sd build of this ? :) |
Yes, I'm going to change my build scripts so that it gets compiled automatically and maybe I can include it in the main distribution.
Right now I have too many ideas of what to do next, I was thinking of a graphical UI for the program, some cleanup, at some point a complete rewrite...?
Plus there are other wifi functions I would like to implement.
Anyway, the code I wrote is now a bit messed up, probably I should reorgainze and rewrite (at least partially) both the client and server, to ease further development and make a good base for future extensions/other projects.
Only problem is finding the time to do that :|
Anyway the plan is to do the celanup before passing to new features, so I can get things done in a more proper way.
Bafio
#66263 - bafio - Mon Jan 09, 2006 10:49 am
0xtob wrote: |
Hi Bafio!
I just tried out your program and I love it! There's no quicker way to transfer nds files for debugging than this. Also the CF support rocks! I guess this will become my standard way of testing my code. Here are some suggestions and feature requests:
|
Thanks!
0xtob wrote: |
I seem to get data corruption when I set the delay to 0 in the server. Perhaps you should use a higher value as the default if more people are having problems.
|
Yes, it's difficoult to say what a good delay can be, any reports of what delay you use? I will add a config file, so anybody can change these settings quite easily.
0xtob wrote: |
It's a good idea to have a fixed directory that the nds files are served from that is specified in the server, because otherwise anyone could spy my hard drive. But, on the other hand, navigating the PC's filesystem from the DS to download other nds files or mp3s to my CF card would be neat, This should be optional and discouraged of course, as such an option would be a security risk.
|
That is something I was looking into doing, but is a big security risk. I'll think about that, maye I could let the user chose where to bind the server in that case, so you could bind it to the local wirelwss network and at least keep it out of the internet. Or find a way t olimit the access to local network packets...
0xtob wrote: |
When coding on a DS project, I always want to download and run the same program to test it. So, for the impatient like me, there should be an ultra quick one-click download button in the first menu. When I click it, the DS should associate with the AP, connect to the server, download the last file it downloaded (the filename could be saved in the config file) and run it.
But these are just my 2 cents. What you have done so far is really great and makes tesing and debugging much much faster and above all, it eliminates the need to restart the DS for every test, which was the biggest annoyance for me.
So, keep doing such a great job!
Tob |
I think I'l make a "no keys" release: one that connects, downloads the file "test.nds" and executes it with no user intervention.
This should be really simple to do.
I also have been looking into powersaving features, I now manage to put the DS in standby, turn off the upper lcd, but I am not sure what happens to the wifi hardware then the DS is in standby (does it go off and back on automatically or does it continue to use energy?)
Anyway, thanks for the appreciation and the usefull suggestions!
Bafio
#66481 - bafio - Wed Jan 11, 2006 3:50 am
Hi!
There's a new release, now with source code!
Plus bugfixes...
http://bafio.drunkencoders.com/
Version 0.9 RC
Big news:
* The *source code* is distributed
- The paths are all relative to the directory and Sgstair's lib
is included so it should be easy to compile. All you need is
the latest DevKitPro
NOTE: No spaces in the path to the source...
* New app, wific2, (execute for GBAMP only) downloads and executes the file named test.nds
from the server, without all the setting screen (using the ones saved
from wific), for fast testing during development
* Some important bugfixes:
- The discovery code was wrong, this time server discovery sould work
better.
- The settings sometimes were not put in the wifi, so you could not
(at times) interact with the server. So the 'I can't get the list of
file' bug (at least in some occasions)
* Poversaving
- close the DS goes in standby
- you can turn off the upper screen by pressing select at the main menu
* The java server now has commandline:
java -jar server.jar [directory] [-port portNumber] [-delay sendDelay]
Enjoy!
Bafio
#66518 - melw - Wed Jan 11, 2006 3:27 pm
The feature list looks so promising that I wanted to take a look also. The problem is I'm currently developing on M3/SD card... I got the M3 only couple days ago so I don't know what is needed to get things working with it, but I'm more than happy to do some testing or help to get this thing working.
Wific.nds sayd plain "No GBAMP-compatible card!", but it looks like I can save the WiFi config as Wifc2.nds connects automatically to the AP I've configured before.
#66600 - bafio - Thu Jan 12, 2006 10:21 am
Hi!
Jet another new version, almost one a day :)
This time the changes are significant, and should fix many problems. Try it out!
I forgot about the SCSD this time, I'll add a download fot that later...
Version 0.95 RC
More big news!
This time it should work MUCH better for real.
* The server has been rewritten completely, there
were some serious flows and a stupid bug that made
the recovery from errors useless.
Plus the server now can handle multiple clients...
* Basic DNS. You can type a normal address as destination IP, so
you can (not tested) connect to a remote server.
Type the address and press list.
* Many many bugfixes, and added recovery code for bad situations
like timeouts, to avoid that the application freeze.Still can happen at times,
but should be rare.
* Some more bugfixes I can't remember...
Bafio
#67032 - Lazy1 - Sun Jan 15, 2006 1:58 am
I just got this working with my nintendo wifi adapter and I have to say, great job on this app.
This will save the pins in my gbamp since I do all of my testing on hardware.
Just two things...
1: There must be atleast 2 files in the server's target folder otherwise nothing will show
2: It would be nice to have a minimize to tray option :)
Other than that, it runs great downloading at 60kb/s.
#67043 - ?hr - Sun Jan 15, 2006 2:53 am
great program! works perfect with my router :)
EDIT: OMFG? Every subfolder like (root)\NDSSAVE has been deleted!
#67076 - Lattyware - Sun Jan 15, 2006 10:00 am
Quote: |
EDIT: OMFG? Every subfolder like (root)\NDSSAVE has been deleted! |
Known problem:
http://www.1emulation.com/forums/index.php?showtopic=16203&view=findpost&p=180874
#67094 - Veg - Sun Jan 15, 2006 1:38 pm
Lazy1, how did you go about getting it to work with the Nintendo Wifi adaptor?
Mine's installed and working with MarioKart and all that, but frankly, all the different IP, Gateway and DNS addresses have me totally confused.
#67167 - Lazy1 - Sun Jan 15, 2006 11:34 pm
Veg wrote: |
Lazy1, how did you go about getting it to work with the Nintendo Wifi adaptor?
Mine's installed and working with MarioKart and all that, but frankly, all the different IP, Gateway and DNS addresses have me totally confused. |
First, follow the instructions here exactly as you see them: http://forum.gbadev.org/viewtopic.php?p=64608#64608
Once you have verified mariokart is working you need to open your ASUS tray icon, click the config icon, go to the encryption tab, turn "Data encryption" to disabled and set "Network authentication" to open.
Though, now might be a good time to add your DS's MAC address in the "Access Control" tab.
#67183 - Sebbo - Mon Jan 16, 2006 3:02 am
now that the option for a remote server is there, would Lynx or someone else who already hosts alot of NDS homebrew be willing to set up the server for this app as well (if its possible)?
its a pity my wifi card is in brisbane, otherwise i'd give this program a try. good work bafio
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm
#67235 - JaJa - Mon Jan 16, 2006 10:31 am
That'd rock.
Although ww.ndshb.com is missing a lot (i might see if i can add some) it'd be cool.
You see an update on a website, and download straight to DS.
Although...CF loading games might be painful unless you can download the entire directory.
No zip support either, so all the .nds files need to be uncompressed.
Let's go trial that remote server...
#67245 - MaHe - Mon Jan 16, 2006 1:48 pm
Yup. Lynx, you've heard us! ;D
Bafio: But to make this possible you need to: Allow multiple clients per server , and implement folder transfer. Pretty please with sugar and cherry on top?
#67248 - Filb - Mon Jan 16, 2006 1:59 pm
That's pretty awesome.
I wonder if it's possible to send multiboot binaries from a GBAMP to another DS using 'DS Download Play', though. That would be more interesting for me personally. Just an idea...
#67264 - MaHe - Mon Jan 16, 2006 4:48 pm
Agree.
Maybe libnifi could be ported to DSLinux...
#67305 - Sebbo - Mon Jan 16, 2006 10:09 pm
bafio wrote: |
Version 0.95 RC
* The server has been rewritten completely, there
were some serious flows and a stupid bug that made
the recovery from errors useless.
Plus the server now can handle multiple clients...
|
it already allows multiple clients MaHe
why do i get a feeling i just made it onto Lynx's hitlist? sorry for mentioning you by name before ;-)
_________________
Here's some ideas I have for when I know enough to act on them, or for others to have a look at when they're bored: www.wayne.sebbens.com/ds_ideas.htm
#67317 - Snuk the Great - Mon Jan 16, 2006 11:33 pm
*sigh*
I hate to be a pain but I think I could use some help. I tried to connect my DS to my PC with this handy tool. Eventualy I seemed to have caused a problem with my lan-card and thus disabling my internet... Eventualy I had reset my wifi 'card' and here I am right back at where I started some hours ago (well atleast my internet is working once again). So some help would be nice.
First what i was trying to post earlyer but then wrecked my internetconnection (edited version though!):
The first thing I figured was that I should set my wifi stuff manualy because the stupid 'wizard' tool is just a pain...
So this is what I used:
IP: 169.254.149.55
Subnetmask: 255.255.0.0
Gateway: 169.254.1.1
DNS 169.254.1.1
I am not sure if this is oke. If its not could anyone give me a link to a website that can explain everything above. (I do not mind reading :P)
First I start the java app. It picks the right folder and everything seems oke and with these values my DS connect to my pc. Eventualy I figured my pc was not transmitting anything back (on the other side it did get the netwerk name...).
Now this is what I WIFI file transfer tells me:
- I see my netwerk called DSme
- I select connect and enter the data above (by the way, the keyboards positioning is quite crap, try hitting the 1 :S :P)
- It gives the nice blocks animation and displays 'Connected!'
- I enter file transfer and see no files.
Now on my PC side I see the DS connecting to my pc:
- Station 00-09-BF-75-A5-A2 is authenticated
- Station 00-09-BF-75-A5-A2 is assosiated
And everytime I hit the list button in the DS app a yellow warning sign pops up in my task bar. So I figured it atleast received my data! (by the way, it was just a sign. No text what so ever, not on mouse over, not on any click, just a yellow warning sign...)
So well, can anyone help me? Like I mentioned before I dont mind reading and I realy want this to work :). PM's are oke too, just need a gentle push in the right direction :P. I could post anymore info as well, though this might be sufficient :).
#67336 - Sektor - Tue Jan 17, 2006 2:35 am
The yellow icon usually means there is an IP address conflict. You probably set your DS to use the same IP as your PC. You need to change the last digit of the DS IP.
#67403 - Snuk the Great - Tue Jan 17, 2006 8:12 pm
Sektor wrote: |
The yellow icon usually means there is an IP address conflict. You probably set your DS to use the same IP as your PC. You need to change the last digit of the DS IP. |
Hmm yeah thats what I thought, but wasnt sure... I asked for some more info at workexperience too and they pushed me in that direction as well.
I am a programmer myself, though pretty much a n00b when it comes to Assembler, C++ etc. Just php/javascript and mysql here. But after work experience I am defenitly going to look at ASM, C++. and Java (those are on top of my list).
Anyway, I will try again later. Thank you telling me what that yellow sign meanth (kind of stupid there is no text near the damn thing :P).
[EDIT]
Yay, I got it to work. I thought you had to do the same IP on the DS as the one I gave my wifi point. But now it works like a charm! Man I love homebrew... Thanks Sektor!
[/EDIT]
#67507 - bafio - Wed Jan 18, 2006 6:53 pm
Hi to all,
It's grat to see it's working for many of you, and I like the idea of a central server (that's why I developed a simple DNS query ;)...
I have very little time today and no interet from home, but I'm still develpoing this ( and starting a new project too :)
Cheers!
Bafio
#67532 - Snuk the Great - Wed Jan 18, 2006 9:24 pm
Well I like the movement I currently see in DS developement lately and I hope you can bring us a lot more! Adding to that I will be joining you soon. Me and my designer (a friend of mine) have decided we are going to go after some simple DS programs too. Though dont expect anything fancy (heck dont expect anything at all, I am pretty much newb when it comes to ASM and C++...).
Oh and yeah, before I forget. I found a bug in the transfer program. A program with an extra . (for example hello_1.0.nds) wont transfer. Well... it tranfers but it doesnt save it right or something. Dont know if this is known already, just pointin :).
#67894 - ssj4android - Sat Jan 21, 2006 4:17 am
Does this work with the supercard sd?
#69269 - RavenWorks - Sun Jan 29, 2006 6:54 pm
My DS can connect to my router, but even once I enter the server's IP, the list stays empty... I have two files in my shared folder, but nothing shows up on my DS screen and the server doesn't display anything indicating a DS has found it :/ In fact, when I click 'list', none of the other touch screen buttons will respond until I've pressed 'B'... Is there something I'm missing? I have Java 1.5, and Windows Firewall is disabled.
#69285 - MaHe - Sun Jan 29, 2006 8:15 pm
Do you use WEP? It's probably quite unstable for now, so you've got to disable it ...
#69290 - RavenWorks - Sun Jan 29, 2006 8:32 pm
Nope, WEP is disabled... I can use DS2key just fine, too...
#69294 - MaHe - Sun Jan 29, 2006 8:42 pm
EDIT: nevermind ... :/
#69297 - tssf - Sun Jan 29, 2006 9:12 pm
It's probably because the directory only has 2 files in it. I remember reading somewhere that you need more than that..but less than say, 125 or something like that.
Anyway, put it in a well populated directory, just not too well populated.. lol
_________________
Mathew Valente [TSSF]
------
Chrono Resurrection Musician
#69306 - RavenWorks - Sun Jan 29, 2006 10:07 pm
Still nothing... I saw something on another page about the Java terminal saying it received an "IMHERE" message, but there's nothing like that on mine... is that significant?
#69371 - bafio - Mon Jan 30, 2006 11:03 am
RavenWorks wrote: |
Still nothing... I saw something on another page about the Java terminal saying it received an "IMHERE" message, but there's nothing like that on mine... is that significant? |
Hi,
that's strange, are you sure about having the right server IP (destination) entered in the transfer window and then pressing list? you may have to do it a few times... I tried the porgram with different configuration (router and wireless card in AP mode ) and had no problem.
Also, make sure (I think you probably know already) to have a full manual IP configuration, no DHCP and no WEP.
The IMhere message would be to automatically identify the server, is a message sent to the broadcast address but that seems often not to work, depending on the network config. Is the other program (the chat one) working?
Bafio
#69400 - RavenWorks - Mon Jan 30, 2006 3:55 pm
It's definately the right IP, it's the same one I enter when I'm using DS2key. When I try pressing 'list', the whole touch screen stops responding until I press B (which takes me to the screen before the transfer screen).
My PC doesn't have a wireless card, but I do have a wireless router (which is how DS2key works). Does this program require a wireless router *and* a wireless PC, or just one or the other?
#69416 - tssf - Mon Jan 30, 2006 6:10 pm
Just one or the other. This is how I get it to work with my Linksys Router:
On the PC side, IP 192.168.101:
-Start the server (I start it in a cmd window, just like any other program, I just type "server.jar"..this is in Windows XP though)
-Select my directory I want to send
On the DS Side, I do this:
-Start the NDS file
-click "Config and connect an AP"
-click "Search for an AP"
-select my Router's SSID
-IP Address: 192.168.1.110 (this is the IP address for the DS. I chose to go lower than the default 189 or something, because my router is set up to ignore anything past say, 150)
-Gateway: 192.168.1.1
-Subnetmask: 255.255.255.0
DNS1: 192.168.1.1 <- these aren't really needed I think
DNS2: 192.168.1.2 <- these aren't really needed I think
-Click "Connect" It should connect.
-Click "File Transfer"
-Click "Edit" for Srv IP. Make sure the IP address is the same address of the computer running the server. In my case, it's 192.168.1.101.
The directory should update instantly. :) (give it a few seconds)
You should now be able to transfer files from your PC to your DS.
_________________
Mathew Valente [TSSF]
------
Chrono Resurrection Musician
#69639 - RavenWorks - Tue Jan 31, 2006 10:04 pm
Ah! I feel so stupid... the settings defaulted to 192.168.0.x for all the settings, but my router uses 192.168.1.x for the local addresses. I didn't even notice. :P Thank you!
#69994 - Darkflame - Fri Feb 03, 2006 5:49 pm
Id just like to say I got this working and it works fantasticaly well :)
Id had trouble with the earlier versions (as you see from the start of the thread), but it works fine now :)
Great work!
#69997 - bafio - Fri Feb 03, 2006 5:58 pm
Darkflame wrote: |
Id just like to say I got this working and it works fantasticaly well :)
Id had trouble with the earlier versions (as you see from the start of the thread), but it works fine now :)
Great work! |
Thanks :)
Yes, it started a bit bad, but for the next program I'll be testing some more before releasing to the public...
Bafio
#72946 - Nushio - Wed Feb 22, 2006 3:57 pm
Perhaps I shouldnt 'bump' an old thread, and normally I wouldnt, but I'd rather bump this old thread than create a new one...
That said, if someone can please gimme a link to this program, i'd appreciate it. Geocities appears to be down (down as in, doesnt exist)...
#72958 - MaHe - Wed Feb 22, 2006 5:00 pm
#72964 - Nushio - Wed Feb 22, 2006 5:57 pm
Thanks, MaHe!
I checked the dswifi webpage at 1emulation, and this and both had the same link, I kinda forgot to check drunkencoder's website
#73422 - falcon!!! - Sat Feb 25, 2006 5:27 pm
is it normal that i have all the files in the java program, not on the ds?
and on the pc i get a conflict ip error? (i think i should change something but i'm close to the success...)
[Images not permitted - Click here to view it]
WIth the same settings i can transfer "test.nds" via WIFC2.nds on the ds!
#73432 - waruwaru - Sat Feb 25, 2006 6:32 pm
falcon!!! wrote: |
is it normal that i have all the files in the java program, not on the ds?
|
I think that means some packets got lost when the java program transfer the file list to your DS. UDP protocol isn't very reliable. On my set up, I can usually get it working by:
- start runme.bat first
- have the proper directory selected
- set the delay to 50 ms (try to figure out the best settings for your network)
- power up the DS and start the transfer program
- use d-pad and A button to go through the Config menu, sometimes the Direct Connect to AP doesn't work for me
- use the stylus to click on Get File List once (try not do multiple clicks)
- after transfer of each program, press B button to go back to make sure the file is properly closed
falcon!!! wrote: |
and on the pc i get a conflict ip error? (i think i should change something but i'm close to the success...) |
The IP conflict on your PC probably means something else on the network has same IP address as your PC.
#73435 - falcon!!! - Sat Feb 25, 2006 6:40 pm
sorry! now it works! i set correctly the ip and other things!
awesome program|
#73912 - bafio - Tue Feb 28, 2006 9:47 pm
Hi,
I have made some updates to the transfer programs:
* a new connection method, which uses both the wifi settings from the
firmware and from the file. This version has been fixed so also the
disk configuration works fine. It should solve problems on connection
seen in previous version.
* the latest FAT library from Moonshell is used, this should make it
compatible with more hardware.
* The updated source code of the server and of wific2 is included.
This includes a set of generic utilities that could be useful to
other projects as well.
as before, you can get it from:
http://bafio.drunkencoders.com/
Cheers
Bafio
#76321 - Darkflame - Mon Mar 20, 2006 4:27 pm
Little Wifi transfere bug;
If your foolish enough to transfere a large file, when your CF card dosnt have enough room for it, it seems to currupt the whole card ;)
(Me= GBAMP +512MB CF+ Flashme + Moonshell)
#76325 - Bronto - Mon Mar 20, 2006 5:09 pm
latest RC works like a charm on my SC SD.
One thing left, can you save the server's ip address in the settings file? it always defaults to 0.0.0.0 .
great work!
#82135 - Darkflame - Thu May 04, 2006 4:05 am
bump..think I found another little bug.
I transferred a copy of DSOrganiser over recently, and now according to moon shell I have two identical files on the route of the card (same name, same extension).
Both seem to run Disorganiser, but when I try the file explorer in that it restarts. (I guess its looking at the route of the card where the error is).
Unfortunately, I lost my CF>>USB stick so I cant check whats happening on the pc for another few weeks.
(I have been surviving purely of wireless downloading nd using organiser to delete! :D)
#82138 - HyperHacker - Thu May 04, 2006 4:18 am
Sounds like the card got corrupted. That happened to me before when deleting files in DSOrganize.
Darkflame wrote: |
Both seem to run Disorganiser |
Rofl.
#82165 - Darkflame - Thu May 04, 2006 10:27 am
Freudian slip :p
I'm not that well versed on fat, could it bean entry in somesort of index file has got duplicated?
Everything else seems to work fine.
#90689 - Liter - Sat Jul 01, 2006 8:08 pm
Before I spend ages trying to get this to work, does anyone know if it works with the Linksys WAG54G (rev.1) router please?