Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    TL-WN422G working on pf sense 2.0.1 ?

    Scheduled Pinned Locked Moved Hardware
    19 Posts 3 Posters 7.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bmironb
      last edited by

      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>

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • B
          bmironb
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @bmironb:

            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.

            @bmironb:

            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?

            1 Reply Last reply Reply Quote 0
            • B
              bmironb
              last edited by

              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 = 0x0001

              Do 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>

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                @bmironb:

                idVendor = 0x0cf3
                 idProduct = 0x1006

                That 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

                1 Reply Last reply Reply Quote 0
                • B
                  bmironb
                  last edited by

                  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

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • W
                        wallabybob
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bmironb
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • B
                            bmironb
                            last edited by

                            steve please if you can post some pictures of your built antenna ?:D thanks

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.