<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Non avendo pi&#249; ricevuto nessuna indicazione pe cercare di risolvere il problema, devo rassegnarmi a lasciar perdere?</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Sergio</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b><a href="mailto:bglug@lists.linux.it">bglug@lists.linux.it</a> scrive:</b></font></div>
<div align="left" style="text-align:left;"><a href="mailto:bglug@lists.linux.it"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" style="font-family:Arial;font-size:10pt;"><b>bglug@lists.linux.it</b></font></span></a><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>&#160;scrive:</b></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;">Devi aprire il file /etc/sysconfig/kernel, cercare la riga che cita MODULES_LOADED_ON_BOOT e aggiungere fra le virgolette anche il modulo che ti interessa (madwifi?).</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">L'ho fatto con Yast (funzione &quot;Editor per file /etc/sysconfig&quot;). Il modulo da caricare &#232; ath_pci, che dovrebbe sostituire ath5k, messo in blacklist. Quindi ho aggiunto ath_pci. C'&#232; da dire per&#242; che nella scheda &quot;Impostazioni di rete&quot; di Yast, il dispositivo ath0 me lo dava come caricato automaticamente al boot anche prima di fare questa operazione.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Comunque, fatta l'aggiunta del modulo, non &#232; cambiato niente.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;">Se hai bisogno che certi comandi vengano lanciati al caricamento del modulo (hai citato wlanconfig) la soluzione migliore sarebbe quella di creare una regola per udev che lanci quel comando in automatico alla creazione del device ath0. Su questo, se ti servir&#224; una mano, chiedi e ti sar&#224; dato.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">wlanconfig &#232; stato necessario solo per creare il dispositivo ath0. Il problema &#232; che questo dispositivo non viene avviato al boot o comunque non viene avviata la procedura che consente al dispositivo di interfacciarsi con l'access point.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Se do il comando ifstatus vedo la differenza.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">L'output del comando prima della conferma della configurazione in Yast/Impostazioni di rete &#232; questo:</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">linux-thhp:/home/sergio # ifstatus ath0</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 &#160;&#160;&#160;&#160;&#160;device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP4 client (dhcpcd) is running</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">IP address: 192.168.0.4/24</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP6 client (dhclient6) is running</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">. . . but is still waiting for data</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 is up</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">4: ath0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&#160;&#160;&#160;&#160;link/ether 00:25:d3:d0:b0:8b brd ff:ff:ff:ff:ff:ff</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;inet 192.168.0.4/24 brd 192.168.0.255 scope global ath0</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;inet6 fe80::225:d3ff:fed0:b08b/64 scope link </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;valid_lft forever preferred_lft forever</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;ath0 &#160;&#160;&#160;&#160;&#160;IP address: 192.168.0.4/24</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">(...)</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">l'output dopo la conferma della configurazione in Yast/Impostazioni di rete &#232; questo:</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">linux-thhp:/home/sergio # ifstatus ath0</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;ath0 &#160;&#160;&#160;&#160;&#160;device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP4 client (dhcpcd) is running</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">IP address: 192.168.0.4/24</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP6 client (dhclient6) is running</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">. . . but is still waiting for data</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 is up</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">4: ath0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&#160;&#160;&#160;&#160;link/ether 00:25:d3:d0:b0:8b brd ff:ff:ff:ff:ff:ff</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;inet 192.168.0.4/24 brd 192.168.0.255 scope global ath0</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;inet6 fe80::225:d3ff:fed0:b08b/64 scope link </font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;valid_lft forever preferred_lft forever</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;&#160;&#160;ath0 &#160;&#160;&#160;&#160;&#160;IP address: 192.168.0.4/24</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Configured IPv4 routes for interface ath0:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;169.254.0.0/16 - - ath0 &#160;</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Active IPv4 routes for interface ath0:</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;169.254.0.0/16 &#160;scope link</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &#160;default via 192.168.0.1</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">1 of 1 configured IPv4 routes for interface ath0 up</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Si aggiungono le righe di configurazione del protocollo IPv4. E' questa l'operazione che non si attiva automaticamente al boot e che deve essere fatta manualmente successivamente con il salvataggio &#160;della scheda di Yast di Impostazioni di rete.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Occorrerebbe quindi un comando che attiva questa procedura automaticamente all'avvio.</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Sergio</font></span></div>
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;">--</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;">Sito BgLUG: <a href="http://www.bglug.it" target="_blank">http://www.bglug.it</a></font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;">Mailing list: <a href="http://lists.linux.it/listinfo/bglug" target="_blank">http://lists.linux.it/listinfo/bglug</a></font></span></div>
<br />
<br />
<br/>
</body>
</html>