Pagina 1 di 1

Wireless

Inviato: lun 21 nov 2005, 22:47
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


Inviato: gio 24 nov 2005, 20:12
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!

Inviato: sab 26 nov 2005, 1:58
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

Inviato: sab 26 nov 2005, 10:22
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

Inviato: mar 29 nov 2005, 17:56
da DarkNeo
Niente :S

Inviato: mar 29 nov 2005, 18:38
da Almucantarat
posti l'output di ifconfig?

Inviato: mar 29 nov 2005, 21:09
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..

Inviato: mar 29 nov 2005, 22:45
da clodo
Potresti postare un dmesg riguardo l'intefaccia di rete e un lspci generale?

Inviato: mer 30 nov 2005, 0:48
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