You are not logged in.
Today i installed Arch, almost configured it and when i tried to turn on wifi card whith acer-wmi got this
$ sudo echo 1 > /sys/devices/platform/acer-wmi/wireless
-bash: /sys/devices/platform/acer-wmi/wireless: Нет такого файла или каталога
That mean "No such file or directory" Also i can't create file there with any known method (nano, vi, cp)
Does anybody know what to do with that?
Last edited by stboris (2009-01-19 19:08:09)
Offline
If the file does not exist, then it is pretty simple - you cannot write to it . I do not think a regular user (or a root user, for that matter) can create files in /sys. With the appropriate permissions you can change contents, but mostly, if a file is not there (in /proc or /sys), that means either something went wrong (hardware not getting detected or configured) or your system does not support the feature you're looking for.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
This strange, cause all hardware were detected correctly. And also use of acer-wmi was tested on that model of notebook (Acer Aspire 3020) and reported as working. Also developer of that module have twin of my notebook - Acer Aspire 5020, they almost the same.
So what can i do? Reinstall all system?
Offline
Since Linux 2.6.28 acer-wmi has proper rfkill support so:
$ cat /sys/devices/platform/acer-wmi/rfkill:rfkill*/{name,state}
You need to install an RTFM interface.
Offline
Thanks anrxc. But there strange things. As i searched, now my WiFi-card must work Out-of-Box, but it isn't and LEDs doesn't light too.
$ cat /sys/devices/platform/acer-wmi/rfkill:rfkill*/{name,state}
acer-wireless
1
And also i can't turn it "off"
$ sudo echo -n 0 > /sys/devices/platform/acer-wmi/rfkill:rfkill0/state
-bash: /sys/devices/platform/acer-wmi/rfkill:rfkill1/state: Permission denied
Offline
I noticed that if you have noclobber option set in bashrc it is impossible to write into these files.
EDIT: You could also try something like this:
sudo echo -n 0 >| /sys/devices/platform/acer-wmi/rfkill:rfkill0/state
The ">|" is supposed to override noclobber setting.
Last edited by fwojciec (2009-01-18 21:08:40)
Offline
Sorry to all. It seems to be my fault. After
sudo ifconfig wlan0 up
LED turned on. But i have reinstalled Arch before that and it seems to me that i did that command last time. Anyway it works ))))) Thanks to all
Last edited by stboris (2009-01-18 22:30:24)
Offline
Congrats . Don't forget to put [Solved] in front of your topic title .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline