sábado, 7 de janeiro de 2017

gvt e serviços no debian (comandos)

user: admin
senha: gvt12345

botão wps, se esquecer a senha ele é útil




networkmanager manda saída de log para
cat /var/log/syslog

Verificar logs com comando:
journalctl



vim  /etc/NetworkManager/NetworkManager.conf


com network-manager não deu pra conectar no wifi. Ele conecta mas cai logo em seguida, parece que não cosnegue finalizar a autenticação.

 com wicd deu certo





o erro
jan 07 16:27:20 TA880 NetworkManager[568]:  [1483813640.2710] device (wlx002522426383): Activation: starting connection 'default' (2b4c8146-fc4f-44d4-8a98-a971bdd21102)
jan 07 16:27:20 TA880 NetworkManager[568]:  [1483813640.2723] audit: op="connection-activate" uuid="2b4c8146-fc4f-44d4-8a98-a971bdd21102" name="default" pid=1284 uid=1000 result="success"
jan 07 16:27:20 TA880 NetworkManager[568]:  [1483813640.2726] device (wlx002522426383): state change: disconnected -> prepare (reason 'none') [30 40 0]
jan 07 16:27:20 TA880 NetworkManager[568]:  [1483813640.8499] device (wlx002522426383): set-hw-addr: set-cloned MAC address to 00:25:22:42:63:83 (permanent)
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1603] device (wlx002522426383): state change: prepare -> config (reason 'none') [40 50 0]
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1608] device (wlx002522426383): Activation: (wifi) access point 'default' has security, but secrets are required.
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1609] device (wlx002522426383): state change: config -> need-auth (reason 'none') [50 60 0]
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1672] device (wlx002522426383): state change: need-auth -> prepare (reason 'none') [60 40 0]
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1676] device (wlx002522426383): state change: prepare -> config (reason 'none') [40 50 0]
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] device (wlx002522426383): Activation: (wifi) connection 'default' has security, and secrets exist.  No new secrets needed.
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] Config: added 'ssid' value 'default'
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] Config: added 'scan_ssid' value '1'
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] Config: added 'bssid' value '84:E0:58:0E:8B:3C'
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] Config: added 'key_mgmt' value 'WPA-PSK'
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1678] Config: added 'auth_alg' value 'OPEN'
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1679] Config: added 'psk' value ''
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1752] sup-iface[0x55a25a701620,wlx002522426383]: config: set interface ap_scan to 1
jan 07 16:27:21 TA880 NetworkManager[568]:  [1483813641.1917] device (wlx002522426383): supplicant interface state: inactive -> scanning
jan 07 16:27:22 TA880 wpa_supplicant[679]: wlx002522426383: SME: Trying to authenticate with 84:e0:58:0e:8b:3c (SSID='default' freq=2462 MHz)
jan 07 16:27:22 TA880 kernel: wlx002522426383: authenticate with 84:e0:58:0e:8b:3c
jan 07 16:27:22 TA880 kernel: wlx002522426383: send auth to 84:e0:58:0e:8b:3c (try 1/3)
jan 07 16:27:22 TA880 NetworkManager[568]:  [1483813642.7235] device (wlx002522426383): supplicant interface state: scanning -> authenticating
jan 07 16:27:22 TA880 kernel: wlx002522426383: authenticated
jan 07 16:27:25 TA880 minidlnad[840]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
jan 07 16:27:27 TA880 kernel: wlx002522426383: aborting authentication with 84:e0:58:0e:8b:3c by local choice (Reason: 3=DEAUTH_LEAVING)
jan 07 16:27:27 TA880 wpa_supplicant[679]: wlx002522426383: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="default" auth_failures=1 duration=10 reason=CONN_FAILED
jan 07 16:27:27 TA880 NetworkManager[568]:  [1483813647.7706] device (wlx002522426383): supplicant interface state: authenticating -> disconnected
jan 07 16:27:35 TA880 minidlnad[840]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
jan 07 16:27:37 TA880 NetworkManager[568]:  [1483813657.7749] device (wlx002522426383): supplicant interface state: disconnected -> scanning
jan 07 16:27:39 TA880 wpa_supplicant[679]: wlx002522426383: CTRL-EVENT-SSID-REENABLED id=0 ssid="default"
jan 07 16:27:39 TA880 wpa_supplicant[679]: wlx002522426383: SME: Trying to authenticate with 84:e0:58:0e:8b:3c (SSID='default' freq=2462 MHz)
jan 07 16:27:39 TA880 kernel: wlx002522426383: authenticate with 84:e0:58:0e:8b:3c
jan 07 16:27:39 TA880 kernel: wlx002522426383: send auth to 84:e0:58:0e:8b:3c (try 1/3)
jan 07 16:27:39 TA880 NetworkManager[568]:  [1483813659.2991] device (wlx002522426383): supplicant interface state: scanning -> authenticating
jan 07 16:27:39 TA880 kernel: wlx002522426383: authenticated
jan 07 16:27:44 TA880 kernel: wlx002522426383: aborting authentication with 84:e0:58:0e:8b:3c by local choice (Reason: 3=DEAUTH_LEAVING)
jan 07 16:27:44 TA880 wpa_supplicant[679]: wlx002522426383: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="default" auth_failures=2 duration=20 reason=CONN_FAILED
jan 07 16:27:44 TA880 NetworkManager[568]:  [1483813664.3387] device (wlx002522426383): supplicant interface state: authenticating -> disconnected
jan 07 16:27:45 TA880 minidlnad[840]: upnphttp.c:1052: warn: HTTP Connection closed unexpectedly
jan 07 16:27:46 TA880 NetworkManager[568]:  [1483813666.2402] device (wlx002522426383): Activation: (wifi) association took too long, failing activation
jan 07 16:27:46 TA880 NetworkManager[568]:  [1483813666.2403] device (wlx002522426383): state change: config -> failed (reason 'ssid-not-found') [50 120 53]
jan 07 16:27:46 TA880 NetworkManager[568]:  [1483813666.2422] device (wlx002522426383): Activation: failed for connection 'default'
jan 07 16:27:46 TA880 NetworkManager[568]:  [1483813666.2444] device (wlx002522426383): state change: failed -> disconnected (reason 'none') [120 30 0]
jan 07 16:27:46 TA880 NetworkManager[568]:  [1483813666.8069] device (wlx002522426383): set-hw-addr: set MAC address to D6:0D:81:AF:BC:28 (scanning)
jan 07 16:27:48 TA880 NetworkManager[568]:  [1483813668.5792] device (wlx002522426383): supplicant interface state: disconnected -> inactive




systemctl restart wpa_supplicant

ip addr show

ip link set wlx002522426383 up

Network system services running and listening
netstat -atup | grep LISTEN

Disabling dhcpcd.service has solved the problem.

No NetworkManager está aparecendo que a conexão nunca foi usada, mesmo ela ligada no momento, para mudar isso:
vim /etc/NetworkManager/NetworkManager.conf

mudar Managed=False --> True

----------------------------

iw reg set IN


------










Nenhum comentário: