SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-14 15:44:30

austincurr
Member
Registered: 2013-04-14
Posts: 2

Slitaz 4.0 can't connect to wifi- AR2425 (or apparently AR5BXB63) on an Acer Aspire 1 (AOA150-1

I am trying to get my netbook to connect to the internet via wifi with WEP. (It's fine, nobody's in range to crack it anyway) I am not a linux expert, but I have researched on the web for awhile and tried the various guides to slitaz wifi as well as some things I saw in forum posts. I have learned about iwconfig, ifconfig, network.conf, lspci, etc but I haven't been able to fix the problem and the weekend will be over soon so I would like some advice/help. First, the netbook has an AR2425 which is apparently also known as AR5BXB63 for its wifi adapter. (There is a sticker on the bottom which says AR5BXB63) It has the ath5k module which is supposed to work but doesn't seem to be. I can connect via ethernet just fine, but all I can do with the wifi is get it to show, but not connect to, my router.

Here is some information from lspci, ifconfig, and the like.

"lspci | grep [Ee]th"   ~~~Returns the realtek ethernet controller and...

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / 542x Wireless Network Adapter (PCI-Express) (rev 01)

"ifconfig"     ~~~ returns the loopback (lo) and...

wlano     Link encap:Ethernet HWaddr 00:23:4E:52:D7:FA

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 tzquelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

iwconfig      ~~~ returns lo, dummy0, and eth0 as no wireless extensions and...

wlan0     IEEE 802.11bg ESSID:"<my essid here>"

          Mode:Managed  Access Point: Not-Associated  Tx-Power=20 dBm

          Retry  long limit:7  RTS thr:off  Fragmnt thr:off

          Encryption key:<my 40 hex digit wep key here>

          Power Management:off

"cat /etc/network.conf"      ~~~ returns, and since I'm typing i removed the comments,

INTERFACE="wlan0"

DHCP="yes"

STATIC="no"

NETMASK="255.255.255.0"

GATEWAY="192.168.1.1"

DNS_SERVER="192.168.1.1"

WIFI="yes"

WIFI_INTERFACE="wlan0"

WIFI_ESSID="<my essid here>"

WIFI_MODE="managed"

WIFI_KEY="<my wep key here>"

WIFI_KEY_TYPE="on"

WPA_DRIVER=""

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

"dmesg | grep ath" returns...

ath5k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

ath5k 0000:03:00.0: setting latency timer to 64

ath5k 0000:03:00.0: registered as 'phy0'

ath: EEPROM regdomain: 0x65

ath: EEPROM indicates we should expect a direct regpair map

ath: Country alpha2 being used: 00

ath: Regpair used: 0x65

Registered led device: ath5k-phy0::rx

Registered led device: ath5k-phy0::tx

ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

ath5k 0000:03:00.0: PCI INT A disabled

ath5k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

ath5k 0000:03:00.0: setting latency timer to 64

ath5k 0000:03:00.0: registered as 'phy0'

ath: EEPROM regdomain: 0x65

ath: EEPROM indicates we should expect a direct regpair map

ath: Country alpha2 being used: 00

ath: Regpair used: 0x65

Registered led device: ath5k-phy0::rx

Registered led device: ath5k-phy0::tx

ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

"lsmod" returns

ath5k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

ath5k 0000:03:00.0: setting latency timer to 64

ath5k 0000:03:00.0: registered as 'phy0'

ath: EEPROM regdomain: 0x65

ath: EEPROM indicates we should expect a direct regpair map

ath: Country alpha2 being used: 00

ath: Regpair used: 0x65

Registered led device: ath5k-phy0::rx

Registered led device: ath5k-phy0::tx

ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

ath5k 0000:03:00.0: PCI INT A disabled

ath5k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18

ath5k 0000:03:00.0: setting latency timer to 64

ath5k 0000:03:00.0: registered as 'phy0'

ath: EEPROM regdomain: 0x65

ath: EEPROM indicates we should expect a direct regpair map

ath: Country alpha2 being used: 00

ath: Regpair used: 0x65

Registered led device: ath5k-phy0::rx

Registered led device: ath5k-phy0::tx

ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Module                  Size  Used by    Not tainted

ath5k                 111977  0

ath                     9811  1 ath5k

mac80211              145388  1 ath5k

cfg80211               99896  3 ath5k,ath,mac80211

rfkill                 10682  1 cfg80211

snd_hda_codec_realtek   202176  1

snd_hda_intel          15886  1

snd_hda_codec          45027  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               3808  1 snd_hda_codec

snd_pcm                43737  2 snd_hda_intel,snd_hda_codec

snd_timer              12515  1 snd_pcm

snd                    33394  8 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3357  1 snd

snd_page_alloc          4853  2 snd_hda_intel,snd_pcm

i915                  254040  2

drm_kms_helper         18798  1 i915

drm                   111992  3 i915,drm_kms_helper

i2c_algo_bit            3479  1 i915

button                  3602  1 i915

i2c_core               12192  4 i915,drm_kms_helper,drm,i2c_algo_bit

video                   9783  1 i915

output                  1144  1 video

intel_agp               7908  1 i915

intel_gtt               9214  3 i915,intel_agp

agpgart                18221  3 drm,intel_agp,intel_gtt

"lspci | grep -i network" returns...

03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

I may have given some information twice, sorry about that. Also, I stopped typing midway and started >> info.txt onto a flash drive. I'm on linux on this computer too, but .txt is still in me.

Thanks in advance for the help!

Offline

#2 2013-04-14 15:51:13

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Slitaz 4.0 can't connect to wifi- AR2425 (or apparently AR5BXB63) on an Acer Aspire 1 (AOA150-1

There is a bug with WEP passwords in slitaz.

Try to connect to the wifi with the wifi routers security off to verify the hardware/driver is working.

If you can associate,get i.p.,surf web then turn security back on.

Enter the wifi key without ""

Change:

WIFI_KEY="<my wep key here>"

to

WIFI_KEY=<my wep key here>

Reference:

http://hg.slitaz.org/slitaz-boot-scripts/file/1f4bcf5a8878/etc/init.d/network.sh  Line 72->81

Online

#3 2013-04-14 19:36:57

austincurr
Member
Registered: 2013-04-14
Posts: 2

Re: Slitaz 4.0 can't connect to wifi- AR2425 (or apparently AR5BXB63) on an Acer Aspire 1 (AOA150-1

I wish I knew to look at the comments in the script... I'll remember next time. The hardware/driver worked with security off, and after looking up the WEP bug I found the following post:

(http://forum.slitaz.org/topic/slitaz-40-wep-code-not-accepted-for-my-airlink1444-router)

In that post it was said that not only must the WEP key not be in quotations, but the key type must be set to wep, which I hadn't actually done- it was set to "ON". Problem solved!

Pertinent values for future people with the problem:

WIFI_KEY=<Your WEP key without quotations around it>

WIFI_KEY_TYPE="WEP"

Naturally, you must also have wifi enabled and have the interface set to your wireless adapter. Thank you, mojo, for the quick help!

Edit: I can't edit my first post to mark this as solved.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.030 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]