[RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
actaris
Prode Principiante
Messaggi: 93
Iscrizione: lunedì 11 dicembre 2006, 11:37
Desktop: cinnamon
Distribuzione: Linux Mint 21
Sesso: Maschile
Località: Bologna
Contatti:

[RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da actaris »

Scusate, una curiosità:
ho cambiato lo switch, passando dallo standard 10/100 a quello gigabit. La mia scheda di rete, integrata sulla mainboard Gigabyte GA-965P-DS4 (Gigabit LAN Controller (Marvell 8056))  è di classe Gigabit. Stranamente, secondo il nuovo switch, la connessione continua ad essere a 100Mbit. Il notebook con Vista ( ma su cui è installato anche Kubuntu)  ora ha una connessione Gigabit. Non è un problema di cavo, ho già controllato. Volevo chiedervi dove trovare la velocità di connessione reale della scheda ed, eventualmente, come reimpostarla .Appena torno a casa provo a vedere come si comporta il Notebook con Kubuntu, ossia se viene rilevato dallo switch con connessione a 100Mbit o con connessione Gigabit.
Grazie e a presto.
PS: non mi cambia la vita passare a Gigabit, ma vorrei capire...  ;D
Ultima modifica di actaris il lunedì 12 novembre 2007, 20:01, modificato 1 volta in totale.
CPU: Q6600, con Mainboard Asus P5Q, 8GB RAM, Geforce 8600 GT | Notebook HP 6540b | Muletto Intel Atom 550 tutti con Ubuntu
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

usa i tools ethtool e mii-diag per avere le info sulla periferica es.

Codice: Seleziona tutto

sudo ethtool eth0
e

Codice: Seleziona tutto

sudo mii-diag eth0

Codice: Seleziona tutto

sudo ifconfig eth0 media type .........
tra i puntini metti il valore massimo trovato con i due tool precedenti
Avatar utente
actaris
Prode Principiante
Messaggi: 93
Iscrizione: lunedì 11 dicembre 2006, 11:37
Desktop: cinnamon
Distribuzione: Linux Mint 21
Sesso: Maschile
Località: Bologna
Contatti:

Re: Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da actaris »

grazie, la scheda ora va...a mille ;D
CPU: Q6600, con Mainboard Asus P5Q, 8GB RAM, Geforce 8600 GT | Notebook HP 6540b | Muletto Intel Atom 550 tutti con Ubuntu
gianx
Prode Principiante
Messaggi: 7
Iscrizione: lunedì 15 gennaio 2007, 16:08

Re: Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gianx »

ethyl ha scritto: usa i tools ethtool e mii-diag per avere le info sulla periferica es.

Codice: Seleziona tutto

sudo ethtool eth0
e

Codice: Seleziona tutto

sudo mii-diag eth0

Codice: Seleziona tutto

sudo ifconfig eth0 media type .........
tra i puntini metti il valore massimo trovato con i due tool precedenti
Scusa ho lo stesso problema potresti darmi qualche indicazione in piu' per settare la scheda a 1000 Mb ?

ciao Gianluca
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Ho appena installato una scheda Gigabit PCI.
Purtroppo però il trasferimento è lento (meno di 10MB/s), anche se sullo switch e sulla scheda si accende il led relativo al gigabit.

Dalle proprietà della scheda leggo:

Codice: Seleziona tutto

gitti@SERVER:~$ sudo ethtool eth1
Settings for eth1:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 24
	Transceiver: internal
	Auto-negotiation: on
mentre da un estratto di lshw leggo che viene vista come gigabit, ma non riconosciuta come tale:

Codice: Seleziona tutto

*-network
                description: Ethernet interface
                product: IP1000 Family Gigabit Ethernet
                vendor: Sundance Technology Inc / IC Plus Corp
                physical id: 6
                bus info: pci@0000:03:06.0
                logical name: eth1
                version: 41
                serial: 00:06:4f:63:f2:7c
                size: 100MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 66MHz
                capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=Sundance Technology IPG Triple-Speed Ethernet duplex=full ip=192.168.1.5 latency=32 maxlatency=10 mingnt=80 module=ipg multicast=yes port=MII speed=100MB/s
Come posso risolvere? Grazie :)
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

sembra che quel driver supporti fino a 100mb/s
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Ho i drivers linux sul cd della scheda di rete, ma non capisco come fare ad installarli.

I drivers sono gli stessi presenti a questo link: http://www.icplus.com.tw/Data/driver/IP ... v2.10c.zip

Queste sono le istruzioni riportate nel manuale:

            IC Plus IP1000 Gigabit Ethernet Adapter

                        Linux driver



Contents:

-----------

1. File Description

2. Driver Installation for Linux

3. Jumbo Support



1. File Description

-------------------



Filename                Description

====================    =======================================================

ipg.c                   IC Plus IP1000 Linux Driver Source Code.

                        This file is the main part of IP1000 Linux Driver.



makefile                Make File For IP1000 Linux Driver.

                        Using "make all", "make smp", "make bigmem" for your

                        kernel.



make2.2.sh              Make Shell Script For Linux 2.2.x Kernel.



make2.2mod.sh           Make Shell Script For Linux 2.2.x Kernel.



PhyParam.h              IP1000 Hardware Parameters modification file.

                        It would have new version for new version of NIC on IC

                        Plus web site.



ipg_tune.h              Include File For IP1000 Linux Driver.



ipg_structs.h           Include File For IP1000 Linux Driver.



ipg_macros.h            Include File For IP1000 Linux Driver.



ipg_constants.h         Include File For IP1000 Linux Driver.



readme.txt              A summary of the contents for Linux Driver.

                        This file, which you are reading me now.







2. Driver Installation for Linux

-----------------------------------------

a. for kernel 2.4.x

   a1. Redhat 7.3 (linux kernel 2.4.18)

   a2. Mandrake 8.1 (kernel 2.4.8)

b. for kernel 2.6.x

c. for bigmem and smp.



        a.for kernel 2.4.x

        -------------------

          a1. Redhat 7.3 (linux kernel 2.4.18)

          a1.1. install way 1:

              #make all =>generate ipg.o

              #cp ipg.o /lib/modules/2.4.18-3/kernel/drivers/net/

              #insmod ./ipg.o

              #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

              eth0 is your network adapter,use "dmesg" to check it,

                   ex: eth0, eth1...

              xxx  is your ip address, ex: 192.168.102.211

              yyy  is your netmask address, ex:255.255.255.0



          a1.2.  install way 2:

             #make all =>generate ipg.o

             #cp ipg.o /lib/modules/2.4.18-3/kernel/drivers/net/

             #insmod ./ipg.o

             #setup

                   [network configuration] =>to setup your ip address

             #ifup eth0

                 eth0 is your network adapter, ex: eth0, eth1...





          a2. Mandrake 8.1 (kernel 2.4.8)

             #make all  => generate ipg.o

             #cp ipg.o /lib/modules/2.4.8-26mdk/kernel/drivers/net

             #insmod ./ipg.o

             #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

             eth0 is your network adapter,use "dmesg" to check it,

                  ex: eth0, eth1...

             xxx  is your ip address, ex: 192.168.102.211

             yyy  is your netmask address, ex:255.255.255.0



        b. for kernel 2.6.x

        -------------------

           #make all  => generate ipg.ko

           #insmod ./ipg.ko

           #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

              eth0 is your network adapter,use "dmesg" to check it, ex: eth0, eth1...

              xxx  is your ip address, ex: 192.168.102.211

              yyy  is your netmask address, ex:255.255.255.0

           ========================================================================

           example for Mandrake 10 automatically load:

           #make all  => generate ipg.ko

           #uname -r

           #2.6.11-6mdk  => Depending on various Linux versions

           #cp ipg.o /lib/modules/2.6.11-6mdk/kernel/drivers/net  => Just for Mandrake 10 example.

           #insmod ./ipg.ko (or ipg.o)

           #ifconfig eth0 xxx.xxx.xxx.xxx netmask yyy.yyy.yyy.yyy

           ========================================================================



        c. for bigmem and smp.

        ----------------------

           c1. If your kernel was in bigmem, using:

             #make bigmem



           c2. If your kernel was in smp, using:

             #make smp





3. Jumbo Support

----------------------



In Makefile:

3.1. Open Jumbo Support:

MAPPING_MODE= -DUSE_IO_OPS -DJUMBO_FRAME



3.2. Close Jumbo Support

MAPPING_MODE= -DUSE_IO_OPS



3.3. Jumbo Support for RX 10K and TX 10K

3.3.1. Change max jumbo frame support size, please change JUMBO_FRAME_SIZE_xxxx option to modify

         support size, the more large frame support need more memory to use, the best performence for

         IP1000A may be "JUMBO_FRAME_SIZE_4K".



         Note: After changed JUMBO_FRAME_SIZE_xxxx option, please "make clean" then "make" again.



in Makefile:

MAPPING_MODE= -DUSE_IO_OPS -DJUMBO_FRAME -DJUMBO_FRAME_SIZE_4K



Usiable options:

JUMBO_FRAME_SIZE_2K

JUMBO_FRAME_SIZE_3K

JUMBO_FRAME_SIZE_4K

JUMBO_FRAME_SIZE_5K

JUMBO_FRAME_SIZE_6K

JUMBO_FRAME_SIZE_7K

JUMBO_FRAME_SIZE_8K

JUMBO_FRAME_SIZE_9K

JUMBO_FRAME_SIZE_10K
Ultima modifica di gitti il mercoledì 13 maggio 2009, 11:07, modificato 1 volta in totale.
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Intanto ho trovato questa guida:

http://www.dusted.dk/?view=Sundance-Tec ... net-driver

però al passo

Codice: Seleziona tutto

#echo "generate ipg.ko" | make all
non genera ipg.ko e quindi non poso proseguire.

>:(
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Il chip è lo stesso montato dall'ASUS NX1101, purtroppo i problemi con i drivers sono gli stessi.

Vorrei pure comprare un'altra scheda, ma non saprei quale per non cadere nello stesso problema.
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Siccome non riesco a risolvere in nessuna maniera, secondo voi questa scheda qui:

http://www.tp-link.com/products/product_des.asp?id=2

è compatibile con linux? Non voglio buttare altri soldi.
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

UP  :-\
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

gitti ha scritto: Siccome non riesco a risolvere in nessuna maniera, secondo voi questa scheda qui:

http://www.tp-link.com/products/product_des.asp?id=2

è compatibile con linux? Non voglio buttare altri soldi.
quella scheda usa il driver r8169 che hai nel kernel. Controlla con

Codice: Seleziona tutto

modprobe -l |grep r8169
e questo è un estratto del readme preso dal sito

The media can be forced to one of the 5 modes as follows.

       Cmd: "insmod r8169 media = SET_MEDIA"
       For example:
        "insmod r8169 media = 0x04" will force PHY to operate in 100Mpbs Half-duplex.

        SET_MEDIA can be:
               _10_Half        = 0x01
               _10_Full        = 0x02
               _100_Half       = 0x04
               _100_Full       = 0x08
               _1000_Full      = 0x10


  Force media type for multiple cards could be performed as:

        "insmod r8169 media=0x04,0x10"

  which force PHY to operate at 100Mbps half-duplex and 1000Mbps full-duplex.
da cui si vede che è possibile settare la scheda a 1000 mb/s
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

Questo è il risultato del comando:

Codice: Seleziona tutto

gitti@SERVER:~$ modprobe -l |grep r8169
kernel/drivers/net/r8169.ko
Allora vado subito a comperarla, questa qui mi sta solo facendo impazzire. Peccato però...sullo scatolo era scritto compatibile con linux, solo che i drivers li ha scritti un ubriaco  (b2b)
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

gitti ha scritto: Questo è il risultato del comando:

Codice: Seleziona tutto

gitti@SERVER:~$ modprobe -l |grep r8169
kernel/drivers/net/r8169.ko
Allora vado subito a comperarla, questa qui mi sta solo facendo impazzire. Peccato però...sullo scatolo era scritto compatibile con linux, solo che i drivers li ha scritti un ubriaco  (b2b)
Ho comperato questa dannata scheda, finalmente viene vista come gigabit.

Codice: Seleziona tutto

Settings for eth2:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Half 1000baseT/Full 
	Advertised auto-negotiation: Yes
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000033 (51)
	Link detected: yes
purtroppo la rete continua ad essere lenta (13MB/s max), contro prestazioni ben superiori sotto windows (30MB/sec almeno).

Come posso risolvere?
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

ethyl ha scritto: usa i tools ethtool e mii-diag per avere le info sulla periferica es.

Codice: Seleziona tutto

sudo ethtool eth0
e

Codice: Seleziona tutto

sudo mii-diag eth0

Codice: Seleziona tutto

sudo ifconfig eth0 media type .........
tra i puntini metti il valore massimo trovato con i due tool precedenti
Qual'è la sintassi da sostituire ai puntini?
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

non serve va già a 1 giga
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

ethyl ha scritto: non serve va già a 1 giga
Hai ragione, infatti se collego allo switch 10/100 la velocità scende a 6MB/s.

Come posso fare però ad andare oltre i 13MB/s? Con windows va molto più veloce (sullo stesso pc).
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

calcoli la velocità spostando file da ubuntu a un pc windows ?
gitti
Prode Principiante
Messaggi: 236
Iscrizione: giovedì 30 novembre 2006, 10:24

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da gitti »

ethyl ha scritto: calcoli la velocità spostando file da ubuntu a un pc windows ?
Si, tramite samba.
Avatar utente
ethyl
Rampante Reduce
Rampante Reduce
Messaggi: 7766
Iscrizione: venerdì 19 gennaio 2007, 16:31

Re: [RISOLTO] Cambiare la velocità della scheda di rete da 10/100 a Gigabit

Messaggio da ethyl »

Si, tramite samba.
probabile che quello sia il problema....
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 12 ospiti