LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-09-2008, 01:18 PM   #1
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Rep: Reputation: 16
Unhappy madwifi-ng r2756 + ar5007 patch not recognising card under fedora core 8


this is almost the same problem i was having last time: lspci reports it can see an Atheros AR5006EG, i try madwifi, an interface wlan0 appears, every time i try to activate it it says "Device does not appear to be present - delaying activation".

according to the compatibility list, it's likely to be an AR5007 being recognised wrong. but i'm now using the ar5007 patch, and i get no dice. does anyone have any idea what else to try?

ps. also could this be anything to do with other stuff i've tried not being removed?

L

edit. i think i've messed it up - i accidentally deleted the wlan0 interface under Network Device Control. anyone know what to do? i appreciate it - L

Last edited by lepht; 02-09-2008 at 01:27 PM. Reason: more stuff happened
 
Old 02-10-2008, 08:50 AM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Being wlan0 I suspect it is still using the ath5k module. If using the madwifi it would normally reference to ath0.

Post contents of /etc/modprobe.conf
Output of the command ' /sbin/lspci -v ' and just the portion on the nic.
Output of the command '/sbin/lsmod '

You may need to blacklist ath5k in order to load madwifi or at least unload ath5k before loading the madwifi module if ath5k is already loaded.

Brian
 
Old 02-13-2008, 09:55 AM   #3
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Original Poster
Rep: Reputation: 16
results

/etc/modprobe.conf :

alias eth0 e100
alias scsi_hostadapter libata
alias scsi_hostadapter1 ata_piix
alias scsi_hostadapter2 qlogic_cs
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0

/sbin/lspci -v , just the portion on the Atheros card:

05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7106
Flags: fast devsel, IRQ 18
Memory at f0800000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Kernel modules: ath_pci, ath5k

(i think this is an AR5007EG being misrecognised - L)

/sbin/lsmod :

Module Size Used by
vfat 13249 1
fat 45277 1 vfat
usb_storage 73601 1
i915 23745 2
drm 67029 3 i915
ipt_MASQUERADE 6721 1
iptable_nat 9669 1
nf_nat 18669 2 ipt_MASQUERADE,iptable_nat
bridge 47193 0
rfcomm 36825 0
l2cap 25537 9 rfcomm
bluetooth 49317 4 rfcomm,l2cap
autofs4 20421 2
sunrpc 140765 1
nf_conntrack_ipv4 11717 8 iptable_nat
ipt_REJECT 7617 4
iptable_filter 6465 1
ip_tables 14213 2 iptable_nat,iptable_filter
nf_conntrack_ipv6 18769 5
xt_state 6081 11
nf_conntrack 51977 6 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,xt_state
nfnetlink 8281 4 nf_nat,nf_conntrack_ipv4,nf_conntrack_ipv6,nf_conntrack
xt_tcpudp 6977 18
ip6t_ipv6header 6209 2
ip6t_REJECT 8257 2
ip6table_filter 6337 1
ip6_tables 15109 2 ip6t_ipv6header,ip6table_filter
x_tables 14277 9 ipt_MASQUERADE,iptable_nat,ipt_REJECT,ip_tables,xt_state,xt_tcpudp,ip6t_ipv6header,ip6t_REJECT,ip6_t ables
ib_iser 30997 0
rdma_cm 25585 1 ib_iser
ib_cm 29613 1 rdma_cm
iw_cm 10949 1 rdma_cm
ib_sa 19829 2 rdma_cm,ib_cm
ib_mad 33493 2 ib_cm,ib_sa
ib_core 44481 6 ib_iser,rdma_cm,ib_cm,iw_cm,ib_sa,ib_mad
ib_addr 9413 1 rdma_cm
iscsi_tcp 21952 0
libiscsi 21953 2 ib_iser,iscsi_tcp
scsi_transport_iscsi 26953 4 ib_iser,iscsi_tcp,libiscsi
cpufreq_ondemand 10317 1
acpi_cpufreq 12365 1
loop 16581 0
dm_multipath 18249 0
ipv6 245989 22 nf_conntrack_ipv6,ip6t_REJECT
kvm_intel 21333 0
kvm 56821 1 kvm_intel
snd_hda_intel 274529 3
snd_seq_dummy 6725 0
firewire_ohci 19137 0
ath_pci 98984 0
firewire_core 36737 1 firewire_ohci
wlan 176688 1 ath_pci
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
ath_hal 234592 1 ath_pci
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
i2c_i801 12112 0
i2c_core 21825 1 i2c_i801
snd_seq_device 10061 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37569 0
pcspkr 6593 0
snd_mixer_oss 16705 1 snd_pcm_oss
e100 33997 0
mii 8385 1 e100
tifm_7xx1 9281 0
sdhci 17997 0
snd_pcm 63685 2 snd_hda_intel,snd_pcm_oss
crc_itu_t 6081 1 firewire_core
mmc_core 27333 1 sdhci
tifm_core 11205 1 tifm_7xx1
ath5k 88517 0
video 20177 0
output 6977 1 video
snd_timer 20549 2 snd_seq,snd_pcm
button 10449 0
snd_page_alloc 11337 2 snd_hda_intel,snd_pcm
snd_hwdep 10309 1 snd_hda_intel
ac 8133 0
battery 14025 0
mac80211 125137 1 ath5k
serio_raw 9029 0
snd 43461 15 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwd ep
cfg80211 19785 1 mac80211
soundcore 9633 1 snd
iTCO_wdt 13797 0
sr_mod 17509 0
sg 31965 0
cdrom 33889 1 sr_mod
joydev 12545 0
iTCO_vendor_support 7109 1 iTCO_wdt
qlogic_cs 9537 0
qlogicfas408 9537 1 qlogic_cs
dm_snapshot 17765 0
dm_zero 5825 0
dm_mirror 21569 0
dm_mod 46209 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ata_generic 8901 0
ata_piix 16709 2
libata 100401 2 ata_generic,ata_piix
sd_mod 27329 5
scsi_mod 120013 10 usb_storage,ib_iser,iscsi_tcp,libiscsi,scsi_transport_iscsi,sr_mod,sg,qlogic_cs,libata,sd_mod
ext3 110665 2
jbd 52457 1 ext3
mbcache 10177 1 ext3
uhci_hcd 23633 0
ohci_hcd 21445 0
ehci_hcd 31821 0

