LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-31-2008, 08:42 AM   #1
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Rep: Reputation: 16
config wireless card in laptop


Hi All,


I have compaq laptop and i installed fedora 8.
I used to config wifi card through ndiswrapper. I followed the below link.

Wireless Networking with ndiswrapper | TUX

i got error while execute "modprobe ndiswrapper"

[root@maniannam ~]# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.


This is my Hardware details and kernel version.

[root@maniannam ~]# uname -r
2.6.25.14-69.fc8


[root@maniannam ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[root@maniannam ~]#


Please any one help to me.....


Advance thanks....
 
Old 12-31-2008, 08:53 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Hi. Why don't you try Fedora 10. Many Atheros based wireless cards work out of the box and ndiswrapper is not needed.
 
Old 12-31-2008, 09:50 AM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would give ath5k, or openHAL a shot. http://madwifi-project.org/

I am running my Atheros AR5007 with OpenHAL and it works just fine..
ndiswrapper is just an extra layer that should not be needed for this wireless chipset.
 
Old 12-31-2008, 10:16 AM   #4
GlenDobbs
LQ Newbie
 
Registered: Dec 2008
Location: Currently England
Distribution: Slackware plus others
Posts: 6

Rep: Reputation: 1
If you are sure you want ndiswrapper you will need to install it.
 
Old 01-01-2009, 06:29 AM   #5
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
Thanks for your reply....

I download madwifi-hal-0.10.5.6-r3875-20081105 this version and done make and make install without error.

Then, config wlan0 interface. even through, its not working


[root@maniannam madwifi-hal-0.10.5.6-r3875-20081105]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"tpghyd" Nickname:"maniannam"
Mode:Managed Frequency:2.457 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm Sensitivity=1/1
Retryff RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=0/70 Signal level=-96 dBm Noise level=-96 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.
 
Old 01-01-2009, 03:37 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Looks like oyu have astart on it.. the radio appears to be on at least.
Lets verify what modules you have loaded A quick overview of my wireless

lsmod | grep ath

I would expect to see ath_pci and ath_hal loaded.


Hmm then I run across this..
Quote:
I just installed working madwifi on my F9 Eee PC using madwifi in livna-testing:
yum –enablerepo=livna-testing
install kmod-madwifi
 
Old 01-02-2009, 05:33 AM   #7
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
I think mine is wrong....

[root@maniannam conf]# lsmod | grep ath
dm_multipath 18505 0
dm_mod 48521 3 dm_mirror,dm_log,dm_multipath
ath5k 111689 0
mac80211 175669 1 ath5k
cfg80211 25417 2 ath5k,mac80211
 
Old 01-02-2009, 10:36 AM   #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
Modules look correct. The ones mention are from the older madwifi source. The new stuff is ath5k with use of mac80211 and cfg80211. It used with many new cards that are what is refered to as softmac.

Now are you connecting to a non secured router. One without WEP, WPA, or WPA2 enabled. If not I would diasble those on the router for the bit of time to test to see if you can connect to an unsecured router. Once you do that then you can work on setting up your security level.

Brian

Last edited by Brian1; 01-02-2009 at 10:37 AM.
 
Old 01-02-2009, 11:49 AM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
This how-to is referring to the Atheros ar5007 but it's rather interesting considering..

the modules I mentioned are from the current snapshot of the OpenHAL driver
Code:
https://help.ubuntu.com/community/AspireOne
Wireless module

*  There has been some confusion as to which wireless driver provides the best performance and reliability. I have found the following:
          o madwifi from kernel (ath_pci) - does not attach to hardware.
          o ath5k from intrepid backports (ath5k) - connects to hardware, but experiences disconnects on medium to 
            heavy wireless activity, and can not communicate with some AP's using WPA2 PSK.
          o madwifi-hal from http://snapshots.madwifi-project.org/ (ath_pci) - Everything works. 
I recommend using the most recent snapshot of madwifi-hal from http://snapshots.madwifi-project.org/
technically yes the ath5k driver 'should' work, but in practice it may not.
Of course this issue may be that the User is running Fedora 8 and not Fedora 10..
the Wireless driver ath5k in F8 would be much older that what is provided in F10..
 
Old 01-07-2009, 07:41 AM   #10
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
I tried without WEP, WPA these thing enabled.
Even though not working....

[root@maniannam-linux named]# iwconfig
lo no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"tpghyd"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thrff Fragment thr=2352 B
Encryption keyff
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

tun0 no wireless extensions.

[root@maniannam-linux named]#
 
Old 01-07-2009, 08:51 AM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
what does the entry look like in the dmesg log when the card comes up ? are there any errors showing there ??

or a (HAL Status ##) at the end of one of the dmesg lines..


You can also check the support section for madwifi. http://madwifi-project.org/wiki/Support

I see afew other commments of card is on, can detect AP's but can't connect. so the answers may already be there.

Last edited by farslayer; 01-07-2009 at 09:18 AM.
 
Old 01-08-2009, 07:25 AM   #12
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
my dmesg result

eth0: link down
eth0: link up, 10Mbps, half-duplex, lpa 0xE430
ADDRCONF(NETDEV_UP): wlan0: link is not ready
 
Old 01-08-2009, 07:29 AM   #13
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
and my message showing some error

Jan 8 08:41:00 maniannam-linux nm-system-settings: ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Jan 8 08:41:00 maniannam-linux nm-system-settings: ifcfg-fedora: read connection 'System tpghyd (wlan0)'
Jan 8 08:41:00 maniannam-linux nm-system-settings: ifcfg-fedora: Ignoring connection 'System tpghyd (wlan0)' and its device because NM_CONTROLLED was false.
Jan 8 11:22:53 maniannam-linux system-config-network[4603]: chmod 0644 //etc/sysconfig/networking/devices/ifcfg-wlan0
Jan 8 11:22:53 maniannam-linux nm-system-settings: ifcfg-fedora: updating /etc/sysconfig/network-scripts/ifcfg-wlan0
Jan 8 18:47:39 maniannam-linux kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 8 18:55:40 maniannam-linux kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 
Old 01-08-2009, 08:27 AM   #14
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Have you gone through the troubleshooting document ? http://madwifi-project.org/wiki/User...roubleshooting

Exactly which Driver do you have currently installed and where did you get it ?
- Installed madwifi from Fedora Livna repository
- Downloaded driver from madwifi site (WHICH ONE)
- using driver that came on system.
- other.


please post the output of the following commands:
(USE [CODE] TAGS around your replies so it will be easier to read)

lsb_release -a

lsmod

cat etc/modprobe.d/blacklist

lspci -v - Post only the section related to the Wireless card.

There will be a line in the lscpi -v output that starts with Memory and has a number..
Memory at 6c000000
Make sure your interface is DOWN and insert the number returned into the following command.



ath_info 0x6c000000
post the output



again make sure you use [code] tags around your replies otherwise this will be impossible to read.

Last edited by farslayer; 01-08-2009 at 08:29 AM.
 
Old 01-17-2009, 01:17 AM   #15
maniannam
Member
 
Registered: Dec 2007
Location: India
Distribution: fedora 11
Posts: 64

Original Poster
Rep: Reputation: 16
Sorry..... I am in out of station, so I couldn't access internet regularly. Tomorrow i will reach the office. So Tomorrow i will send the details.

Once again sorry for the late


Regards,
maniannam
 
  


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
ubuntu wireless card config... erat123 Linux - Desktop 4 10-18-2006 01:05 PM
Wireless card Config sangs Mandriva 1 05-29-2005 08:38 PM
Wireless card config mendesb Linux - Wireless Networking 0 12-20-2004 07:02 PM
Help with Suse 9.1 pro wireless laptop config CrazySka Linux - Wireless Networking 1 11-01-2004 03:27 PM
Wireless Card config crazy endian Linux - Newbie 14 10-01-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration