| View previous topic :: View next topic |
| Author |
Message |
vx
|
Posted: Mon May 25, 2009 5:09 pm Post subject: wireless with atheros |
|
|
Hey, I'm running BLAG9k in a laptop
Linux localhost.localdomain 2.6.25.10-libre.86.fc9.1.i686 #1 SMP Thu Jul 17 00:09:46 EDT 2008 i686 i686 i386 GNU/Linux
and I want to use my pcmcia wireless card
| Code: |
[root@localhost ]# dmesg
pccard: CardBus card inserted into slot 0
|
as I understand, this card is useful with linux, so, I want to ask for help to use it with BLAG9k,
| Code: |
[root@localhost chompe]# /sbin/lspci | grep Atheros
02:00.0 Ethernet controller: Atheros Communications Inc. Unknown device 001d (rev 01)
|
but trying to install madwifi ,
| Code: |
[root@localhost ]# yum install madwifi
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package madwifi.i386 0:0.9.4-1.lvn9 set to be updated
--> Processing Dependency: madwifi-kmod >= 0.9.4 for package: madwifi
--> Finished Dependency Resolution
madwifi-0.9.4-1.lvn9.i386 from blag has depsolving problems
--> Missing Dependency: madwifi-kmod >= 0.9.4 is needed by package madwifi-0.9.4-1.lvn9.i386 (blag)
Error: Missing Dependency: madwifi-kmod >= 0.9.4 is needed by package madwifi-0.9.4-1.lvn9.i386 (blag)
|
thanks for any help
|
|
|
 |
extraspecialbitter
|
|
 |
vx
|
Posted: Mon May 25, 2009 9:58 pm Post subject: |
|
|
| extraspecialbitter wrote: | | I could be wrong, but I think the Atheros chip set is supported by the linux-libre kernel. Is that what you're running? Find out with the "uname -r" command. |
yes, I'm running the linux-libre kernel:
| Code: |
[blagy@localhost ~]$ uname -r
2.6.25.10-libre.86.fc9.1.i686
|
and how to proceed when the Atheros chip set is supported?
how to config ?
the only entry related I found in the wiki are this:
http://blag.wiki.aktivix.org/Wireless#Tutorials
|
|
|
 |
extraspecialbitter
|
Posted: Tue May 26, 2009 3:15 am Post subject: |
|
|
hmmm... I was able to get my wireless to work on BLAG 90001 using NetworkManager. And when I installed freeeee on my Asus EEE 900 (which also uses an Atheros chip set), I was able to connect using wicd. What errors appear in /var/log/messages when you try to connect wirelessly?
|
|
|
 |
vx
|
Posted: Tue May 26, 2009 3:39 pm Post subject: |
|
|
According with the manufacturer especifications, the chipset for my card is Atheros AR2417
| extraspecialbitter wrote: | | hmmm... I was able to get my wireless to work on BLAG 90001 using NetworkManager. |
by the way, using the 'system-config-network 1.5.10' to create a new wireless device, there's a list of possible drivers (3Com 3c501, 3Com EtherLink II, AT&T GIS WaveLAN transceiver, Compex RL100ATX-PCI, and many others) , do you know if there's a similar name brand that are using same chipset?
| Quote: |
And when I installed freeeee on my Asus EEE 900 (which also uses an Atheros chip set), I was able to connect using wicd. What errors appear in /var/log/messages when you try to connect wirelessly? |
nothing more than this inserting the card:
May 26 09:32:55 localhost kernel: pccard: CardBus card inserted into slot 0
|
|
|
 |
Junichirô
|
Posted: Tue May 26, 2009 4:08 pm Post subject: |
|
|
Maybe, you need to install a more recent kernel. Download it from the URL extraspecialbitter gave you.
|
|
|
 |
