Re: [OpenWrt-Devel] Nanostation antenna selection support
its definatley possible to do 12-14km links with the internal antennas as ive done so with them using OpenWRT and no external antennas connected but i do agree setting external or internal is a bit confusing, i read here that setting both to 0 uses the external antenna, though nobody specifies setting what to 0 goipctl set 7 makes gpio 7, gpioctl clear 7 sets it low i think with the code changes being pushed someone should actually help people decipher what the proper setting for internal or external antennas are as ive got a few radios with external high gain antennas, and i still struggle to validate with signal which antennas is actually the active one, or if the external antennas are actually being utilized, or not. the signal strength seems to not be any different which i find quite odd. so i ask is there a definitive doc for NS2 configuration internal / external ive read so much out there its hard to differentiate whats correct and whats not. right now i belive internal should be config wifi-device wifi0 option type atheros option channel 11 option mode 11g # option distance 200 option antenna auto # (auto|horizontal|vertical|external) # option disabled 0 config led option name wlan option sysfswlan option default 1 as external should be config wifi-device wifi0 option type atheros option channel 11 option mode 11g # option distance 200 option antenna external # (auto|horizontal|vertical|external) # option disabled 0 and config led option namewlan option sysfswlan option default 0 now is this correct or am i missing something 2008/10/15 Xavier Martinez [EMAIL PROTECTED] 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 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Nanostation antenna selection support
Thank you Ulf. Just one question, how do you switch on and off the diversities? Message: 1 Date: Wed, 15 Oct 2008 14:18:49 +0200 From: ulf kypke [EMAIL PROTECTED] Subject: Re: [OpenWrt-Devel] Nanostation antenna selection support To: OpenWrt Development List openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 hi, i was working with the nanostations some weeks ago, the big deal with the diversity is, that the nanostations has two diversity switches, so, as fare as i know, if diversity is complete disabled, the external antenna plug is the default one. if the first diversity in on and the second diversity switch is off, the horizontal antenna is activ, if both diversity switches are on the vertical antenna is activ. 2008/10/14 Xavier Martinez [EMAIL PROTECTED]: 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 -- Message: 2 Date: Wed, 15 Oct 2008 23:32:20 -0400 From: Brian J. Murrell [EMAIL PROTECTED] Subject: [OpenWrt-Devel] 2.6.25.7 and b43 driver oops To: openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii I'm using kernel 2.25.7, compat-wireless-2008-08-06 but whenever I insmod the b43 driver I get the following: b43-phy0: Broadcom 4318 WLAN found b43-phy0 debug: Found PHY: Analog 3, Type 2, Revision 7 Data bus error, epc == 8011635c, ra == 8015dfe4 Oops[#1]: Cpu 0 $ 0 : 1000d800 81c52454 8015ddd4 $ 4 : c3f8 81c52454 0001 $ 8 : 80257f40 8025 802a 802a $12 : 802a 80298588 802985a8 $16 : 81c52400 81c52454 03f8 0002 $20 : c02bd000 0007 c02e9090 0001 $24 : 80ea1b78 000186a0 $28 : 80ea 80ea1cb8 80ef4d80 8015dfe4 Hi: 003d08db Lo: c5476300 epc : 8011635c Not tainted ra: 8015dfe4 Status: 1000d803KERNEL EXL IE Cause : 0080001c PrId : 00029006 (Broadcom BCM3302) Modules linked in: b43(+) cls_u32 sch_sfq sch_prio sch_ingress sch_htb ipt_ULOG ip_queue nf_nat_snmp_basic nf_nat_sip nf_conntrack_sip nf_nat_rtsp nf_conntrack_rtsp nf_nat_pptp nf_conntrack_pptp nf_nat_h323 nf_conntrack_h323 nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_REDIRECT ipt_NETMAP ipt_SET ipt_set ip_set_portmap ip_set_nethash ip_set_macipmap ip_set_iptreemap ip_set_iptree ip_set_ipporthash ip_set_ipmap ip_set_iphash ip_set xt_policy xt_esp ipt_ah xt_iprange ipt_TTL xt_MARK ipt_ECN xt_CLASSIFY ipt_ttl xt_time ipt_time xt_tcpmss xt_statistic xt_mark xt_mac xt_length ipt_ecn xt_DSCP xt_dscp ipt_IMQ xt_string xt_layer7 ipt_ipp2p ipt_LOG xt_CHAOS pppoe xt_DELUDE xt_TARPIT pppox xt_quota xt_portscan xt_pkttype iptable_raw xt_NOTRACK xt_CONNMARK ipt_recent xt_helper xt_conntrack xt_connmark xt_connbytes ip6t_REJECT ip6t_LOG ip6t_IMQ ip6t_mh ip6t_eui64 ip6t_ah ip6table_raw ip6_queue ip6table_ mangle ip6table_filter ip6_tables nf_conntrack_ipv6 sit tunnel4 tun ppp_async ppp_generic slhc crc_ccitt mac80211 cfg80211
Re: [OpenWrt-Devel] Nanostation antenna selection support
whats the option disabled do ??? config 'wifi-device' 'wifi0' option 'type' 'atheros' option 'disabled' '0' On Sun, Oct 19, 2008 at 5:52 PM, Xavier Martinez [EMAIL PROTECTED] wrote: Thank you Ulf. Just one question, how do you switch on and off the diversities? Message: 1 Date: Wed, 15 Oct 2008 14:18:49 +0200 From: ulf kypke [EMAIL PROTECTED] Subject: Re: [OpenWrt-Devel] Nanostation antenna selection support To: OpenWrt Development List openwrt-devel@lists.openwrt.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 hi, i was working with the nanostations some weeks ago, the big deal with the diversity is, that the nanostations has two diversity switches, so, as fare as i know, if diversity is complete disabled, the external antenna plug is the default one. if the first diversity in on and the second diversity switch is off, the horizontal antenna is activ, if both diversity switches are on the vertical antenna is activ. 2008/10/14 Xavier Martinez [EMAIL PROTECTED]: 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 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Nanostation antenna selection support
2008/10/19 Xavier Martinez [EMAIL PROTECTED]: Thank you Ulf. Just one question, how do you switch on and off the diversities? hi xavier, well on and off may not the best words for this, general you use gpios to switch between off/on or left/right, or high/low, or 0/1. and the nanostation has two such switches and by default each switch is at position/direction... so thit is by default the external antenna plug. regards ulf ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Nanostation antenna selection support
hi, i was working with the nanostations some weeks ago, the big deal with the diversity is, that the nanostations has two diversity switches, so, as fare as i know, if diversity is complete disabled, the external antenna plug is the default one. if the first diversity in on and the second diversity switch is off, the horizontal antenna is activ, if both diversity switches are on the vertical antenna is activ. 2008/10/14 Xavier Martinez [EMAIL PROTECTED]: 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 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Nanostation antenna selection support
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
Re: [OpenWrt-Devel] Nanostation antenna selection support
On Sat, Jul 26, 2008 at 4:07 PM, Alberto Botti [EMAIL PROTECTED] wrote: Hi, I know that madwifi in OpenWrt doesn't support the Nanostation antenna selection* , but by looking at the DD-WRT changelog I've found an interesting patch antenna selection for ns2 http://svn.dd-wrt.com:8000/dd-wrt/changeset/9381 It looks like a small patch (apart from the whitespace noise) that messes with some gpio settings (of what? the board? the wireless chip?) and not directly with madwifi or the HAL. Anyone has more clues? Is a similar trick possible with OpenWrt or is DD-WRT using a different madwifi? I know I should've tried it myself but my own Nanostation still has to ship :( * the Nanostation is a low-cost router with a software selectable dual-polarity integrated antenna that appears to work only with Ubiquiti AirOS (stock OpenWrt with madwifi only enables the external connector) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel 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. Travis ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Nanostation antenna selection support
Il giorno dom, 27/07/2008 alle 13.49 -0500, Travis Kemen ha scritto: 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. Thanks for the answer. I'll try it as soon as my Nanostation arrives and hopefully prepare a patch for Kamikaze. Thanks ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel