LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2006, 02:34 PM   #1
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Rep: Reputation: 15
atheros not found after update to 2174


Background
Computer: Inspiron 5100
Wireless Card: Atheros 5212 Chipset
Distro: Fedora Core 5
Kernel: 2174

I recently updated using yum to the latest kernel 2174. Previsouly, I was able to use the wireless assistant to connect to my wireless network. After the update, the atheros card wasn't even recognized anymore. I found an updated madwifi driver (in atrpms, a repo I usually don't use) and once I updated that it now finds the atheros card, although it is now an ethernet device instead of a wireless device. I cannot connect to my wireless network at all (wireless assistant sees the card, and sees my network, the connection fails every time though). I took off all encryption to see if that was the problem but it still fails. Am I missing something?

If this is the wrong forum please move it. I didn't know whether to put this in the fedora, hardware, or networking forum and didn't want to cross post.
 
Old 08-19-2006, 05:12 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
What does lsmod show? also check to see if /lib/modules/`uname -r`/driver/net/wireless has anything with atheros.ko in it.
 
Old 08-19-2006, 05:59 PM   #3
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
are you using madwifi-ng or madwifi?
what is under iwconfig? ifconfig?
 
Old 08-19-2006, 06:41 PM   #4
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Code:
Module                  Size  Used by
autofs4                21701  1
i2c_dev                 9413  0
i2c_core               22209  1 i2c_dev
hidp                   16833  2
l2cap                  23873  5 hidp
bluetooth              47909  2 hidp,l2cap
sunrpc                157309  1
i8k                     6489  1
ip_conntrack_netbios_ns     3265  0
ipt_REJECT              5569  1
xt_state                2497  2
ip_conntrack           52597  2 ip_conntrack_netbios_ns,xt_state
nfnetlink               7257  1 ip_conntrack
xt_tcpudp               3393  4
iptable_filter          3265  1
ip_tables              12809  1 iptable_filter
x_tables               14917  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
video                  16709  0
button                  6993  0
battery                10053  0
ac                      5189  0
radeon                104801  1
drm                    70229  2 radeon
ipv6                  243809  14
lp                     12937  0
parport_pc             27237  0
parport                37129  2 lp,parport_pc
wlan_scan_sta          12288  0
ohci1394               34821  0
ath_pci                86948  0
ath_rate_sample        13440  1 ath_pci
wlan                  180572  4 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal               190800  3 ath_pci,ath_rate_sample
ieee1394              298649  1 ohci1394
b44                    25293  0
mii                     5697  1 b44
joydev                  9985  0
snd_intel8x0m          17229  0
snd_intel8x0           32221  1
snd_ac97_codec         92257  2 snd_intel8x0m,snd_intel8x0
snd_ac97_bus            2625  1 snd_ac97_codec
snd_seq_dummy           4165  0
snd_seq_oss            32705  0
snd_seq_midi_event      7745  1 snd_seq_oss
snd_seq                53553  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          9037  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40017  0
snd_mixer_oss          17729  1 snd_pcm_oss
snd_pcm                83781  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pc m_oss
serio_raw               7621  0
ehci_hcd               32461  0
uhci_hcd               23885  0
snd_timer              24517  2 snd_seq,snd_pcm
hw_random               6361  0
snd                    55237  12 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_s eq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10017  1 snd
snd_page_alloc         10569  3 snd_intel8x0m,snd_intel8x0,snd_pcm
dm_snapshot            18285  0
dm_zero                 2241  0
dm_mirror              22673  0
dm_mod                 59225  6 dm_snapshot,dm_zero,dm_mirror
ext3                  129353  2
jbd                    57813  1 ext3
I didn't know if this is the same as /lib/modules/`uname -r`/driver/net/wireless , but in /lib/modules/2.6.17-1.2174_FC5/kernel/drivers/net/wireless
there isn't any atheros.ko or anything with atheros in it

madwifi-ng

iwconfig give me this
Code:
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

Warning: Driver for device ath0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.
ifconfig give this
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:56:A9:B8:40
          inet addr:192.168.0.107  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:56ff:fea9:b840/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22079 errors:1 dropped:0 overruns:0 frame:0
          TX packets:12967 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14675792 (13.9 MiB)  TX bytes:2084188 (1.9 MiB)
          Interrupt:7

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2570288 (2.4 MiB)  TX bytes:2570288 (2.4 MiB)
 
Old 08-19-2006, 07:04 PM   #5
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Debian 8
Posts: 419

