I’m doing a nethserver 7.5 network now.
The question would be whether I could do a RED network by getting the internet on WIFI.
How do I set up a WIFI card?
What do I need to write to / var / lib / nethserver / db / networks?
This has succeeded.
I put a wifi card in a DELL T20 server.
I’m going to figure out if she can help someone else:
/ Etc / sysconfig / wpa_supplicant
-# Use the flag “-i” before each of your interfaces, like so:
-# INTERFACES = “- ieth1 -iwlp3s2”
INTERFACES = “- iwlp3s2”
-# Use the flag “-D” before each driver, like so:
-# DRIVERS = “- Dwext”
DRIVERS = “”
-# Other arguments
-# -u Enable the D-Bus interface (required for use with NetworkManager)
-# -f Log to /var/log/wpa_supplicant.log
-# -P Write pid file to /var/run/wpa_supplicant.pid
-# required to return proper codes by init scripts (for example, double “start” at $
-# -B to daemonize that has to be used together with -P is already in wpa $
OTHER_ARGS = “- P /var/run/wpa_supplicant.pid”
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface = / var / run / wpa_supplicant
wheel = ctrl_interface_group
[root@lab4 ~]# vim /etc/wpa_supplicant/wpa_supplicant.conf
[root@lab4 ~]# wpa_supplicant -iwlp0s26u1u2 -c /etc/sysconfig/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Failed to open config file ‘/etc/sysconfig/wpa_supplicant.conf’, error: No such file or directory
Failed to read or parse configuration ‘/etc/sysconfig/wpa_supplicant.conf’.
[root@lab4 ~]# wpa_supplicant -iwlp0s26u1u2 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Line 3: unknown global field ‘network ={’.
Line 3: Invalid configuration line ‘network ={’.
Line 4: unknown global field ‘SSID=“LG K10”’.
Line 4: Invalid configuration line ‘SSID=“LG K10”’.
Line 5: unknown global field ‘psk=“123456”’.
Line 5: Invalid configuration line ‘psk=“123456”’.
Line 6: unknown global field ‘}’.
Line 6: Invalid configuration line ‘}’.
Failed to read or parse configuration ‘/etc/wpa_supplicant/wpa_supplicant.conf’.
# Use the flag "-i" before each of your interfaces, like so:
# INTERFACES="-ieth1 -iwlp3s2"
INTERFACES="-iwlp3s2"
# Use the flag "-D" before each driver, like so:
# DRIVERS="-Dwext"
DRIVERS="Dwext"
# Other arguments
# -u Enable the D-Bus interface (required for use with NetworkManager)
# -f Log to /var/log/wpa_supplicant.log
# -P Write pid file to /var/run/wpa_supplicant.pid
# required to return proper codes by init scripts (e.g. double "start" action)
# -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d
OTHER_ARGS="-P /var/run/wpa_supplicant.pid"