vx
|
Posted: Wed May 27, 2009 2:36 am Post subject: |
|
|
| Junichirô wrote: | | Maybe, you need to install a more recent kernel. Download it from the URL extraspecialbitter gave you. |
ok, using this how-to
http://forums.blagblagblag.org/viewtopic.php?t=5021
.. now I have
| Code: |
[blagy@localhost ~]$ uname -r
2.6.27.23-libre.78.2.50.fc9.i686
|
but I really don't know what's the next step... :(
how to get the driver working?
as I said in the beginning, I can't install madwifi package from the blag repos
|
|
|
 |
extraspecialbitter
|
Posted: Wed May 27, 2009 3:00 am Post subject: |
|
|
You shouldn't need madwifi. Did you install the firmware that came along with the kernel? What happens when you try to connect via NetworkManager? Can you copy and paste the relevant sections of /var/log/messages?
|
|
|
 |
vx
|
Posted: Wed May 27, 2009 5:45 am Post subject: |
|
|
| extraspecialbitter wrote: | | Did you install the firmware that came along with the kernel? What happens when you try to connect via NetworkManager? |
yes, I installed the firmware
I can't connect via NetworkManager because is not listing anything for wireless connections, neither in the tray icon nor with the cli
| Code: |
[root@localhost ~ ]# nm-tool
NetworkManager Tool
State: connected
- Device: eth0 ----------------------------------------------------------------
Type: Wired
Driver: sis900
State: connected
Default: yes
HW Address: 00:11:2F:EC:D1:4B
Capabilities:
Supported: yes
Carrier Detect: yes
Speed: 100 Mb/s
Wired Settings
IPv4 Settings:
Address: 192.168.2.37
Prefix: 24 (255.255.255.0)
Gateway: 192.167.3.224
DNS: 192.167.3.224
|
| extraspecialbitter wrote: |
Can you copy and paste the relevant sections of /var/log/messages?
|
a moment ago, I tried to create a new wireless connection using the 'system-config-network' utility choosing a random card (because mine is not listed), and this is what I think is relevant:
| Code: |
May 27 00:16:40 localhost system-config-network[2073]: ln //etc/sysconfig/networking/devices/ifcfg-eth1 //etc/sysconfig/netw
orking/profiles//default/ifcfg-eth1
May 27 00:16:40 localhost system-config-network[2073]: ln //etc/sysconfig/networking/devices/keys-eth1 //etc/sysconfig/netwo
rking/profiles//default/keys-eth1
May 27 00:16:40 localhost system-config-network[2073]: ln //etc/sysconfig/networking/devices//ifcfg-eth1 //etc/sysconfig/net
work-scripts//ifcfg-eth1
May 27 00:16:40 localhost system-config-network[2073]: ln //etc/sysconfig/networking/devices//keys-eth1 //etc/sysconfig/netw
ork-scripts//keys-eth1
May 27 00:16:40 localhost system-config-network[2073]: mv //etc/resolv.conf //etc/resolv.conf.bak
May 27 00:16:40 localhost system-config-network[2073]: ln //etc/sysconfig/networking/profiles//default/resolv.conf //etc/res
olv.conf
May 27 00:16:41 localhost nm-system-settings: ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-eth1 ...
May 27 00:16:41 localhost nm-system-settings: ifcfg-fedora: error: Missing SSID
May 27 00:17:05 localhost dhclient: DHCPREQUEST on eth0 to 192.168.1.254 port 67
May 27 00:17:05 localhost dhclient: DHCPACK from 192.167.3.234
May 27 00:17:05 localhost dhclient: bound to 192.167.3.47 -- renewal in 27 seconds.
|
|
|
|
 |
jisis
|
|
 |
vx
|
Posted: Fri May 29, 2009 9:49 pm Post subject: |
|
|
thanks for the tip
according with the mini-howto linked from the post, the way to no-use NetworkManager to config atheros-wifi is like this:
-deactivate NM
| Code: |
[root@localhost ]# /sbin/chkconfig NetworkManager off
|
-reboot and then inserting atheros module
| Code: |
[root@localhost ]# /sbin/modprobe ath5k
[root@localhost chompe]# /sbin/lsmod |grep ath
ath5k 112648 0
mac80211 174180 1 ath5k
cfg80211 24072 2 ath5k,mac80211
dm_multipath 17292 0
scsi_dh 9476 1 dm_multipath
dm_mod 48948 3 dm_mirror,dm_log,dm_multipath
|
-check if the wifi-card is active
| Code: |
[root@localhost chompe]# /sbin/iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
|
-as I undestand the eth0 is the wired connection and lo is local; anyway I tried to get UP the eth0 to use it with wifi but it says that is not scanning
[root@localhost chompe]# /sbin/ifconfig eth0
| Code: |
eth0 Link encap:Ethernet HWaddr 00:11:2F:EC:D1:4B
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 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19 Base address:0xa000
[root@localhost chompe]# /sbin/ifconfig eth0 up
[root@localhost chompe]# /sbin/iwlist eth0 scan
eth0 Interface doesn't support scanning
|
here's where I'm now.
I guess I need to create a new config entry (as ehth1 or wlan0) to configure the wifi, right? is that's the case, how to do this? if this not the case, I'm doing something wrong?
[/code]
|
|
|
 |
john maclean
|
Posted: Mon Jun 01, 2009 6:08 pm Post subject: |
|
|
couple of things. You have got your driver up and running as it is shown by lsmod. But what is shown by | Code: | | /sbin/modinfo ath_pci && lsmod | .
Let's see that before you do anything else.
If the module is loaded correctly you should get a listing from /sbin/iwconfig. Failing that you can add an entry for the device by creating a file manually as root [0].
[0] | Code: |
echo "DEVICE=ath0
BOOTPROTO=dhcp
ONBOOT=no" > /etc/sysconfig/network-scripts/ifcfg-ath0
|
There is also the wlanconfig tool [1]. Very handy for *ahem* wireless stuff ;-)
[1] http://blag.wiki.aktivix.org/Wlanconfig
|
_________________ BLAG 'em up! |
|
 |
