Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't connect to WIFI
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ajex85
n00b
n00b


Joined: 09 Apr 2020
Posts: 1

PostPosted: Thu Apr 09, 2020 6:01 pm    Post subject: Can't connect to WIFI Reply with quote

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
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1724
Location: San Jose, CA

PostPosted: Sat Apr 18, 2020 10:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46296
Location: 56N 3W

PostPosted: Sat Apr 25, 2020 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6714

PostPosted: Sat Apr 25, 2020 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46296
Location: 56N 3W

PostPosted: Sat Apr 25, 2020 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum