Netgate m1n1wall

Author Topic: Atheros wireless driver in pfsense 2.1  (Read 9388 times)

0 Members and 1 Guest are viewing this topic.

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Atheros wireless driver in pfsense 2.1
« on: March 10, 2012, 03:24:57 pm »
pfSense 2.1 is based on FreeBSD 8.3
In FreeBSD 9.0 added support new cards
Developer Adrian says
Quote
I've committed the AR9287 support to -HEAD. It'll be there for 9.0-RELEASE.

No, I don't have any plans to backport the code to 8-STABLE; but I know that the code compiles and works on -8. You can just checkout sys/dev/ath, sys/modules/ath, sys/modules/ath_pci, build ath/ath_pci modules and enjoy the updated support.
http://forums.freebsd.org/archive/index.php/t-23722.html

Can you replace ath driver to new ?

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #1 on: March 27, 2012, 02:52:46 am »
I compiled modules and kernel
with new kernel and loaded if_ath_pci.ko
pfsense found pci wifi module
but internet not working and generate spam "l2tp loop" in logs

with old kernel and loaded modules if_ath.ko and if_ath_pci.ko
pfsense not seeng wifi module "none1@pci"

modules http://depositfiles.com/files/a7fjfg95g

kernel nano_vga http://depositfiles.com/files/ildv2fc1z

Offline david2803

  • Jr. Member
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #2 on: May 10, 2012, 12:56:52 am »
Greetings, post some pictures to see if this new version of pfSense can repair this problem with atheros support, I have installed this new version, pfSense 2.1. however the problem still persists as previous versions.

Please repair this situation will improve in 2.1 atheros support.

excuse my English, I use google translator. I'm from Venezuela

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #3 on: May 15, 2012, 09:41:52 pm »
Atheros driver from freebsd 9.0 compiles and works on pfsense
But in kernels that I maked has been broken pfctl
and full image creation stops on php

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8177
  • Karma: +12/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #4 on: May 22, 2012, 07:09:31 am »
Perhaps I'm missing something here but do you need to re-build the kernel?

Adrian (the ath author) recently said:
Hi,

FWIW, I've just committed a fix that lets one run the -HEAD ath(4) driver on an 8.x tree.

It should support all the ath(4) NICs in non-802.11n modes.

Maybe that'll help the pfsense team in releasing some more up to date wifi support, at least before they migrate to 9.x :-)


Steve

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #5 on: May 29, 2012, 07:05:55 am »
Perhaps I'm missing something here but do you need to re-build the kernel?

Steve

Yes, need i386 wrap_vga (nanobsd_vga) kernel

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #6 on: June 23, 2012, 03:34:26 pm »
I create image with atheros freebsd 9.0 driver
all works except wifi n mode

using tusl2-c with Pentium III-S 1400MHz CPU 512mb sdram
intel 100 and realtek 1000 Ethernet
and Tplink TL-WN751ND wifi adapter

http://dl.dropbox.com/u/75811597/pfSense-2.0-RELEASE-4g-i386-nanobsd_vga-20120622-2140-ath.img.gz
http://dl.dropbox.com/u/75811597/pfSense-2.0-RELEASE-4g-i386-nanobsd_vga-upgrade-20120622-2140-ath.img.gz


pfSense 2.0.2-RC2 (i386)
Code: [Select]
kernel: ath0: <Atheros 9287> mem 0xdd000000-0xdd00ffff irq 20 at device 12.0 on pci2
kernel: ath0: [ITHREAD]
kernel: ath0: AR9287 mac 384.2 RF5133 phy 15.15

need add in /boot/loader.conf
Code: [Select]
if_ath_load=yes
if_ath_pci_load=yes

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #7 on: July 25, 2012, 07:59:55 pm »
tested with Rosewill RNX-N360PC
Code: [Select]
kernel: ath0: <Atheros 5416> mem 0xdd000000-0xdd00ffff at device 12.0 on pci2
kernel: ath0: [ITHREAD]
kernel: ath0: AR5416 mac 13.10 RF2133 phy 8.1

Offline ermal

  • Administrator
  • Hero Member
  • *****
  • Posts: 3365
  • Karma: +3/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #8 on: July 27, 2012, 04:54:35 am »
I will add it to 2.1 since have tested myself and works better.

Offline stephenw10

  • Hero Member
  • *****
  • Posts: 8177
  • Karma: +12/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #9 on: July 27, 2012, 05:00:00 am »
That's excellent news for many people.  :)

Steve

Offline ermal

  • Administrator
  • Hero Member
  • *****
  • Posts: 3365
  • Karma: +3/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #10 on: July 27, 2012, 02:27:17 pm »
Done should be on later snapshots.

Offline DigitalSpirit

  • Jr. Member
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #11 on: August 02, 2012, 03:10:00 pm »
new snapshot pfSense don't seeing wifi
Code: [Select]
2.1-BETA0 (amd64)
built on Thu Aug 2 03:21:59 EDT 2012
FreeBSD 8.3-RELEASE-p3
Code: [Select]
none3@pci0:5:3:0:       class=0x028000 card=0x3071168c chip=0x0023168c rev=0x01 hdr=0x00
    class      = network
    bar   [10] = type Memory, range 32, base 0xfebf0000, size 65536, enabled
    cap 80[40] = unknown
    cap 00[80] = unknown

probably need include to kernel if_ath_pci module

Offline Waldemar

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #12 on: August 06, 2012, 07:55:25 am »
Yes unfortunately mine is not seeing the atheros interface either :(

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 14998
  • Karma: +4/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #13 on: August 08, 2012, 12:14:43 pm »
This should be OK now for the last couple days.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline Kevin666

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Atheros wireless driver in pfsense 2.1
« Reply #14 on: April 08, 2013, 09:33:56 pm »
i want to get a AR9287 to run in hostap mode, does it work with the current beta still? or should i get another card