{"id":71,"date":"2007-06-11T00:53:57","date_gmt":"2007-06-10T22:53:57","guid":{"rendered":"http:\/\/www.olografix.org\/frank\/wordpress\/?p=71"},"modified":"2007-06-11T12:53:14","modified_gmt":"2007-06-11T10:53:14","slug":"wifi-storia-di-un-rapporto","status":"publish","type":"post","link":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/?p=71","title":{"rendered":"wifi: storia di un rapporto"},"content":{"rendered":"<p>e&#8217; da poco che ho imparato a configurare una scheda wireless sotto linux, quando c&#8217;e&#8217; di mezzo il wpa.<br \/>\navevo letto qualcosa velocemente, tipo che ci voleva un software &#8220;wpa supplicant&#8221;.. diciamo pure che mi ero scazzato subito perche&#8217; mi sembrava tutto poco-immediato.<br \/>\nad es. quando arrivo&#8217; a casa il modem adsl Alice-merda l&#8217;ho tenuto per mesi soltanto col wep.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.amicocellulare.net\/Download\/images\/alice_wgate.jpg\" \/><br \/>\npoi un giorno ho avuto <em>personalmente bisogno<\/em> <em>di infrangere questo limite.<\/em><\/p>\n<p><em \/><br \/>\n<em>&#8220;la necessita&#8217; e&#8217; madre dell&#8217;invenzione&#8221; <\/em>(da qui il nome della prima band di F. Zappa, &#8220;Mothers of Invention&#8221;)<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.olografix.org\/frank\/wordpress\/wp-content\/mothers300.jpg\" \/><\/p>\n<p><em>\/mode James Joyce on<\/em><br \/>\n<strong>decoder:~# wpa_<br \/>\nwpa_action      wpa_cli         wpa_passphrase  wpa_supplicant<\/strong><\/p>\n<p>mm, quale sara&#8217; quello giusto? proviamo <em>wpa_supplicant<\/em> senza niente<\/p>\n<p><strong>decoder:~# wpa_supplicant<br \/>\nwpa_supplicant v0.5.5<br \/>\nCopyright (c) 2003-2006, Jouni Malinen  and contributors<\/strong><\/p>\n<p><strong>This program is free software. You can distribute it and\/or modify it<br \/>\nunder the terms of the GNU General Public License version 2.<\/strong><\/p>\n<p><strong>Alternatively, this software may be distributed under the terms of the<br \/>\nBSD license. See README and COPYING for more details.<\/strong><\/p>\n<p><strong>This product includes software developed by the OpenSSL Project<br \/>\nfor use in the OpenSSL Toolkit (http:\/\/www.openssl.org\/)<\/strong><\/p>\n<p><strong>usage:<br \/>\nwpa_supplicant [-BddehLqquvwW] [-P<\/strong><\/p>\n<p><strong>] [-g] \\<br \/>\n-i -c [-C] [-D] [-p] \\<br \/>\n[-b [-N -i -c [-C] [-D] \\<br \/>\n[-p] [-b] &#8230;]<\/strong><strong>drivers:<br \/>\nhostap = Host AP driver (Intersil Prism2\/2.5\/3)<br \/>\nmadwifi = MADWIFI 802.11 support (Atheros, etc.)<br \/>\natmel = ATMEL AT76C5XXx (USB, PCMCIA)<br \/>\nwext = Linux wireless extensions (generic)<br \/>\nndiswrapper = Linux ndiswrapper<br \/>\nipw = Intel ipw2100\/2200 driver<br \/>\nwired = wpa_supplicant wired Ethernet driver<br \/>\ntest = wpa_supplicant test driver<br \/>\noptions:<br \/>\n-b = optional bridge interface name<br \/>\n-B = run daemon in the background<br \/>\n-c = Configuration file<br \/>\n-C = ctrl_interface parameter (only used if -c is not)<br \/>\n-i = interface name<br \/>\n-d = increase debugging verbosity (-dd even more)<br \/>\n-D = driver name<br \/>\n-g = global ctrl_interface<br \/>\n-K = include keys (passwords, etc.) in debug output<br \/>\n-t = include timestamp in debug messages<br \/>\n-h = show this help text<br \/>\n-L = show license (GPL and BSD)<br \/>\n-p = driver parameters<br \/>\n-P = PID file<br \/>\n-q = decrease debugging verbosity (-qq even less)<br \/>\n-u = enable DBus control interface<br \/>\n-v = show version<br \/>\n-w = wait for interface to be added, if needed<br \/>\n-W = wait for a control interface monitor before starting<br \/>\n-N = start describing new interface<br \/>\nexample:<br \/>\nwpa_supplicant -Dwext -iwlan0 -c\/etc\/wpa_supplicant.conf<\/strong><br \/>\nAhh che figo, c&#8217;e&#8217; l&#8217;esempio. Pero&#8217; vuole alla fine un file di configurazione.<\/p>\n<p>Vediamo se esiste gia&#8217;<\/p>\n<p><strong>decoder:\/etc# cat wpa_supplicant\/<br \/>\nfunctions.sh         ifupdown.sh       home.conf     wpa_supplicant.conf<\/strong><br \/>\nCi sta ma e&#8217; vuoto.<\/p>\n<p>Proviamo con <strong>wpa_passphrase<\/strong><\/p>\n<p><strong>decoder:\/etc# wpa_passphrase<br \/>\nusage: wpa_passphrase  [passphrase]<\/strong><\/p>\n<p><strong>If passphrase is left out, it will be read from stdin<\/strong><\/p>\n<p>Ah ok, questo mi sembra facile<\/p>\n<p><strong>decoder:\/etc# wpa_passphrase miglianino_e_valentina <\/strong><em>(..censured..)<\/em><\/p>\n<p>mi ha sputato fuori questo<\/p>\n<p><strong>network={<br \/>\nssid=&#8221;miglianino_e_valentina&#8221;<br \/>\n#psk=&#8221;(..censured..)&#8221;<br \/>\npsk=333blabla.. serie infinita di numeri e lettere<br \/>\n}<\/strong><\/p>\n<p><strong \/><br \/>\nMm e se fosse questo il file di conf che vuole lui?<\/p>\n<p><strong>decoder:\/etc# wpa_passphrase miglianino_e_valentina <\/strong><em>(..censured..) <\/em><strong>> \/etc\/wpa_supplicant\/cototto.conf<\/strong><br \/>\nok proviamo<\/p>\n<p><strong>decoder:\/etc# wpa_supplicant -Dwext -ieth4 -c \/etc\/wpa_supplicant\/cototto.conf<\/strong><\/p>\n<p>..e mi sono associato \ud83d\ude1b<\/p>\n<p><em>\/mode James Joyce off <\/em><\/p>\n<div align=\"center\"><em>&#8221; Il suggerimento per imparare UNIX e&#8217; di leggere un po&#8217;, poi provare.<br \/>\nContinuate a provare finche&#8217; non comincerete ad avere dimestichezza con i<br \/>\nconcetti, e poi iniziate a girare all&#8217;interno del libro. Troverete una<br \/>\nvarieta&#8217; di argomenti, alcuni dei quali vi interesseranno, altri vi<br \/>\nannoieranno. Dopo un po&#8217; avrete abbastanza confidenza per iniziare ad usare comandi senza sapere quello che fanno esattamente, che e&#8217; una cosa molto utile.&#8221;<br \/>\n<\/em><\/div>\n<p><em>(Linux User Guide, di Larry Greenfield &#8211; 1996)<\/em><\/p>\n<p>Se volete sta <a target=\"_blank\" href=\"http:\/\/www.ibiblio.org\/pub\/Linux\/docs\/LDP\/users-guide\/translations\/it\/Guida-Utente-beta1.ps.gz\">qui<\/a>, in italiano, ma se usate Win dovrete installarvi Ghostview, credo. E&#8217; stato molto bello leggerla!<\/p>\n<p><em> <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>e&#8217; da poco che ho imparato a configurare una scheda wireless sotto linux, quando c&#8217;e&#8217; di mezzo il wpa. avevo letto qualcosa velocemente, tipo che ci voleva un software &#8220;wpa supplicant&#8221;.. diciamo pure che mi ero scazzato subito perche&#8217; mi sembrava tutto poco-immediato. ad es. quando arrivo&#8217; a casa il modem adsl Alice-merda l&#8217;ho tenuto [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-tmrc"],"_links":{"self":[{"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71"}],"version-history":[{"count":0,"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olografix.sugodipesce.net\/frank\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}