vx
|
Posted: Wed Jun 03, 2009 12:32 am Post subject: |
|
|
| john maclean wrote: | couple of things. You have got your driver up and running as it is shown by
lsmod. But what is shown by | Code: | | /sbin/modinfo ath_pci && lsmod | .
Let's see that before you do anything else.
|
with ath_pci
| Code: |
[root@localhost ]$ /sbin/modinfo ath_pci && /sbin/lsmod
modinfo: could not find module ath_pci
[root@localhost ]# /sbin/modprobe ath_pci
FATAL: Module ath_pci not found.
|
but..
that's what I have with ath5k
| Code: |
[root@localhost ]# /sbin/modprobe ath5k
[root@localhost ]# /sbin/modinfo ath5k && /sbin/lsmod
filename:
/lib/modules/2.6.27.24-libre.78.2.53.fc9.i686/kernel/drivers/net/wireless/ath5k/ath5k.ko
version: 0.5.0 (EXPERIMENTAL)
license: Dual BSD/GPL
description: Support for 5xxx series of Atheros 802.11 wireless LAN cards.
author: Nick Kossifidis
author: Jiri Slaby
srcversion: 3D426BB4DB7011B1A29A2F5
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000014sv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000011sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000207sv*sd*bc*sc*i*
depends: cfg80211,mac80211
vermagic: 2.6.27.24-libre.78.2.53.fc9.i686 SMP mod_unload 686 4KSTACKS
parm: debug:uint
Module Size Used by
sit 12804 0
tunnel4 6792 1 sit
ath5k 112648 0
mac80211 174180 1 ath5k
cfg80211 24072 2 ath5k,mac80211
reiserfs 196792 1
sunrpc 156052 3
ib_iser 30268 0
rdma_cm 26880 1 ib_iser
ib_cm 32592 1 rdma_cm
iw_cm 11012 1 rdma_cm
ib_sa 20552 2 rdma_cm,ib_cm
ib_mad 32792 2 ib_cm,ib_sa
ib_core 49024 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 9348 1 rdma_cm
iscsi_tcp 18440 0
libiscsi 26496 2 ib_iser,iscsi_tcp
scsi_transport_iscsi 28440 4 ib_iser,iscsi_tcp,libiscsi
ipt_REJECT 6656 2
nf_conntrack_ipv4 11528 2
iptable_filter 6528 1
ip_tables 13840 1 iptable_filter
ip6t_REJECT 7296 2
xt_tcpudp 6656 2
nf_conntrack_ipv6 15864 2
xt_state 5888 4
nf_conntrack 51424 3 nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
ip6table_filter 6400 1
ip6_tables 14736 1 ip6table_filter
x_tables 15236 6 ipt_REJECT,ip_tables,ip6t_REJECT,xt_tcpudp,xt_state,ip6_tables
ipv6 230644 21 sit,ip6t_REJECT,nf_conntrack_ipv6
cpufreq_ondemand 9868 1
acpi_cpufreq 12172 0
dm_mirror 19968 0
dm_log 12292 1 dm_mirror
dm_multipath 17292 0
scsi_dh 9476 1 dm_multipath
dm_mod 48948 3 dm_mirror,dm_log,dm_multipath
snd_intel8x0m 16780 0
snd_intel8x0 30620 3
snd_seq_dummy 6660 0
snd_ac97_codec 95140 2 snd_intel8x0m,snd_intel8x0
ac97_bus 5504 1 snd_ac97_codec
snd_seq_oss 30492 0
snd_seq_midi_event 9600 1 snd_seq_oss
snd_seq 48576 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 9996 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 42496 0
ppdev 10500 0
snd_mixer_oss 16896 1 snd_pcm_oss
snd_pcm 65924 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
sis900 21376 0
parport_pc 25620 0
snd_timer 22024 2 snd_seq,snd_pcm
mii 8192 1 sis900
firewire_ohci 22532 0
snd 50744 17
snd_intel8x0m,snd_intel8x0,snd_seq_dummy,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
yenta_socket 24972 2
parport 31956 2 ppdev,parport_pc
rsrc_nonstatic 13696 1 yenta_socket
firewire_core 35616 1 firewire_ohci
sr_mod 17064 0
i2c_sis96x 8068 0
soundcore 9416 1 snd
cdrom 32792 1 sr_mod
i2c_core 21396 1 i2c_sis96x
snd_page_alloc 11016 3 snd_intel8x0m,snd_intel8x0,snd_pcm
serio_raw 8836 0
crc_itu_t 5760 1 firewire_core
pcspkr 6272 0
joydev 12736 0
asus_laptop 18296 0
wbsd 16136 0
mmc_core 43676 1 wbsd
sg 31156 0
pata_acpi 7680 0
ata_generic 8452 0
pata_sis 13444 3
libata 135148 3 pata_acpi,ata_generic,pata_sis
sd_mod 32668 4
scsi_mod 123772 9
ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,scsi_dh,sr_mod,sg,libata,sd_mod
crc_t10dif 5632 1 sd_mod
ext3 109192 1
jbd 43284 1 ext3
mbcache 10244 1 ext3
uhci_hcd 23312 0
ohci_hcd 24336 0
ehci_hcd 33164 0
|
| Quote: |
If the module is loaded correctly you should get a listing from /sbin/iwconfig. Failing that you can
add an entry for the device by creating a file manually as root [0].
|
adding a new entry for ath0
| Code: |
[root@localhost rpm]# /sbin/ifconfig ath0
ath0: error fetching interface information: Device not found
|
| Quote: |
There is also the wlanconfig tool. Very handy for *ahem* wireless stuff ;-)
|
sure, in case you have madwifi, but I can't install it
| Code: |
[root@localhost ]# yum install madwifi
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package madwifi.i386 0:0.9.4-1.lvn9 set to be updated
--> Processing Dependency: madwifi-kmod >= 0.9.4 for package: madwifi
--> Finished Dependency Resolution
madwifi-0.9.4-1.lvn9.i386 from BlagBlag has depsolving problems
--> Missing Dependency: madwifi-kmod >= 0.9.4 is needed by package madwifi-0.9.4-1.lvn9.i386 (BlagBlag)
Error: Missing Dependency: madwifi-kmod >= 0.9.4 is needed by package madwifi-0.9.4-1.lvn9.i386 (BlagBlag)
|
|
|
|
 |
