LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-09-2008, 02:50 AM   #1
stahork
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Wireless not working - Atheros ar5007ug with Hardy 8.04 and medion laptop


Wireless not working. Please help. I've been to all forums here, as well as numerous websites and ubuntu help topics all over the Internet and still cannot get my wireless card working. My details:

Medion 96340 laptop
Atheros ar5007ug wlan
AMD Athlon 64 x2 dual-core processor tk-53
dual partition with internet connection on the windows vista (32-bit) partition
no internet connection on the ubuntu partition

I cannot view my wlan card anywhere in Ubuntu, even the network section. Driver not viewable in "hardware drivers" section. I tried to install ndiswrapper with no success.

I really want to use Ubuntu, I'm a newbie, but after a week of trying to connect to the Internet, I'm ready to give up on linux. Please spell out instructions for me as I am still unfamiliar with some of the commands and terms. Also, I was unable to install ndiswrapper because I don't know where to put the files, and how to 'tar'?

Thank you for your help. Ken.
 
Old 06-09-2008, 05:40 AM   #2
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 15
This hardware isn't currently supported (officially), however there is a patch for madwifi that does work. You will need to download the source code, patch it, compile and install, then reboot and it should work (it does here, Fedora 9 x86-64). See this post on Fedora Forum. Eventually, this patch will make it into the release and will be available via the package repositories.

Alternatively, you can go the route of wrapping a Windows XP driver using ndiswrapper; see here for the gory details.
 
Old 06-09-2008, 09:08 PM   #3
kevmitch
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Hi Ken,

Here's how you would probably want to do ndiswrapper in Ubuntu. Not sure about the 4KSTACKS business, so let's try it without messing around with kernel compilation first. Each "$" indicates the beginning of a command in the terminal.

1. Download all the stuff necessary to compile kernel modules:
Quote:
$ sudo module-assistant prepare
2. Now download, compile and install the ndiswrapper kernel module:
Quote:
$ sudo module-assistant auto-install ndiswrapper
3. Make sure that the ndiswrapper module loads by itself without problems.
Quote:
(clear the kernel messages) $ sudo dmesg -c
(load the module) $ sudo modprobe ndiswrapper
(read the new kernel messages) $ sudo dmesg
(check that the module is actually loaded)$ lsmod | grep ndiswrapper
(remove the module) $ sudo rmmod ndiswrapper
3. Now, make a temporary directory in your home directory to download stuff into and change to it:
Quote:
$ mkdir ~/tmp
$ cd ~/tmp
2. Download the windows driver in the link from the other post above:
Quote:
$ wget http://www.acer.com.cn/driver/downlo...ss_Atheros.zip
$ sudo aptitude install unzip
$ unzip Wireless_Atheros.zip
3. Grab the .inf file with ndiswrapper and confirm that it's installed:
Quote:
$ sudo ndiswrapper -i Wireless_Atheros_XP32_XP64_WHQL_\(5.3.0.45_logo\)/XP32_XP64_WHQL_5-3-0-45_\(Negative-Pole\)70510/net5211.inf
$ /usr/sbin/ndiswrapper -l
4. Now probe the module with a driver behind it and check the kernel messages and that the module was loaded.
$ sudo dmesg -c
$ sudo modprobe ndiswrapper
$ sudo dmesg
$ lsmod | grep ndiswrapper

If any of the above steps fails, post the output here. In particular, if you have problems related to 4KSTACKS, I'll direct you in how to recompile the kernel.
 
Old 06-12-2008, 01:11 AM   #4
kevmitch
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Did you get wireless to work? I hope you didn't give up. You'll find Linux is a wonderful thing once you get past the first few speedbumps.
 
Old 06-14-2008, 10:51 PM   #5
stahork
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for responding. Here's what I got after typing in the first command"
===========================================================
kennster@kennster-laptop:~$ module-assistant prepare
The program 'module-assistant' is currently not installed. You can install it by typing:
sudo apt-get install module-assistant
bash: module-assistant: command not found
kennster@kennster-laptop:~$ sudo apt-get install module-assistant
[sudo] password for kennster:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package module-assistant
kennster@kennster-laptop:~$ sudo module-assistant auto-install ndiswrapper
sudo: module-assistant: command not found
kennster@kennster-laptop:~$
=========================================
Also, upon I downloading the ndiswrapper file and atheros driver when on vista, where do I put the files? Last, you told me to first download all the stuff necessary to compile kernel modules, what files do I need to download and from where? Sorry I'm at the beginning stages of learning this. I'm rallt pretty versed and capable on vista, but unfamiliar with Linix. Thank you for your help.

Last edited by stahork; 06-14-2008 at 11:20 PM.
 
Old 06-15-2008, 01:22 PM   #6
nbg
LQ Newbie
 
Registered: May 2007
Posts: 20

Rep: Reputation: 0
update the Ubuntu it should be install wireless driver.


If use use ndiswrapper can you show us ,what do you get the output when you type this command:-

#ndiswrapper -l
 
Old 06-15-2008, 07:44 PM   #7
kevmitch
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by stahork View Post
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package module-assistant
This is a problem. It looks like apt isn't finding the module assistant package. This is likely because you need to update the package database
Code:
aptitude update
Quote:
Also, upon I downloading the ndiswrapper file and atheros driver when on vista, where do I put the files?
If there is no way to get a wired network connection to your machine I suppose you will have to download the driver in Windows. In this case, you can put them anywhere you want as long as they are accessible from Linux. You'll likely find your windows partition under "/media/windows" or something like that. In which case you would replace

with
Quote:
cp <path to zip file>/Wireless_Atheros.zip ~/tmp
It would however probably be easier just to download the thing in Linux over a wired connection with the wget command since this does not involve finding and possibly mounting your windows partition. While that's certainly not impossible, it is an extra step.

Quote:
Last, you told me to first download all the stuff necessary to compile kernel modules, what files do I need to download and from where?
Code:
module-assistant prepare
does exactly this. I was just trying to give some meaning to the commands.

Last edited by kevmitch; 06-16-2008 at 02:28 PM.
 
Old 06-19-2008, 03:11 PM   #8
BaldDude
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Wireless Card

Ken,

This is Kurt (from work). Check out this website. It lists a bunch of USB wireless cards that work out of the box with Ubuntu.

https://help.ubuntu.com/community/Wi...CardsSupported
 
  


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
Atheros 5006EG wireless problem on an Aspire 5050-4697 laptop Thetargos Linux - Laptop and Netbook 8 09-28-2007 07:05 AM
wireless Atheros driver for Acer laptop craigconrad Slackware 22 05-28-2007 08:52 AM
My medion md-96400 laptop, video and wireless failure kbutcher5 Linux - Laptop and Netbook 23 11-02-2006 04:40 AM
Madwifi with atheros in laptop not working in debian with linux 2.6 annacoder Linux - Wireless Networking 4 04-28-2006 03:48 AM
wireless Atheros ar5004g card on Toshiba A70 satellite laptop j0ck Linux - Wireless Networking 3 04-27-2005 06:38 AM


All times are GMT -5. The time now is 04:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration