Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Making a usb wireless device config utility, for prism2_usb devices< Next Oldest | Next Newest >
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Oct. 19 2004,17:22 QUOTE

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.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Oct. 20 2004,02:42 QUOTE

-_- 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.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
zmef420
Unregistered






Posted: Oct. 31 2004,09:56 QUOTE

is this in .8.3 ? i still don't have any luck.
Back to top
mattjackets Offline





Group: Members
Posts: 10
Joined: Oct. 2004
Posted: Nov. 03 2004,23:00 QUOTE

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?

+matt
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: Nov. 04 2004,00:58 QUOTE

no clue.

but when you're done, email the script to me, and i'll host it for you.

-J.P.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
12 replies since Oct. 17 2004,06:28 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Making a usb wireless device config utility

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code