programma simile a Connectify per linux?(per creare HOTSPOT)

Pubblicità

si_87

Utente Attivo
Messaggi
169
Reazioni
0
Punteggio
38
ciao atutti!
ho letto di un programma che si chiama connectify che essenzialmente crea in windows7 un modem virtuale garantendo un hotspot.
speravo questo potesse essere una parziale soluzione al mio problema:

io ho un router+ricevitore usb-wifi collegato in lan con il mio pc e poi ho un'altr fisso con ubuntu 10.04...che xò visto la presenza di linux nn può funzionare il software del ricevitore usb (compatibile solo con windows)
come posso risolvere il problema?

io pensavo di usare una soluzione tipo quella di connectify (mio pc con windows7 e connettermi all'altro pc linux)ma esiste un tale programma?
avete altre soluzioni in merito?
grazie 1000 in anticipo a tutto!
 
ciao atutti!
ho letto di un programma che si chiama connectify che essenzialmente crea in windows7 un modem virtuale garantendo un hotspot.
speravo questo potesse essere una parziale soluzione al mio problema:

io ho un router+ricevitore usb-wifi collegato in lan con il mio pc e poi ho un'altr fisso con ubuntu 10.04...che xò visto la presenza di linux nn può funzionare il software del ricevitore usb (compatibile solo con windows)
come posso risolvere il problema?

io pensavo di usare una soluzione tipo quella di connectify (mio pc con windows7 e connettermi all'altro pc linux)ma esiste un tale programma?
avete altre soluzioni in merito?
grazie 1000 in anticipo a tutto!

guarda, anche nelle peggiori e disastrose situazioni, è possibile utilizzare un dispositivo wi-fi con ndiswrapper+driver di windows.


collega il pennino wifi al pc con ubuntu, dal terminale digita

lspci

ed incolla qui il risultato, così vedo il chipset di questo dispositivo.

Per quanto riguarda i programmi per hot spot, esistono direttamente delle distribuzioni linux ad hoc.
 
ora ho il pc fisso con ubuntu aperto xke lo sto pulendo dalla 4 dita di polvere che ha sopra i chip...cmq x il momento posso dirti che è un netgear WNA1000 NETGEAR Connect with Innovation - WNA1000

come ti dicevo, molti hanno risolto con ndiswrapper, tuttavia si può risolvere anche nativamente. Ho trovato queste info:

Here's the fix that worked for me! 1. Download and install compat-wireless-2010-02-01, 2. go to the compat-wireless-2010-02-01/drivers/net/wireless/ath/ar9170 folder, 3. open the file "usb.c" at line 62 there will be a list of devices with their device IDs, 4. Edit one of the existing devices to "Netgear WNA1000" and device ID "0x0846, 0x9040" you have to edit one of the existing devices since a usb driver can only control 18 devices, which are already listed.

The ar9170usb driver is the closest match for the WNA1000, but it must recognize your device ID. If for some reason your WNA1000 device ID is different, use you IDs. I had to plug mine into a windows pc and look at its properties first.

Mine looks like:

static struct usb_device_id ar9170_usb_ids[] = {
/* Atheros 9170 */
{ USB_DEVICE(0x0cf3, 0x9170) },
/* Netgear WNA1000 */
{ USB_DEVICE(0x0846, 0x9040) },
/* TP-Link TL-WN821N v2 */
{ USB_DEVICE(0x0cf3, 0x1002) },

If everything else in the system is correct, just reboot and there it is! I did not use ndiswrapper.

Good luck!
 
come ti dicevo, molti hanno risolto con ndiswrapper, tuttavia si può risolvere anche nativamente. Ho trovato queste info:

Here's the fix that worked for me! 1. Download and install compat-wireless-2010-02-01, 2. go to the compat-wireless-2010-02-01/drivers/net/wireless/ath/ar9170 folder, 3. open the file "usb.c" at line 62 there will be a list of devices with their device IDs, 4. Edit one of the existing devices to "Netgear WNA1000" and device ID "0x0846, 0x9040" you have to edit one of the existing devices since a usb driver can only control 18 devices, which are already listed.

The ar9170usb driver is the closest match for the WNA1000, but it must recognize your device ID. If for some reason your WNA1000 device ID is different, use you IDs. I had to plug mine into a windows pc and look at its properties first.

Mine looks like:

static struct usb_device_id ar9170_usb_ids[] = {
/* Atheros 9170 */
{ USB_DEVICE(0x0cf3, 0x9170) },
/* Netgear WNA1000 */
{ USB_DEVICE(0x0846, 0x9040) },
/* TP-Link TL-WN821N v2 */
{ USB_DEVICE(0x0cf3, 0x1002) },

If everything else in the system is correct, just reboot and there it is! I did not use ndiswrapper.

Good luck!

cmq sarebbe meglio se incolli il risultato del comando lspci
 
cmq sarebbe meglio se incolli il risultato del comando lspci
scusate ma avevo accantonato questo problema per gli esami universitari...cmq potreste spiegarmi meglio la procedura!il risultato dal comando lspci è:
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIB (ICH10) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
 
forse non sono in grado di configurarlo per la connessione...ma io comunque non vedo nessuna penna usb wireless segnalata da ubuntu (10.04.1) anche se la spia blu è funzionante...non capisco se venga rilevata e come si faccia a configurare!!! :(

p.s: guardando nella virtualbox 3.2.8 ho notato che tra le voci usb ora compare ather usb 2.0 wlan quindi questo forse vuol dire che la rileva,ma non so come configurare il wna1000???
 
Se è una penna usb, la vedi col comando lsusb non lspci.

Il tizio qui [ubuntu] Netgear WNA1000 is not being activated - Ubuntu Forums dice di aver aggiunto quello specifico pci id al driver atheros. Per quanto riguarda il chipset sembra sia l'atheros 9170.
con il comando lsusb mi resituisce:
Bus 008 Device 003: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard
Bus 008 Device 002: ID 04fc:0538 Sunplus Technology Co., Ltd
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 03f0:0904 Hewlett-Packard DeskJet 845c
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0846:9040 NetGear, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
quindi dovrebbe combaciae anche con il codice del tipo: ma adesso cosa ci vedo fare con il compat-wireless-2010-09-23.tar.bz2 che ho scaricato (e che contiene suddesso codice 0x0...)???
ho letto qualche post in giro e si dice che si dovrebbe poter notare il MAC address tramite il comando "ifconfig" ma a me restituisce solo i dati inerenti alla mia connessione eth0 (cablata e non quella wireless):
eth0 Link encap:Ethernet HWaddr 00:22:15:90:80:ef
indirizzo inet:192.168.0.2 Bcast:192.168.0.255 Maschera:255.255.255.0
indirizzo inet6: fe80::222:15ff:fe90:80ef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82167 errors:0 dropped:0 overruns:0 frame:0
TX packets:67480 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:87324810 (87.3 MB) Byte TX:9730748 (9.7 MB)
Interrupt:27 Indirizzo base:0x2000

lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:676 errors:0 dropped:0 overruns:0 frame:0
TX packets:676 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:50427 (50.4 KB) Byte TX:50427 (50.4 KB)
 
Il problema è che il driver atheros fornito con linux per qualche ragione non include quel pci id e quindi quando tu infili la chiavetta, linux non capisce che razza di dispositivo è e a che serve.

Per farglielo capire bisogna aggiungere USB_DEVICE(0x0846, 0x9040) all'interno del file usb.c situato in compat-wireless-2010-09-23/drivers/net/wireless/ath/ar9170.

Ho visto proprio adesso ( scraricando lo stesso pacchetto che hai tu ) che il tuo dongle è stato aggiunto. Infatti se guardi nel file usb.c vedrai

Codice:
/* D-Link DWA 160 A1 */
    { USB_DEVICE(0x07d1, 0x3c10) },
    /* D-Link DWA 160 A2 */
    { USB_DEVICE(0x07d1, 0x3a09) },
    

   /* Netgear WNA1000 */
    { USB_DEVICE(0x0846, 0x9040) },
   

 /* Netgear WNDA3100 */
    { USB_DEVICE(0x0846, 0x9010) },
    /* Netgear WN111 v2 */
    { USB_DEVICE(0x0846, 0x9001) },

A questo punto devi solo compilare il modulo.

Guarda qui Download - Linux Wireless dalla sezione "Selecting your driver" in poi.
 
sai che stai parlando arabo vero?! :(
io nn sono in grado di fare ciò quindi mi tiro in dietro...spero che un giorno o l'altro rilascino i driver per sta penna usb wirless... :'(
 
Pubblicità
Pubblicità
Indietro
Top