como ligar wireless atheros AR5007EG ou AR242 em ubuntu 8.04

Problema:

Acabaste de instalar o Ubuntu 8.04 e ficaste surpeendido porque o wireless não funciona. Vais a “Network Settings” e na lista “Connections” não aparece a opção “Wireless Connections”:

ubuntu-network-settings.jpg

Hum.. se calhar o teu portátil tem wireless Atheros. Provavelmente é um AMD Turion64, mas, mesmo que não seja, penso que o teu problema tem a ver com a placa wireless. Verifica o seguinte… abre uma janela de terminal e escreve:

lspci

Vês esta linha?

Ethernet controller: Atheros Communications Inc.
AR242x 802.11abg Wireless PCI Express
Adapter (rev 01)

Ok, então tens a tal placa (mas pelo que eu li isto também se aplica a AR500 ou AR3435).

Solução:

Podes ir directo à segunda página desta thread ou começar pela primeira e seguir a história as it unfolds para compreender melhor o problema… (engraçado, acabo de reparar que a thread começou apenas ontem e a solução foi postada há menos de 3 horas).

Resumindo: parece que precisas do madwifi instalado, que precisas de um patch para o mesmo, de instalar o ndiswrapper e de instalar os drivers do windows… pois… ui… se não fores um utilizador experiente será difícil juntar todas as peças do puzzle e executar tudo certinho: as versões correctas, pela ordem certa, as configurações certas e etc…

Daqui por dois meses já deves estar à vontade com toda esta história do “make install” “apt-get” e etc… mas para começar convinha estar ligado à net… Felizmente, na página 2 da thread encontras um download (madwifi_patch.tar.bz2) que contém os últimos ficheiros e um script (install.sh) que faz tudo isso de uma só vez:

  • Unpack madwifi_patch.tar.bz2 e executar install.sh:
    • $ tar xjvf madwifi_patch.tar.bz2 // unpack
    • $ chmod +x install.sh // make it executable
    • $ sudo ./install.sh // execute it
  • Ir a System | Administration | Hardware Drivers e desligar o item Atheros Hardware Access Layer (HAL)

ubuntu-hardware-drivers.jpg
desligar só o HAL, se o outro não está “in use”, talvez esteja depois do reboot (eu não reparei)

  • Reboot
  • Connect

ubuntu-wireless-networks.jpg
that’s what you get for being a good boy

Uma pequena reserva

Já-me foi dito que esta solução não é inteiramente “free” (as in freedom) e se olhares para dentro do patch encontrarás uns quantos copyrights… já para não falar da ironia de querer sair do Windows para ser mesmo Free e teres que instalar um patch que contém o driver windows e um wrapper para o executar no teu Linux côr de pêssego novinho em folha…

Tinha começado coma quote do Die Hard acerca da facilidade de mudar para o Linux (come to LA baby)… bem… acabemos com uma quote do Crash do Cronenberg:

Maybe the next time, darling. Maybe the next time.

