Leaving Linux if I can't get help connecting wirelessly Fujitsu-Siemens Amilo Li2727 (AR5007eg)

On 03/18/2010 10:26 AM, Maacus0 wrote:
>
> lwfinger: Awaiting more instructions…
> Others: Please post suggestions…

The matter of what fn+Fn key controls the wireless depends on what computer you
have. It might be fn+F1, fn+F2, or even a hardware switch like my computer has.

Please examine the output of dmesg for a clue as to why the network is down.
Does it mention anything about a radio kill switch?

Eeeh… is it supposed to say different things different times??? Now I have used the Amilo in Windows WiFi a while and after booting up Linux, modprobing, iwconfig and iwlist the output is:

mr@linux-yz6z:~> sudo /usr/sbin/iwlist scan
lo Interface doesn’t support scanning.

eth0 Interface doesn’t support scanning.

wmaster0 Interface doesn’t support scanning.

wlan0 No scan results

I can not find anything about a kill switch after modprobe in dmesg

54.552016] ath0: no IPv6 routers present
739.368058] ath_pci 0000:08:00.0: PCI INT A disabled
745.685421] cfg80211: Calling CRDA to update world regulatory domain
745.922648] ath5k 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
745.922670] ath5k 0000:08:00.0: setting latency timer to 64
745.922767] ath5k 0000:08:00.0: registered as ‘phy0’
746.423749] ath: EEPROM regdomain: 0x30
746.423751] ath: EEPROM indicates we should expect a direct regpair map
746.423754] ath: Country alpha2 being used: AM
746.423755] ath: Regpair used: 0x30
746.574223] phy0: Selected rate control algorithm ‘minstrel’
746.574914] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
746.575647] cfg80211: Calling CRDA for country: AM
751.026063] ADDRCONF(NETDEV_UP): wlan0: link is not ready

By having a look in KnetworkManager the “Activate wireless” is tickable and untickable at wish now, but I think that always happens after activating the ath5k driver because a notifier turns up telling me that “WLAN interface connected” as soon as I issue the “modprobe -v ath5k” command. There is no change in LEDs though, which means that only the power LED is lit before and after the command.

Since before I started following the instructions the network settings for wireless in Knetworkmanager has been set with my SSID, Infrastructure, WPA/WPA2 personal password (if it is the WPA-PSK pwd I use in Windows), DHCP and Connect automatically. The rest of the settings has not been touched at all. Knetworkmanager also tells me that this connection was last used “Never”.

Is the following copied text of any help? Copied from madwifi-project.org/wiki/UserDocs/MiniPCI?format=txt which I found Googling for “software kill switch opensuse amilo li2727”.


=== Fujistsu Siemens Amilo Li2727 with Atheros AR2425/AR5007EG 802.11abg PCI-e (rev 01) ===

This entry is similar to the entry just above, only slightly more detailed. My laptop is running Ubuntu 8.04 (hardy) with kernel 2.6.24-19-generic.[BR]]

First the correct version of the madwifi driver is available under [ticket:1192 ticket 1192] as specified [wiki:Compatibility/Atheros#AtherosAR5007EG here] on the [wiki:Compatibility] page.[BR]]

Then in order to swith the card on one must download and install the Acer Hotkey driver for Linux Acer Hotkey driver for Linux] with the following line in /etc/modprobe.d/options:
{{{
options acerhk autowlan=1
}}}

During bootup, the acerhk driver must be loaded into the kernel and activated before madwifi; one neat way to ensure that this is the case is to add to following line to /etc/modprobe.d/madwifi :

{{{
install ath_pci /sbin/modprobe acerhk; echo on > /proc/driver/acerhk/wirelessled; /sbin/modprobe --ignore-install ath_pci
}}}

This also has the additional advantage of lighting up the orange wireless LED on the front of the laptop.[BR]]

Then what I did in order to easily manipulate the interface is to add this line to /etc/modprobe.d/options:
{{{
options ath_pci autocreate=none
}}}
and configure /etc/network/interfaces as follow:
{{{
auto ath0
iface ath0 inet dhcp
pre-up wlanconfig ath0 create wlandev wifi0 wlanmode sta
post-down wlanconfig ath0 destroy
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA2
wpa-ssid <my ssid>
wpa-psk <my shared key>
}}}

Now the wifi card starts automatically during bootup and can be switched on and off at will using standards ‘ifup ath0’ and ‘ifdown ath0’ commands.


If it is of any help I need to get it translated to OpenSUSE 11.2 language since:

A-ticket 1192 does not exist anymore (but I do have the other recommended madwifi driver installed since before)
B-acerhk and option mentioned exists in my system (installed with Yast)
C-/etc/modprobe.d/madwifi does not exist
D-/etc/modprobe.d/options does not exist
E-I am not sure if I should change to using ifup instead of NM

OK. So now I have been naughty not following the instructions, but instead spending another (whole) day trying, hacking, reading and the result is:

DO THE COMMANDS IN THIS EXACT ORDER after a fresh reboot:

sudo /sbin/modprobe -rv ath-pci
(type the root’s password)

sudo /sbin/modprobe -v acer-wmi

sudo /sbin/modprobe -v ath5k

which for me gives the following:

mr@linux-yz6z:~> sudo /sbin/modprobe -rv ath-pci
root’s password:
rmmod /lib/modules/2.6.31.12-0.1-default/weak-updates/updates/ath/ath_pci.ko
mr@linux-yz6z:~> sudo /sbin/modprobe -v acer-wmi
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/leds/led-class.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/platform/x86/acer-wmi.ko
mr@linux-yz6z:~> sudo /sbin/modprobe -v ath5k
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
mr@linux-yz6z:~>

