OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • Wifi Configuration
« previous next »
  • Print
Pages: [1]

Author Topic: Wifi Configuration  (Read 16826 times)

hemant908thakur

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Wifi Configuration
« on: May 22, 2015, 07:31:40 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Wifi Configuration
« Reply #1 on: May 22, 2015, 11:47:36 am »
You can add and modify Wireless settings such as SSID and passphrase from this page: https://your.OPNsense.ip/interfaces_wireless.php
Logged

gregober

  • Newbie
  • *
  • Posts: 11
  • Karma: 2
    • View Profile
Re: Wifi Configuration
« Reply #2 on: May 28, 2015, 10:31:02 am »
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.

Code: [Select]
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 :

Code: [Select]
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 '

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Wifi Configuration
« Reply #3 on: May 29, 2015, 04:50:35 pm »
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
Logged

gregober

  • Newbie
  • *
  • Posts: 11
  • Karma: 2
    • View Profile
Re: Wifi Configuration [Dirty Solved ;-)]
« Reply #4 on: June 01, 2015, 11:21:55 am »
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
« Last Edit: June 01, 2015, 11:23:26 am by gregober »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Wifi Configuration
« Reply #5 on: June 15, 2015, 12:37:56 pm »
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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13637
  • Karma: 1174
    • View Profile
Re: Wifi Configuration
« Reply #6 on: June 22, 2015, 09:29:41 am »
I am testing this at the moment, I've found no issues with 15.1.12. Please let me know if the problem persists.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • Wifi Configuration
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2