iwl3945 e connessione wireless

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
conraid
Staff
Staff
Messaggi: 13631
Iscritto il: gio 14 lug 2005, 0:00
Nome Cognome: Corrado Franco
Slackware: current64
Desktop: kde
Località: Livorno
Contatta:

Re: iwl3945 e connessione wireless

Messaggio da conraid »

bit123 ha scritto:In quale punto della sequenza va lanciato wpa_suppliant?
come penultima voce prima del dhcp
bit123 ha scritto:Nessuna lista! Pazienza, comunque è noto che il driver da problemi.
io sinceramente lo uso, anzi, non lo uso con il 2.6.25 per colpa di rf_kill che lo vuole configurare anche quando è spento :-)

manda l'output di questi comandi

Codice: Seleziona tutto

# ls -l /etc/rc.d
# cat /etc/rc.d/rc.inet1.conf

bit123
Linux 2.x
Linux 2.x
Messaggi: 350
Iscritto il: dom 27 nov 2005, 16:26
Località: Catania
Contatta:

Re: iwl3945 e connessione wireless

Messaggio da bit123 »

# ls -l /etc/rc.d
total 324
drwxr-xr-x 2 root root 112 2007-05-15 04:46 init.d/
lrwxrwxrwx 1 root root 4 2008-09-11 23:19 rc.0 -> rc.6*
-rwxr-xr-x 1 root root 1282 2007-03-27 03:12 rc.4*
-rwxr-xr-x 1 root root 7358 2007-06-13 06:27 rc.6*
-rwxr-xr-x 1 root root 2322 2007-05-02 23:29 rc.K*
-rwxr-xr-x 1 root root 10717 2008-10-04 10:53 rc.M*
-rwxr-xr-x 1 root root 10717 2008-10-04 10:53 rc.M~*
-rwxr-xr-x 1 root root 13949 2008-03-08 09:01 rc.S*
-rwxr-xr-x 1 root root 466 2004-11-05 09:20 rc.acpid*
-rwxr-xr-x 1 root root 2671 2008-04-01 07:18 rc.alsa*
-rw-r--r-- 1 root root 1032 2003-02-02 04:47 rc.atalk
-rw-r--r-- 1 root root 3116 2008-04-13 23:48 rc.bind
-rw-r--r-- 1 root root 3438 2008-02-22 22:50 rc.bluetooth
-rw-r--r-- 1 root root 106 2008-02-22 22:50 rc.bluetooth.conf
-rwxr--r-- 1 root root 4318 2008-04-29 04:38 rc.cups*
-rw-r--r-- 1 root root 512 2008-02-28 07:11 rc.dnsmasq
-rwxr-xr-x 1 root root 119 2004-05-30 06:19 rc.font.new*
-rwxr-xr-x 1 root root 1893 2008-03-08 02:52 rc.fuse*
-rwxr-xr-x 1 root root 1156 2008-09-11 23:46 rc.gpm*
-rwxr-xr-x 1 root root 906 2008-04-02 00:07 rc.hald*
-rw-r--r-- 1 root root 703 2008-02-14 22:39 rc.httpd
-rwxr-xr-x 1 root root 9238 2008-10-01 18:07 rc.inet1*
-rw-r--r-- 1 root root 3554 2008-10-04 17:21 rc.inet1.conf
-rw-r--r-- 1 root root 3629 2008-10-04 12:05 rc.inet1.conf~
-rwxr-xr-x 1 root root 9239 2008-09-13 14:05 rc.inet1~*
-rwxr-xr-x 1 root root 4847 2007-09-18 00:07 rc.inet2*
-rwxr-xr-x 1 root root 497 2003-09-12 05:27 rc.inetd*
-rw-r--r-- 1 root root 1924 2003-09-14 01:10 rc.ip_forward
-rwxr-xr-x 1 root root 141 2008-09-11 23:38 rc.keymap*
-rwxr-xr-x 1 root root 441 2008-10-04 11:02 rc.local*
-rwxr-xr-x 1 root root 566 2008-10-04 10:46 rc.local~*
-rwxr-xr-x 1 root root 1560 2008-03-15 07:26 rc.messagebus*
lrwxrwxrwx 1 root root 23 2008-09-11 23:19 rc.modules -> rc.modules-2.6.24.5-smp*
-rwxr-xr-x 1 root root 31891 2008-04-30 21:10 rc.modules-2.6.24.5*
-rwxr-xr-x 1 root root 31891 2008-04-30 20:39 rc.modules-2.6.24.5-smp*
-rw-r--r-- 1 root root 2585 2008-04-28 23:54 rc.mysqld
-rw-r--r-- 1 root root 2457 2008-04-01 05:09 rc.nfsd
-rw-r--r-- 1 root root 561 2007-05-07 07:15 rc.ntpd
-rw-r--r-- 1 root root 1722 2007-03-16 22:09 rc.pcmcia
-rw-r--r-- 1 root root 1402 2007-05-18 00:53 rc.rpc
-rw-r--r-- 1 root root 791 2008-03-15 21:52 rc.samba
-rw-r--r-- 1 root root 1169 2006-05-27 22:24 rc.saslauthd
-rw-r--r-- 1 root root 687 2002-06-04 23:09 rc.sendmail
-rw-r--r-- 1 root root 2895 2008-03-31 23:56 rc.serial
-rw-r--r-- 1 root root 895 2008-02-29 07:16 rc.snmpd
-rw-r--r-- 1 root root 1477 2008-04-04 18:28 rc.sshd
-rwxr-xr-x 1 root root 981 2007-04-10 01:10 rc.syslog*
-rwxr-xr-x 1 root root 1740 1999-09-11 22:48 rc.sysvinit*
-rwxr-xr-x 1 root root 3920 2007-09-24 17:38 rc.udev*
-rwxr-xr-x 1 root root 275 2008-02-11 09:25 rc.wicd*
-rwxr-xr-x 1 root root 12283 2008-04-23 22:50 rc.wireless*
-rw------- 1 root root 7320 2008-04-23 22:50 rc.wireless.conf
-rwxr-xr-x 1 root root 2323 2005-08-01 01:56 rc.yp*
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc0.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc1.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc2.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc3.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc4.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc5.d/
drwxr-xr-x 2 root root 48 2007-05-15 04:46 rc6.d/

