iPod touch Fans
Cheap iPod touch 3G - 8GB $188.95, 32GB $279.95, 64GB $373.73 with free shipping!
Reply
 
Thread Tools
  #1  
Old 10-11-2008
weewoot's Avatar
iPod touch Fan
Join Date: Nov 2007
 
Exclamation seriously WTF? (wifi)

solved thanks for your help!!!!


two days ago i got my ubuntu hardy 64bit live cd. i installed it and got my video card working finnally. now im plugged into a wired connection, trying to get my wifi to work. my card shows up as Atheros AR242x 802.llabg. i cant get it to work with madwifi or ndiswrapper. im using wcid because i heard its better. alot of times in terminal when i try something it always ends with something about bad line and blacklist(something like that.)

all i can say is WTF! can somebody please help me, i really like ubuntu and dont want to swtch back to xp or vista.

thanks,
weewoot
__________________

Last edited by weewoot; 10-12-2008 at 06:40 PM..
  #2  
Old 10-11-2008
Meikura's Avatar
Super Moderator
Join Date: Jan 2008
 
Wouldn't this be better on the ubuntu forums?
  #3  
Old 10-11-2008
weewoot's Avatar
iPod touch Fan
Join Date: Nov 2007
 
Quote:
Originally Posted by Meikura View Post
Wouldn't this be better on the ubuntu forums?
this is the linux forms, and from my understanding ubuntu is a flavor of linux.
  #4  
Old 10-11-2008
Meikura's Avatar
Super Moderator
Join Date: Jan 2008
 
What I mean is that the ubuntu forums are really active and helpful (from what I've seen), and could probably help you better there.
  #5  
Old 10-11-2008
weewoot's Avatar
iPod touch Fan
Join Date: Nov 2007
 
o, ok ill try there, thnx
  #6  
Old 10-12-2008
SkaterGOD/DOOD23's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Quote:
Originally Posted by weewoot View Post
two days ago i got my ubuntu hardy 64bit live cd. i installed it and got my video card working finnally. now im plugged into a wired connection, trying to get my wifi to work. my card shows up as Atheros AR242x 802.llabg. i cant get it to work with madwifi or ndiswrapper. im using wcid because i heard its better. alot of times in terminal when i try something it always ends with something about bad line and blacklist(something like that.)

all i can say is WTF! can somebody please help me, i really like ubuntu and dont want to swtch back to xp or vista.

thanks,
weewoot
In case you're wondering it's 802.11a/b/g compatible. You wrote to l's.

In the meantime, I've been searching, and this is what has yielded (Run code in Italics in Terminal/Console):

Worked for some people:
Quote:
1 ) First purge any presence or activity of any form of ndiswrapper. After reboot the Hardware drivers listed in System/HardwareDrivers must have a red light aside .

2 ) Remove from /etc/modprobe/blacklist any reference of ath_pci and ath_hal you removed before ...

3 ) Download:
Code:
gabes-computer-02:~ gabe$
svn co https://svn.madwifi.org/madwifi/branches/madwifi-hal-0.10.5.6
4 ) Install it reading the INSTALL files inside the package.

5 ) Enable back both drivers , reboot , enjoy !!!!
Longer guide (if asked to run command in Terminal, type only the stuff in Italics - Stuff in Bold is output of command):

Quote:
The device string displayed by lspci -v (run this in terminal) was as follows:


Code:
gabes-computer-02:~ gabe$ lspci -v
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
	Subsystem: Hewlett-Packard Company Unknown device 137a
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 91300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
gabes-computer-02:~ gabe$
First under (drop down menu on top menu-bar) System/Administration/HarwareDrivers disable both the Atheros HAL and the Atheros wireless thing and then reboot.

The kernel headers and the compiler are needed to build this driver so I started by installing build-essential. In a terminal window (Applications/Accessories/Terminal) enter:


Code:
gabes-computer-02:~ gabe$ sudo apt-get install build-essential
The driver code will be downloaded with the subversion source code manager so I installed subversion:


Code:
gabes-computer-02:~ gabe$ sudo apt-get install subversion
I needed a place to put the driver source without mixing it up with other stuff so I changed directory to my home directory:


Code:
gabes-computer-02:~ gabe$ cd ~
Created a directory:

Code:
gabes-computer-02:~ gabe$ mkdir madwifi
And changed to the new dirctory:


Code:
gabes-computer-02:~ gabe$ cd madwifi
Use subversion to download (checkout) a copy of the code:

Code:
gabes-computer-02:~ gabe$ svn co https://svn.madwifi.org/madwifi/bran...i-hal-0.10.5.6
The above command failed for me at first because subversion couldn't find svn.madwifi.org
Madwifi will probably have their DNS problems worked out by the time you read this. But if not then see the section at the bottom of this post titled "Cant find svn.madwifi.org" for a solution before continuing.

