ubuntu mate wpa-enterprise
하다 하다 안되서 raspbian 에 기본 network manager 를 지우고 다른거로 바꾸니까 잘 된다.
두가지 방법이 있다.
NetworkManager 또는 wicd 중에 아무거나 깔면 된다.
1. NetworkManager 설치하기
sudo apt install network-manager network-manager-gnome \ <== 여기까지만 해도 된다.
openvpn openvpn-systemd-resolved network-manager-openvpn network-manager-openvpn-gnome
/etc/network/interfaces 파일을 열어서 아래것만 남기고 다 주석처리한다.
auto lo
iface lo inet loopback
원래 라즈비안에 깔려있던 기본 넷웍매니저를 지운다.
sudo apt purge openresolv dhcpcd5
이거해주고
sudo ln -sf /lib/systemd/resolv.conf /etc/resolv.conf
패널에서 기존거 제거
"Panel Settings" -> "Panel Applets": remove "Wireless & Wired Network"
껏다키고 새 Network-Manager 로 엔터프라이즈에 등록한다.
2. 두번쨰 방법 wicd 를 깐다.
sudo apt-get install wicd
/etc/network/interfaces 파일을 열어서 아래것만 남기고 다 주석처리한다.
auto lo
iface lo inet loopback
원래 라즈비안에 깔려있던 기본 넷웍매니저를 지운다.
sudo apt purge openresolv dhcpcd5
이거해주고
sudo ln -sf /lib/systemd/resolv.conf /etc/resolv.conf
패널에서 기존거 제거
"Panel Settings" -> "Panel Applets": remove "Wireless & Wired Network"
껏다 킨다.
https://www.raspberrypi.org/forums/viewtopic.php?t=179576
Network Manager can't handle wifi connection - Raspberry Pi Forums
davesteele wrote:The wifi interface must not be referenced in /etc/network/interfaces, or else NetworkManager will not manage it. Except when managed=true is set in /etc/NetworkManager/NetworkManager.conf as the OP shows has already been done.
www.raspberrypi.org
http://www.intellamech.com/RaspberryPi-projects/rpi_nmcli.html
RPi NetworkManager CLI
Home Description If the Pi will be used from the GUI destop or if it just needs to connect to one network and won't be moving around much, you don't need Network Manager. If you are likely to go mobile with your Pi and need to connect to multiple networks,
www.intellamech.com
https://raspberrypi.stackexchange.com/questions/29783/how-to-setup-network-manager-on-raspbian
How to setup Network Manager on Raspbian
Is it possible to get Network Manager working on Raspbian? It's easy to install with: sudo apt-get install network-manager but I couldn't get it to manage any of my connections. Unfortunately, it...
raspberrypi.stackexchange.com
Raspberry Pi 3 – Change from dhcpcd to NetworkManager configuration
Disable the following service for dhcpcd: sudo update-rc.d dhcpcd disable Empty the file “interfaces” in: sudo nano /etc/network/interfaces Install NetworkManager: sudo apt-get install …
afullagar.wordpress.com
https://davidxie.net/install-network-manager-on-raspbian
David Xie's Website - Install Network Manager on Raspbian
Connect to an enterprise wifi network in Raspbian
davidxie.net
지역확인
pi@raspberrypi:~ $ iw reg get
global country GB: DFS-ETSI (2402 - 2482 @ 40), (N/A, 20), (N/A) (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW (5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS (57000 - 66000 @ 2160), (N/A, 40), (N/A)
지역설정
/etc/default/crda
REGDOMAIN=US
lionelj@lionelj-Mate:/etc/NetworkManager/system-connections$ sudo cat apeach_wlan
[connection]
id=apeach_wlan
uuid=37159d11-e678-46f9-84a4-2051f5f59c74
type=wifi
permissions=
[wifi]
mac-address-blacklist=
mode=infrastructure
ssid=apeach_wlan
[wifi-security]
key-mgmt=wpa-eap
[802-1x]
eap=peap;
identity=lioenl.j
password=!dkfkqlzk3134
phase2-auth=mschapv2
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto
/etc/network/interfaces 기본값.
pi@raspberrypi:~ $ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
#auto wlan0
#allow-hotplug wlan0
#iface wlan0 inet dhcp
# pre-up wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
# post-down killall -q wpa_supplicant
#
pi@raspberrypi:~ $
이렇게 해도 된다고 한다.
sudo apt-get update
sudo apt-get install wpasupplicant
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="NETWORK_NAME"
proto=RSN
key_mgmt=WPA-EAP
pairwise=CCMP TKIP
group=CCMP TKIP
eap=PEAP
identity="USERNAME"
password="PASSWORD"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
위 구문에서 NETWORK_NAME, USERNAME 및 PASSWORD를 각각 네트워크 이름, 사용자 이름 및 비밀번호로 바꾸어야 합니다.
sudo reboot
iwconfig
이 명령은 현재 연결된 네트워크의 정보를 출력합니다. 이제 라즈베리파이가 WPA Enterprise 네트워크에 연결되어 있는지 확인할 수 있습니다.