Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Configure a Linksys WAP11 from the Terminal System
For those of you who are in possession of a Linksys WAP11 basestation ... the WAP Utilites for Unix is a set of command line utilities for Linux to configure this box, and it works on OSX as well.

Two caveats:
  1. You'll need to compile the utility yourself, and might need a small patch to get it going (I can supply the patch if you can't figure it out).
  2. The utility works from Terminal only.
After installation, it seems to work just fine. A bonus is that the utility is able to tweak radiosettings, something which the standard Windows utility can't. With this, you can boost power output a bit, which might extend its range a few meters.
    •    
  • Currently 2.00 / 5
  You rated: 2 / 5 (3 votes cast)
 
[11,476 views]  

Configure a Linksys WAP11 from the Terminal | 12 comments | Create New Account
Click here to return to the 'Configure a Linksys WAP11 from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Patchypatchy
Authored by: Garin on Oct 01, '02 10:31:59AM

Yeah, I'd love to have the patch. Is it small enough to post here? I'm not much of a programmer, I'm afraid.



[ Reply to This | # ]
Patchypatchy
Authored by: patashnik on Oct 02, '02 02:31:42AM

The patch isn't big, but I cannot post it here because of the MacOSXHints CMS not handling C code too wel :(

If you mail me, I will send you the patch and instructions.



[ Reply to This | # ]
Patchypatchy
Authored by: patashnik on Oct 02, '02 02:35:05AM

On another note: I can also send binaries around to people who trust me enough. However, I'm not sure if simply supplying the binary will work, that would be a trial and error procedure with someone willing enough :)



[ Reply to This | # ]
Patchypatchy
Authored by: miketja on Oct 02, '02 04:24:45AM

I simply added the following line to the end of config.h:

#define socklen_t int

and it compiled ok on my 10.2.1 Mac.

- Mike



[ Reply to This | # ]
Patchypatchy
Authored by: Garin on Oct 02, '02 11:29:37AM

Jolly good -- that did it! Thanks!



[ Reply to This | # ]
Patchypatchy
Authored by: scroy on Oct 02, '02 09:19:24PM

Even when I add your path to the config.h, I get the following compile error.
What am I missing???

cc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I../common -I.. -I../intl -Wall -c ap-nwn.c
ap-nwn.c:31: storage size of `ap_ip' isn't known
make[2]: *** [ap-nwn.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2



[ Reply to This | # ]
Patchypatchy
Authored by: patashnik on Oct 03, '02 02:10:56AM
My patch boils down to almost the same. To be safe, I've used an uint32_t instead of an int, and that type is defined in (so you'll need to #include) stdint.h.

[ Reply to This | # ]
New release with fixes
Authored by: festchook on Oct 03, '02 12:19:01PM
You suggection included in new release 1.1.1 of Wireless Access Point Utilites for Unix that may be downloaded from homepage http://ap-utils.polesye.net/?download. If you have any problems compiling or run please report to author or maillist. Thanks!

[ Reply to This | # ]
Utility to configure WAP
Authored by: tom stratton on Oct 01, '02 01:47:26PM

I, also, am a relative neophyte to the treminal and would appreciate more information about...
1) how do you compile the code
2) what is involved in the patch - is it an e-mailable file or a procedure you need to perform

If you have time to post a step-by-step procedure that would be great, or person-to-person e-amil works too..

(hopefully) thanks for you help!

Tom



[ Reply to This | # ]
Utility to configure WAP
Authored by: festchook on Oct 03, '02 12:15:09PM
For this info see INSTALL file into the program package and docs at the Wireless Access Point Utilites for Unix homepage http://ap-utils.polesye.net/

[ Reply to This | # ]
dosn't work
Authored by: macubergeek on Nov 21, '02 03:50:28PM

I have my wap11 plugged into one of the ports on my dsl/cable router.
mind you without wep enabled it works fine. my iBook can find it and get a connection fine.
ap-utils can't read the configs from the wap11
"Unable to retrieve configs from AP"



[ Reply to This | # ]
Configure a Linksys WAP11 from the Terminal
Authored by: Entropy on Mar 11, '06 04:24:42AM

I downloaded 1.5 and 1.5.1. To get them to compile, I had to add a missing libintl.a to the ./intl directory (and I also added libintl.h just because I could. :)) These came from the sed-4.0.7 download which I presumably got from the FSF.org server. (sed is now up to 4.1.4 BTW.)

http://ftp.gnu.org/pub/gnu/sed/sed-4.1.4.tar.gz

I did get an installation error related to some obscure file in ./po but ap-config 1.5 seemed to work fine--once. After the first time (when I was able to change the ESSID) ap-config complains that it can't write the configuration to the router. I haven't done much to figure out why this might be (nor have I tried 1.5.1)

~ Kiran <entropy@io.com>



[ Reply to This | # ]