Networking :: Making a usb wireless device config utility
figured out the confirmation part. well, more like ghtoo-rigged it. it's probably not right, but it'll do.
now just need to figure out how to use the value of a variable inside a system command...
-J.P.-_- gave up on the C++ in favor of taking a crash course on shell scripting...
and IT WORKS!!!!
like a charm.
For those of you who want it NOW!!! it can be downloaded off of my filespace, HERE, also, the cpp file is no longer on my filespace.
I will be sending this to John, hopefully it will be in the next version of DSL, so that we dont have to remember the stuff from the original post...
-J.P.is this in .8.3 ? i still don't have any luck.if you're still interested in using c++, there are a few options depending on what you are trying to do...(for the system calls)
1) create a temp string variable and append your different string litterals and variables in order to construct the system command. this will only work if you only need string variables to be patched together.
2) if you need, for example, and int variable to be in the middle of the string, the easiest way of do ing this is to setup an output stream...then it'll take formatted output just likd cout. here's an example:
Code Sample
command_string << "the command" << anInt << a_float << "whatever";
=====on another note=====
I'm using a prism3 usb card, andthe prism2 gui config tool works in 0.8.3 for me.
=====on another note=====
I'm working on a pretty raw sh script myself for setting up the network card.... it'll be able to jump from network to network without user intervention when i'm done......hopefuly.
do you have any idea on how to check if a certian ssid is within range?
+mattno clue.
but when you're done, email the script to me, and i'll host it for you.