LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   WIFI not connecting to wifi router Ubuntu 16.04.03 (https://www.linuxquestions.org/questions/ubuntu-63/wifi-not-connecting-to-wifi-router-ubuntu-16-04-03-a-4175620186/)

Cook!e 12-23-2017 02:17 PM

WIFI not connecting to wifi router Ubuntu 16.04.03
 
Hi All,

I'm quite new to Ubuntu, here are some of the things about my issue:
1) currently cannot connect to a wifi router, that I haven't connected to before with this laptop.
2) My android phone connects fine to the same wifi (same password)
3) My laptop connected fine with wifi networks prior to this network
4) a couple days ago I updated "Ubuntu Software" with a GUI that popped up, I usually update by : sudo apt-get update && sudo apt-get upgrade
5)My history log has these two particular updates:
i) gir1.2-networkmanager-1.0:amd64 (1.2.6-0ubuntu0.16.04.1, 1.2.6-0ubuntu0.16.04.2)
ii) network-manager:amd64 (1.2.6-0ubuntu0.16.04.1, 1.2.6-0ubuntu0.16.04.2)
6) nm-appplet give me the following message:
nm-applet-Message: No keyring secrets found for estudio/802-1x; asking user.

Any help would be greatly appreciated!
PS: my ubuntu Version is 16.04.3

Drakeo 12-23-2017 05:13 PM

Welcome to Linux Questons
initial set up give keyring a password so to save your stuff encrypted. If not you hit cancel it will default to what ever your system has.
keryring is nice keeps people from changing stuff. Just use your sudo. or cancel and never see it again.
If it precisest find a distro that does not run you. but you run it.

Cook!e 12-23-2017 05:27 PM

Hi Drakeo,

Thanks for trying to help. I'm guessing your telling me why nm-applet is telling me the "keyring" message.

Anyway, I still can't use the wifi on this new network. I tried doing the Ubuntu 17.04 solution (given my problem seems very similar) by going to:

/etc/NetworkManager/conf.d/

and adding a conf file with:

[device]
wifi.scan-rand-mac-address=0

(also tried=no, also tried changing NewtworkManager.conf)

I believe I still have to diagnose the problem, but I'm not sure what to look for. I get the password requested repeatedly, and it doesn't accept it. I've tried to edit connection and put it in manually (its usually there when I go edit there). None of these appear to be my problem.

I'm sure I did some sort of update that was more major than usual a couple days ago (Ubuntu opened a dialog asking me to update). Anyway, any tools or logs I could use to figure it out would be helpful.

Drakeo 12-23-2017 06:01 PM

open a terminal type ifconfig and hit enter. you may have to do a sudo ifconfig paste the output here net work manager you have to set up a profile.
again sudo ifconfig wlan0 up then do a ifconfig again you will see it is awake now.
just making sure the device is seen.


now lets see if it is scanning.
Code:

sudo iwlist wlan0 scan | grep ESSID

Drakeo 12-23-2017 06:05 PM

try this
https://help.ubuntu.com/community/NetworkManager

Cook!e 12-23-2017 06:09 PM

Thanks Drakeo, here is what I get

ubuntu@ThinkPad-T470s:NetworkManager$ ifconfig
enp0s31f6 Link encap:Ethernet HWaddr 54:e1:ad:2f:7a:5d
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4c94:8a27:a997:640f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1228044 errors:0 dropped:0 overruns:0 frame:0
TX packets:663125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1747484374 (1.7 GB) TX bytes:67594382 (67.5 MB)
Interrupt:16 Memory:ec100000-ec120000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:462938 errors:0 dropped:0 overruns:0 frame:0
TX packets:462938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23588608 (23.5 MB) TX bytes:23588608 (23.5 MB)

wlp58s0 Link encap:Ethernet HWaddr ac:ed:5c:04:49:ad
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

When I do:
sudo ifconfig wlan0 (up):
wlan0: error fetching interface information: Device not found

sudo iwlist wlan0 scan | grep ESSID:
wlan0 Interface doesn't support scanning.

-------EDIT

I also don't see much in the NetworkManager help about something similar to my issue, but maybe you do?
Again, just to be clear, it is this particular network that I'm having trouble with, it was working previously. Also My android phone connects just fine to the network. I don't really see any indication of anything except in the network log the reference to no keyring secrets ... asking user (and I don't see anything asking user)

Drakeo 12-23-2017 09:05 PM

Code:

wlp58s0 Link encap:Ethernet HWaddr ac:ed:5c:04:49:ad
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ok here is your device wlp58s0 instead of wlan0 if you had two of them it would be wlp58s1 .
it is up and running.
Code:

sudo systemctl start NetworkManager.service
Enable restarting the network manager when the system reboots

sudo systemctl enable NetworkManager.service

you read and did that right.

Drakeo 12-23-2017 09:08 PM

you should have a little wifi icon now to click and setup.

Cook!e 12-23-2017 09:09 PM

Cool!

I get:

ubuntu@ThinkPad-T470s:~$ sudo ifconfig wlp58s0
wlp58s0 Link encap:Ethernet HWaddr ac:ed:5c:04:49:ad
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)



ubuntu@ThinkPad-T470s:~$ sudo iwlist wlp58s0 scan | grep ESSID
ESSID:"estudio"
ESSID:"GIBRAT"
ESSID:"1er_piso_comedor"

"estudio" is the one I want

Cook!e 12-23-2017 09:11 PM

Thanks Drakeo.

I do indeed see the network, and get asked for the password, but when I put the password in, it just asks me again. I've also tried to manually edit the connection and add the password. But again I get prompted to re-enter the password

Drakeo 12-23-2017 09:56 PM

Quote:

Originally Posted by Cook!e (Post 5797042)
Thanks Drakeo.

I do indeed see the network, and get asked for the password, but when I put the password in, it just asks me again. I've also tried to manually edit the connection and add the password. But again I get prompted to re-enter the password

password or psk key. keyring password password or passphrase

Drakeo 12-23-2017 10:00 PM

networks ask for passphrase. the system when you change it will ask for a password. this is so over kill and can be turned off somewhere.
then change it to wpa2 and use that if you have that option.
By the way if you are connected hardwire good chance you will not be able to connect. turn wired off first. disconnect you will see the option.
Code:

enp0s31f6 Link encap:Ethernet HWaddr 54:e1:ad:2f:7a:5d
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::4c94:8a27:a997:640f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1228044 errors:0 dropped:0 overruns:0 frame:0
TX packets:663125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1747484374 (1.7 GB) TX bytes:67594382 (67.5 MB)
Interrupt:16 Memory:ec100000-ec120000

note your wired is online.

Cook!e 12-23-2017 10:06 PM

Thanks Drakeo for continuing to try to help :)

I don't really understand what you mean. I'm googling password vs passphrase but I don't know what I'm looking for.

The prompt is saying:
"Passwords or encryption keys are required to access the Wi-Fi network 'estudio' "

I'm not sure what else to do :)

Drakeo 12-23-2017 10:08 PM

Quote:

Originally Posted by Cook!e (Post 5797060)
Thanks Drakeo for continuing to try to help :)

I don't really understand what you mean. I'm googling password vs passphrase but I don't know what I'm looking for.

The prompt is saying:
"Passwords or encryption keys are required to access the Wi-Fi network 'estudio' "

I'm not sure what else to do :)

edited my last reply.

Drakeo 12-23-2017 10:12 PM

you can put that password in many times but if you are already connected to the "host router" with hardwire . the host will not let the same "computer host" log in twice at the same time.


All times are GMT -5. The time now is 12:50 AM.