#425: change modes with wlanconfig (or other method)
---------------------------------+------------------------------------------
Reporter: kelmo | Owner: mrenzmann
Type: enhancement | Status: assigned
Priority: minor | Milestone: version 1.0.0 - first stable
release
Component: madwifi: tools | Version: trunk
Resolution: | Keywords:
Patch_attached: 0 |
---------------------------------+------------------------------------------
Comment (by [EMAIL PROTECTED]):
Good day to all good ppl.[[BR]][[BR]]Recently i finally got enough free
time to work on my wlanconfig patch. ATM, work is almost done, what is
needed is sanity checking, comments, proper indentation and stuff. Anyway,
it works. [[BR]][[BR]]Wlanconfig with my patch is able of: [[BR]][[BR]] 1.
changing mode of VAP in one step - for example just type wlanconfig ath0
mode ap( or master) and it will change mode from current one to AP. There
is some basic sanity checking, so it will not allow to create second STA
mode on interface and stuff, hopefully.[[BR]][[BR]] 2. list all active
VAPs - and their modes - which share underlying wifiX device - by
wlanconfig wifi0 list vaps or list vapmodes [[BR]][[BR]] 3. and it is
new, it before calling vap_destroy internally, save IP address of VAP, IP
addresses of all it's aliases and all static routes, which are set on
particular VAP. This should make life more easy for ppl like us in our
community network, where we use mostly static routing and also host routes
( + proxyarp for delivering individual public IPs throught more
routers/APs without losing precious public IPs on more proper routing
structure and avoiding use of NAT, which is not 100% perfect solution) and
also sometimes carry on experiments like changing modes on link -
switching from master to managed and etc. - it is strange but we do things
like this frequently.[[BR]][[BR]] If this sounds interesting to anyone,
please let me know, in that case i will rework it a bit to be more proper
and more ready for public use. It is relatively big patch, big portion of
it is only slightly modified code from ifconfig - code used for saving
routing table especially - and it is a bit - or better to say "a bit" :) -
bloated, because original code is targeted for more generic usage, so it
definitely could be reduced a lot. As always i am signing the patch
off.[[BR]][[BR]]
Signed-off-by: Pavel Novák <[EMAIL PROTECTED]>
--
Ticket URL: <http://madwifi.org/ticket/425>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets