OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: Hypoc on February 23, 2016, 10:12:43 am

Title: [SOLVED] Wireless AP
Post by: Hypoc on February 23, 2016, 10:12:43 am
      Hello!
      
      I´m doing some testings with opnsense as replacement for an old router.
      I know that it´s not recommended to use a wireless card as an AP on Bsd, but we had the hardware available and wanted to try it.
            
      Wan Dhcp ---> OPNsense ---> Lan 192.168.1.1 ---> Dhcp
                                  |
                                  |
                                  |--------> OPNsense as Wireless AP 192.168.4.1 --> Dhcp
   
   The problem is that i can´t get the wireless clients to access the internet.
   
   The Wifi card is a Ralink RT5390 using the ral-driver. Posting status below:
   
   Regards Hypoc  :)
   
Code: [Select]
ral0_wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether e4:d5:3d:5c:34:5e
        inet6 fe80::e6d5:3dff:fe5c:345e%ral0_wlan1 prefixlen 64 scopeid 0x8
        inet 192.168.4.1 netmask 0xffffff00 broadcast 192.168.4.255
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
        ssid AP channel 7 (2442 MHz 11g) bssid e4:d5:3d:5c:34:5e
        regdomain ETSI country SE indoor authmode WPA2/802.11i privacy MIXED
        deftxkey 3 AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 scanvalid 60
        pureg protmode OFF -apbridge dtimperiod 1 -dfs
Title: Re: Wireless AP
Post by: AdSchellevis on February 23, 2016, 02:13:57 pm
Just to be sure did you add firewall rules for the Wireless lan? If you did, can you ping the IP of the firewall (192.168.4.1)?
Title: Re: Wireless AP
Post by: Hypoc on February 23, 2016, 03:43:44 pm
Typical newbie mistake...  :-[
I did´nt realize that no rules were created for the wireless interface by default.
Added rules and it runs like a charm.
OPNsense looks really good.
Keep up the good work!

Regards Hypoc  :)
Title: Re: Wireless AP
Post by: AdSchellevis on February 23, 2016, 03:45:37 pm
Hi Hypoc,

No problem, good to hear its working now and thank you for your feedback.

Regards,

Ad