Scheda di rete 10/100 USB
Autore: Michele Tameni
Data: 02/07/2002
Categoria: Reti
Pagina: 3 di 4
Vai a:


La prova

L'installazione

L'installazione è risultata abbastanza semplice sia con Windows ME che con Windows XP, infatti subito dopo aver inserito la scheda nella porta USB, essa è stata riconosciuta, il sistema operativo ha richiesto i driver necessari ed inserendo il floppy contenuto nella scatola ha provveduto ad installarli.
A questo punto la nostra scheda era del tutto funzionante, è bastato impostare nel modo adeguato il protocollo TCP/IP, assegnando IP, Netmask e Gateway e la rete era perfettamente funzionante.

Anche il supporto per Linux è garantito (nonostante non ve ne sia traccia sul manuale..), infatti sbirciando sul dischetto in dotazione, oltre alle cartelle contenenti i driver per le varie versioni di Windows, ho trovato una cartella denominata appunto Linux, in cui ho trovato un file C e un readme contenente le istruzioni necessarie per installare correttamente la periferica.
Dunque ho voluto provare se effettivamente funzionasse ed ecco come è andata.

Seguendo quanto scritto nel file Readme ho iniziato compilando il file C fornito sul dischetto, che altro non è che un modulo per il kernel, finita la compilazione ho caricato il modulo con ismod a questo punto la scheda funzionava, ho configurato anche in questo caso IP, Netmask e Gateway e tutto funzionava correttamente.
Ricordo che però per il corretto funzionamento della scheda è rischioso un kernel del tree 2.4 e che ovviamente deve esser stato compilato con il supporto alle porte USB. La distribuzione su cui ho testato la scheda è una Debian woody con kernel 2.4.19-pre10-ac2.

Velocità

Fino a qui sono rimasto impressionato dalla semplicità di utilizzo di questa scheda, ma per aver una panoramica completa ho voluto fare anche un piccolo test per provarne la "velocità", e per farlo ho utilizzato il tool ping che non fa alto che inviare uno o più pacchetti di dati ad un determinato IP per vedere in quanto tempo esso risponda, rispedendoli al mittente.

La rete su cui ho eseguito i test era così composta:

Il PC su cui ho eseguito i test è appunto il Client #1, con IP 192.168.1.2 .
Il ping è stato eseguito dal Server di rete, su cui vi è installato Debian GNU/Linux, con kernel 2.4.17 .
Di seguito vi riporto i risultati ottenuti dai test con i vari sistemi operativi utilizzati sul Client, confrontati con i risultati ottenuti utilizzando una scheda Ethernet 10/100 PCI con chip Realtek.

Windows ME

Scheda di rete 10/100 USB Scheda di rete PCI Realtek
amdplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=3.9 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=4.9 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=4.6 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=4.3 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=4.0 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=3.7 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=3.6 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=3.1 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=2.8 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=2.6 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 2.6/3.7/4.9 ms

amdplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=0.3 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=0.1 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.3 ms

 

Windows XP

Scheda di rete 10/100 USB Scheda di rete PCI Realtek
dplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.6 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=7.4 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=6.3 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=7.7 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=9.1 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=10.4 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=1.7 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=3.1 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=4.5 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=5.8 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=7.2 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 1.7/6.3/10.4 ms

amdplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=0.1 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms

 

Linux

Scheda di rete 10/100 USB Scheda di rete PCI Realtek
amdplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=2.8 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=4.9 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=4.6 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=4.3 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=4.0 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=3.7 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=3.6 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=3.1 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=3.9 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=2.6 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 2.6/3.7/4.9 m

 

amdplanet:/home/michele# ping -c10 192.168.1.2
PING 192.168.1.2 (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=128 time=0.2 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=128 time=0.3 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=128 time=0.1 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=128 time=0.1 ms

--- 192.168.1.2 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.3 ms


Come vedete i risultati ottenuti non sono di certo brillanti, infatti con tutti i sistemi operativi, con Windows XP in particolare, il ping è abbastanza alto rispetto a quello ottenuto con la scheda PCI. Penso che ciò sia imputabile parzialmente al bus USB ed in parte ai driver forniti dal produttore.


Conclusioni >>

Vai a: