Author Topic: How Do I Turn On Wifi  (Read 6897 times)

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
How Do I Turn On Wifi
« on: May 08, 2008, 05:10:08 pm »
On the original distro pressing "Fn + F2" key combination toggles the wifi card from on to off.

Anyone know how to manage that on a generic, non eeePC tuned, distribution ?
I'd be even happy to run a command (or script to turn it on) but do not want to leave it allways on from bios (to save pattery life when unused).
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
How Do I Turn On Wifi
« Reply #1 on: May 08, 2008, 07:23:44 pm »
Well it looks like that if one enables correctly the ASUS ACPI interface you can get control over the integrated devices trough /proc/acpi/asus/

Echoing 1 or 0 in the appropriate device interface wil turn on and off the devices.

For example
echo 1 > /proc/acpi/asus/wlan
will turn on the wireless lan device
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
How Do I Turn On Wifi
« Reply #2 on: May 08, 2008, 09:34:22 pm »
Are you sure that Fn+F2 doesn't work? On my Dell, it appears to be hardware controlled (it works no matter what distro I have running, but the LED doesn't).
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
How Do I Turn On Wifi
« Reply #3 on: May 09, 2008, 12:56:18 am »
Quote from: Capn_Fish
Are you sure that Fn+F2 doesn't work? On my Dell, it appears to be hardware controlled (it works no matter what distro I have running, but the LED doesn't).
Wen not sure because I've recompiled a new kernel and the /proc/acpi/asus sutff has dissapeared .... it may work but I bet it will not untill I compile a 2.6.25.1 kernel that gets me back the stuff in /proc/acpi/asus.

OK I think I figured out what was wrong in my kernel:
in order to make the CONFIG_ASUS_LAPTOP option come out I neaded to fix up these dependencies...
        depends on X86
        depends on ACPI
        depends on EXPERIMENTAL && !ACPI_ASUS
        depends on LEDS_CLASS
        depends on BACKLIGHT_CLASS_DEVICE

I'm building the kernel right now ;-)
« Last Edit: May 09, 2008, 01:11:26 am by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing