TL-WN422G working on pf sense 2.0.1 ?
-
Hello, i have a home router based on pfsense 2.0.1 version , it's working great only that i just buy an usb adapter tl-wn422g (tp-link) with atheros 5007UG chipset, sistem detects this adapter on usb but when i try to assigned as an interface is not in the list :( what can be the problem ? driver …i want to know if is some possibilty for this adapter to work on my sistem, as a device is working great on windows, i chose pf sense because i have 2 isp's at home and i configured allredy 2 ppoe conections one is allredy as a gateway for lan and another ppoe connection should be for wifi but wit this adapter problem i don't know what to do ? wich are other firewalls that can supports this adapter, monowall or ipcop i could swich on those but i will lose multi wan option :( (sorry for my pour english), thanks,have a nice evening !
-
Please post any relevant lines from /var/log/dmesg.boot or anything that appears on the console when you plug the device in.
Steve
-
sistem detects this adapter on usb but when i try to assigned as an interface is not in the list
Did you remember to add a pfSense interface? (On Interfaces -> (assign) on the Interface Assignments tab there is probably a "+" at the bottom for the system interface that has not yet been assigned to pfSense, click the "+" to get a new pfSense OPTx interface then Save. See the first part of http://doc.pfsense.org/smiller/Add_WiFi_Interface.htm for an animation.)
-
If this is the same as this:
@http://forum.pfsense.org/index.php/topic:ugen1.2: <usb2.0 wlan="" atheros="">at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ff
bDeviceSubClass = 0x00ff
bDeviceProtocol = 0x00ff
bMaxPacketSize0 = 0x0040
idVendor = 0x0cf3
idProduct = 0x1006
bcdDevice = 0x0108
iManufacturer = 0x0010 <atheros>iProduct = 0x0020 <usb2.0 wlan="">iSerialNumber = 0x0030 <12345>
bNumConfigurations = 0x0001</usb2.0></atheros></usb2.0>Then it's still not supported in the most recent FreeBSD source code: here.
It seems, from some brief Googling, that Atheros bought out Zydas Technology and simply re-branded their USB wifi chip as the 5007UG.
I would think that it may be possible to have ths functioning if the IDs were added to the zyd(4) driver but almost certainly only in client mode.Steve
Edit: Hmm, it seems actually far more complex and still not supported!
Edit2: Then again:
@http://linuxwireless.org/en/users/Drivers/zd1211rw:In May 2007, Atheros rebranded the ZD1211B chip but don't appear to have made other changes. The new chip name is Atheros AR5007UG (alternatively known as AR2524/AR5524). The hardware is supported by the current driver in recent kernel releases.
Which is supported by the zyd(4) driver.
-
If you want your pfSense to operate as a wireless access point I suggest you get a TP-Link WN321G instead. Access point mode is supported on that device. A small tweak may be required if you get a "v2" WN321G.
It appears there is a WN422G v1 which has the rebadged Zydas chipset and a WN422G v2 which has an Atheros AR9002U chipset. From the USB IDs it appears the device of which Steve posted details has the Atheros AR9002 chipset.
-
hi, when i insert usb device tp link i get this : ugen3.2: <atheros>at usbus3 , it's not showing if is on or of or other features in console , but what i notticed when sistem is starting: when detects all devices it detects atheros wlan on specified usb , but i can't read fast enough exactlly the message, last night i tried : ubuntu->doesen't detect device , zeroshell same, monowall same, ipcop same, i've run/install this sistems to see if one of those detects but with no results, right now i configured sistem again with pfsense 2.0.1 it's working great ! with 1 lan , 2 wans interfaces, what can i do with this usb device ? it seems like freebsd doesen't want to recognized it, in console i don't know root commands too see status or other featurs , i notticed that in diagnostics menu i have command prompt i say this because my sistem is in another room with connections/without monitor/keyboard wired i have to move it to have acces from console, i think i will have no chance with this device to work as a wifi interface on pfsense or others freebsd firewall/routing sistems also last night i tried after ubuntu….monowall and others listed up , to install win server 2003 but it's hard to make routing and cosume a lot of resources, pf sense i great, only that in suported boards/usb before i buy this usb device i saw ahteros as suported. I will came with some pictures regarding setup in console for usb device.
Also if someone will want to help me in dashboard or if from there we can do something , i have vpn :D (can provide user/pasw/external ip to connect)
Have a nice day ! </atheros> -
As Wallabybob pointed out the TL-WN422G exists in, at least, two versions with different chips. Neither of which is supported by pfSense 2.0.X without modification. Given that Ubuntu didn't recognise it I expect it's a version 1 since version2 should be supported.
Plug in the adapter and type at the console: usbconfig
You should see something like:
[2.0-RC3][root@pfsense.fire.box]/root(3): usbconfig ugen0.1: <uhci root="" hub="" intel="">at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: <uhci root="" hub="" intel="">at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: <ehci root="" hub="" intel="">at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON</ehci></uhci></uhci>
Except your output will include details of your wifi adapter.
Steve
-
ok, without modification of what ? driver included
In comand prompt , menu->diagnostics
$ usbconfig
ugen0.1: <uhci root="" hub="" via="">at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <uhci root="" hub="" via="">at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <uhci root="" hub="" via="">at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <ehci root="" hub="" via="">at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen3.2: <usb2.0 wlan="" atheros="">at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON</usb2.0></ehci></uhci></uhci></uhci> -
If it's a TL-WN422Gv2 then its would take a massive effort to make it work. That chip isn't even supported in the latest FreeBSD code.
If it's a TL-WN422Gv1, and it really is simply a re-branded Zydas chip, then it may be possible to add the USB IDs to the driver and recompile it.
Steve
-
ok , i just posted up the results of usbconfig , but how do i know if is v2 or v1 , and regarding recompiling i have a little experience of what that means from c sharp but in free bsd i have no ideea
-
what can i do with this usb device ?
Put it in a Linux system or a Windows system. If it has the Zydas chipset it is supported by pfSense zyd driver BUT Access Point mode is not supported by the zyd driver. (I suspect you will want it to support Access Point mode.) If your device has the Atheros AR 9002U chipset it is not supported by FreeBSD and hence it is not supported by pfSense.
The pfSense shell command usbconfig dump_device_desc will display a lot information including identification information for the chipset in your NIC, but the chipset is irrelevant if you need AP mode.
before I buy this usb device i saw ahteros as suported.
That was probably referring to PCI and PCI Express devices, not USB devices.
Was there a particular reason you purchased the WN422G? (Atheros chipset? detachable antenna?)
Do you need a WiFi NIC that supports Access Point mode?
-
yes i wanted to work as a ap, and yes is with detachable antenna :D ok then is totally irellevant if is not working at all as ap, even if we add driver
result :(without others usb ports status)
ugen3.2: <usb2.0 wlan="" atheros="">at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x00ff
bDeviceSubClass = 0x00ff
bDeviceProtocol = 0x00ff
bMaxPacketSize0 = 0x0040
idVendor = 0x0cf3
idProduct = 0x1006
bcdDevice = 0x0108
iManufacturer = 0x0010 <atheros>iProduct = 0x0020 <usb2.0 wlan="">iSerialNumber = 0x0030 <12345>
bNumConfigurations = 0x0001Do you need a WiFi NIC that supports Access Point mode?
Recomand me another usb device wifi that works 100% in pf sense and as ap (usb because i don't have another pci slot free, reason : 1 lan and 2 wans , the included motherboard nic is not working it always have :ff:ff:ff:ff:ff mac also in windows and pfsense)</usb2.0></atheros></usb2.0>
-
idVendor = 0x0cf3
idProduct = 0x1006That looks like the v2 device with the later chipset. I think that's game over! :(
See Wallabybob's suggestion above for a supported card or look through this:
https://docs.google.com/spreadsheet/ccc?key=0AojFUXcbH0ROdHgwYkFHbkRUdV9hVWljVWl5SXkxbFE&hl=en#gid=1
Steve
-
Ok, thanks a lot for your help !
Can please post a 100% working model ? that table is not relevant for me, i'm just a begginer
With this tp link i wil build : http://www.google.ro/imgres?q=parabolic+wifi&um=1&hl=ro&sa=N&biw=1400&bih=955&tbm=isch&tbnid=zkueLhudVpUcbM:&imgrefurl=http://w3bguru.com/wiffy-extreme/&docid=UD28K76_lrfFHM&imgurl=http://w3bguru.com/wiffy-extreme/wiffy-pic.jpg&w=640&h=427&ei=Qmz8TvCXLOb44QS8mMCNCA&zoom=1&iact=rc&dur=701&sig=115043024100348099287&page=1&tbnh=136&tbnw=189&start=0&ndsp=33&ved=1t:429,r:0,s:0&tx=80&ty=49
-
http://www.dealextreme.com sell a USB WiFi NIC with detachable antenna and chipset reported as Ralink chipset supported by run driver so AP mode probably works on it. SKU is 24688 and cost is US$9.05. I have no experience with that device. I have used the devices I have previously suggested but neither of them has a detachable antenna.
-
That looks like a fun project! :)
What sort of range do you hope to acheive?
Do you need to use AP mode if you are setting up a wifi link?
I think I still have my home built cantenna around here somewhere.Steve
-
For a long distance point to point link something like a Ubiquity Nano Bridge M2 or Ubiquity Nano Bridge M5 or MicroTik SXT-5HnD might give good results (claimed 10s of Mbps over distances of more than 50km) with minimal fuss. They have high gain inbuilt antennas and should just plug straight into a switch or pfSense port. But you possibly wouldn't learn nearly as much as you would from putting together your own dish based system. I have no experience with those devices.
-
sincerlly i want to trie to build that from lomg time a go , i have a big antena parabolic outside and right now i have also an usb adapter :D first i will wired to pc on windows , i will have an usb hub and like 10 15 m of usb cable i know that is working on this lenght because i tried allredy a long time ago with usb web cam :D
-
steve please if you can post some pictures of your built antenna ?:D thanks