Wifi card as RED network interface

network
v7

(Krajczár Jenő) #1

NethServer Version: 7.5
Module: network

Hi

sorry, google translate :slight_smile:

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?

If you have answers, I would be appreciated.


(Markus Neuberger) #2

I used this mini howto on my raspberry:

Here are more details about configuring wifi:

https://wiki.centos.org/HowTos/Laptops/WpaSupplicant


(Mark Verlinde) #3

OFF-TOPIC: Funny: was looking for this :grinning:


(Krajczár Jenő) #4

Hi,

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

network = {
SSID = “ssid”
psk = “password”
}

commands:

wpa_supplicant -iwlp3s2 -c /etc/sysconfig/wpa_supplicant.conf
systemctl start wpa_supplicant
systemctl enable wpa_supplicant
wpa_cli status

result:
Selected interface ‘wlp3s2’
BSSID = 28: 3b: 82: 82: 9b: b9
freq = 2427
ssid = DWR921
id = 0
station mode =
pairwise_cipher = CCMP
group_cipher = TKIP
key_mgmt = WPA2-PSK
wpa_state = COMPLETED
ip_address = 192.168.88.51
p2p_device_address = c0: 4a: 00: 66: 53: cc
address = c0: 4a: 00: 66: 53: cc
uuid = d7d7d734-0522-5419-8382-7dada9b41365