ubuntu mate wpa-enterprise

Network : 2020. 4. 10. 01:36

하다 하다 안되서 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

https://afullagar.wordpress.com/2017/09/17/raspberry-pi-3-change-from-dhcpcd-to-networkmanager-configuration/

 

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:~ $

 

'Network' 카테고리의 다른 글

ubuntu mate wpa-enterprise  (0) 2020.04.10
라우팅테이블에서 ug 와 ugh의 차이는?  (0) 2014.12.31
멀티캐스트  (0) 2010.08.25
NestStat 명령어  (0) 2009.07.21
Posted by Real_G

댓글을 달아 주세요