Problems setting up Wireless



  • Hi,

    I've been trying to setup my own pfsense machine running on an APU box. Both LAN and WAN work but i've been having issues with WLAN.

    I've setup my WLAN to be Static with the details in the images below,

    http://puu.sh/fuJZ5/7fdb35ca17.png
    http://puu.sh/fuK1N/c36e616f60.png

    • and I've checked off "Block bogon networks"

    So my plan is to setup a internal network with static IPs I've followed some tutorials.

    At first glance of Image 1, it says connection state UP. But I'm getting a DNS probe error. Not sure why that is.

    On the client, my settings are as follows,
    -Static
    -Ip address: 192.168.2.101
    -Gateway: 192.168.1.1 (Is the gateway different with a different subnet?)
    -Network Prefix Length: 32
    -DNS 1+2: (W/E my router gave me). I've also tried the public DNS 8.8.8.8 etc..

    What is it that I'm doing wrong? Does the DHCP settings affect Static IPs?

    Thanks in advance:


  • LAYER 8 Global Moderator

    -Static
    -Ip address: 192.168.2.101
    -Gateway: 192.168.1.1 (Is the gateway different with a different subnet?)

    well you can not have a gateway on different subnet.. How do you get there??  To get off your current subnet via your gateway ;)

    And you have your "prefix" you mean mask at 32 bit??  No that would be wrong as well.. Your mask would common be /24 255.255.255.0 so your network would be 192.168.2.1 to .254

    So on your second image where you set pfsense ip 192.168.2.254 /24 would be fine. NO GATEWAY HERE!!!

    On your clients 192.168.2.101/24 would be fine with gateway of 192.168.2.254 – your pfsense IP address on this segment.

    What you use for dns is up to you - why not just use pfsense IP?  Also you have to make sure you setup firewall rules for this segment.

    but to be honest pfsense does not make for a good AP.. Just get wifi router use as AP, or use a real AP and either connect to your lan segment or create a new one if you want wifi on its own segment.



  • I'm fairly new to this, so I apologize.  :'(

    @johnpoz:

    well you can not have a gateway on different subnet.. How do you get there??  To get off your current subnet via your gateway ;)

    Hmm, seems complicated, What I initially did was follow online tutorials. There was this one where TekSyndicate walked the viewer through the steps of setting up the network step by step. I guess it wouldn't of been that easy.

    In that case, I'll setup my WLAN interface to be on the same subnet but, how would I go about doing that?
    In this http://puu.sh/fxm7n/3f5a69d647.png GUI here I have to setup an IPv4 Address to associate with the interface. I can't use the 192.168.1.1 because its occupied by the LAN. How could fit this on the same subnet?

    @johnpoz:

    And you have your "prefix" you mean mask at 32 bit??  No that would be wrong as well.. Your mask would common be /24 255.255.255.0 so your network would be 192.168.2.1 to .254

    Changed. Thanks for the heads up. I don't understand why I did that.

    @johnpoz:

    So on your second image where you set pfsense ip 192.168.2.254 /24 would be fine. NO GATEWAY HERE!!!

    On your clients 192.168.2.101/24 would be fine with gateway of 192.168.2.254 – your pfsense IP address on this segment.

    In this case, I have tried connecting both with computer and android phone, neither of them work.
    Client Settings:
    IP: 192.168.2.70
    Subnet: 255.255.255.0
    Gateway: 192.168.2.254
    DNS:The DNS addresses that showed up on my PFSense Dashboard under the System Information Tab.

    The Error I get from my web browser is DNS related : IE: "DNS_PROBE_FINISHED_NO_INTERNET"
    Perhaps Its something wrong with the DNS addresses I entered in? I am absolutely sure that I input my DNS addresses right.

    @johnpoz:

    What you use for dns is up to you - why not just use pfsense IP?  Also you have to make sure you setup firewall rules for this segment.

    but to be honest pfsense does not make for a good AP.. Just get wifi router use as AP, or use a real AP and either connect to your lan segment or create a new one if you want wifi on its own segment.

    well,
    This http://puu.sh/fxoXj/630e14b301.png <–-Limiter was setup by me, not default
    and
    This http://puu.sh/fxp0f/3e8a0496cd.png
    are the rules for my firewall (LAN and WLAN respectively)

    Looking at this, I'm guessing I have to apply the same rules to WLAN as there is in LAN? Copy ---> Paste?

    Normally, I would. I've seen many people use that solution. But, For me, the router I have is incapable of doing the job. Its range is very weak and the latency is inconsistent to mention just a few problems. Overall, its not worth using and it is also the reason why I decided to setup pfsense.

    Side note: I did get PFsense working on LAN for Static IP with the following settings
    192.168.1.70
    255.255.255.0
    192.168.1.1

    Though for some reason, even though .70 isn't anywhere near the DHCP range, I get DNS problems using other IPs IE: .69 .65 .75 .71 etc. Strange....


  • LAYER 8 Global Moderator

    you go not rules at all on the wireless - so how is anything going to work.

    I am sorry to say this - but I think pfsense is just too complicated for you..  As to your current wifi being too week..  Dude then get more AP..  Sorry but yeah this seems just way over your head..  Where did you get the idea that pfsense was a good wifi anything??  What hardware are you running this on - what is the wifi?

    As to what static you use..  Doesn't matter if its in the dhcp scope, outside the scope, near it or not.. As long as another device is not currently using that IP..  So you can use .70 but not .69…  Is there another device using .69??  Come one dude think for a few seconds..  Why would it matter what IP you use in the network range

    If the network is 192.168.1.1 to 192.168.1.254, and pfsense is .254 you can use any IP you want in .1 to .253 as long as only 1 device use it at a time..  Does not matter if you make your dhcp scope .1 to .253 or .100 to .110 or .20 to .30 -- those are just the ips the dhcp server can hand out to dhcp clients..  If you set the ip up static you can use whatever you want be it in the scope or not..

    As to your dns issues..  Dude can you ping pfsense IP??  Why are you not just using pfsense as your dns??



  • I have setup some rules for passthrough in firewall. Everything seems to be working now.

    I'm not sure why the other addresses on the lan subnet are not working. In any case, I performed a factory reset and have setup my firewall with fresh new settings.

    I have heard about the issues regarding using PFsense as an access point because of compatability issues. For me, the WLAN is working fine. The radio adapter is a Compex WLE200NX a/b/g/n miniPCI express w/ Atheros AR9280 chipset.

    And about using PFsense as DNS, I guess thats for another time.

    In any case, Thanks for your help. I think my problems are resolved for now


Log in to reply