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

    Latest snapsot wireless bridged as well as static not working

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    140 Posts 12 Posters 74.4k 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.
    • X
      xbipin
      last edited by

      /tmp/ath0_setup.sh gives

      #!/bin/sh
      # pfSense wireless configuration script.
      
      # enable shell debugging
      set -x
      /bin/ps awwuxx | grep hostapd | grep ath0 | awk '{ print $2 }' | xargs kill
      
      /sbin/ifconfig ath0 down
      /sbin/ifconfig ath0 mode '11g'
      /sbin/ifconfig ath0 channel '11'
      /sbin/ifconfig ath0 -mediaopt turbo
      /sbin/ifconfig ath0 ssid '1mbps Blazing'
      /sbin/ifconfig ath0 -hidessid
      /sbin/ifconfig ath0 -mediaopt adhoc
      /sbin/ifconfig ath0 protmode 'rtscts'
      /sbin/ifconfig ath0 mode 11g pureg
      /sbin/ifconfig ath0 -apbridge
      /sbin/ifconfig ath0 -wme
      /sbin/ifconfig ath0 authmode open wepmode off 
      /sbin/ifconfig ath0 txpower '99'
      /sbin/ifconfig ath0 mediaopt hostap
      /sbin/ifconfig ath0 mtu 1500
      /sbin/ifconfig ath0 up
      /usr/sbin/hostapd -B /var/etc/hostapd_ath0.conf
      

      and /tmp/bridge0_config gives

      /sbin/ifconfig bridge0 destroy 
      /sbin/ifconfig bridge0 create 
      /sbin/ifconfig ath0 mtu 1500 
      /sbin/ifconfig vr0 mtu 1500 
      /sbin/ifconfig ath0 up 
      /sbin/ifconfig vr0 up 
      /sbin/ifconfig bridge0  addm ath0  addm vr0  up 
      
      1 Reply Last reply Reply Quote 0
      • AhnHELA
        AhnHEL
        last edited by

        Once the bridge is successfully created and wireless is working, are both the LAN interface and wireless interface supposed to be in promiscuous mode?

        Thats what my ifconfig shows on a working system.

        Also, in the GUI, when I go to Status/Interfaces, LAN and ATH are both listed as learning in Bridge0

        AhnHEL (Angel)

        1 Reply Last reply Reply Quote 0
        • C
          covex
          last edited by

          anybody knows what happened to the "install embedded kernel" option in the LiveCD installer? I caqn't find it in 7.3

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            @onhel:

            Once the bridge is successfully created and wireless is working, are both the LAN interface and wireless interface supposed to be in promiscuous mode?

            Yes.

            1 Reply Last reply Reply Quote 0
            • AhnHELA
              AhnHEL
              last edited by

              So it looks like from xbipin's output results that even though the mtu is being set correctly with both interfaces and the bridge, the problem is that lan and ath are  just not going into promiscuous mode.

              What if they manually enable promiscuous mode:

              ifconfig vr0 promisc
              ifconfig ath0 promisc

              AhnHEL (Angel)

              1 Reply Last reply Reply Quote 0
              • C
                covex
                last edited by

                here is what it says in my ath0_setup.sh on 1.2.3 (7.2)

                #!/bin/sh
                # pfSense wireless configuration script.
                
                # enable shell debugging
                set -x
                /bin/ps awwuxx | grep hostapd | grep ath0 | awk '{ print $2 }' | xargs kill
                # Enable ATH distance settings
                /sbin/athctrl.sh -i ath0 -d '30'
                
                /sbin/ifconfig ath0 down
                /sbin/ifconfig ath0 mode '11g'
                /sbin/ifconfig ath0 channel '6'
                /sbin/ifconfig ath0 -mediaopt turbo
                /sbin/ifconfig ath0 ssid 'blackhole'
                /sbin/ifconfig ath0 -hidessid
                /sbin/ifconfig ath0 -mediaopt adhoc
                /sbin/ifconfig ath0 protmode 'rtscts'
                /sbin/ifconfig ath0 mode 11g pureg
                /sbin/ifconfig ath0 -apbridge
                /sbin/ifconfig ath0 -wme
                /sbin/ifconfig ath0 authmode open wepmode off
                /sbin/ifconfig ath0 txpower '85'
                /sbin/ifconfig ath0 mediaopt hostap
                ath0_setup.sh: unmodified: line 1
                
                

                again, just running those ifconfig commands didn't help. had to disable/enable wireless interface

                1 Reply Last reply Reply Quote 0
                • X
                  xbipin
                  last edited by

                  tried putting them in promiscuous mode but still doesn't work

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    @covex:

                    again, just running those ifconfig commands didn't help. had to disable/enable wireless interface

                    Disabling and enabling does nothing different from running the contents of ath0_setup.sh and then bridge0_config. You have to run both though.

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      tried putting wireless standalone without the bridge but with dhcp on it but still the same, atleast the older versions used to work with wireless without the bridge to the lan.

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by

                        @xbipin:

                        tried putting wireless standalone without the bridge but with dhcp on it but still the same, atleast the older versions used to work with wireless without the bridge to the lan.

                        Can you post your status.php?  I can't replicate any problems with 7 different ath cards, bridged or not. Going to need more info.

                        1 Reply Last reply Reply Quote 0
                        • C
                          covex
                          last edited by

                          Disabling and enabling does nothing different from running the contents of ath0_setup.sh and then bridge0_config. You have to run both though.

                          I don'tknow what it does but it helps  ;)

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmb
                            last edited by

                            One (or more) of you who can replicate problems, can I get remote access into your firewall? Then let me know when the problem occurs so I can log into the box and see what's happening.  If you can replicate this problem and will let me into your firewall, please email me (cmb at pfsense dot org) and reference this forum thread.

                            1 Reply Last reply Reply Quote 0
                            • X
                              xbipin
                              last edited by

                              i have mailed u with the access, plz do so asap coz i dont know how long the lease on the ip is going to be from the isp

                              1 Reply Last reply Reply Quote 0
                              • C
                                covex
                                last edited by

                                @cmb:

                                One (or more) of you who can replicate problems, can I get remote access into your firewall? Then let me know when the problem occurs so I can log into the box and see what's happening.  If you can replicate this problem and will let me into your firewall, please email me (cmb at pfsense dot org) and reference this forum thread.

                                email sent, please come in :) my ip is not changing

                                1 Reply Last reply Reply Quote 0
                                • AhnHELA
                                  AhnHEL
                                  last edited by

                                  ok, funny thing.

                                  Once booted, enter GUI and go to Interfaces/LAN

                                  Uncheck or Check Disable the Userland FTP-Proxy application

                                  Hit Save and then Apply.

                                  Bridge is working with proper MTU!

                                  I reproduced this 3 times, test on yours please.

                                  AhnHEL (Angel)

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cmb
                                    last edited by

                                    @onhel:

                                    ok, funny thing.

                                    Once booted, enter GUI and go to Interfaces/LAN

                                    Uncheck or Check Disable the Userland FTP-Proxy application

                                    Hit Save and then Apply.

                                    Bridge is working with proper MTU!

                                    I reproduced this 3 times, test on yours please.

                                    That'll do the same thing as just clicking Save without changing anything.

                                    Pretty sure I have a lead on the cause of this issue, it's some sort of FreeBSD bug, looking for a solution.

                                    1 Reply Last reply Reply Quote 0
                                    • AhnHELA
                                      AhnHEL
                                      last edited by

                                      At least we're down to a one click fix

                                      ;D

                                      AhnHEL (Angel)

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        @onhel:

                                        At least we're down to a one click fix

                                        ;D

                                        In the tests I've done on this little WRAP I have next to me, saving is what reset it to 2290 :) Not quite what I'd call a fix yet…

                                        A FreeBSD bug in hostapd is the likely culprit, as cmb said we're all hoping for a fix.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          covex
                                          last edited by

                                          Please, keep as posted on the progress  :)

                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xbipin
                                            last edited by

                                            @onhel:

                                            ok, funny thing.

                                            Once booted, enter GUI and go to Interfaces/LAN

                                            Uncheck or Check Disable the Userland FTP-Proxy application

                                            Hit Save and then Apply.

                                            Bridge is working with proper MTU!

                                            I reproduced this 3 times, test on yours please.

                                            i cant believe this, the solution is this simple, i just tried it and within less than 30 secs it started working like there was no problem at all

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