A noobish hypothetical involving Wi-Fi

Discussion in 'NDS - Emulation and Homebrew' started by choconado, Feb 11, 2010.

Feb 11, 2010
  1. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    Number 1.) I know nothing about programming in literal terms, and make no claims that I do, so bear with me. (sheesh, this is practically becoming my catch-phrase)

    Number 2.) What I'm going to ask about is primarily hypothetical, so any quick shoutdowns or left-handed insults can go somewhere else (refer to number 1 if you need any reason why)

    Number 3.) I have a vague idea how web browsing works, so I have a good idea of what sort of speeds represent what sort of traffic.

    Number 4.) There seem to be pretty much three reasonable web browsers for the DS; Bunjaloo, plus the ones included in DSOrganize, and DSLinux. The Latter I can make neither heads nor tails of (again, refer to Number 1.)

    Finally, Number 5.) DSLinux's browser can run at speeds up to 10 times that of the other two browsers. My questions are this: Why (in layman's terms, if possible) can DSLinux do what the other two can't? Would it be possible to make the other two more uniform with this? And if so, would that be another "worthless" endeavor (read: Noone around here would want to bother to do it).


    Warning: Spoilers inside!
     
  2. Rydian

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    From what I've read, DSLinux doesn't use the standard DS WiFi library (handful of pre-defined programming functions) that everything else uses, so it doesn't have it's WiFi speed locked down to a pathetic (by today's standards) rate like usual.

    Having the original programmers (or somebody with access to the source) substitute the original libraries for the one DSLinux uses somehow should grant them access to the higher download speeds, if what I read is correct.
     
  3. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    wow, my hairbrained "no idea what I'm talking about" idea is actually the correct one. Hmm.

    Now the next step is to try to figure out how to convince the other programmers to upgrade their programs.

    (some table support for bunjaloo would be nice too--so that webpages could actually be formated in the way they're supposed to be.)
     
  4. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    I cannot say for sure, but I think that Bunjaloo does run with the modified wifi libs... at lest it seems to run faster than other wifi stuff.
    The limitation of browsers is the memory and CPU of the DS.
     
  5. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    well, I'm pretty certain that it doesn't run at 100. It moves fairly slow imo.
     
  6. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    Up to =/= at
     
  7. Rydian

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    Yeah, the home connection could be limiting as well, and network speed is measured in bits, whereas filesize is in bytes.
    I know a sticky around here somewhere points it out, there's 8 bits in a byte.
     
  8. fgghjjkll

    Member fgghjjkll GBATemp MegaMan

    Joined:
    Jul 7, 2008
    Messages:
    2,038
    Country:
    Australia
    pfft. No one knows EVERYTHING about the wifi chip. The only stuff we know is what people have reversed engineered.
     
  9. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    I don't use home wifi. I've only tested the connections at public places like starbucks or mcdonald's. Would those places be fast or slow? (Again, I'm pretty ignorant about these matters as yet)

    For no other reason than testing purposes, any one willing to give me exact instructions for how to install (i.e. download the proper files and extract them properly) dslinux onto my system (running an AK 2.1 with AKAIO 1.5.1--no slot-2 device) and access the webbrowser specifically? Because if you aren't already a Linux veteran, there's no chance of just "playing around" until you figure it out...
     
  10. Rydian

    Member Rydian Resident Furvert™

    Joined:
    Feb 4, 2010
    Messages:
    27,883
    Location:
    Cave Entrance, Watching Cyan Write Letters
    Country:
    United States
    Those places would be slower than a home connection.
     
  11. Jakob95

    Suspended Jakob95 I am the Avatar

    Joined:
    Jan 15, 2009
    Messages:
    4,344
    Location:
    New York City
    Country:
    United States
    Last time I went to McDonalds and checked on my iPod Touch the speed it was 45 KB/s.
     
  12. twiztidsinz

    Member twiztidsinz Taiju Yamada Fan

    Joined:
    Dec 23, 2008
    Messages:
    4,981
    Country:
    United States
    Pretty sure you need a slot-2 RAM device to run DSLinux properly.
     
  13. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
    DSLinux may or may not boot up without slot-2 RAM. However, the process of connecting to wifi and launching any of the browsers (even Retawq) is probably too much for it to handle without having extra RAM. I honestly don't know for certain, since I've never tested it without slot-2 RAM inserted.

    Nonetheless, instructions are on the DSLinux wiki. The long and short is that you want the DLDI version, with the "linux" folder on the root of your card and "dslinux.nds" anywhere you want. Don't launch dslinuxm.nds, since that uses up more RAM by default. Wifi config is done by using the interactive script with the "wnc" command. Launching Retawq is done by just typing "retawq" and hitting Enter.
     
  14. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    well, following the directions on the wiki leads me to a command prompt that won't do any of the things that the wiki says (once again, refer to point 1 for help), and as I have no slot 2 device, I'll just call it a moot point.

    However, the idea of having the far more user-friendly browser accessing the wi-fi libraries that Linux does seems like a fairly obvious idea.

    Though Bunjaloo may already be using them, as I was able to move at a reasonable pace during my download test. (for the record, it took me about 12 minutes to download approximately 8 mb).

    Which may in turn moot this entire thread.
     
  15. DanTheManMS

    Member DanTheManMS aka Ricochet Otter

    Joined:
    Jun 2, 2007
    Messages:
    4,325
    Location:
    Georgia
    Country:
    United States
    That's about 11 KB per second, which is consistent with most other DS wifi apps. I've gotten DSLinux to go up to about 100 KB/s, but for some reason it tends to freeze entirely about halfway through the download, eventually unfreezing and continuing as normal (though this does bring the average speed down quite a bit).
     
  16. choconado
    OP

    Member choconado Doesn't understand a damn thing on here

    Joined:
    Jan 28, 2010
    Messages:
    536
    Country:
    United States
    Ah, then that tells me that Bunjaloo probably hasn't changed the wifi libraries. Even 45 KB/S would be a remarkable increase comparatively.
     

Share This Page