LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless not working - Atheros ar5007ug with Hardy 8.04 and medion laptop (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-not-working-atheros-ar5007ug-with-hardy-8-04-and-medion-laptop-647942/)

stahork 06-09-2008 02:50 AM

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.

webaware 06-09-2008 05:40 AM

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.

kevmitch 06-09-2008 09:08 PM

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.

kevmitch 06-12-2008 01:11 AM

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.

stahork 06-14-2008 10:51 PM

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.

nbg 06-15-2008 01:22 PM

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

kevmitch 06-15-2008 07:44 PM

Quote:

Originally Posted by stahork (Post 3184981)
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.

BaldDude 06-19-2008 03:11 PM

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


All times are GMT -5. The time now is 12:33 AM.