thanks so much for helping me out Brian, i really appreciate it. sorry for the delay too; i got a lot of stuff going on. i think you're right in any case - but how do you blacklist or remove modules? i've never worked with these things before. cheers

L
 
Old 02-14-2008, 04:36 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
check post #2 from this link.http://www.linuxquestions.org/questi...+fedora+module
Add the ath5k to the items to blacklist.

Brian
 
Old 02-15-2008, 12:23 PM   #5
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Original Poster
Rep: Reputation: 16
Unhappy no dice

i still got nothing... i blacklisted the ath5k module, made sure it was still blacklisted after reboot, rebuilt the special ar5007 patched madwifi snapshot, modprobe'd everything in, rebooted... and nothing.

is this because i deleted that wlan0 interface under Network Device Control? if so, what can i do to restore it?

L
 
Old 02-15-2008, 03:15 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you blacklisted check the output of /sbin/lsmod and see if ath5k is loaded. Now if not then the new network id for the madwifi module is ath0 for the first.

Brian
 
Old 02-18-2008, 02:32 PM   #7
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Original Poster
Rep: Reputation: 16
Question ?

yeah, it's definitely not loaded. lsmod sees all the madwifi modules i loaded and no ath5k, lspci sees an Atheros card, but i got no wireless - the wlan0 device is back, but i still can't activate it. right now it's giving me this:

"Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument."

i got no idea why it's wlan0 and not ath0. there's no ath devices anywhere as far as i can see.

"Now if not then the new network id for the madwifi module is ath0 for the first."

could you clarify that? sorry man, i'm new here and i got no idea what you meant by that. do i need to modprobe ath0 or ipconfig ath0 or something?

cheers

L
 
Old 02-19-2008, 04:09 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Place the contents below in a file called ifcfg-ath0 in /etc/sysconfig/network-scripts
Code:
ONBOOT=yes
DEVICE=ath0
MODE=Managed
WIRELESS=yes
ESSID=AP_Router
BOOTPROTO=dhcp
RATE=auto
Just change the ESSID to your routers name. This setup is simple dhcp connection to the router with no wep, wpa,wpa2 setup on the router. Once router is not set to any security then issue these command as root to see what happens.
/sbin/ifdown eth0
/sbin/ifdown wlan0
/sbin/ifdown ath0
/sbin/ifup ath0

Brian
 
Old 02-20-2008, 08:52 PM   #9
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Original Poster
Rep: Reputation: 16
Exclamation hitch

i can't turn off the router security - i live in shared housing, and the router isn't mine. i just use the network - it's either WEP or WPA, i'll find out for definite if you need me to.

what would i have to do to make that script work with WEP/WPA?

L
 
Old 02-22-2008, 06:19 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
One needs to know exactly what it is. All configurations for wep, wpa, and wpa2 differ plus the many different version each as 64bit 128bit wep, to tkip and many other options in WPA and WPA2.

Brian
 
Old 02-26-2008, 08:44 PM   #11
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Original Poster
Rep: Reputation: 16
Post wireless lan specs

okay, i managed to get hold of the guy who runs the network. auth is WPA2, he said it uses AKIP, and i now know the network name and password... =/ in any case, if that's not enough info, let me know and i can harass him some more (i pay him enough). sorry bout the delay...

L
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with madwifi on Fedora Core 5 biogeek Linux - Wireless Networking 4 10-20-2006 12:04 AM
Mythtv & Fedore Core 5 Install - recognising Video card charjoe Linux - Software 2 07-18-2006 09:36 AM
MadWifi Problem with Fedora Core 4 spacecowboy19 Linux - Wireless Networking 2 02-11-2006 10:13 PM
Madwifi and Fedora Core 3, HELP?? henry_huckem Linux - Networking 0 01-27-2005 02:23 PM
Can someone email me "madwifi-2.6.8_and_-mm-040821.patch.bz2"? (madwifi 2.6.8 patch) 95se Linux - Wireless Networking 0 09-01-2004 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration