LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-05-2016, 02:52 PM   #1
VolumetricSteve
Member
 
Registered: Mar 2011
Posts: 90

Rep: Reputation: 7
Wifi in Crux suddenly stopped working


Hey everyone,

After a long battle of recompiling kernels and building the firmware blob into the kernel, I finally got wifi to work. Yesterday it was fine, and dead simple.

I loosely followed these steps:

https://crux.nu/Wiki/WifiStartScripts

What I did boiled down to doing:

from wpa_cli:

scan
scan_results
add_network 0
add_network 0 ssid AccessPointName
add_network 0 psk APpassword
sta_autoconnect 0

the instant I did 'sta_autoconnect 0' it sprang to life, grabbed an IP and life was good.


today, NOTHING I have done or tried has made any difference. I've tried several guides, but the only interesting output I've gotten is from iwconfig, where it says:

wlp3s0 no wireless extensions.


I don't know if it said that yesterday or not, I never needed to invoke iwconfig before but that sounds like a problem.

I can't find any relevant topics on why it's telling me there aren't wireless extensions, or if that really means anything to me in this case or not.

lspci shows the wireless device, dmesg shows the driver loading with no errors... ifconfig shows wlp3s0 being up and the wifi light on my laptop is illuminated.

I can even use ip link set wlp3s0 down or up to toggle the wifi on or off and you can see the light on my laptop respond accordingly.

ifconfig reports "no carrier" which makes sense....Yesterday in wpa_cli it seemed able to establish a connection to the wifi point. wpa_cli is also annoyingly cryptic as it doesn't tell you exactly what's going on, just that it's trying to do what you're telling it too.

I've triple checked my password, i've blown away the network settings, i've tried both g and n networks (yesterday both worked fine) now neither connect.


Where do I even start with something this weird? Sorry for the sprawling post, thanks in advance for your help.


Edit:

I should add the ONLY thing that has changed between yesterday and today is that I moved some game data (minecraft) around on the system....which I'm willing to bet had nothing to do with this. I'm stumped.

Last edited by VolumetricSteve; 03-05-2016 at 02:56 PM. Reason: more info
 
Old 03-05-2016, 03:33 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Might be a hardware issue. If me. I'd boot a live cd of Like AntiX full iso to check using Wicd or Ceni to be sure.

http://iso.linuxquestions.org/antix-m11/antix-15/

If you do not want to check like I suggested

Quote:
wicd contrib P F M rsync -aqz crux.nu:orts/crux-3.2/contrib/wicd/ wicd
from

https://crux.nu/portdb/?a=repo&q=contrib

I mention hardware because ifconfig -a should see something like wlan0 or something. Hence to make sure. I'd boot one of my live cds on my rack to make sure.

Code:
ip addr show
Code:
ip link show
might help in crux linux or not. Crux is such a minimal distro. I do not know what is included and what is not. Sorry.
Code:
$ sudo -i
root@tramp:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:xxxxxxxxxxx<edited by me> brd ff:ff:ff:ff:ff:f
Quote:
wlp3s0
Hmmm. Maybe what is wlan0 but another brother from another mother. Maybe router not being seen? I;d make sure my ISP server was responding on another gear/computer I have then.

Last edited by rokytnji; 03-05-2016 at 03:51 PM.
 
Old 03-05-2016, 07:29 PM   #3
VolumetricSteve
Member
 
Registered: Mar 2011
Posts: 90

Original Poster
Rep: Reputation: 7
Thanks for your help, but the issue must lie elsewhere. This is beyond infuriating, but to get the network profiles in WPA_CLI to work, they must be enabled with:

enable_network

Followed by the ID. Why this isn't on by default is maddening. Anyway. Now I have a new issue which I'm sure is completely unrelated to this one.

I should clarify that now my wifi interface at least attempts to connect to the access point, it just fails. Baby steps.

Last edited by VolumetricSteve; 03-05-2016 at 07:30 PM.
 
Old 03-06-2016, 02:20 PM   #4
VolumetricSteve
Member
 
Registered: Mar 2011
Posts: 90

Original Poster
Rep: Reputation: 7
I almost opened up a new thread for the rest of my issue, but a good deal of cheating my way around the problem fixed it.

I've got to be doing something wrong in my config with wpa_cli, but for whatever reason...unlike every other wifi interface I've used, it does NOT automatically determine the authentication method. I had to manually add:

proto=WPA2

to my /etc/wpa_supplicant.conf file in my network's subsection, then it worked fine. I know for sure I didn't have to do anything like this the first time it worked for me...I have no idea what I did....but now it's fine.

What it boiled down to is...my network config needs to look like this:

network={
proto=WPA2
ssid=AccessPoint
psk=Password
}

it's that simple, and yet...not in any of the documentation I could find, and beyond that wpa_cli doesn't do this by default apparently making it even less intuitive. I hope this helps someone, or most likely myself again in the future when I forget.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner suddenly stopped working. jim.thornton Linux - Newbie 4 11-16-2014 06:57 PM
[SOLVED] Clementine suddenly stopped working for me. jon lee Slackware 1 09-26-2013 11:21 PM
Touchscreen suddenly stopped working Fa773N_M0nK Linux - Laptop and Netbook 2 12-20-2012 02:56 AM
wifi suddenly stopped working....cant find any networks anymore... psyadj Linux - Laptop and Netbook 4 06-01-2009 12:31 PM
Ethernet suddenly stopped working Cherrycat Linux - Networking 7 04-14-2006 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration