Travis Kemen wrote:

> If you are using the internal antenna's on a ns2 they currently work
> via the madwifi rx(tx)antenna settings but to use the external antenna
> you need to install gpioctl and set softled to 0 for wifi0 in sysctl,
> then use gpioctl to set pin 7 low.
I've tried this procedure to my NS2 with (openwrt trunk r12842 with gpioctl)
in a 2 km link in adhoc mode without any external annena neither
a pigtail connected to the SMA connector.

My /etc/config/wireless looks like this:

config 'wifi-device' 'wifi0'
        option 'type' 'atheros'
        option 'disabled' '0'
        option 'channel' '6'
        option 'mode' '11b'
        option 'txantenna' '2'
        option 'rxantenna' '2'
        option 'distance' '5000'
        option 'softled' '0'
config 'wifi-iface'
        option 'device' 'wifi0'
        option 'encryption' 'none'
        option 'ssid' 'guifibages'
        option 'mode' 'adhoc'
        option 'bssid' '12:34:56:78:9A:BC'
        option 'network' 'wlan'
        option 'txpower' '16'

Doing "gpioctl set 7" results in a Pin 7 HIGH and the pings to the other
machine are answered. In this case internal antenna is working. But when I
do a "gpioctl clear 7" resulting in a Pin 7 LOW, the pings are also
answered. In think that its impossible to establish a 2 km link without an
external antenna connected, so I think that internal antenna is also
working. What do you think?

I haven't had time to try connecting an external antenna focusing the other
machine and the nanostation focusing the other side. This could clarify if
both antennas are working with Pin 7 LOW or only the internal antenna does.

What do you think?
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to