Wifi Configuration

Started by hemant908thakur, May 22, 2015, 07:31:40 AM

Previous topic - Next topic
How to configure our wifi card? I added wireless network but I am unable to to the name and password to my wifi? how i can give the name and pass-phrase to my wifi.

You can add and modify Wireless settings such as SSID and passphrase from this page: https://your.OPNsense.ip/interfaces_wireless.php

Hi,

Don't really know where to report bug.

The default WLAN is not auto-detected, even though interface has been assigned.
I had to go through interface assign to assign a second interface (I am using Atheros device which allows this).

Normally the interface should have been detected as a WLAN Interface and allowed config to be done directly at interface level.

May 28 08:07:53 OPNsense opnsense: /interfaces.php: The command '/sbin/ifconfig 'ath0_wlan0' inet6 -accept_rtadv' returned exit code '1', the output was 'ifconfig: interface ath0_wlan0 does not exist'
May 28 08:07:53 OPNsense opnsense: /interfaces.php: The command `/sbin/ifconfig 'ath0_wlan0' txcsum rxcsum -tso -lro -polling' failed to execute
May 28 08:07:53 OPNsense opnsense: /interfaces.php: The command `/sbin/ifconfig 'ath0_wlan0' alias '10.100.101.1/24'' failed to execute


Also after I managed to assign yet another interface - I had these errors :

May 28 08:19:02 OPNsense opnsense: /interfaces_assign.php: The command '/sbin/ifconfig 'ath0_wlan1' mode ''' returned exit code '1', the output was 'ifconfig: SIOCSIFMEDIA (media): Device not configured'
May 28 08:19:02 OPNsense opnsense: /interfaces_assign.php: The command '/sbin/ifconfig 'ath0_wlan1' up mode '' protmode '' mediaopt hostap -mediaopt adhoc -hidessid -pureg -puren -apbridge -mediaopt turbo -wme authmode open wepmode off '



Hi gregober,

which version are you running? We've had interface renaming issues with 15.1.10.

I added a bug to the issue tracker:

https://github.com/opnsense/core/issues/200


Thanks so far,
Franco

June 01, 2015, 11:21:55 AM #4 Last Edit: June 01, 2015, 11:23:26 AM by gregober
Hi Franco,

I can confirm the interface detection problem. I'll try to comment (if needed) the ticket you created.

This can be "worked around" in a bit dirty way... but if you need wireless to work rapidly, It'll fix your problem (as long as your WiFi card allows the creation of "instances" of interface / sub-interface -- most atheros cards do allow this).

You can go to > Interfaces > Assign > Wireless

Add an interface and map It to your card's interface (parent interface).
Select mode Access Point and save.

Add this interface in > Interfaces > Assign

The interface created should be "ok" - not really nice work around but It will work.




I have also noticed that bridging (as on pfSense) does not work reliably at all when you try to create a bridged network between your LAN and WLAN for example. Maybe the interface declaration will solve this.

Beside that testing of 802.11n seems ok - At least I was able to use that mode in a much more reliable way than with pfSense. Further testing needs to be conducted in order to validate that.


Gratefully Yours

Hi guys,

is this still the case with the latest 15.1.11.4? We've found that a FreeBSD script gets executed on numerous interface creation which may have been the cause of these troubles (wifi, bridge, vlan, etc).


Cheers,
Franco

I am testing this at the moment, I've found no issues with 15.1.12. Please let me know if the problem persists.