Latest snapsot wireless bridged as well as static not working
-
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.
-
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.
-
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.
-
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
-
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?
-
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
-
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
-
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.
-
/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
-
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
-
anybody knows what happened to the "install embedded kernel" option in the LiveCD installer? I caqn't find it in 7.3
-
@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.
-
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 -
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
-
tried putting them in promiscuous mode but still doesn't work
-
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.
-
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.
-
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.
-
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 ;)
-
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.