[U-co] Ayuda con configuracion Atheros en Ubuntu Intrepid
Andres Guerrero
guerreroandres en gmail.com
Sab Mar 28 14:43:33 UTC 2009
Juan Carlos buenos días, le pongo los pasos que yo seguí para dejar en
funcionamiento esta misma tarjeta en un lenovo sl 500, espero también
solucionen su problema, saludos.
Removing old modules
¶<http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo#Removingoldmodules>
For this step you must be logged on as root.
First, set all your MadWifi
<http://madwifi-project.org/wiki/MadWifi>devices down:
ifconfig ath0 down
ifconfig wifi0 down
#Repeat these 2 ifconfig lines for every MadWifi device you have (ath1, etc)
Assuming that you're inside the
MadWifi<http://madwifi-project.org/wiki/MadWifi>directory, execute the
following scripts to remove the current modules from
your system and its memory:
cd scripts
./madwifi-unload
./find-madwifi-modules.sh $(uname -r)
cd ..
You should then be asked if you are sure that you want to remove the old
modules.
Building MadWifi <http://madwifi-project.org/wiki/MadWifi>
¶<http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo#BuildingMadWifi>
Now that you have the MadWifi
<http://madwifi-project.org/wiki/MadWifi>code, it's time to compile it
into the actual driver. Thankfully, this is
easy.
Assuming that you've met all of the requirements above, and you're inside
the MadWifi <http://madwifi-project.org/wiki/MadWifi> directory, you can
just type:
make
Which will start the build process. Watch for any questions you might be
prompted to answer - when it finishes, quickly scan through for any errors.
If everything went according to plan, you can proceed to the next step. Make
sure you have all the
Requirements<http://madwifi-project.org/wiki/Requirements>or the build
process may fail.
Installing MadWifi <http://madwifi-project.org/wiki/MadWifi>
¶<http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo#InstallingMadWifi>
This step will take the built MadWifi<http://madwifi-project.org/wiki/MadWifi>,
and install it on your system. Once again, make does all of the work for
you.
This step needs to be done as *root*, so either type su and enter
*root's*password, or if you have it set up (e.g. Ubuntu), prefix the
following
command with sudo.
To install the driver, type:
make install
This will copy all of the modules, tools and man pages to the correct
directories on your system. You've now completed the basic install.
Loading the MadWifi <http://madwifi-project.org/wiki/MadWifi> Module
¶<http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo#LoadingtheMadWifiModule>
This step will load the MadWifi
<http://madwifi-project.org/wiki/MadWifi>driver module into your
running system. This essentially lets all other
software know how to talk to your
MadWifi<http://madwifi-project.org/wiki/MadWifi>hardware.
This step needs to be done as *root*, so either type su and enter
*root's*password, or if you have it set up (e.g. Ubuntu), prefix the
following
command with sudo.
To load the driver module, type:
modprobe ath_pci
If after running this command ifconfig doesn't show the additional wireless
interface you might need to reboot. If you have any problems with building
the MadWifi <http://madwifi-project.org/wiki/MadWifi> driver, please refer
to UserDocs/BuildProblems<http://madwifi-project.org/wiki/UserDocs/BuildProblems>.
Creating an Interface
¶<http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo#CreatinganInterface>
MADWiFi supports *virtual access points*, which means you can create more
than one wireless device per wireless card. By default, a *sta* mode VAP is
created, which is MadWifi <http://madwifi-project.org/wiki/MadWifi> talk for
a 'managed mode wireless interface'.
*If your svn snapshot is more recent than the 23rd January 2006,
(r1407<http://madwifi-project.org/changeset/1407>
**) than you can skip the following step:*
If not, then follow these instructions to make a normal *station* mode
interface. Type (as root):
wlanconfig ath0 create wlandev wifi0 wlanmode sta
If wlanconfig <http://madwifi-project.org/wiki/UserDocs/wlanconfig> doesn't
work, you retry it after executing
'wlanconfig<http://madwifi-project.org/wiki/UserDocs/wlanconfig>ath0
destroy'.
Now, if you type iwconfig, you should see a list like the following:
eth0 no wireless extensions.
lo no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.457 GHz Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power:20 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
Then we need to bring up the wireless interface. This is done by typing (as
root):
ifconfig ath0 up
2009/3/28 JUAN CARLOS ROZO PARDO <juank7802 en gmail.com>
> Co-listeros, como cosa rara escribo para solicitar su valiosa ayuda
>
> NO he podido hacer funcionar la Ethernet controller: Atheros
> Communications
> Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) en Ubuntu 8.10
>
> Probe los consejos de esta página:
>
> http://chamangt.wordpress.com/2008/05/08/activar-wireless-atheros-en-ubuntu-con-madwifi/
> y nada
>
> Probe estos otros:
>
> http://contenidosdidacticos.com/index.php?option=com_content&task=view&id=264&Itemid=28
> ,
> estos últimos teniendo en cuenta que la version del kernel que estoy usando
> es la 2.6.27-11-generic.
>
> Es un Acer 4520 amd athlon 64 dual core de 1.9 ghz, 1 gb ram, 160 Gb DD,
>
> Hago un especial llamado a Sergiokof quien fue el que escribio la última
> guia que use y a Sirderigo, quien figura como colaborador.
>
> PD: me disculpo por enviar CC y CCO a sergiokof y sirderigo.... pero es que
> ya no se que más vueltas darle a este bendito portátil y su inalámbrica!!
>
> Agradezco su inmensa colaboración.
>
>
>
>
> --
> Juan Carlos Rozo Pardo
> Linux user # 466627
> Ubuntu User # 20935
> http://www.gnu.org/philosophy/no-word-attachments.es.html
> --
> Al escribir recuerde observar la etiqueta (normas) de esta lista:
> http://ur1.ca/0uf7
> Para cambiar su inscripción, vaya a "Cambio de opciones" en
> http://ur1.ca/0uf9
>
--
Andrés Mauricio Guerrero Toro
Ingeniero de Sistemas y Telecomunicaciones
Cel. 300-815-53-19
Más información sobre la lista de distribución Ubuntu-co