<?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:10pt;color:#000000;"><b><a href="mailto:bglug@lists.linux.it">bglug@lists.linux.it</a>&nbsp;scrive:</b></font></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;"><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></div>
<div align="left" style="text-align:left;"><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></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;"><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></div>
<div align="left" style="text-align:left;"><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></div>
<div align="left" style="text-align:left;"><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></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;">linux-thhp:/home/sergio # ifstatus ath0</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP4 client (dhcpcd) is running</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">IP address: 192.168.0.4/24</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP6 client (dhclient6) is running</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">. . . but is still waiting for data</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 is up</font></div>
<div align="left" style="text-align:left;"><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></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;link/ether 00:25:d3:d0:b0:8b brd ff:ff:ff:ff:ff:ff</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;inet 192.168.0.4/24 brd 192.168.0.255 scope global ath0</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;inet6 fe80::225:d3ff:fed0:b08b/64 scope link </font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;valid_lft forever preferred_lft forever</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;ath0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IP address: 192.168.0.4/24</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">(...)</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;">l'output dopo la conferma della configurazione in Yast/Impostazioni di rete &#232; questo:</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;">linux-thhp:/home/sergio # ifstatus ath0</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;ath0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP4 client (dhcpcd) is running</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">IP address: 192.168.0.4/24</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">DHCP6 client (dhclient6) is running</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">. . . but is still waiting for data</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">ath0 is up</font></div>
<div align="left" style="text-align:left;"><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></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;link/ether 00:25:d3:d0:b0:8b brd ff:ff:ff:ff:ff:ff</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;inet 192.168.0.4/24 brd 192.168.0.255 scope global ath0</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;inet6 fe80::225:d3ff:fed0:b08b/64 scope link </font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;valid_lft forever preferred_lft forever</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;&nbsp;&nbsp;ath0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IP address: 192.168.0.4/24</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Configured IPv4 routes for interface ath0:</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;169.254.0.0/16 - - ath0 &nbsp;</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;">Active IPv4 routes for interface ath0:</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;169.254.0.0/16 &nbsp;scope link</font></div>
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:11pt;color:#000000;"> &nbsp;default via 192.168.0.1</font></div>
<div align="left" style="text-align:left;"><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></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;">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 &nbsp;della scheda di Yast di Impostazioni di rete.</font></div>
<div align="left" style="text-align:left;"><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></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 />
<br/>
</body>
</html>