How to make accesspoint in pfsense
-
I do not understand why add another interface
In any case I did these steps
But I get to 6
And does RebootDuring the restart
The computer go to the point where I have to choose again Interfaces
Without it impossible to continue
If I choose interfaces all will reset -
I do not understand why add another interface
So pfSense knows there is another interface available to it to use. Do you have another way of getting pfSense to use interface bridge0?
During the restart
The computer go to the point where I have to choose again Interfaces
Without it impossible to continue
If I choose interfaces all will resetMAYBE you hadn't added the line to /boot/loader.conf.local so the firmware for run0 is available at boot time. If the firmware is not available then pfSense may see one of the configured interfaces (run0) is not available and so attempt to reassign interfaces since the previous interface assignment is wrong.
MAYBE you need to add a boot delay so there enough time for all USB devices to be detected and probed.
I think at the assign interfaces question it should be possible to get to the shell by typing one to a few Ctrl-Cs. Then you should be able to add the necessary line ("runfw_load="YES") t /boot/loader.conf.local and reboot.
-
First of all thanks for the help
MAYBE you hadn't added the line to /boot/loader.conf.local so the firmware for run0 is available at boot time
how do i do that ?
can i do this from the gui ?
in all the boots
when i needed to assign interfaces
it show me some thing like thistype the name of the wan interface or press a
fxp0 = wan pppoe bla bla blatype the name of the lan interface { all firewall ruls bla bla bla }
fxp1 = lantype the name for optinal interface wan2
dc0 = wan2type the name for wlan interface
run0 = wlan – but when i assign this -- i got a error messageso only the first tree where assign
-
can i do this from the gui ?
Diagnostics -> Edit File
type the name for wlan interface
run0 = wlan – but when i assign this -- i got a error messageWhat is the text of that error message?
-
enter the WAN interface name or 'a' for auto-detection: fxp0 enter the LAN interface name or 'a' for auto-detection NOTE: this enables full firewalling/nat mode. (or nothing if finished): fxp1 optional interface 1 description found: WAN2 enter the optional 1 interface name or 'a' for auto-detection (or nothing if finished): dc0 optional interface 2 description found: WLAN enter the optional 2 interface name or 'a' for auto-detection (or nothing if finished): run0 invalid interface name 'run0' optional interface 2 description found: WLAN enter the optional 2 interface name or 'a' for auto-detection (or nothing if finished):
Diagnostics -> Edit File
type the name for wlan interfacewhere do i do it ?
-
The run0 'invalid interface name' is what I would expect if the firmware isn't loaded at boot time.
Diagnostics -> Edit File
where do i do it ?I have never used it but I would expect you type the line```
runfw_load="YES"> /boot/loader.conf.local in the _Save / Load from path:_ box then click _Save_.
-
The first thing worked
Once I made what you said in the box
The computer automatically recognize the wireless card
And directly reached cli interface with 14 optionsAfter that I did all the steps again, of your previous message
Here is what I think you need to do.
1. Change interface type of the WiFi interface to None (so it doesn't have an IP address).
2. Set the system tunables as described in step 3 of the post at http://forum.pfsense.org/index.php/topic,56298.0.html
Hereafter, if you are prompted to Save (update configuration file) and then Apply (to running system) click just Save but not Apply. You will reboot at the end to Apply all changes at once.
3. On Interfaces -> (assign) click the "+" at the bottom right to add a new interface to pfSense. Note the name of the new interface, I'll assume it will be OPT3. In the following description change OPT3 to whatever name was asigned.
4. On Interfaces -> (assign) click on the Bridges tab, then click on the e button to the right of bridge0 so you can change the bridge members to OPT3 and WLAN.
5. On Interfaces -> (assign) use the pull downs to change OPT3 to fxp1 (your previous LAN interface) and change the LAN interface from fxp1 to bridge0.
6. Reboot and verify things are working correctly.
After reboot you should have fxp1 and run0 as members of bridge0, bridge0 as LAN (so LAN characteristics including firewall rules apply identically to bridge members) and traffic should flow freely between devices on the two interfaces.
But it still does not work
There reception
I can find the network with a laptop or cell phone
But they do not get ip
-
The counter on pfSense dashboard reports 0 bytes received on the WLAN interface. You could use those counters to verify pfSense is seeing something (possibly DHCP requests) from WLAN clients.
On my run device I have set WPA Pairwise to AES because a Linux client wouldn't connect when it was set to TKIP. But I have no idea if that would fix your problem. You might have to disable/enable the WLAN interface to get configuration changes to take effect.
The Status -> Wireless page should also be consulted to see if pfSense has associated with your client. I am not sure exactly what "associated" means but it is a significant step in getting wireless station to communicate.
-
There's something I do not understand
After making all settings
Opt3 interface should be with the ipLan interface
Should be listed bridge0Perhaps this is the problem
Thanks again for the help
-
On my run device I have set WPA Pairwise to AES because a Linux client wouldn't connect when it was set to TKIP
it worked
i have access to the internet and lanBut now there is another problem
The system does boot after 30 seconds wireless connectionthis is the error log
Crash report begins. Anonymous machine information:
i386
8.1-RELEASE-p13
FreeBSD 8.1-RELEASE-p13 #1: Fri Dec 7 16:55:26 EST 2012 root@snapshots-8_1-i386.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8Crash report details:
Filename: /var/crash/bounds
1Filename: /var/crash/info.0
Dump header from device /dev/ad0s1b
Architecture: i386
Architecture Version: 1
Dump Length: 71168B (0 MB)
Blocksize: 512
Dumptime: Fri Feb 22 15:44:06 2013
Hostname: pfsense.firefox.co.il
Magic: FreeBSD Text Dump
Version String: FreeBSD 8.1-RELEASE-p13 #1: Fri Dec 7 16:55:26 EST 2012
root@snapshots-8_1-i386.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8
Panic String:
Dump Parity: 632959541
Bounds: 0
Dump Status: goodFilename: /var/crash/textdump.tar.0
ddb.txt���������������������������������������������������������������������������������������������0600����0�������0�������140000������12111711106� 7061� �����������������������������������������������������������������������������������������������������ustar���root����������������������������wheel������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������db:0:kdb.enter.default> run lockinfo
db:1:lockinfo> show locks
No such command
db:1:locks> show alllocks
No such command
db:1:alllocks> show lockedvnods
Locked vnodes
db:0:kdb.enter.default> show pcpu
cpuid = 0
dynamic pcpu = 0x51d080
curthread = 0xc499bc80: pid 0 "run0 taskq"
curpcb = 0xeab3ad90
fpcurthread = none
idlethread = 0xc4590a00: pid 11 "idle: cpu0"
APIC ID = 0
currentldt = 0x50
db:0:kdb.enter.default> bt
Tracing pid 0 tid 64063 td 0xc499bc80
run_drain_fifo(c49cb000,c499bc80,0,0,0,…) at run_drain_fifo+0x5f
run_ratectl_cb(c49cb000,1,0,c12d0b3c,0,...) at run_ratectl_cb+0x5c
taskqueue_run(c486bb80,c486bb98,0,c0ede918,0,...) at taskqueue_run+0x89
taskqueue_thread_loop(c49d7074,eab3ad38,0,0,0,...) at taskqueue_thread_loop+0x45
fork_exit(c0a7a1a0,c49d7074,eab3ad38) at fork_exit+0x88
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xeab3ad70, ebp = 0 ---
db:0:kdb.enter.default> ps
pid ppid pgrp uid state wmesg wchan cmd
25445 35603 25 0 S nanslp 0xc133ea24 sleep
23430 15132 249 0 S nanslp 0xc133ea24 sleep
56580 10101 10101 0 S piperd 0xc4a04000 rrdtool
416 1 416 0 Ss select 0xc4eabb64 ntpd
15132 1 249 0 S wait 0xc4e74aa0 sh
10101 1 10101 0 Ss select 0xc4991da4 apinger
43049 41818 43049 0 S+ ttyin 0xc45e1c70 sh
41818 41595 41818 0 S+ wait 0xc4e74d48 sh
41612 13725 41612 0 Ss (threaded) sshlockout_pf
64110 S nanslp 0xc133ea24 sshlockout_pf
64103 S piperd 0xc4e4c188 initial thread
41595 1 41595 0 Ss+ wait 0xc4e74550 login
40746 40685 40200 62 S piperd 0xc4a04dc8 unlinkd
40685 40200 40200 62 S select 0xc4c71424 initial thread
40200 1 40200 62 Ss wait 0xc4c6dd48 squid
37712 37202 37202 0 S nanslp 0xc133ea24 minicron
37202 1 37202 0 Ss wait 0xc4c6c000 minicron
37001 36453 36453 0 S nanslp 0xc133ea24 minicron
36453 1 36453 0 Ss wait 0xc4c6caa0 minicron
36220 35882 35882 0 S nanslp 0xc133ea24 minicron
35882 1 35882 0 Ss wait 0xc4c6c550 minicron
35603 1 25 0 S+ wait 0xc4af1d48 sh
41984 1 41984 0 Ss nanslp 0xc133ea24 cron
31258 1 31233 65534 S select 0xc4c70724 dnsmasq
30007 1 30007 1002 Ss select 0xc4c70c24 dhcpd
22980 21308 21248 0 S accept 0xc4afb03e initial thread
21602 21308 21248 0 S accept 0xc4b5f6ae initial thread
21308 1 21248 0 S kqread 0xc4ac8600 lighttpd
14375 1 14375 0 Ss select 0xc486b8e4 inetd
13725 1 13725 0 Ss select 0xc4991b24 syslogd
13419 1 25 0 S+ piperd 0xc4a03dc8 logger
13379 1 25 0 S+ bpf 0xc4995900 tcpdump
9468 1 9468 0 Ss select 0xc49fede4 hostapd
6414 1 6414 0 Ss (threaded) mpd5
64085 S select 0xc49fe7e4 mpd5
264 1 264 0 Ss select 0xc4990024 devd
251 249 249 0 S kqread 0xc4a01d00 check_reload_status
249 1 249 0 Ss kqread 0xc4a01b80 check_reload_status
40 0 0 0 SL mdwait 0xc49af000 [md0]
24 0 0 0 SL sdflush 0xc136d480 [softdepflush]
23 0 0 0 SL syncer 0xc1352594 [syncer]
22 0 0 0 SL vlruwt 0xc45d5d48 [vnlru]
21 0 0 0 SL psleep 0xc13522c8 [bufdaemon]
20 0 0 0 SL pgzero 0xc136e134 [pagezero]
19 0 0 0 SL pollid 0xc133df7c [idlepoll]
18 0 0 0 SL psleep 0xc136dd5c [vmdaemon]
17 0 0 0 SL psleep 0xc136dd24 [pagedaemon]
9 0 0 0 SL ccb_scan 0xc1308c54 [xpt_thrd]
8 0 0 0 SL pftm 0xc04f7020 [pfpurge]
7 0 0 0 SL waiting_ 0xc13599d8 [sctp_iterator]
16 0 0 0 SL tzpoll 0xc130da8c [acpi_thermal]
15 0 0 0 SL (threaded) usb
64045 D - 0xc4725d0c [usbus3]
64044 D - 0xc4725cdc [usbus3]
64043 D - 0xc4725cac [usbus3]
64042 D - 0xc4725c7c [usbus3]
64040 D - 0xc4711dac [usbus2]
64039 D - 0xc4711d7c [usbus2]
64038 D - 0xc4711d4c [usbus2]
64037 D - 0xc4711d1c [usbus2]
64035 D - 0xc46fadac [usbus1]
64034 D - 0xc46fad7c [usbus1]
64033 D - 0xc46fad4c [usbus1]
64032 D - 0xc46fad1c [usbus1]
64030 D - 0xc46e5dac [usbus0]
64029 D - 0xc46e5d7c [usbus0]
64028 D - 0xc46e5d4c [usbus0]
64027 D - 0xc46e5d1c [usbus0]
14 0 0 0 SL - 0xc133e884 [yarrow]
6 0 0 0 SL crypto_r 0xc136caac [crypto returns]
5 0 0 0 SL crypto_w 0xc136ca88 [crypto]
4 0 0 0 SL - 0xc133c124 [g_down]
3 0 0 0 SL - 0xc133c120 [g_up]
2 0 0 0 SL - 0xc133c118 [g_event]
13 0 0 0 SL sleep 0xc12df260 [ng_queue0]
12 0 0 0 RL (threaded) intr
64051 I [irq1: atkbd0]
64049 I [irq15: ata1]
64048 I [irq14: ata0]
64047 I [irq22: dc0]
64046 I [irq20: fxp0 fxp1]
64041 I [irq23: ehci0]
64036 I [irq18: uhci2]
64031 I [irq19: uhci1]
64026 I [irq16: uhci0]
64025 I [irq9: acpi0]
64021 I [swi2: cambio]
64020 I [swi6: task queue]
64019 I [swi6: Giant taskq]
64017 I [swi5: +]
64007 I [swi3: vm]
64006 RunQ [swi4: clock]
64005 I [swi1: netisr 0]
11 0 0 0 RL [idle: cpu0]
1 0 1 0 SLs wait 0xc458ed48 [init]
10 0 0 0 SL audit_wo 0xc136ce20 [audit]
0 0 0 0 RLs (threaded) kernel
64063 Run CPU 0 [run0 taskq]
64024 D - 0xc46a0280 [acpi_task_2]
64023 D - 0xc46a0280 [acpi_task_1]
64022 D - 0xc46a0280 [acpi_task_0]
64018 D - 0xc46a04c0 -
Well
After the advice that wallabybob GaveFinally the wireless devices connected and received ip
So this issue is resolved
Many thanks for the help
There is another problem
After a period of time where there are wireless connections
The system is down and up againI searched for it here in the forums and in Google
From what I understand it's a problem of encryption
I tried to change the encryption settings
And raised the amount of time the devices are connectedMax is an hour maybe a little more
System still falls and rises againIs there anything else other than encryption ?
Should I write that the problem has been fixed in this Thread
And open a new Thread to the new problem? -
After a period of time where there are wireless connections
The system is down and up againDo you mean the system crashes and restarts?
Should I write that the problem has been fixed in this Thread
And open a new Thread to the new problem?Yes, its a distinct problem. I suggest you create a new topic in the Wireless forum and post as full a description of the problem as you can including pfSense build and the output of pfSense shell command```
/etc/rc.banner
ifconfig -
Where to write it ?
/etc/rc.banner ifconfig
-
SSH to your pfSense, login as admin, select option 8 to get shell prompt then type in the commands and post the commands and responses in your topic OR in the pfSense web GUI go to Diagnostics -> Command Prompt and for each command in turn, type the command in the Command box and click on the Execute button immediately below.
-
I wrote
I did it twice
First time
Wireless interface was not enabledThe second time the wireless interface was enabled
fxp0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 options=9 <rxcsum,vlan_mtu>ether 00:09:6b:d1:03:04 inet6 fe80::209:6bff:fed1:304%fxp0 prefixlen 64 scopeid 0x1 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (100baseTX <full-duplex>) status: active dc0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 options=80008 <vlan_mtu,linkstate>ether 00:80:ad:73:b7:fe inet6 fe80::280:adff:fe73:b7fe%dc0 prefixlen 64 scopeid 0x2 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (none) status: no carrier fxp1: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500 options=2008 <vlan_mtu,wol_magic>ether 00:02:b3:0b:ab:2e inet6 fe80::202:b3ff:fe0b:ab2e%fxp1 prefixlen 64 scopeid 0x3 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (100baseTX <full-duplex>) status: active pflog0: flags=100 <promisc>metric 0 mtu 33200 enc0: flags=0<> metric 0 mtu 1536 lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384 options=3 <rxcsum,txcsum>inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 nd6 options=43 <performnud,accept_rtadv>pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 syncok: 1 run0: flags=8902 <broadcast,promisc,simplex,multicast>metric 0 mtu 2290 ether 54:e6:fc:93:bf:57 media: IEEE 802.11 Wireless Ethernet autoselect <hostap>(autoselect <hostap>) status: no carrier pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492 inet 109.226.48.72 --> 109.226.1.20 netmask 0xffffffff inet6 fe80::209:6bff:fed1:304%pppoe0 prefixlen 64 scopeid 0x9 nd6 options=43 <performnud,accept_rtadv>run0_wlan0: flags=8902 <broadcast,promisc,simplex,multicast>metric 0 mtu 1500 ether 54:e6:fc:93:bf:57 inet6 fe80::56e6:fcff:fe93:bf57%run0_wlan0 prefixlen 64 scopeid 0xa nd6 options=43 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: no carrier ssid "bla bla bla" channel 2 (2417 MHz 11g) regdomain NONE country IL authmode AUTO privacy OFF deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 scanvalid 60 pureg protmode OFF wme -apbridge dtimperiod 1 -dfs bridge0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 ether 02:11:79:20:3d:00 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 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 32768 ifcost 0 port 0 member: fxp1 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 3 priority 128 path cost 200000 member: run0_wlan0 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 10 priority 128 path cost 370370</learning,discover,autoedge,autoptp></learning,discover,autoedge,autoptp></up,broadcast,running,simplex,multicast></hostap></performnud,accept_rtadv></broadcast,promisc,simplex,multicast></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast></hostap></hostap></broadcast,promisc,simplex,multicast></performnud,accept_rtadv></rxcsum,txcsum></up,loopback,running,multicast></promisc></full-duplex></performnud,accept_rtadv></vlan_mtu,wol_magic></up,broadcast,running,promisc,simplex,multicast></performnud,accept_rtadv></vlan_mtu,linkstate></up,broadcast,running,simplex,multicast></full-duplex></performnud,accept_rtadv></rxcsum,vlan_mtu></up,broadcast,running,simplex,multicast>
And the second time
fxp0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 options=9 <rxcsum,vlan_mtu>ether 00:09:6b:d1:03:04 inet6 fe80::209:6bff:fed1:304%fxp0 prefixlen 64 scopeid 0x1 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (100baseTX <full-duplex>) status: active dc0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 options=80008 <vlan_mtu,linkstate>ether 00:80:ad:73:b7:fe inet6 fe80::280:adff:fe73:b7fe%dc0 prefixlen 64 scopeid 0x2 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (none) status: no carrier fxp1: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500 options=2008 <vlan_mtu,wol_magic>ether 00:02:b3:0b:ab:2e inet6 fe80::202:b3ff:fe0b:ab2e%fxp1 prefixlen 64 scopeid 0x3 nd6 options=43 <performnud,accept_rtadv>media: Ethernet autoselect (100baseTX <full-duplex>) status: active pflog0: flags=100 <promisc>metric 0 mtu 33200 enc0: flags=0<> metric 0 mtu 1536 lo0: flags=8049 <up,loopback,running,multicast>metric 0 mtu 16384 options=3 <rxcsum,txcsum>inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 nd6 options=43 <performnud,accept_rtadv>pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 syncok: 1 run0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 2290 ether 54:e6:fc:93:bf:57 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492 inet 109.226.48.72 --> 109.226.1.20 netmask 0xffffffff inet6 fe80::209:6bff:fed1:304%pppoe0 prefixlen 64 scopeid 0x9 nd6 options=43 <performnud,accept_rtadv>run0_wlan0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500 ether 54:e6:fc:93:bf:57 inet6 fe80::56e6:fcff:fe93:bf57%run0_wlan0 prefixlen 64 scopeid 0xa nd6 options=43 <performnud,accept_rtadv>media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>status: running ssid "bla bla bla" channel 3 (2422 MHz 11g) bssid 54:e6:fc:93:bf:57 regdomain NONE country IL authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 30 scanvalid 60 pureg protmode OFF wme -apbridge dtimperiod 1 -dfs bridge0: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500 ether 02:11:79:20:3d:00 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 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 32768 ifcost 0 port 0 member: fxp1 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 3 priority 128 path cost 200000 member: run0_wlan0 flags=143 <learning,discover,autoedge,autoptp>ifmaxaddr 0 port 10 priority 128 path cost 370370</learning,discover,autoedge,autoptp></learning,discover,autoedge,autoptp></up,broadcast,running,simplex,multicast></hostap></performnud,accept_rtadv></up,broadcast,running,promisc,simplex,multicast></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast></hostap></up,broadcast,running,simplex,multicast></performnud,accept_rtadv></rxcsum,txcsum></up,loopback,running,multicast></promisc></full-duplex></performnud,accept_rtadv></vlan_mtu,wol_magic></up,broadcast,running,promisc,simplex,multicast></performnud,accept_rtadv></vlan_mtu,linkstate></up,broadcast,running,simplex,multicast></full-duplex></performnud,accept_rtadv></rxcsum,vlan_mtu></up,broadcast,running,simplex,multicast>