After the driver code is downloaded by subversion, change to the directory, which should be madwifi-hal-0.10.5.6


Code:
gabes-computer-02:~ gabe$ cd madwifi-hal-0.10.5.6
Run the make script to have the compiler build the driver:


Code:
gabes-computer-02:~ gabe$ make
Install the driver


Code:
gabes-computer-02:~ gabe$ sudo make install
Add the Atheros kernel module to the list of modules to be automatically loaded at boot by adding "ath_pci" (without the quotes) to the end of the /etc/modules file. I used the vi editor which I won't describe here. Gedit is probably easy to use so try:


Code:
gabes-computer-02:~ gabe$ sudo gedit /etc/modules
Now you can reboot and it should work. To get it working without a reboot you need to load the module manually:

Code:
gabes-computer-02:~ gabe$ sudo modprobe ath_pci
That should do it. The little wireless button seems to always stay lit orange. When I press it it seems to disable the wireless but it still stays lit orange. WPA works for me. I assume WEP will also. I haven't tried WPA2



CANT FIND svn.madwifi.org

If subversion has a hard time finding svn.madwifi.org then add it's IP address to your hosts file. I found this page http://madwifi.org/ticket/1982 at madwifi.org that gives the IP address 217.24.1.142 of svn.madwifi.org in one of the last messages. I tried just giving subversion the command to connect to the IP address instead of the domain name, but it failed before finishing the checkout. Edit the file /etc/hosts and add "217.24.1.142 svn.madwifi.org" (without the quotes). I added it just after the 127.0.1.1 line

Code:
gabes-computer-02:~ gabe$ sudo gedit /etc/hosts
Now you can continue with the subversion checkout. You should probably remove this line from your hosts file when you're done with this so that if you want to go back there some day and they've moved it then DNS will give the most recent IP address.
Please refer to http://www.google.com/search?hl=en&q...&btnG=S earch for more help if this didn't help you.
  #7  
Old 10-12-2008
hakk79's Avatar
iPod touch Zealot
Join Date: Feb 2008
 
Quote:
Originally Posted by SkaterGOD/DOOD23 View Post
In case you're wondering it's 802.11a/b/g compatible. You wrote to l's.

In the meantime, I've been searching, and this is what has yielded (Run code in Italics in Terminal/Console):

Worked for some people:


Longer guide (if asked to run command in Terminal, type only the stuff in Italics - Stuff in Bold is output of command):



Please refer to http://www.google.com/search?hl=en&q...&btnG=S earch for more help if this didn't help you.
O.o Wow man!
  #8  
Old 10-12-2008
weewoot's Avatar
iPod touch Fan
Join Date: Nov 2007
 
trying that now, thank you for your help man!
------------------double post merged------------------
[at the part "Edit the file /etc/hosts and add "217.24.1.142 svn.madwifi.org" (without the quotes). I added it just after the 127.0.1.1 line" i get premision denied. i googled it and it said i have to use sudo to have superuser and root privaleges, but the thing is i cant find out how to edit or replace the file using command line. do you know how?

Last edited by weewoot; 10-12-2008 at 10:22 AM.. Reason: Automerged Doublepost
  #9  
Old 10-12-2008
SkaterGOD/DOOD23's Avatar
iPod touch Lover
Join Date: Dec 2007
 
Quote:
Originally Posted by weewoot View Post
trying that now, thank you for your help man!
------------------double post merged------------------
[at the part "Edit the file /etc/hosts and add "217.24.1.142 svn.madwifi.org" (without the quotes). I added it just after the 127.0.1.1 line" i get premision denied. i googled it and it said i have to use sudo to have superuser and root privaleges, but the thing is i cant find out how to edit or replace the file using command line. do you know how?
Yes.

Code:
sudo nano /etc/hosts
  #10  
Old 10-12-2008
weewoot's Avatar
iPod touch Fan
Join Date: Nov 2007
 
everything was working, my drivers were in use when i enabled them and restarted, but network manager still sees no network... i did sudo modprobe ath_pci but it says /etc/modprobe.d/blacklist line 40: ignoring bad line starting with '“blacklist'

EDIT: ok so i removed line 40, my wireles networks are now dectected. but... when i enter my wep key it will not work, i tried all options for wep 128bit and 64bit but it wont work!!!!

you have been a really good help, this is the last thing stopping me. i tied google, but it did not help.

Last edited by weewoot; 10-12-2008 at 05:02 PM..
Reply

Tags
ubuntu wifi wicd

Thread Tools

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 On
HTML code is Off



Useful links:


All times are GMT -7. The time now is 10:15 PM.


Powered by vBulletin® ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2007 - 2009 Vigorous Media LLC - All Rights Reserved.
No information may be posted elsewhere without written permission.


Page generated in 0.05341 seconds with 5 queries