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

    Latest snapsot wireless bridged as well as static not working

    1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    12
    140
    71.8k
    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.
    • D
      DeCex
      last edited by

      @xbipin:

      after changing the mtu of ath0 to 1500, still wireless clients dont get ip from dhcp nor with static ip clients works

      Sorry if this questionn sound stupid,

      • you have not tick the "Deny unknown clients" in the DHCP setting?
      • you´v tried changing the default channel on the OPT1 card ad see if the MTU changes? (try choosing another from Auto,Save and check MTU after saving and see what it say)

      channel.png
      channel.png_thumb

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

        i have already played around with all those settings a lot but doesnt make a difference bcoz its not the wireless that the issue but its just the dhcp or routing due to which the wireless client doesnt get an ip and with the same config the march release works perfectly fine

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

          well, onhel's commands are helping but in my case I also have to disable/enable wireless interface in gui so it would start dealing ip addresses to the clients.

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

            the commands for me when i run them then the LAN and wireless as well as the bridge interface all have 1500 as mtu but it still doesnt give out ips so i disable and then enable wireless from the gui but still it doesnt doesnt give ips and when i check the mtu go back to the wierd values, they r not getting saved.

            in the system logs i saw certain packets were dropped,
            UDP from 0.0.0.0:68 to 255.255.255.255:67

            dont know if thats affecting it or no

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

              i thing i dont understand is earlier if the wireless client was assigned fixed ips then atleast wireless bridged to lan used to work but that doesnt now and i was checking the filter log and saw this entry
              pass in on ath0: 192.168.0.18 > 224.0.0.251: igmp v2 report 224.0.0.251

              192.168.0.18 being the ip manually configured in the wireless client and shouldnt it be going to 192.168.0.1 which is the firewall ip instead of 224.0.0.251, plz correct me if im wrong as i am a newbie to dhcp etc

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

                This all seems to be related to ath changing MTU on its own, which appears to be a "feature" of the patched ath(4) we're using in 7.1 based snapshots. It should be impossible to end up with a 2290 MTU on a bridged ath interface, we set it to 1500 twice and never set it to anything other than 1500.

                Try a 7.2 based snapshot which doesn't have the ath patch.
                http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/

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

                  Thanks for the heads up Chris.

                  Is this patched ath(4) driver going to be continued in 1.2.3 stable because that "feature" is too important for ath(4) to be reverted back to being unpatched?

                  The patched version seems to have made using a wireless interface on pfSense very problematic.

                  AhnHEL (Angel)

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

                    I don't know what to think about that ath patch at this point….it's better for some people, worse for others. Also we're not yet sure which FreeBSD version 1.2.3 final release will end up using, it may be switched to 7.2 for unrelated reasons.

                    There will be no patched ath on 7.2 builds. I upgraded my primary production AP yesterday and it's worked fine since, but it usually took a couple weeks to start displaying problems with the previous version so it's hard to say at this point. It hasn't magically changed MTU on me though.

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

                      I'll be trying the 7.2 build next I'm at my ALIX site within the week and report back my results then.  Thanks again.

                      AhnHEL (Angel)

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

                        i think i've tried 7.2 version already with the same results. or may be it was update from 7.1 to 7.2… don't remember now, but i'm going to do clean install of 7.2 right now and test it.

                        ... I can't find the option in 7.3 to install full install embedded kernel. without that it wont run on my Alix. embedded 7.3 from CF does the same thing to mtu switching it to 2290.

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

                          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

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