Wireless

Postate qui per tutte le discussioni legate a Linux in generale.

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 Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
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.
Rispondi
DarkNeo
Linux 4.x
Linux 4.x
Messaggi: 1071
Iscritto il: sab 4 giu 2005, 0:00
Nome Cognome: Stefano Arbitrio
Slackware: Slackware64 14
Kernel: 3.2.X
Desktop: KDE
Località: Matrix

Wireless

Messaggio da DarkNeo »

Ciao non capisco per quale dannato motivo non mi si connette all'access point vi posto tutto quello che ho:

Codice: Seleziona tutto

neo@Neo:~$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_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
WLAN_ESSID[4]=Neo
WLAN_MODE[4]=Managed
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="11"
WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF TxRate=0"
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
#WLAN_ESSID[4]=DARKSTAR         # Here, you can override _any_ parameter
                                # defined in rc.wireless.conf, by appending
                                # 'WLAN_' to the parameter's name. Useful for
                                # those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey TxRate=0"
                                # 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 (space-separated, see the
                                # example).

Codice: Seleziona tutto

neo@Neo:~$dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

can't create /var/state/dhcp/dhclient.leases: Permission denied
execve (/sbin/dhclient-script, ...): Permission denied
wlan0: not found

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.

Codice: Seleziona tutto

neo@Neo:~$iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:E0:98:52:A8:14
                    ESSID:"Neo"
                    Protocol:IEEE 802.11b
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:0/100  Signal level:-15 dBm  Noise level:-256 dBm
                    Encryption key:on
                    Bit Rate:1 Mb/s
                    Bit Rate:2 Mb/s
                    Bit Rate:5.5 Mb/s
                    Bit Rate:11 Mb/s
                    Bit Rate:6 Mb/s
                    Bit Rate:9 Mb/s
                    Bit Rate:12 Mb/s
                    Bit Rate:18 Mb/s
                    Bit Rate:24 Mb/s
                    Bit Rate:36 Mb/s
                    Bit Rate:48 Mb/s
                    Bit Rate:54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0


Almucantarat
Linux 1.x
Linux 1.x
Messaggi: 132
Iscritto il: ven 15 apr 2005, 0:00

Messaggio da Almucantarat »

ho avuto un problema simile...

1) ti occorre sapere l'indirizzo IP della rete a cui si collega l'AP.
poi scrivi ifconfig wlan0 "IP della rete"
2)non usare dhclient ma dhcpc--->dhcpc wlan0.

Fammi sapere!

DarkNeo
Linux 4.x
Linux 4.x
Messaggi: 1071
Iscritto il: sab 4 giu 2005, 0:00
Nome Cognome: Stefano Arbitrio
Slackware: Slackware64 14
Kernel: 3.2.X
Desktop: KDE
Località: Matrix

Messaggio da DarkNeo »

Almucantarat ha scritto:1) ti occorre sapere l'indirizzo IP della rete a cui si collega l'AP.
bhe la mia situazione è così, l'ip al quale mi connetto per settare l'access point è 192.168.0.1, per settare il modem 192.168.1.1 l'access point ha un dhcp server in lan e un client in wan vice versa per il modem
Almucantarat ha scritto:poi scrivi ifconfig wlan0 "IP della rete"
quale ip?
Almucantarat ha scritto:2)non usare dhclient ma dhcpc--->dhcpc wlan0.
:D
scusa per il ritardo

Almucantarat
Linux 1.x
Linux 1.x
Messaggi: 132
Iscritto il: ven 15 apr 2005, 0:00

Messaggio da Almucantarat »

DarkNeo ha scritto: quale ip?
L'ip che ti viene assegnato dal server dhcp, non l' ip dell'AP. per qualche strana ragione io ho dovuto settarlo prima di usare dhcpcd.

In teoria dovrebbe bastare dhcpcd wlan0

DarkNeo
Linux 4.x
Linux 4.x
Messaggi: 1071
Iscritto il: sab 4 giu 2005, 0:00
Nome Cognome: Stefano Arbitrio
Slackware: Slackware64 14
Kernel: 3.2.X
Desktop: KDE
Località: Matrix

Messaggio da DarkNeo »

Niente :S

Almucantarat
Linux 1.x
Linux 1.x
Messaggi: 132
Iscritto il: ven 15 apr 2005, 0:00

Messaggio da Almucantarat »

posti l'output di ifconfig?

DarkNeo
Linux 4.x
Linux 4.x
Messaggi: 1071
Iscritto il: sab 4 giu 2005, 0:00
Nome Cognome: Stefano Arbitrio
Slackware: Slackware64 14
Kernel: 3.2.X
Desktop: KDE
Località: Matrix

Messaggio da DarkNeo »

Purtroppo mi sembrerebbe inutile in quanto se stacco eth0 stacco il cavo etc... e do dhcpcd wlan0 aspetto 10 minuti ± dopo di che ridà la stringa root@Neo#~$ senza il minimo accenno ad ip..

clodo
Linux 3.x
Linux 3.x
Messaggi: 511
Iscritto il: dom 23 gen 2005, 0:00
Distribuzione: debian

Messaggio da clodo »

Potresti postare un dmesg riguardo l'intefaccia di rete e un lspci generale?

DarkNeo
Linux 4.x
Linux 4.x
Messaggi: 1071
Iscritto il: sab 4 giu 2005, 0:00
Nome Cognome: Stefano Arbitrio
Slackware: Slackware64 14
Kernel: 3.2.X
Desktop: KDE
Località: Matrix

Messaggio da DarkNeo »

Codice: Seleziona tutto

00:0c.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface

Codice: Seleziona tutto

ndiswrapper version 1.5 loaded (preempt=no,smp=no)
ndiswrapper: driver tnet1130 (Texas Instruments,03/10/2004,6.0.0.18) loaded
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ndiswrapper (IoCreateUnprotectedSymbolicLink:947): --UNIMPLEMENTED--
ndiswrapper: using irq 10
wlan0: vendor: 'TNET1130'
wlan0: ndiswrapper ethernet device 00:e0:98:d8:88:11 using driver tnet1130, 104C:9066:13D1:AB90.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA

Rispondi