10 Responses to “como ligar wireless atheros AR5007EG ou AR242 em ubuntu 8.04”


  1. 1 No Spam

    LABEL INICIO

    “Ah e tal, não quero usar linha de comandos”,
    Pode-se sempre usar GUI’s
    “Ah e tal, não encontro a janela XPTO”
    Pode-se sempre usar a linha de comandos.

    GOTO INICIO

  2. 2 André Torgal

    Eu quero mesmo é usar a linha de comandos, mas as janelas até dão algum jeito desde que apareçam lá…

    Ah e tal, cheguei lá e o tipo disse-me logo, ah pois, vais ali e escreves coiso e tal e depois isso, e eu, ah pois, mas eu não nasci ensinado… ;-)…

    … ou seja, foi um azar do caraças ter um hardware que não é inteiramente suportad. Blame whoever, o azar é meu e de mais uns quantos, não tão poucos, com as placas atheros no portátil.

    E realmente uma grande ironia… mudar para um OS livre, e não poder ser livre… Com este hardware, tenho sempre que trazer um pedaço do Windows atrás, contra a minha vontade: ele é o wrapper, algun código fechado, alguns copyrights e afins.

    Isso não é definitivamente culpa minha, por muito que eu saiba encontrar janelas ou que “Ah e tal, um tipo chega aqui logo ensinado a saber fazer tudo na linha de comando de um SO que não conhece.”. Perdão, na consola. Perdão, no terminal.

    Felizmente que a solução estava por aí, em inglês, em espanhol e agora também aqui, em português.

    Pelo menos isso corre bem.

  3. 3 No Spam

    :) Felizmente tenho a sorte de usar ipw, pelo que é suportado out of the box. Mas antes do 2.6.15, não era e tinhamos que andar com firmware para trás e para a frente. Felizmente já não temos esse problema.

    Felizmente nunca tive que usar ndiswrapper.

    Em relação à linha de comandos e às janelas, li no outro dia um comentário (no digg ou no reddit, já não me lembro) que era mais ao menos isto:
    “É dificil fazer GUI’s e graphics toolkits. Às vezes queremos por um botão num determinado sitio e não conseguimos que fique a funcionar bem. Porque é que nos havemos de andar a chatear com isso quando temos uma poderosa linha de comandos?” - Este comentário explica mta coisa em linux! :D
    p.s.: O azar não é teu, mas sim do fabricante de hardware. Da próxima já sabes….

  4. 4 André Torgal

    Ainda hoje aqui em casa:

    - Mas o que estás a fazer?
    - Estou a copiar comandos desta página e a executá-los aqui.. no Linux é assim tudo se faz,
    - Mas não é como a linha de comandos do Windows?
    - Sim, mas lá não consegues fazer muito mais do que aparece nas janelas… se tens um problema, dificilmente o consegues resolver sem instalar outro software. Aqui podes sempre reconfigurar tudo e no limite até mesmo compilar o código de novo.

    Ou seja aqui és livre de fazeres o que quiseres. Até mesmo pôr o botão que falta na janela. Mas claro, tens que saber fazer tudo isso… e duh!… então não te darás ao trabalho de o fazer, porque também sabes usar a poderosa linha de comandos.

    Mas isso não quer dizer que concorde com o tal comentário e com o espírito que lhe está subjacente… e parece-me bem que a comunidade tem feito um esforço para viabilizar os sistemas abertos como alternativas usáveis por todos, mesmo os que não querem, não conseguem, ou não podem ser os jedis do regexp

    Isso sim, será liberdade para todos.

  5. 5 António Afonso

    Realmente o linux ainda tem muito para andar, deixei de usar linux há uns 6 anos e não tenho vontade nenhuma de voltar atrás, sempre que vejo os meus colegas a gastarem tardes inteiras a configurar wifi ou outra coisa qualquer em linux fico bem feliz por estar a gastar a mesma tarde a produzir código no meu macosx.

  6. 6 Tiago

    É questão de esperar pela nova versão.

    http://madwifi.org/ticket/1192

  7. 7 André Torgal

    o meu problema já está resolvido, anyway… claro que a seguir tive outro e depois outro e depois outro… mas neste momento já tenho todo o meu ambiente de trabalho, desenvolvimento e cenas pessoais transferidas para o ubuntu

    é uma vantagem estar a usar basicamente a usar o mesmo software: - firefox, thunderbird, apache2, php5m, mysql5m, mysql admin+query browser, eclipse pdt, gimp, etc..

  8. 8 Carlos Martins

    E olha-me esta:

    http://practical-tech.com/network/atheros-becomes-linux-friendlier/

    devem ter lido este teu post :)

  9. 9 André Torgal

    ui, é quase uma daquelas situações do “pobre desconfia”… bom demais, mesmo.

    mas reparaste que esse blog só tem um post?

  1. 1 UBUNTU | Andrezero

Leave a Reply







