[Olsr-users] Favorite Madwifi drivers, patches and settings for Adhoc?
Outback Dingo
(spam-protected)
Mon Mar 30 05:49:29 CEST 2009
Ok I see the difference... we are using olsr-secure and only encryption on
the public AP with hostapd-mini
On Mon, Mar 30, 2009 at 10:40 AM, Sean <(spam-protected)> wrote:
> 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.
>
> Today I loaded openwrt-x86 on a spare laptop I had. It has a Compex WLM54G
> Atheros card in it.
>
> 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.
>
> (spam-protected):~# cat /etc/config/wireless
>
> config 'wifi-device' 'wifi0'
> option 'type' 'atheros'
> option 'channel' '1'
> option 'hwmode' '11g'
> option 'txpower' '18'
> option 'diversity' '0'
>
> config 'wifi-iface'
> option 'device' 'wifi0'
> option 'network' 'lan'
> option 'ssid' 'AIR802'
> option 'mode' 'adhoc'
> option 'encryption' 'psk'
> option 'key' 'mypassword'
>
> (spam-protected):~# iwconfig
> lo no wireless extensions.
>
> wifi0 no wireless extensions.
>
> br-lan no wireless extensions.
>
> ath0 IEEE 802.11g ESSID:"AIR802" Nickname:""
> Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:80:48:7F:C8:E9
> Bit Rate:0 kb/s Tx-Power=18 dBm Sensitivity=1/1
> Retry:off RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
> Link Quality=29/70 Signal level=-67 dBm Noise level=-96 dBm
> Rx invalid nwid:7 Rx invalid crypt:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
> (spam-protected):~# ps
> PID USER VSZ STAT COMMAND
> 1 root 928 S init
> 2 root 0 SW< [kthreadd]
> 3 root 0 SW< [ksoftirqd/0]
> 4 root 0 SW< [events/0]
> 5 root 0 SW< [khelper]
> 32 root 0 SW< [kblockd/0]
> 38 root 0 SW< [kseriod]
> 88 root 0 SW [pdflush]
> 89 root 0 SW [pdflush]
> 90 root 0 SW< [kswapd0]
> 91 root 0 SW< [aio/0]
> 182 root 0 SW< [mtdblockd]
> 194 root 0 SW< [kpsmoused]
> 474 root 928 S logger -s -p 6 -t
> 475 root 928 S init
> 476 root 932 S /bin/ash --login
> 489 root 940 S syslogd -C16
> 491 root 920 S klogd
> 503 root 484 S /sbin/hotplug2 --override --persistent
> --max-children
> 876 root 720 S /usr/sbin/dropbear -p 22
> 881 root 924 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt
> 964 root 776 S /usr/sbin/dropbear -p 22
> 965 root 940 R -ash
> 1336 root 928 R ps
>
> Sean
>
> Outback Dingo wrote:
>
>> its a 100% pure Ubiquiti network, using NS2 (Nanos), PicoStation2HPs,
>> LiteStations, RouterStation, Bullet2, Bullet2HP and Bullet5
>>
>> On Fri, Mar 27, 2009 at 7:18 AM, Sean <(spam-protected) <mailto:
>> (spam-protected)>> wrote:
>>
>> Cool, what hardware do you use with OpenWRT Kamikaze 8.09?
>>
>> Sean
>>
>> Outback Dingo wrote:
>> > Odd i use 8.09 on 60+ nodes deployed with ahdemo and security...
>> what
>> > issues did you see, Ive not recognized any
>> >
>> > On Fri, Mar 20, 2009 at 6:11 AM, Derek C <(spam-protected)
>> <mailto:(spam-protected)>
>> > <mailto:(spam-protected) <mailto:(spam-protected)>>> wrote:
>> >
>> > Hi Sean,
>> >
>> > I've had better luck with ahdemo mode (no network splits but no
>> > security
>> > either...).
>> >
>> > I've had lots of problems with diversity settings with various
>> > hardware
>> > including WRAP x86/CM9 cards and Ubiquiti NS2 units -I still
>> don't
>> > know
>> > what the right settings are really and sometimes setting
>> diversity
>> > to 0
>> > seems to be ignored because I see the txantenna and
>> rxantenna numbers
>> > jumping around anyway - it eventually seemed to work so I looked
>> > the other
>> > way :s.
>> >
>> > I've settled on kamikaze 8.09_rc1 (rc2 and the new stable
>> releases
>> > caused
>> > me a nightmare and lots of lost days with not being able to make
>> > one node
>> > ping a very nearby node so a problem with madwifi versions
>> maybe?)
>> > - this
>> > is weird and I should really look into it a bit more.
>> >
>> > Derek
>> >
>> >
>> > On Thu, March 12, 2009 11:55 pm, Sean wrote:
>> > > Hello,
>> > >
>> > >
>> > > I wanted to get some info on how people are implementing
>> OLSR with
>> > > Atheros chipsets and adhoc. I have been messing around with
>> > settings and
>> > > drivers. So far I have seen some improvement with
>> > madwifi-hal-testing.
>> > >
>> > >
>> >
>> http://madwifi-project.org/wiki/news/20080829/new-hal-release-for-atheros
>> > > -hardware
>> > >
>> > >
>> > > Some settings I've seen so far:
>> > > iwpriv ath0 mode 3 #force 802.11g mode iwpriv
>> > ath0 bgscan
>> > > 0 #turn off background scanning iwconfig
>> ath0 ap
>> > > 02:ca:ff:ee:ba:be #force bssid to prevent network
>> > > splits
>> > >
>> > > disable diversity (especially if you only have one connected
>> > antenna)
>> > > sysctl -w dev.wifi0.diversity=0 sysctl -w
>> dev.wifi0.txantenna=1
>> > sysctl -w
>> > > dev.wifi0.rxantenna=1
>> > >
>> > > or this, depending on your card sysctl -w
>> dev.wifi0.diversity=0
>> > sysctl -w
>> > > dev.wifi0.txantenna=2 sysctl -w dev.wifi0.rxantenna=2
>> > >
>> > > Any other drivers, patches or settings?
>> > >
>> > >
>> > > Sean
>> > >
>> > >
>> > > --
>> > > Olsr-users mailing list
>> > > (spam-protected)
>> <mailto:(spam-protected)>
>> <mailto:(spam-protected) <mailto:(spam-protected)>>
>> > > http://lists.olsr.org/mailman/listinfo/olsr-users
>> > >
>> > >
>> >
>> >
>> > --
>> > --
>> > Derek C
>> > In Ireland
>> >
>> >
>> >
>> > --
>> > Olsr-users mailing list
>> > (spam-protected) <mailto:(spam-protected)>
>> <mailto:(spam-protected) <mailto:(spam-protected)>>
>> > http://lists.olsr.org/mailman/listinfo/olsr-users
>> >
>> >
>>
>>
>> --
>> Olsr-users mailing list
>> (spam-protected) <mailto:(spam-protected)>
>> http://lists.olsr.org/mailman/listinfo/olsr-users
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20090330/b813cc17/attachment.html>
More information about the Olsr-users
mailing list