You are not logged in.
Hello everyone!
I've been fiddling with my computer for a few days and everything has been running great! I'm loving #! and Openbox.
I do have one problem, though.
Whenever I boot up, or log in from my computer going to sleep, wireless is disabled and I have to re-enable it (which is just right clicking it on tint2 and clicking "enable wireless")
Is there anything I can do or change that will make it enabled at all times?
Thank you in advance.
Last edited by Creech (2013-04-15 01:42:00)
All is one, and one is all.
Offline
Not sure about after suspend, but for boot up, put:
rfkill unblock wifiin /etc/rc.local immediately above exit 0.
The suspend problem might be a power saving you might be able to turn off....somehow....
Offline
That seems to have done the trick.
The suspend part was less of a deal for me, really. I use a laptop and it gets booted on and off a few times a day to carry between work, school and home, so this really helped me out.
Thanks!
All is one, and one is all.
Offline
Okay. I'm still having problems with this so I'm going to take off the solved tag.
While the rfkill command posted above works, it immediately reverts back to off and I have to enable it in the Network Manager Applet that resides in tint2.
Is there any way I can make the applet enable the wifi automatically?
All is one, and one is all.
Offline
Dura is right, even if this fixes your boot issue, after going to sleep....it'll be back anyhow.
What wireless chipset are you running?
lspci | grep -i wirelessPost output.
Offline
Perhaps nm-applet is the problem. Configure wifi in /etc/network/interfaces manually. Does it work correctly?
Offline
Dura is right, even if this fixes your boot issue, after going to sleep....it'll be back anyhow.
What wireless chipset are you running?
lspci | grep -i wirelessPost output.
03:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIeAnd uname, I'm unsure on how to configure it in that file. Any tips on that?
All is one, and one is all.
Offline
/etc/network/interfaces (add):
auto eth1
iface eth1 inet dhcp
wireless-mode Managed
wireless-essid WLANName
wpa-psk plainpasswordAfter edit restart the network
/etc/init.d/networking stop
/etc/init.d/networking startor boot the system.
While the /etc/network/interfaces contains "eth1" the network-manager could not configure the device.
I use it on my most systems because i have got only one WLAN.
Last edited by uname (2013-04-14 12:28:20)
Offline
Okay, I did as you said. I was able to stop the networking fine, but trying to start up again caused this output:
Configuring network interfaces...eth1: ERROR while getting interface flags: No such device
Error for wireless request "Set Mode" (8B06) :
SET failed on device eth1 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device eth1 ; No such device.
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "eth1"
Bind socket to interface: No such device
Failed to bring up eth1.
done.After running
rfkill listI"ve found out that that doesn't exist (as the error above told me, so i changed the intefaces file to the right ones, and now it looks like this:
auto lo
iface lo inet loopback
auto asus-lan
iface asus-lan inet dhcp
wireless-mode Managed
wireless-essid ATT352
wpa-psk 5165668546I tried running
rfkill unblock all to take the softblock of of asus-lan but that doesn't do anything for me.
Here's the output of
rfkill listif you would like it:
0: asus-wlan: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: noSo, in the long run, after restarting the network with the right information inputted, I get this, even with my new changes:
Configuring network interfaces...asus-lan: ERROR while getting interface flags: No such device
Error for wireless request "Set Mode" (8B06) :
SET failed on device asus-lan ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device asus-lan ; No such device.
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Cannot find device "asus-lan"
Bind socket to interface: No such device
Failed to bring up asus-lan.
done.Last edited by Creech (2013-04-14 20:49:21)
All is one, and one is all.
Offline
Okay now for some reason it's working again with my changes made to uname's post. (seen above)
Thanks for the help everyone.
All is one, and one is all.
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.