Rep: Reputation: 30
Code:
Warning: Driver for device ath0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...
this tells me you need to update your wireless tools
after that it looks like it should work with a simple ifconfig ath0 up
 
Old 08-19-2006, 08:00 PM   #6
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, im using wireless-tools 1:28-0.pre13.5.1

Im a little confused on what this means. Do I need to update to version 28, 29 or do I need to update my wireless extensions?
 
Old 08-19-2006, 08:10 PM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I would update the wireless-tools program.
 
Old 08-19-2006, 09:41 PM   #8
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
I downloaded the v28 of the wireless tools and ran make install (per instructions after make) this is the output

Code:
install -m 755 -d /usr/local/lib/
install -m 755 libiw.so.28 /usr/local/lib/
ln -sfn libiw.so.28 /usr/local/lib//libiw.so
*** Don't forget to add /usr/local/lib/ to /etc/ld.so.conf, and run ldconfig as root. ***
/bin/sh: ldconfig: command not found
*** Could not run ldconfig ! ***
install -m 755 -d /usr/local/sbin/
install -m 755 iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename /usr/local/sbin/
install -m 755 -d /usr/local/include/
install -m 644 iwlib.h /usr/local/include/
install -m 644 wireless.h /usr/local/include/
install -m 755 -d /usr/local/man//man8/
install -m 644 iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 iwgetid.8 iwevent.8 ifrename.8 /usr/local/man//man8/
install -m 755 -d /usr/local/man//man7/
install -m 644 wireless.7 /usr/local/man//man7/
install -m 755 -d /usr/local/man//man5/
install -m 644 iftab.5 /usr/local/man//man5/
I have located ldconfig but it is under /sbin

Do I need to change my bash profile to look in /sbin or something else? I am running make as su
 
Old 08-20-2006, 11:03 AM   #9
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
ok I rebooted and it installed fine. But I still get the error. It installes in /usr/local/sbin. It says that multiple versions can exist and that you have to set the default one. Where do I do that?

I get the error when I run either iwconfig, or /usr/local/sbin/iwconfig. Is there something else to update?
 
Old 08-20-2006, 02:18 PM   #10
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Im going to try downloading and compiling the madwifi driver myself and see if that help at all
 
Old 08-20-2006, 10:41 PM   #11
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Well, I couldn't get the madwifi driver to compile, I couldn't get the windows driver to work with ndiswrapper, but I did uninstall and found a new driver in livna for madwifi. Now it works, better than before.

Madwifi now works with network manager and with wpa, something I was having much trouble with before.
 
Old 08-22-2006, 10:19 AM   #12
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
If you got it working could you please post your steps and where you got the working module so someone that has a similar problem will benefit from this.
 
Old 08-22-2006, 11:55 PM   #13
tgm4883
Member
 
Registered: Mar 2006
Posts: 39

Original Poster
Rep: Reputation: 15
Yea, although the steps I took aren't exactly "take charge"

When I updated my kernel to 2174 fedora no longer recognized my wireless card (atheros 5002G chipset). I couldn't find an updated driver through yum (I use the yum configuration of repos from fedorafaq.org) I then found an updated one from atrpms. When I used that one, I had errors saying that it had been compiled with a more recent version than supported. I proceded to remove that madwifi driver, and tried to compile my own version of madwifi. That gave me many errors about my kernelpath. After searching google about my kernel path, the consensus was either download the madwifi through yum, or use ndiswrapper. I tried ndiswrapper and couldn't get that to work properly with my wireless card. I proceded to remove that driver. It had now been two weeks since I updated the kernel, and I found that a newer version of madwifi was available using my regular repos. After downloading that, I checked to see if it worked and it did. I believe that the reason the newer madwifi driver from atrpms didn't work is the same reason that livna and atrpms don't work well together. They don't follow the same standard when packaging rpms.

So, in short the fix for my situation was to wait 2 weeks for an updated driver to be provided by livna
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
FC5...1.2174 installs the bcm43xx driver, replacing ndiswrapper PTrenholme Fedora 2 08-14-2006 04:49 PM
update-menus: command not found juanjavier_xxx Debian 2 07-16-2005 12:44 PM
LUFS on Fedora Core 1 - 2.4.22-1.2174 spectrumver1 Fedora 1 04-29-2004 09:18 PM
kernel 2174, 3.2 update problems theblackcat Fedora 2 04-09-2004 12:22 PM
problems with 2.4.22-1.2174 Fedora Core 1 kernel markhod Fedora 1 03-05-2004 07:30 AM


All times are GMT -5. The time now is 06:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration