hi,

I'm currently working with a kamikaze 8.09.1.
I try the following configuration : one WIFI client and one Access Point (cf
/etc/config/wireless at the end of the mail)
When I want to change some parameters in my config
> wifi down
> wifi up

(wifi up shoud be enough but for debug purpose i run first wifi down)

After the wifi down the udhcp linked to the wifi client is not kill
(/var/run/ath0.pid still exists)
Consequently during wifi up i do not acquire a new IP. But udhcp is killed
meaning that i return to the initial state.  So if i execute another time
this sequence, it works fine.

The "workaround" i have at the time being is to kill the udhcp in
/lib/wifi/madwifi.sh in the function disable_atheros

Is it the right way to handle the problem? if so i can provide a patch, else
any advise are welcome.

Regards
Yann

wireless config
 config wifi-device  wifi0
    option type     atheros
    option channel  auto

config wifi-iface 'accesspoint'
    option device    wifi0
    option network    lan
    option mode    ap
    option ssid    'MyAP'
    option encryption none

config 'wifi-iface' 'client'
    option 'device' 'wifi0'
    option 'network' 'wan'
    option 'mode' 'sta'
    option 'ssid' 'Myclient'
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to