LAN Driver, Qualcomm Atheros AR8171
-
Hi,
The VM that I used to build it was PC-BSD … a completely separate machine (with all the needed build tools, those don't come with pfSense).
Hope that helps!
-
Hi arrmo,
thx for your help, I tried to compile the driver under PC-BSD, it compiled but when I try to load the module on pfSense I have a Exec Format Error.
Edit : my fault, I do not have taken the PC BSD release corresponding to FRee BSD 8.3 but the latest. I will try again tomorrow. -
Hi,
I finally suceeded compiling the driver under FreebSD 8.3 on VM, including stdbool.h in alx_hw.h. My Atheros AR8171 is now recognized by pfSense. Thanks for your help :) -
Excellent, glad to hear it. Have fun!
-
Well, maybe I've spoken too fast… The ethernet interface is recognized, but trying to connect it, I see "statuts : no carrier" when I do a ifconfig on alx0, even if it's directly plugged to a SFRBox with a ethernet wire. I will continue to search why I have this issue
-
Hmm, disappointing. Do you see link leds at either end?
-
Yes, leds are ON on the box and the pfSense, blinking from time to time.
-
Very odd … :(. Seems like it's up, but seems to say no. What does media say (under ifconfig)?
-
With 2.2 just around the corner (hopefully) at this point I have to say it's probably not worth putting too much effort into. Just run 2.2RC with the other kernel module.
Since the alx driver was developed against FreeBSD 10 it may require significant backporting to make it work with 8.3. :-\Steve
-
Hello,
as you suggested, I switched on pfSense 2.2 RC on my machine. I tried to compile the driver under VM with FreeBSD 10.1, it compiled well but the kldload didn't work, so I took the one provided by arrmo, and this time it works : the alx0 have a dhcp lease when plugged to a SFR Box. Now I will perform tests to verify tu upload and download ratio ;)EDIT : I configured my network as I planned (Captive portal + Freeradius + external MySQL database), and the debit, when I'm the only client, is almost the same as a connection not passing through pfSense. I built this for a LAN party in March, so i'll see in a few month if the custom driver bear the load ;)
Anyway, thx for your help and advices !