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 10th March 2011
sws sws is offline
Port Guard
 
Join Date: Mar 2011
Posts: 12
Default Wifi with atheros chipset AR9280

Hi,

I am trying to get a wifi access point running on my SOHO-server, OpenBSD 4.8, Netfinity 3000. The server acts as a gateway and firewall to a dsl-router. IP is 192.1687.0.20. Connection to the internet passes through OpenVPN (tun0). The intranet is configured with subnet 192.168.0.0. So nothing really strange there (I hope).

Card TP-Link TL-WN851N is recognized on system bootup:

Quote:
athn0 at pci0 dev 16 function 0 "Atheros AR9280" rev 0x01: irq 11, address 74:ea:3a:f3:05:39
athn0: AR9280 rev 2 (2T2R), ROM rev 16
Configuring device works as well in /etc/hostname.athn0:

Quote:
up media autoselect mediaopt hostap mode 11g chan 11 nwid FreiKINO wpa wpapsk $(wpa-psk FreiKINO password)
inet 192.168.0.50
Device can be seen up and running:
# ifconfig athn0:

Quote:
athn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 74:ea:3a:f3:05:39
priority: 4
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid FreiKINO chan 11 bssid 74:ea:3a:f3:05:39 wpapsk xxxxxxxxx wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
inet6 fe80::76ea:3aff:fef3:539%athn0 prefixlen 64 scopeid 0x2
inet 192.168.0.50 netmask 0xffffff00 broadcast 192.168.0.255
To connect devices coming in from the access point I configured a dhcpd server pointing on the wifi device athn0.

My /etc/dhcpd.conf:

Quote:
option domain-name "my.net";
option domain-name-servers xxx.xxx.xxx.xxx;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.20;
range 192.168.0.100 192.168.0.150;
}

But now problems arise:

1. I cannot ping the wifi card. And it doesn't matter if dhcpd is running or not.

Quote:
ping: sendto: Host is down
ping: wrote 192.168.0.50 64 chars, ret=-1
--- 192.168.0.50 ping statistics ---
9 packets transmitted, 0 packets received, 100.0% packet loss
2. Every time I start dhcpd

# dhcpd athn0

it tries to give IP-Adresses to every network device on the net. Thus my openvpn connection breaks down and routing dies.

Where is the missing link? Any help appreciated.

Greets,
Sebastian
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
Bug in libdrm with intel 865G chipset. Svejk OpenBSD General 5 14th November 2010 11:05 PM
Atheros Wifi NetBSD on a Sparc64 granowski NetBSD General 1 27th September 2010 11:35 AM
Trouble with atheros AR9280 slack_eater OpenBSD General 0 31st August 2010 09:41 PM
Guide: Atheros ar5007 wifi cards in freebsd7 Dazhelpwiz FreeBSD Installation and Upgrading 3 16th June 2008 02:23 AM
Losing connection with Atheros wifi noonereallycares FreeBSD General 2 11th June 2008 03:57 AM


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


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