DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 31st December 2009
mayuka mayuka is offline
Fdisk Soldier
 
Join Date: Dec 2009
Posts: 64
Default problems with wifi access point

Hello.

I'm trying to build an OpenBSD wifi access point for my home office but after some trying I still have some problems. Maybe you can help me here?

I have the following wifi usb adapter:
Quote:
Dec 31 11:06:12 router /bsd: rum0 at uhub0
Dec 31 11:06:12 router /bsd: port 2 "Ralink 802.11 bg WLAN" rev 2.00/0.01 addr 3
Dec 31 11:06:13 router /bsd: rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 90:e6:ba:f0:0a:0f
first, I'm configuring the wifi network device with wpa2:
Quote:
# ifconfig rum0 192.168.2.254 255.255.255.0 media autoselect mode 11g mediaopt hostap nwid test wpa wpaprotos wpa2 wpaakms psk wpapsk `wpa-psk test password` up
ifconfig rum0 shows the following:
Quote:
# ifconfig rum0
rum0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 90:e6:ee:c0:ca:0f
priority: 4
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid test chan 2 bssid 90:e6:ba:f0:0a:0f wpapsk 0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx wpaprotos wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip 100dBm
inet 192.168.2.254 netmask 0xffffff00 broadcast 255.255.255.0
inet6 fe80::92e6:baff:fef0:a0f%rum0 prefixlen 64 scopeid 0x7
after that, the following kernel massage appears, should I worry about that?
Quote:
Dec 31 11:36:55 router /bsd: ehci_idone: ex=0xe0328a00 is done!
then, I'm starting dhcpd which listens on rum0 with the following config:
Quote:
option subnet-mask 255.255.255.0;
default-lease-time 7200;
max-lease-time 14400;
authoritative;
subnet 192.168.2.0 netmask 255.255.255.0 {
option broadcast-address 192.168.2.255;
option routers 192.168.2.254;
option domain-name-servers xxx.xxx.xxx.xxx;
range 192.168.2.101 192.168.2.105;
}
So far so good. I configured the pf firewall to pass all traffic from or to rum0 for the time being and change that later. I added NAT on rum0.

Do I need hostapd?
My firewall shows some igmp traffic. Is that necessary?

When I'm connecting a client (my iphone or an old apple laptop) to the wifi network it correctly connects and I can browse the web, but every 10 seconds the interface re-initializes (shuts down and connects immediately). Every 10 sec dhcp requests from the client and ACKs from my router will appear. There seems to be something wrong here...
Quote:
Dec 31 11:18:50 router dhcpd[19526]: DHCPREQUEST for 192.168.2.102 from 00:33:36:3f:dc:b2 via rum0
Dec 31 11:18:50 router dhcpd[19526]: DHCPACK on 192.168.2.102 to 00:33:36:3f:dc:b2 via rum0
Dec 31 11:19:01 router dhcpd[19526]: DHCPREQUEST for 192.168.2.102 from 00:33:36:3f:dc:b2 via rum0
Dec 31 11:19:01 router dhcpd[19526]: DHCPACK on 192.168.2.102 to 00:33:36:3f:dc:b2 via rum0
Dec 31 11:19:14 router dhcpd[19526]: DHCPREQUEST for 192.168.2.102 from 00:33:36:3f:dc:b2 via rum0
Dec 31 11:19:14 router dhcpd[19526]: DHCPACK on 192.168.2.102 to 00:33:36:3f:dc:b2 via rum0
Any help would be gladly appreciated.

And I happy new year to all of you!
Reply With Quote
 

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
Wireless NIC for access point dewarrn1 FreeBSD General 1 15th September 2009 11:01 PM
How do I edit my .profile to permanently have an ftp site to point to badguy OpenBSD Packages and Ports 12 19th July 2009 02:05 AM
OpenBSD Wi-Fi acces point LordZ OpenBSD General 4 18th October 2008 10:33 AM
Point-to-Point VPN + Firewall + Router (sorta) - What should I use? Bruco FreeBSD General 6 5th July 2008 11:09 PM
Configuring a wireless access point Serge FreeBSD General 6 6th June 2008 04:07 PM


All times are GMT. The time now is 01:35 PM.


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