Wait a little while (on my system apprx 1 min) and Internet works wirelessly. :’(

Once I type the acer-wmi thing the orange LED lights up. The network tick-button in KnetworkManager can turn on and off the CONNECTION but not the LED. It is lit regardless the status of tick-button.

To summarize (and here I would like some help with the explanation or corrections with misunderstandings):

A - On Fujitsu-Siemens Amilo Li2727 you can use the ath5k driver which is preinstalled with OpenSUSE 11.2.
B - You need to add the packages rfkill and acerhk in Yast Software Manager.
C - You need to modify the startup routine so that modprobe acer-wmi is loaded BEFORE modprobe ath5k (((((otherwise you need to remove ath5k (modprobe -rv ath5k), then add acer-wmi (modprobe -v acer-wmi) and then add ath5k again (modprobe -v ath5k) - not tested))))) I think that upon a fresh installation ath_pci is not installed at all (can’t remember now) otherwise it needs to be removed before acer-wmi.
D - You have to modify the wireless settings in KnetworkManager. Specifically: SSID, Infrastructure, Security, Password and tick “Connect automatically”

Some new questions though:
1 - How do I make acer-wmi load before ath5k in the start-up?
2 - Do I only need to delete the blacklist entry from before or do I need to do something with the ath-pci thing in the start-up as well?
3 - Neither Fn+Fxx nor tickbox in KnetworkManager affects the LED. Can this damage the wireless network card if connection is down and LED is on?
4 - How do I turn the LED off (preferrably automatically when I tick the “Activate wireless” tick box in KnetworkManager)?

Answer to question 2:

Remove all packages including “madwifi” in the name and the ath_pci also disappears. On my system after removing and rebooting:

mr@linux-yz6z:~> sudo /sbin/modprobe -rv ath-pci
root’s password:
FATAL: Module ath_pci not found.

Testing the order of modprobing:

This is what happens if you add ath5k before acer-wmi:

mr@linux-yz6z:~> sudo /sbin/modprobe -v ath5k
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/rfkill/rfkill.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/leds/led-class.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko

mr@linux-yz6z:~> sudo /sbin/modprobe -v acer-wmi
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/platform/x86/acer-wmi.ko

The LED turns on but you are unable to use Internet, and if you:

mr@linux-yz6z:~> sudo /sbin/modprobe -v ath5k

there is still no connection, so you must:

mr@linux-yz6z:~> sudo /sbin/modprobe -rv ath5k
rmmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko
rmmod /lib/modules/2.6.31.12-0.1-default/kernel/net/mac80211/mac80211.ko
rmmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath.ko
rmmod /lib/modules/2.6.31.12-0.1-default/kernel/net/wireless/cfg80211.ko

mr@linux-yz6z:~> sudo /sbin/modprobe -v ath5k
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.31.12-0.1-default/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko

… and you are back on the net again…

dmesg then tell me (no network cord plugged in at all):

42.000786] r8169: eth0: link down
42.000990] ADDRCONF(NETDEV_UP): eth0: link is not ready
621.820774] cfg80211: Calling CRDA to update world regulatory domain
622.036263] ath5k 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
622.036283] ath5k 0000:08:00.0: setting latency timer to 64
622.036371] ath5k 0000:08:00.0: registered as ‘phy0’
622.539128] ath: EEPROM regdomain: 0x30
622.539130] ath: EEPROM indicates we should expect a direct regpair map
622.539133] ath: Country alpha2 being used: AM
622.539135] ath: Regpair used: 0x30
622.687785] phy0: Selected rate control algorithm ‘minstrel’
622.688484] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
622.689209] cfg80211: Calling CRDA for country: AM
627.027865] ADDRCONF(NETDEV_UP): wlan0: link is not ready
627.100454] NET: Registered protocol family 17
649.356218] acer-wmi: Acer Laptop ACPI-WMI Extras
720.844240] ath5k 0000:08:00.0: PCI INT A disabled
731.076418] cfg80211: Calling CRDA to update world regulatory domain
731.137917] ath5k 0000:08:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
731.137939] ath5k 0000:08:00.0: setting latency timer to 64
731.138032] ath5k 0000:08:00.0: registered as ‘phy0’
731.639348] ath: EEPROM regdomain: 0x30
731.639351] ath: EEPROM indicates we should expect a direct regpair map
731.639354] ath: Country alpha2 being used: AM
731.639355] ath: Regpair used: 0x30
731.676338] phy0: Selected rate control algorithm ‘minstrel’
731.677003] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
731.677050] cfg80211: Calling CRDA for country: AM
736.025902] ADDRCONF(NETDEV_UP): wlan0: link is not ready
742.888320] wlan0: authenticate with AP 00:1d:68:b5:f9:11
742.889828] wlan0: authenticated
742.889831] wlan0: associate with AP 00:1d:68:b5:f9:11
742.892384] wlan0: RX AssocResp from 00:1d:68:b5:f9:11 (capab=0x411 status=0 aid=3)
742.892388] wlan0: associated
742.892944] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
747.699933] RPC: Registered udp transport module.
747.699940] RPC: Registered tcp transport module.
747.778733] Slow work thread pool: Starting up
747.779112] Slow work thread pool: Ready
747.779161] FS-Cache: Loaded
747.839714] FS-Cache: Netfs ‘nfs’ registered for caching
753.092017] wlan0: no IPv6 routers present
966.462101] ath5k phy0: unsupported jumbo
1497.679262] ath5k phy0: unsupported jumbo

Does this look alright???