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 72.3k 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.
    • C
      cmb
      last edited by

      @xbipin:

      i have tried it with 7.2 and its the same, doesnt work in spite of me playing with almost all settings in the gui as well as using those commands, the mtu shows as it used to in 7.1

      what do your /tmp/ath0_setup.sh and /tmp/bridge0_config files contain?  What is the result if you run those commands manually?

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

        this is what i get when i enable wireless from the GUI initially and in which wireless clients cant get ip using dhcp as well as manually configuring cant surf

        $ ifconfig -a
        vr0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:84
        	inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        	inet6 fe80::20d:b9ff:fe13:4784%vr0 prefixlen 64 scopeid 0x1 
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        vr1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:85
        	inet6 fe80::20d:b9ff:fe13:4785%vr1 prefixlen 64 scopeid 0x2 
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        vr2: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:86
        	media: Ethernet autoselect (none)
        	status: no carrier
        ath0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 2290
        	ether 00:0b:6b:2c:d4:61
        	inet6 fe80::20b:6bff:fe2c:d461%ath0 prefixlen 64 scopeid 0x4 
        	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: associated
        	ssid "1mbps Blazing" channel 11 (2462 Mhz 11g) bssid 00:0b:6b:2c:d4:61
        	authmode WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit
        	txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
        	roam:rssi11g 7 roam:rate11g 5 pureg protmode RTSCTS burst -apbridge
        	dtimperiod 1
        lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384
        	inet 127.0.0.1 netmask 0xff000000 
        	inet6 ::1 prefixlen 128 
        	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        pflog0: flags=100 <promisc>metric 0 mtu 33204
        pfsync0: flags=41 <up,running>metric 0 mtu 1460
        	pfsync: syncdev: lo0 syncpeer: 224.0.0.240 maxupd: 128
        enc0: flags=0<> metric 0 mtu 1536
        ng0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492
        	inet6 fe80::20d:b9ff:fe13:4784%ng0 prefixlen 64 scopeid 0x9 
        	inet 92.99.188.124 --> 195.229.252.44 netmask 0xffffffff 
        bridge0: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 2290
        	ether 06:44:0c:6f:13:b5
        	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        	maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
        	root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0
        	member: ath0 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 4 priority 128 path cost 370370</learning,discover,autoedge,autoptp></broadcast,simplex,multicast></up,pointopoint,running,noarp,simplex,multicast></up,running></promisc></up,loopback,running,multicast></hostap></up,broadcast,running,promisc,simplex,multicast></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></broadcast,simplex,multicast></full-duplex></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></up,broadcast,running,simplex,multicast></full-duplex></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></up,broadcast,running,simplex,multicast> 
        

        then comes this when i run those commands

        $ ifconfig -a
        vr0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:84
        	inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
        	inet6 fe80::20d:b9ff:fe13:4784%vr0 prefixlen 64 scopeid 0x1 
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        vr1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:85
        	inet6 fe80::20d:b9ff:fe13:4785%vr1 prefixlen 64 scopeid 0x2 
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        vr2: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
        	options=280b <rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic>ether 00:0d:b9:13:47:86
        	media: Ethernet autoselect (none)
        	status: no carrier
        ath0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
        	ether 00:0b:6b:2c:d4:61
        	inet6 fe80::20b:6bff:fe2c:d461%ath0 prefixlen 64 scopeid 0x4 
        	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: associated
        	ssid "1mbps Blazing" channel 11 (2462 Mhz 11g) bssid 00:0b:6b:2c:d4:61
        	authmode WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit
        	txpower 31.5 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250
        	roam:rssi11g 7 roam:rate11g 5 pureg protmode RTSCTS burst -apbridge
        	dtimperiod 1
        lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384
        	inet 127.0.0.1 netmask 0xff000000 
        	inet6 ::1 prefixlen 128 
        	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        pflog0: flags=100 <promisc>metric 0 mtu 33204
        pfsync0: flags=41 <up,running>metric 0 mtu 1460
        	pfsync: syncdev: lo0 syncpeer: 224.0.0.240 maxupd: 128
        enc0: flags=0<> metric 0 mtu 1536
        ng0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492
        	inet6 fe80::20d:b9ff:fe13:4784%ng0 prefixlen 64 scopeid 0x9 
        	inet 92.99.188.124 --> 195.229.252.44 netmask 0xffffffff 
        bridge0: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
        	ether 7a:06:07:ae:70:44
        	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        	maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
        	root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0</broadcast,simplex,multicast></up,pointopoint,running,noarp,simplex,multicast></up,running></promisc></up,loopback,running,multicast></hostap></up,broadcast,running,simplex,multicast></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></broadcast,simplex,multicast></full-duplex></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></up,broadcast,running,simplex,multicast></full-duplex></rxcsum,txcsum,vlan_mtu,wol_ucast,wol_magic></up,broadcast,running,simplex,multicast> 
        

        and when i try to laod file /tmp/ath0_setup and /tmp/bridge0_setup it says file not found

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

          when i run the ifconfig bridge0 destroy then the cpu usage jumps to 100% and remains like that only till the time i disable wireless from the GUI

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

            and when i try to laod file /tmp/ath0_setup and /tmp/bridge0_setup it says file not found

            On my system (1.2.3-RC1 built on Mon Apr 13 16:35:28 EDT 2009 ) there is no /tmp/ath0_setup but there is a /tmp/ath0_setup.sh and there is no /tmp/bridge0_setup but there is a /tmp/bridge0_config.

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.