DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Security

FreeBSD Security Securing FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th June 2008
Malinda Malinda is offline
New User
 
Join Date: Jun 2008
Posts: 6
Thanked 0 Times in 0 Posts
Default Dual ath cards with WPA2 in hostapd?

Hi!

I testing to configure FreeBSD with two ath WiFi cards and everything working in rc.conf. Both SSID is working om different channels that I want, and I can connect.

But I can only get one card to work with WPA2. I have Google a lot and can't fine how to get dual card in hostapd.conf.

I have a standard hostapd.conf file today:

interface=ath0
driver=bsd
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
debug=3
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
#### IEEE 802.11 related config ####
ssid=MY_SSID_1
macaddr_acl=0
auth_algs=1
#### IEEE 802.1X related config ####
ieee8021x=0
#### WPA/IEEE 802.11i config #####
wpa=1
wpa_passphrase=MY_KEY
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP


Of cause this will only work on ath0, not on ath1. But how can I put in my other WiFi card, ath1 in the hostapd.conf so I can have both card working.

And.. later I will test with a Radius server. Some strange there with dual WPA2 support in hostapd.conf?

/Malinda
__________________
Yes! I'am a girl...
Reply With Quote
  #2   (View Single Post)  
Old 4th June 2008
davidgurvich davidgurvich is offline
Fdisk Soldier
 
Join Date: May 2008
Location: NYC
Posts: 57
Thanked 3 Times in 3 Posts
Default

I think you need to use bridge. Try configuring one interface at a time. Then when that works as you wish, configure bridge.
Reply With Quote
  #3   (View Single Post)  
Old 4th June 2008
Malinda Malinda is offline
New User
 
Join Date: Jun 2008
Posts: 6
Thanked 0 Times in 0 Posts
Default

Hi!

I use NAT and pf on the two WiFi cards to a Ethernet network card, and that work perfect!

The problem is that I only know how to set WPA2 on one WiFi card. The second is open.

I can bridge all cards, but I will be the same problem, I don't know how to configure the hostapd.conf to dual WPA2.

/Malinda
__________________
Yes! I'am a girl...
Reply With Quote
  #4   (View Single Post)  
Old 6th June 2008
forneus's Avatar
forneus forneus is offline
New User
 
Join Date: May 2008
Location: Poland
Posts: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Malinda View Post

#### WPA/IEEE 802.11i config #####
wpa=1
wpa_passphrase=MY_KEY
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
from /usr/share/examples/hostapd/hostapd.conf:
Code:
# This field is a bit field that can be used to enable WPA (IEEE 802.11i/D3.0)
# and/or WPA2 (full IEEE 802.11i/RSN):
# bit0 = WPA
# bit1 = IEEE 802.11i/RSN (WPA2) (dot11RSNAEnabled)
#wpa=1
You should use wpa=2 for WPA2.
Reply With Quote
  #5   (View Single Post)  
Old 8th June 2008
Malinda Malinda is offline
New User
 
Join Date: Jun 2008
Posts: 6
Thanked 0 Times in 0 Posts
Default

Oh! I did change that! The first post I write 1, that I change. Hmm..
but it should be 2 that you sad.
__________________
Yes! I'am a girl...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
hostapd on new install issue? geekswordsman OpenBSD Packages and Ports 36 2nd May 2009 01:38 AM
OpenBSD and ATI cards h5n1 OpenBSD General 3 29th October 2008 12:46 PM
recommended 802.11a/b/g/n wireless cards hamba General Hardware 3 27th October 2008 07:43 PM
2 Video Cards, 2 Monitors Braveheart_BSD FreeBSD General 3 23rd July 2008 11:55 AM
WPA2, crackable? Sunnz General software and network 2 7th July 2008 10:17 PM


All times are GMT. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick