PROBLEMA Wireless malfunzionante

Pubblicità

Eus97

Nuovo Utente
Messaggi
59
Reazioni
2
Punteggio
26
Salve a tutti, mi sto avvicinando (purtroppo) solo ora al mondo linux scaricando ed installando ubuntu 13.10 su usb (per ora). Tutto funzionaa correttamente tranne la connessione ad internet. Io uso una NetFly UP3 WN che comunque è in grado di cercare e trovare reti nella zona, tra cui la mia rete, ma non riesco a connettermi o quando ci riesco, la connessione dura un certo periodo e poi si disconnette. Ho provato anche con altre distro, ma il problema è lo stesso. Potreste aiutarmi a configurare la usb wireless pleaseee??????:help::help::help::help:
 
Rieccomi qui... Ho trovato la confezione dell'usb adapter con all'interno un dvd in cui tra altri driver, ho trovato i driver linux . Ora aprendo la cartella ho trovato un file "readme.txt", in cui ho letto le istruzioni, ma non ci ho capito molto.... Potrei copiarti le istruzioni, o mandarti il file.txt, per favore ???:help::help::help::help::help:
 
Ok vi posto il documento
===============================================================================
Software Package - Component
===============================================================================
1. ReleaseNotes.doc


2. document/


3. driver source code


3.1 Makefile - to build the modules


3.2 Script and configuration for DHCP:
"wlan0dhcp"
"ifcfg-wlan0"


3.3 Example of supplicant configuration file:
"wpa1.conf"


3.4 Script to run wpa_supplicant
"runwpa"


3.5 Script to clean relative modules
"clean"


4. wpa_supplicant/wpa_supplicant-0.6.9_wps_patch_20100201.zip
The tool help the wlan network to communicate under the
protection of WPAPSK mechanism (WPA/WPA2) and add WPS patch


5. install.sh
Script to easy make 8192cu driver.

==================================================================================================================
User Guide(1) - connecting wireless networking using "Network Manager" GUI utility (For PC Linux)
==================================================================================================================
(1) Network Manager is a utility attempts to make use of wireless networking easy.


(2) Notes: if you want to use the following command-line method to connect wireless networking,
please disable the "Network Manager", because "Network Manager" will conflict with method of command line .


==================================================================================================================
User Guide(2) - Using the wpa_cli & wpa_supplicant tools (For embedded Linux)
==================================================================================================================


Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc


==================================================================================================================
User Guide(3) - Set wireless lan MIBs in Command Line (Legacy command - Not recommend)
==================================================================================================================
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.


Current driver supports "iwlist" to show the device status of nic
iwlist wlan0 [parameters]
where
parameter explaination [parameters]
----------------------- -------------
Show available chan and freq freq / channel
Show and Scan BSS and IBSS scan[ning]
Show supported bit-rate rate / bit[rate]


For example:
iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate


Driver also supports "iwconfig", manipulate driver private ioctls, to set
MIBs.


