View previous topic :: View next topic |
Author |
Message |
ajex85 n00b
Joined: 09 Apr 2020 Posts: 1
|
Posted: Thu Apr 09, 2020 6:01 pm Post subject: Can't connect to WIFI |
|
|
Hello,
hope I can find some help in this forum. I'm totally new to gentoo and linux system in general. My problem is that I'm unable to make a NAO robot connect to the WIFI and internet.
The os running on the robot should have this version of the kernel 2.6.33.9-rt31-aldebaran-rt (I think i's a custom distribution of gentoo) and the wifi adapter should be this one: Ralink Technology, Corp. RT3072 Wireless Adapter
checking on the log I found this error Sep 17 02:43:22 nao klogd: [ 2588.750800] wlan0: deauthenticated from [mac address of the router] (Reason: 15)
and form other log I think the problem is related to 4 way handshake timeout. I'm absolutely sure the wpa2 password is correct, I also tried to configure wpa_supplicant following instruction in this forum, but nothing. I suspect is a driver issue of the wifi card, probably is an old one... how can i check if it's a driver issue and where I can search for other logs? thanks |
|
Back to top |
|
|
RayDude Advocate
Joined: 29 May 2004 Posts: 2060 Location: San Jose, CA
|
Posted: Sat Apr 18, 2020 10:16 pm Post subject: |
|
|
Please scan the output of dmesg to make sure the wireless card driver is up and running.
If the wifi driver is a module, you should see it with lspci -k, or lsmod.
Kernel 2.6 is not very good with wifi and based on my memories of 10 years ago getting it to work was a real pain in the butt. It can be done as long as the wifi driver is loaded.
Try these commands to see if you can get more information:
iwconfig -h
That tool is not used these days, but back then it was the go to for all things wifi.
If the wifi driver is loaded and running ifconfig should show you the device 'wlan' or something like that.
One thing to try is to create an unlocked unencrypted channel on your router, then see if you can get it to connect. Once you know the driver and everything are working then debugging wpa-supplicant will be easier. _________________ Some day there will only be free software. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Sat Apr 25, 2020 7:31 pm Post subject: |
|
|
ajex85,
Welcome to Gentoo.
The system must have tried to connect to get a timeout.
The inference is that the drive is loaded and doing something or the interface would not exist.
Can you get a network connection to the device any other way, like over USB or a serial console?
Sight of its dmesg would be good. Can you put it onto a pastebin please? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Apr 25, 2020 7:53 pm Post subject: |
|
|
RT3xxx is a decade or two newer than kernel 2.6, so it's going to be hard to get that working. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Sat Apr 25, 2020 8:54 pm Post subject: |
|
|
Ant P.,
I wonder what wlan0 is then? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|