# cat /etc/rc.d/rc.inet1.conf
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
#USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
#USE_DHCP[4]="yes"
#DHCP_TIMEOUT=3
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=""
#WLAN_MODE[4]=""
#WLAN_RATE[4]="54M auto"
#WLAN_CHANNEL[4]="11"
#WLAN_KEY[4]=""
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set #WPAPSK=96389d
c66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
#WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).

Avatar utente
conraid
Staff
Staff
Messaggi: 13631
Iscritto il: gio 14 lug 2005, 0:00
Nome Cognome: Corrado Franco
Slackware: current64
Desktop: kde
Località: Livorno
Contatta:

Re: iwl3945 e connessione wireless

Messaggio da conraid »

Metti il testo tra i tag "code"... ma è tutto commentato, come fa ad andare?
Prima cosa avevi messo?

Togli il commento a

Codice: Seleziona tutto

#USE_DHCP[0]="yes"
e metti

Codice: Seleziona tutto

USE_DHCP[0]=""
Poi vedo un backup di rc.inet1 con un byte in più, cosa hai tolto?

bit123
Linux 2.x
Linux 2.x
Messaggi: 350
Iscritto il: dom 27 nov 2005, 16:26
Località: Catania
Contatta:

Re: iwl3945 e connessione wireless

Messaggio da bit123 »

Ho provato a mettere il comando ifconfig wlan0 up in rc.M visto che non c'è modo di settare IFNAME; ho editato pure rc.wireless.conf (sembra che rc.inet1 esegua
rc.wireless dopo aver tirato su l'interfaccia e prima di eseguire dhcpcd. In questo modo ho cercato di automatizzare la sequenza esatta, ma dopo il reboot
wlan0 è up, ma senza ip. A questo punto penso di aver provato di tutto e lascio la sequenza in rc.local. Daltronde, anche nel wiki dei driver non viene proposto nessun altro metodo di configurazione. Grazie per la pazienza Conraid! Saluti!

Rispondi