Ok I see the difference... we are using olsr-secure and only encryption on the public AP with hostapd-mini<br><br><div class="gmail_quote">On Mon, Mar 30, 2009 at 10:40 AM, Sean <span dir="ltr"><<a href="mailto:knife@toaster.net">knife@toaster.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Interesting. You may want to make sure that it is actually doing encryption. If it is doing encryption I am very curious how you have gotten it to work.<br>
<br>
Today I loaded openwrt-x86 on a spare laptop I had. It has a Compex WLM54G Atheros card in it.<br>
<br>
I got it all set up and working without encryption. Then in the luci gui I set encryption to WPA-PSK. Rebooted, and looking at the process list there is no wpa_supplicant or hostapd. Also there is no encryption key when I ran iwconfig. It connects to an open adhoc node. Digging further, it looks like /lib/wifi/madwifi.sh will only set up encryption for ap, wpa, and sta modes. Also, /lib/wifi/wpa_supplicant.sh seems to not have the necessary key-mgmt=WPA-NONE needed for adhoc. Below is my output.<br>
<br>
root@OpenWrt:~# cat /etc/config/wireless<br>
<br>
config 'wifi-device' 'wifi0'<br>
option 'type' 'atheros'<br>
option 'channel' '1'<br>
option 'hwmode' '11g'<br>
option 'txpower' '18'<br>
option 'diversity' '0'<br>
<br>
config 'wifi-iface'<br>
option 'device' 'wifi0'<br>
option 'network' 'lan'<br>
option 'ssid' 'AIR802'<br>
option 'mode' 'adhoc'<br>
option 'encryption' 'psk'<br>
option 'key' 'mypassword'<br>
<br>
root@OpenWrt:~# iwconfig<br>
lo no wireless extensions.<br>
<br>
wifi0 no wireless extensions.<br>
<br>
br-lan no wireless extensions.<br>
<br>
ath0 IEEE 802.11g ESSID:"AIR802" Nickname:""<br>
Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:80:48:7F:C8:E9<br>
Bit Rate:0 kb/s Tx-Power=18 dBm Sensitivity=1/1<br>
Retry:off RTS thr:off Fragment thr:off<br>
Encryption key:off<br>
Power Management:off<br>
Link Quality=29/70 Signal level=-67 dBm Noise level=-96 dBm<br>
Rx invalid nwid:7 Rx invalid crypt:0 Rx invalid frag:0<br>
Tx excessive retries:0 Invalid misc:0 Missed beacon:0<br>
<br>
root@OpenWrt:~# ps<br>
PID USER VSZ STAT COMMAND<br>
1 root 928 S init<br>
2 root 0 SW< [kthreadd]<br>
3 root 0 SW< [ksoftirqd/0]<br>
4 root 0 SW< [events/0]<br>
5 root 0 SW< [khelper]<br>
32 root 0 SW< [kblockd/0]<br>
38 root 0 SW< [kseriod]<br>
88 root 0 SW [pdflush]<br>
89 root 0 SW [pdflush]<br>
90 root 0 SW< [kswapd0]<br>
91 root 0 SW< [aio/0]<br>
182 root 0 SW< [mtdblockd]<br>
194 root 0 SW< [kpsmoused]<br>
474 root 928 S logger -s -p 6 -t<br>
475 root 928 S init<br>
476 root 932 S /bin/ash --login<br>
489 root 940 S syslogd -C16<br>
491 root 920 S klogd<br>
503 root 484 S /sbin/hotplug2 --override --persistent --max-children<br>
876 root 720 S /usr/sbin/dropbear -p 22<br>
881 root 924 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt<br>
964 root 776 S /usr/sbin/dropbear -p 22<br>
965 root 940 R -ash<br>
1336 root 928 R ps<br>
<br>
Sean<br>
<br>
Outback Dingo wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
its a 100% pure Ubiquiti network, using NS2 (Nanos), PicoStation2HPs, LiteStations, RouterStation, Bullet2, Bullet2HP and Bullet5<br>
<br></div><div class="im">
On Fri, Mar 27, 2009 at 7:18 AM, Sean <<a href="mailto:knife@toaster.net" target="_blank">knife@toaster.net</a> <mailto:<a href="mailto:knife@toaster.net" target="_blank">knife@toaster.net</a>>> wrote:<br>
<br>
Cool, what hardware do you use with OpenWRT Kamikaze 8.09?<br>
<br>
Sean<br>
<br>
Outback Dingo wrote:<br>
> Odd i use 8.09 on 60+ nodes deployed with ahdemo and security...<br>
what<br>
> issues did you see, Ive not recognized any<br>
><br>
> On Fri, Mar 20, 2009 at 6:11 AM, Derek C <<a href="mailto:derekolsr@hssl.ie" target="_blank">derekolsr@hssl.ie</a><br>
<mailto:<a href="mailto:derekolsr@hssl.ie" target="_blank">derekolsr@hssl.ie</a>><br></div><div><div></div><div class="h5">
> <mailto:<a href="mailto:derekolsr@hssl.ie" target="_blank">derekolsr@hssl.ie</a> <mailto:<a href="mailto:derekolsr@hssl.ie" target="_blank">derekolsr@hssl.ie</a>>>> wrote:<br>
><br>
> Hi Sean,<br>
><br>
> I've had better luck with ahdemo mode (no network splits but no<br>
> security<br>
> either...).<br>
><br>
> I've had lots of problems with diversity settings with various<br>
> hardware<br>
> including WRAP x86/CM9 cards and Ubiquiti NS2 units -I still<br>
don't<br>
> know<br>
> what the right settings are really and sometimes setting<br>
diversity<br>
> to 0<br>
> seems to be ignored because I see the txantenna and<br>
rxantenna numbers<br>
> jumping around anyway - it eventually seemed to work so I looked<br>
> the other<br>
> way :s.<br>
><br>
> I've settled on kamikaze 8.09_rc1 (rc2 and the new stable<br>
releases<br>
> caused<br>
> me a nightmare and lots of lost days with not being able to make<br>
> one node<br>
> ping a very nearby node so a problem with madwifi versions<br>
maybe?)<br>
> - this<br>
> is weird and I should really look into it a bit more.<br>
><br>
> Derek<br>
><br>
><br>
> On Thu, March 12, 2009 11:55 pm, Sean wrote:<br>
> > Hello,<br>
> ><br>
> ><br>
> > I wanted to get some info on how people are implementing<br>
OLSR with<br>
> > Atheros chipsets and adhoc. I have been messing around with<br>
> settings and<br>
> > drivers. So far I have seen some improvement with<br>
> madwifi-hal-testing.<br>
> ><br>
> ><br>
> <a href="http://madwifi-project.org/wiki/news/20080829/new-hal-release-for-atheros" target="_blank">http://madwifi-project.org/wiki/news/20080829/new-hal-release-for-atheros</a><br>
> > -hardware<br>
> ><br>
> ><br>
> > Some settings I've seen so far:<br>
> > iwpriv ath0 mode 3 #force 802.11g mode iwpriv<br>
> ath0 bgscan<br>
> > 0 #turn off background scanning iwconfig<br>
ath0 ap<br>
> > 02:ca:ff:ee:ba:be #force bssid to prevent network<br>
> > splits<br>
> ><br>
> > disable diversity (especially if you only have one connected<br>
> antenna)<br>
> > sysctl -w dev.wifi0.diversity=0 sysctl -w<br>
dev.wifi0.txantenna=1<br>
> sysctl -w<br>
> > dev.wifi0.rxantenna=1<br>
> ><br>
> > or this, depending on your card sysctl -w<br>
dev.wifi0.diversity=0<br>
> sysctl -w<br>
> > dev.wifi0.txantenna=2 sysctl -w dev.wifi0.rxantenna=2<br>
> ><br>
> > Any other drivers, patches or settings?<br>
> ><br>
> ><br>
> > Sean<br>
> ><br>
> ><br>
> > --<br>
> > Olsr-users mailing list<br>
> > <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a><br>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a>><br></div></div>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a> <mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a>>><div class="im">
<br>
> > <a href="http://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
> ><br>
> ><br>
><br>
><br>
> --<br>
> --<br>
> Derek C<br>
> In Ireland<br>
><br>
><br>
><br>
> --<br>
> Olsr-users mailing list<br>
> <a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a> <mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a>><br></div>
<mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a> <mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a>>><div class="im">
<br>
> <a href="http://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
><br>
><br>
<br>
<br>
--<br>
Olsr-users mailing list<br></div><div class="im">
<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a> <mailto:<a href="mailto:Olsr-users@lists.olsr.org" target="_blank">Olsr-users@lists.olsr.org</a>><br>
<a href="http://lists.olsr.org/mailman/listinfo/olsr-users" target="_blank">http://lists.olsr.org/mailman/listinfo/olsr-users</a><br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>