iwconfig wlan0 [parameters] [val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Connect to AP by address ap [mac_addr]
Set the essid, join (I)BSS essid [essid]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key/enc[ryption] {N|open|restricted|off}


For example:
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789
Note: Better to set these MIBS without GUI such as NetworkManager and be sure that our
nic has been brought up before these settings. WEP key index 2-4 is not supportted by
NetworkManager.


===============================================================================
Getting IP address (For User Guide(2) & User Guide(3))
===============================================================================
After start up the nic and connect to AP successfully, the network needs to obtain an IP address
before transmit/receive data.
This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"
command, or using DHCP.


If using DHCP, setting steps is as below:
(1)check if the WiFi had connected to an AP via "iwconfig" command
$> iwconfig


(2)run the script which run the dhclient
$> ./wlan0dhcp
or
dhcpcd wlan0
(Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
dhcpcd -HD wlan0)




===============================================================================
WPAPSK/WPA2PSK - using wpa_supplicant (For User Guide(3))
===============================================================================


Wpa_supplicant helps to secure wireless connection with the protection of
WPAPSK/WPA2PSK mechanism. Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc


===============================================================================
WPS - PIN & PBC methods
===============================================================================


(*) Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc


===============================================================================
Power Saving Mode
===============================================================================


(*) Please refer to the document/HowTo enable the power saving functionality.doc
 
Sono interessato anche io a questa discussione, ho sempre trovato problemi nell'installare e far funzionare bene i driver, ultimamente non riesco in nessun modo a fare funzionare una stampante epson xp-215 nonostante abbia scaricato i driver. Per fortuna più si va avanti e meno problemi ci sono nell'usare hardware su Linux. Prima di acquistare un prodotto guardo sempre che esistano i driver ma nonostante tutto qualche volta non funzionano ugualmente.
 
Ragazzi sto provando a seguire una guida che si trovava nella cartella dei driver e mi dice di installare un file che si chiama "install.sh". Quando poi vado a digitare da terminale ./install.sh e mi trovo nella cartella dei driver mi esce "bash: ./install.sh: Permission denied"
Ho provato anche entrando come root, ma non va... Qualcuno saprebbe dirmi cosa dovrei fare????
E comunque vedendo meglio nella cartella dei driver ho trovato la guida che vi riporto qui:

Part 1: make 8192C USB Linux driver quickly
execute shell script “install.sh”
>./install.sh

Part 1: make 8192C USB Linux driver step by step
(1) step1: uncompress the “rtl8192cu_linux_v2.0.xxxx.2010xxxx.tar.gz” file. (in “driver” directory)
> tar zxvf rtl8192CU_linux_v2.0.1170.20101112.tar.gz
(2) step2: make 8192C USB driver module
> make
(3) step3: clean the operation environment
> ./clean
(4) step4: insert 8192C USB modules
> insmod 8192cu.ko

Part 2: setting up Network interface
•(1) step1: enable wlan0 interface
> ifconfig wlan0 up
•(2) step2: setup IP address
> ifconfig wlan0 192.168.1.100

Part 3: Site Survey & connect to AP without security
•step1: Site Survey
> iwlist wlan0 scan

•step2: Connect to AP
> iwconfig wlan0 essid “xxx”
 
Ultima modifica:
Ragazzi sto provando a seguire una guida che si trovava nella cartella dei driver e mi dice di installare un file che si chiama "install.sh". Quando poi vado a digitare da terminale ./install.sh e mi trovo nella cartella dei driver mi esce "bash: ./install.sh: Permission denied"
Ho provato anche entrando come root, ma non va... Qualcuno saprebbe dirmi cosa dovrei fare????

Codice:
chmod +x install.sh

così dai i permessi di esecuzione!
 
Ok, sono arrivato ad un punto in cui dopo aver scompattato il file devo eseguire il comando make, ma mi esce questo errore:
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [modules] Error 2
 
Ok, sono arrivato ad un punto in cui dopo aver scompattato il file devo eseguire il comando make, ma mi esce questo errore:
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [modules] Error 2

mmm non riesco a vedere il motivo degli errori, potresti postare anche qualche riga precedente?
 
Ok questo è ciò che accade quando mi trovo nella cartella dei drivers e lancio il comando chmod +x install.sh e poi ./install.sh, mi dice di inserire la password di root. Dopo ciò che appare è questo:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:324:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:409:9: note: in expansion of macro ‘GetAddr1Ptr’
sa = GetAddr1Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:324:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
#define GetAddr1Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 4))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:409:9: note: in expansion of macro ‘GetAddr1Ptr’
sa = GetAddr1Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:326:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:412:9: note: in expansion of macro ‘GetAddr2Ptr’
sa = GetAddr2Ptr(pframe);
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:326:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
#define GetAddr2Ptr(pbuf) ((unsigned char *)((unsigned int)(pbuf) + 10))
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/wifi.h:412:9: note: in expansion of macro ‘GetAddr2Ptr’
sa = GetAddr2Ptr(pframe);
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:80:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_xmit.h: At top level:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_xmit.h:343:24: error: field ‘xmit_tasklet’ has incomplete type
struct tasklet_struct xmit_tasklet;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:81:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:208:24: error: field ‘recv_tasklet’ has incomplete type
struct tasklet_struct recv_tasklet;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:81:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:429:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_recv.h:429:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
In file included from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/drv_types.h:86:0,
from /home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_io.h: At top level:
/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/include/rtw_io.h:35:28: fatal error: linux/smp_lock.h: No such file or directory
#include <linux/smp_lock.h>
^
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/RTL8192CU_8188CUS_8188CE-VAU_linux_v2.0.1170.20101112/driver/rtl8192CU_linux_v2.0.1170.20101112] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [modules] Error 2
Compile make driver error: 2, Please check error Mesg
 
/include/rtw_io.h:35:28: fatal error: linux/smp_lock.h: No such file or directory
#include <linux/smp_lock.h>

ecco dove è importante. Googlando ho visto nel forum di ubuntu uno col tuo stesso problema e pare che lo abbia risolto prendendo i driver più recenti. Guardando sul sito linkato da lele.deb vedo che probabilmente tu hai scaricato la versione vecchia dei driver!
Penso che tu debba scaricare
A02-UP3-WN(V1.0)(Linux)[V3.4.3_4369.20120622]
 
Ho provato con la versione A02-UP3-WN(V1.0)(Linux)[V3.4.3_4369.20120622]... Oltre al fatto che non c'è una guida di installazione in questa versione, dopo aver dato il comando ./install.sh mi appare questo errore purtroppo:
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/usb/usb_ops_ce.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/usb/Hal8192CUHWImg.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/usb/usb_ops_linux.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/usb/rtl8192cu_xmit.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/usb/usb_ops_xp.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/rtl8192c_sreset.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/hal/rtl8192c/rtl8192c_hal_init.c
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/clean
rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622
Authentication requested [root] for make clean:
Password:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
Password:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.11.0-12-generic/build M=/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622 modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-12-generic'
CC [M] /home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/core/rtw_cmd.o
In file included from /home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/core/rtw_cmd.c:23:0:
/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/osdep_service.h: In function ‘thread_enter’:
/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/osdep_service.h:575:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
daemonize("%s", "RTKTHREAD");
^
In file included from /home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/drv_types.h:69:0,
from /home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/core/rtw_cmd.c:24:
/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/rtw_recv.h:630:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/include/rtw_recv.h:630:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (union recv_frame*)(((uint)rxmem>>RXFRAME_ALIGN) <<RXFRAME_ALIGN) ;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/ubuntu/Desktop/ptrwebgfsw/driver/rtl8188C_8192C_usb_linux_v3.4.3_4369.20120622] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
ubuntu@ubuntu:~/Desktop/ptrwebgfsw$
 
Pubblicità
Pubblicità
Indietro
Top