jisis
|
Posted: Wed Jun 03, 2009 7:13 pm Post subject: |
|
|
scroogle 'rpmfusion madwifi-kmod' and it appears to be in the non-free section, which is probably why it's not in the BLAG repo.
|
|
|
 |
vx
|
Posted: Thu Jun 04, 2009 3:51 pm Post subject: |
|
|
| jisis wrote: | | scroogle 'rpmfusion madwifi-kmod' and it appears to be in the non-free section, which is probably why it's not in the BLAG repo. |
yeah, I see,, so..
looking for another solution I found this post with one possible solution:
http://forums.fedoraforum.org/showpost.php?p=1126987&postcount=10
it said that is necessary to blacklist ath_pci and ath_hal before inserting ath5k,, I'll try and let you all know soon
---
the above solution doesn't work for me, but I found in a mailing list
that maybe is better to build from source the latest wireless drivers, so I'm reading how to do that
.
---
I can't build the latest driver :(
| Code: |
[root@localhost compat-wireless-2009-06-05]# tar jxvf compat-wireless-2009-06-05.tar.bz2
[root@localhost ] cd compat-wireless-2009-06-05
[root@localhost compat-wireless-2009-06-05]# make
CC [M] /home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.o
In file included from /home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.c:21:
/home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/ath9k.h:469: error: el campo ‘ops’ tiene tipo de dato incompleto
make[5]: *** [/home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k/hw.o] Error 1
make[4]: *** [/home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath/ath9k] Error 2
make[3]: *** [/home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless/ath] Error 2
make[2]: *** [/home/chompe/Descargas/rpm/compat-wireless-2009-06-05/drivers/net/wireless] Error 2
make[1]: *** [_module_/home/chompe/Descargas/rpm/compat-wireless-2009-06-05] Error 2
make[1]: se sale del directorio `/usr/src/kernels/2.6.27.24-libre.78.2.53.fc9.i686'
make: *** [modules] Error 2
|
[/code]
|
|
|
 |
|
|
|