Pagina 1 di 4
problema wireless
Inviato: sab 19 ago 2006, 23:21
da ivan
Buona sera a tutti.Dopo aver letto molti post su come configurare una rete wireless non ne ho ancora capito un H(premetto che non sono espertissimo di linux).Oggi ho comperato un acess point D-Link wireless ma non ho idea di come configurare la rete

L'adattatore wireless è usb(spero che non crei problemi).
Il mio kernel è il 2.6.13;qualcuno sai indirizzarmi sulla strada giusta?
Grazie mille
Inviato: sab 19 ago 2006, 23:23
da gohanz
Incomincia a dare
lsusb -v e vedi che ti dice
Inviato: sab 19 ago 2006, 23:28
da ivan
Scusa per la lunghezza del tutto....
Bus 005 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.13 uhci_hcd
iProduct 2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
iSerial 1 0000:00:07.3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 004 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.13 uhci_hcd
iProduct 2 VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
iSerial 1 0000:00:07.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.13 ohci_hcd
iProduct 2 NEC Corporation USB (#2)
iSerial 1 0000:00:0f.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.13 ohci_hcd
iProduct 2 NEC Corporation USB
iSerial 1 0000:00:0f.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 255
Bus 001 Device 003: ID 07d1:3c03 D-Link System
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x07d1 D-Link System
idProduct 0x3c03
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 300mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 bytes 512 once
bInterval 0
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 8
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.13 ehci_hcd
iProduct 2 NEC Corporation USB 2.0
iSerial 1 0000:00:0f.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 bytes 2 twice
bInterval 12
Inviato: dom 20 ago 2006, 0:05
da gohanz
Da qui non riesco a capire il chipset
Bus 001 Device 003: ID 07d1:3c03 D-Link System
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x07d1 D-Link System
Dai un'occhiata a questa pagina vedi se trovi i driver per il tuo modello!
E dicci anche precisamente di che modello si tratta e che chipset monta!
http://www.linux-wlan.org/docs/wlan_adapters.html.gz
Inviato: dom 20 ago 2006, 0:53
da amn
Iniziamo con le solite domande:
- Che access point hai? Ad esempio io ho un Dlink DI-624+
- Che scheda wireless ha il tuo laptop?
Inviato: dom 20 ago 2006, 1:09
da chroot
Non ho ben capito che access point sia,dai
tail -f /var/log/messages
e poi attacca la chiavetta e pasta output ..
Inviato: dom 20 ago 2006, 7:03
da ivan
Per il modello di acess point è il D-Link DI-524.
Mentre l'adattatore USB è:802.11g Wireless USB adapter DWL-G122
Con il comando tail -f /var/log/messages mi esce questo:
ug 20 06:56:09 darkstar pppd[7411]: local IP address 81.211.212.161
Aug 20 06:56:09 darkstar pppd[7411]: remote IP address 85.36.34.232
Aug 20 06:56:21 darkstar gconfd (ivan-7576): Inizializzazione (versione 2.12.1), pid 7576, utente 'ivan'
Aug 20 06:56:21 darkstar gconfd (ivan-7576): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.mandatory" è stato risolta ad una fonte di configurazione in sola lettura in posizione 0
Aug 20 06:56:21 darkstar gconfd (ivan-7576): L'indirizzo "xml:readwrite:/home/ivan/.gconf" è stato risolto ad una fonte di configurazione scrivibile in posizione 1
Aug 20 06:56:21 darkstar gconfd (ivan-7576): L'indirizzo "xml:readonly:/etc/gconf/gconf.xml.defaults" è stato risolta ad una fonte di configurazione in sola lettura in posizione 2
Aug 20 06:58:00 darkstar kernel: usb 1-4: USB disconnect, address 2
Aug 20 06:59:05 darkstar kernel: usb 1-4: new high speed USB device using ehci_hcd and address 3
Aug 20 07:02:15 darkstar kernel: usb 1-4: USB disconnect, address 3
Aug 20 07:02:29 darkstar kernel: usb 1-3: new high speed USB device using ehci_hcd and address 4
Inviato: dom 20 ago 2006, 7:41
da ivan
Girando per la rete ho trovota che il mio adattatore usb dovrebbe aver come chip il RalinkTech(revision B1),qualcuno lo conosce?
Inviato: dom 20 ago 2006, 8:28
da gohanz
Si sembra che ci siano driver per il tuo adattatore il chipset è un RT2500!
http://www.ralinktech.com/supp-1.htm
Inviato: dom 20 ago 2006, 10:03
da l1q1d
Inviato: dom 20 ago 2006, 15:11
da ivan
Grazie mille a tutti ancora ora ho scaricato i driver ma non riesco ad installarli nel senso che dopo aver fatto tar -xvzf nome_del_file.tar.gz mi compare una nuova directory ci vado dentro e faccio ./configure ma mi dice che la directory non esiste

Non ho idea di come fare??
Secondo voi se installo ndiswrapper che ho trovato nella sezione dowload potrebbe funzionare ugualmente?
Inviato: dom 20 ago 2006, 15:30
da l1q1d
ndiwsrapper ti conviene semmai compilarlo dai sorgenti, il pacchetto potrebbe crearti dei problemi. La scelta migliore comunque è avere moduli relativi al chip rispetto a ndiswrapper, perchè, benchè se ne dica bene e io stesso lo usi, è pur sempre un emulatore e quindi non tutto funziona.
Se leggi il readme ti spiega passo passo cosa devi fare
Inviato: dom 20 ago 2006, 15:37
da ivan
Ho letto il readme ma non ci capisco proprio niente(non utilizzo linux da moltissimo,cioè lo utilizzo ma non ho mai avuto problemi per asettare niente per mia fortuna).
Ti psto qua sotto una parte del readme così magari mi puoi dare una mano:
Build Instructions:
====================
0) $dos2unix *
$chmod 644 *
$chmod 755 Configure
1) cp Makefile.x Makefile // x is your kernel
2) $make
3) $insmod rt2570.ko # Insert driver module
4) $ifconfig rausb0 up # Bring up device
5) $dhclient rausb0 # Get network IP address
Note: Script functionality:
Configure retrive linux version
6) ./LINUX_RACONFIG_Vx.x.x.x/bin/"Linux"/RaConfig2500
if lack of libstdc++.so.6, cp ./LINUX_RACONFIG_Vx.x.x.x/libstdc++.so.6 /usr/lib
7)Edit(or add the line) in /etc/modules.conf
alias rausb0 rt2570

Create and edit 'ifcfg-rausb0' file in /etc/sysconfig/network-script/
DEVICE='rausb0'
ONBOOT='yes'
BOOTPROTO='dhcp'
Inviato: dom 20 ago 2006, 16:02
da l1q1d
devi fare esattamente cio che c'è scritto quindi apri una shell e digita quei comandi:
Codice: Seleziona tutto
se hai un 2.4 (quello di default)
cp Makefile.4 Makefile
se hai invece un 2.6
cp Makefile.6 Makefile
make
su
insmod rt2570.ko
ifconfig rausb0 up
dhcpcd rausb0
echo "alias rausb0 rt2570" >> /etc/modules.conf
Inviato: dom 20 ago 2006, 16:31
da ivan
quando però faccio ifconfig rausb0 up mi dà un errore
rausb0: unknown interface: No such device
Non ho idea del perchè?