Close
E-mail It
tramadol mechanism wellbutrin pravachol zovirax cialis viagra australia supply buy cheap tramadol o avandia and glucophage tetracyclines mechanism of action generic drugs for lexapro levitra vs cialis vs viagra sildenafil citrate us overnight delivery celexa vs prozac us licensed pharmacies carisoprodol by chicos phentermine 37.5 without precrition different mg of atenolol liquid tadalafil ingestion doses of lexapro alcohol falce positive for fioricet synthroid medication long term use cervical radiculopathy prednisone diclofenac interactions with xanax prozac dailey strength wellbutrin 200 sr maximum prescribed daily does of ultram clomiphene vs tamoxifen as pct dangers of prednisone in dogs canines meridia industrial members corporation email contacts buspar or xanax inventor of lorazepam wyeth soma inc when is xanax prescribed carisoprodol vs methocarbamol workign around sexual side effectson lexapro singulair and acid reflux lexapro positive side effects saturday tramadol delivery medicine cause tendinitis phentermine xanax withdrawls matt lauer as the amazons viagra t pallidum treponema doxycycline tetracycline kentucky weight lose adipex phentermine xanax anxiety 0.5 mg public speaking viagra round brown pill viagra treatment valtrex videos weight loss hair loss propecia fastin adipex overnight 89 buspar clomipramine diazepam feline evista 2007 meridia baikal lose weight lexapro experiences on wellbutrin xl online viagra purchasing ambien toxic dose asian pharmacies vardenafil cat on prednisone for asthma buy cheap lexapro lexapro sideaffects dosing amoxicillin dental abscess phentermine online without prior prescription metformin prophylaxis for type ii diabetes ambien cr's patent small intestine ulcers and metformin online viagra store meridia better phentermine celexa pain management xanax and clonozopam reaction celexa with adderall valium clonipin xanax is levitra safer than viagra effexor wellbutrin ultram home gym phentermine online progreso meridia euphoria from phentermine cialis generic mt tadalafil will i gain weight taking zyban prozac soma boards chongqed difference between phendimetrazine phentermine phentermine overnight no script black hole phentermine famvir tramadol wetrack it finasteride and male infertility phentermine that accepts cod payment soma alcohol oxycontin wellbutrin and panic attacks xenical hgh phentermine quit smoking pravachol bontril cialis celexa versus fluoxetine wellbutrin quit smoking xanax vs ativan benifits ambien cr patient info xanax with levitra evista and memory prednisone fluid acyclovir information on healthline paxil vs wellbutrin infertility metformin sleeping pills buy ambien lexapro and tmj valium and vicodine zyrtec zyrtec foradil phentermine evista klonopin and ambien to sleep hair growth shampoo finasteride cialis viagra levitra phorum view topic soma vs tramadol stop span viagra clonazepam vs diazepam naproxen with augmentin manufacture valacyclovir pcr ambien cr no rx valtrex xenical lexapro prilosec xanax detox euphoric effects from soma fosamax patent expiry ambien in drug tests cialis generic viagra no prescription needed overnight shipping phentermine bells palsy prednisone prozac night sweats long term prednisone dosage canine prozac ritalin xxx ultram tgp taking prozac and wellbutrin together valium versus klonopin piogitazone and metformin phentermine on line consultation generic paxil paroxetine buy mexico acyclovir infiltrate metformin off label use g3721 xanax picture evista versus fosomax is beer and prozac that bad pmr prednisone dosage atenolol glucose test ativan in veterinary use u 5672 viagra how long does ultram withdrawal take phentermine 37 mg buy safe online glucophage help get preg with pcos oral amoxicillin for mastoiditis st john's wort prozac wellbutrin found in bowel movement how xanax to take soma sun pilates celexa versus paxil for anxiety knockoff cialis prozac to celexa synthroid 50 mcg does tetracycline help acne prednisone swelling legs evista or fosamax prozac helps with food allergies prozac irritable angry viagra fast shipping valacyclovir pronunciation generic elavil picture image tripta viagra kamagra cialis what is augmentin 1000 used for overnight phentermine with saturday delivery zithromax and adverse effects to baby adderall and ativan methods on tamoxifen and receptors valacyclovir 500 mg cod diet phentermine pill shipped amnestic does of diazepam babys lungs and viagra does viagra expire what does tramadol hcl do xenical alli orlistat penegra generic viagra silagra penegra cumwithus amoxicillin absorbtion amount valium use and renal issues prozac and wellbutrin together adipex pharmacy online zanaflex and hydrocodone purchase clomiphene online with out a phentermine and trying to conceive cheap order paxil does fosamax cause constipation discontinue paxil cr treating bipolar with wellbutrin and trileptal lamisil patent expire myonlinemeds biz ultram ultram zyrtec viagra l477 still having hunger with adipex carisoprodol 500 count ativan nursing mother phentermine online no dr approval buy xanax without script weight lifting atenolol walmart pharmacy nexium viagra patanol online drug stores metrogel citratrate sildenafil viagra impotence hearing ambien cry celexa truth and side effects generic of xanax prednisone and metformin viagra supplies atenolol and low bp soma half-life ambien and xanax mixed with alcohol diazepam viscous solution amoxicillin clavulanate potassium chewable child dosage phentermine online pharmacy phentermine buy phentermine affect cr paxil side valium and sleep tramadol ultracet wellbutrin weight gain side effects lexapro drug facts generic wellbutrin side effects hives viagra bangkok online phentermine prescription valtrex zyban vardenafil with out prescription free sildenafil citrate fast cheap 30mg phentermines can clomiphene effect the passing urine phentermine 37.5 free shipping alprazolam online from diet tablets phentermine viagra reaction time canine ultram dosing somas 44 pics phentermine us pharm no rx needed risks of prednisone in dogs estradiol hemihydrate no rx augmentin 875mg tab business class northwest airline soma is aloe vera used in metformin danger meridia phentermine usa non script buy cheap phentermine here propecia and bioidentical testosterone buy tadalafil with blood level test for ambien xanax side efftects ecstacy celexa oxazepam ultram two nexium generic viagra work lexapro side effects muscle twitching metformin ob mice ip phentermine diet pills results buy clomiphene citrate buy soma 350 mg online tramadol habit forming ambien addition sudden reduction in prednisone ativan sublingual .5mg negative effects of xanax and valium can you mix xanax and codeine where can i purchase soma order tadalafil sale online meridia chat room prescription free phentermine how much does xenical cost tadalafil levitra generic viagra soma picture frame minoxidil finasteride after hair transplant seritonin syndrome prozac paxil diabetis byetta glucophage avandia viagra joke of the day buy prednisone with out a prescription generic viagra review lexapro drug interaction warnings bartonella zithromax metformin 750mg er ambien and xanax together glucophage weight ambien zr prednisone how supplied three day diet adipex diet pill nexium drugs viagra or cialis prices is xanax safe adipex phentermine online dr approval valium while pregnant prozac par irritability ambien viral disease zovirax order temp soma slippers hiv viagra lexapro package insert meatholes soma atenolol and impotence effects side sexual flight northwest airline soma 175 danger levitra 252 buy steriods phentermine lexapro cause high blood pressure nicorette wellbutrin nicotrol nicoderm zyban fluoxetine dose 40mg ativan drug rehab programs wellbutrin xl and depakote prednisone loose bloody stool carisoprodol carisoprodol 350mg crazy meds wellbutrin drug interactions ativan scopolamine prozac benadryl and prednisone where to buy phentermine cheap prozac candace pert evista ibuprofen caution protein bound pdr atenolol xanax without a prescription overnight delivery atenolol 25mg high blood pressure yeast lamisil key levitra metformin manfacturers lexapro prozac vs damge from nexium how to heal taking yourself off of paxil vicodin viagra cialis sildenafil citrate overseas amoxicillin gluten adipex interactions fischer soma boots how can i find tadalafil adipex diet plan celecoxib depigmentation wild thing prozac zenerx natural viagra statistics on prozac nexium and protonix studies phentermine without a presecription ultracet no prescription zoloft vs celexa diffrence in medication discount valacyclovir alcohol with alprazolam diet online phentermine pill purchase elavil picture false positive drug tests ambien lexapro storage polar disorder levitra vardenafil bargain prices monopril vs atenolol prozac nation read online wellbutrin effects on synthroid vardenafil patent levitra prednisone poison oak diazepam oral generic wellbutrin efficacy ambien prescription carisoprodol paxil cns effects celexa valium consumer information about phentermine valium have side effects amoxicillin allergic reaction symtoms benefits risks of the drug metformin loose stool synthroid prednisone upjohn valium or xanax when was lorazepam found video viagra cheapest phentermine quicktopic document review itchy rash prednisone not helping wellbutrin lexapro side effects alprazolam buy lexapro weight gain experiences diazepam mylan 345 prednisone for sunburn collect on delivery valium ultram test can you take prozac with ibuprofin same as viagra over the counter is klonopin water soluble tramadol without prescription ups shipping wellbutrin and auditory hallucinations metformin corosolic xanax online legal inexpensive tadalafil phentermine 24 hour adipex online no rx brenda antibiotic amoxicillin diazepam enema buy diazepam overseas what do you use carisoprodol for metformin pcos and pregnancy bell's palsy prednisone acyclovir valium 0554 xenical and poop metformin and prediabetes ultram controlled substance levitra without a prescription proscar finasteride xanax street value mrsa tetracycline acyclovir en espanol valerian root celexa stories of couples using drug levitra valium or xanax to treat dystonia buy vardenafil purchase vardenafil vardenafil tadalafil sildenafil citrate cheap celexa and vasodepressor syncope clonazepam message boards problems with lexapro finasteride half-life propecia specifications prozac takes weeks full effect zanaflex to soman effective ativan lamictil acyclovir reynaud's phenomenon valium 2nd day delivery diazepam prescribing inforomation wellbutrin sr bupropion washington phentermine breast feeding premarin provera clomiphene famvir ultram acyclovir taking xanax an lexapro together viagra tarket market paxil side effects in children cialis free consultation buy xanax valium online wellbutrin success forum finder air travel finder soma tetracycline treatment chlamydia ativan overnight delivery no prescription prednisone's effects on hypothyroidism