PDA

View Full Version : connessione ad hoc wifi per scambio dati su ftp.


sblantipodi
14-11-2007, 23:27
Salve ragazzi,
uso fedora 8 e ho la scheda di rete wireless funzionante.

Il problema è che non conosco nessun tool che mi permetta di creare/configurare una rete ad hoc per permettere lo scambio di file via ftp su wireless.

Avete idea di come configurare una simile connessione (e ovviamente farla funzionare) ???? :)

thehuge
15-11-2007, 18:06
Per configurare una rete wireless tutto ciò che ti serve sono ifconfig, iwconfig e dhclient (non indispensabile).

Se poi vuoi qualcosa con una GUI per Gnome c'è network-manager (http://www.gnome.org/projects/NetworkManager), mentre per KDE c'è KNetworkManager (http://en.opensuse.org/Projects/KNetworkManager).

Per il trasferimento FTP ti servirà un client (ti basterà il pacchetto ftp ed il tuo file manager) ed un server (ad esempio ftpd, oppure pure-ftpd).

sblantipodi
15-11-2007, 18:16
Per configurare una rete wireless tutto ciò che ti serve sono ifconfig, iwconfig e dhclient (non indispensabile).

Se poi vuoi qualcosa con una GUI per Gnome c'è network-manager (http://www.gnome.org/projects/NetworkManager), mentre per KDE c'è KNetworkManager (http://en.opensuse.org/Projects/KNetworkManager).

Per il trasferimento FTP ti servirà un client (ti basterà il pacchetto ftp ed il tuo file manager) ed un server (ad esempio ftpd, oppure pure-ftpd).

I tool li conosco è che non me ne funziona uno...

thehuge
15-11-2007, 18:38
I tool li conosco è che non me ne funziona uno...

Allora sarebbe adeguata una spiegazione dei problemi riscontrati :D

sblantipodi
15-11-2007, 19:06
Allora sarebbe adeguata una spiegazione dei problemi riscontrati :D

cerco di creare una rete ad-hoc:
iwconfig wlan0 essid "sblant" channel 4 key password mode ad-hoc
ifconfig wlan0 192.168.1.2
route add -net 192.168.1.0 netmask 255.255.255.0 wlan0

windows mi vede ma come tenta di connettersi gli chiede una password e la password da me impostata con il iwconfig non gli piace :(

Se faccio una connessione con quei comandi anche knetworkmonitor ha lo stesso problema...

thehuge
15-11-2007, 19:15
Sei sicuro di impostare correttamente il parametro key di iwconfig?

Prendo da man iwconfig
To set the current encryption key, just enter the key in hex digits as XXXX-XXXX-XXXX-XXXX or XXXXXXXX. To set a key other than the current key, prepend or append [index] to the key itself (this won't change which is the active key). You can also enter the key as an ASCII string by using the s: prefix. Passphrase is currently not supported.

[...]

EXAMPLES:
iwconfig eth0 key s:mypassword [2]

sblantipodi
15-11-2007, 19:27
Sei sicuro di impostare correttamente il parametro key di iwconfig?

Prendo da man iwconfig

io la imposto così non va bene?

iwconfig wlan0 essid "sblant" channel 4 key QUESTA_E'_LA_MIA_PASSWORD mode ad-hoc

thehuge
15-11-2007, 19:40
Se vuoi mettere la password in caratteri ASCII (e non in cifre esadecimali) devi inserirla con il prefisso s:
iwconfig wlan0 essid "sblant" channel 4 key s:QUESTA_E'_LA_MIA_PASSWORD mode ad-hoc

sblantipodi
15-11-2007, 19:49
Se vuoi mettere la password in caratteri ASCII (e non in cifre esadecimali) devi inserirla con il prefisso s:
iwconfig wlan0 essid "sblant" channel 4 key s:QUESTA_E'_LA_MIA_PASSWORD mode ad-hoc

ah, peccato che non va lo stesso :muro: :muro: :muro:

thehuge
15-11-2007, 20:06
ah, peccato che non va lo stesso :muro: :muro: :muro:
La chiave usata è WEP, vero?
Se fosse WPA/WPA2 ti consiglio: man wpa_supplicant
e anche http://www.google.it/search?hl=it&q=%22wpa_supplicant%22

sblantipodi
15-11-2007, 20:16
La chiave usata è WEP, vero?
Se fosse WPA/WPA2 ti consiglio: man wpa_supplicant
e anche http://www.google.it/search?hl=it&q=%22wpa_supplicant%22

guarda come chiave per fare le prove uso 12345678

thehuge
15-11-2007, 20:28
Hai provato ad usare il pc con windows come server?
(Un esempio lo trovi qui (http://www.hwupgrade.it/forum/showthread.php?t=945276))

sblantipodi
15-11-2007, 21:08
Hai provato ad usare il pc con windows come server?
(Un esempio lo trovi qui (http://www.hwupgrade.it/forum/showthread.php?t=9452756))

Nessuna Discussione specificata. Se sei arrivato qui tramite un collegamento valido ti preghiamo di segnalare la cosa al webmaster

thehuge
16-11-2007, 01:43
Scusa.
Ho corretto il link nel mio post precedente.

sblantipodi
16-11-2007, 13:20
si si faccio così ma non va lo stesso :(