View Full Version : Non mi riconosce la scheda ethernet
Breakerr
19-03-2007, 16:46
Ciao.
Ho installato l'ultima versione di ubuntu in una partizione dell'HD, (Il mio pc è quello in signa) e quando do il comando "sudo pppoeconf" mi dice che nn ci sn schede ethernet nel pc. In windows uso quella stessa scheda ethernet per il mio router, come mai cn Linux nn va?
Aiutatemi grazie :)
PS: La scheda ethernet è integrata nella scheda madre Asus p5b-e
PPS: Chiedo scusa per il doppio post ma avevo sbajato a postare.
RaouL_BennetH
19-03-2007, 17:17
Forse non è inserita nel kernel, oppure lo è come modulo ma lo stesso non è stato ancora caricato.
Sicuramente su ubuntu ci saranno molti modi grafici e user friendly per fare delle prove ma io purtroppo, nn usandola non li conosco, quindi posso solo dirti di postare il risultato di:
lspci -v
e di
lsmod
Il primo per cercare di capire che tipo di scheda di rete è, e il secondo è per vedere se, nel caso sia una scheda con un chipset comune e che quindi ubuntu la riconosca senza troppe storie, ti manca di caricare al limite solo il suo modulo.
Breakerr
19-03-2007, 18:36
Loggo ubuntu e ti dico subito Grazie :)
Breakerr
19-03-2007, 18:56
Allora, Risultato di lspci -v
Ti ho messo solo la parte che ti interessa poichè l'ho dovuto ricopiare a mano nn avendo una partizione in comune
Ethernet controller: Unknown device 1969:1048 (rev b0)
Subsystem: AsusTEK Computer inc. Unknown device 8226
Flags: Bus master, fast devsel, latency, irq10
Memory at fe9c0000 (64-bit-non-prefetchable)
Mentre lsmod è proprio necessario? O_O a mano ci metto un po per scrivertelo qui O_O
Grazie mille
Willy McBride
19-03-2007, 19:20
Apparentemente hai una Attansic L1 Gigabit Ethernet: prima la notizia cattiva, poi quella media e infine quella buona:
* non c'è un driver per quella scheda nel kernel
* c'è un driver per quella scheda sviluppato in questo sito (http://atl1.sourceforge.net/)
* può darsi che il driver sia incluso nel prossimo kernel 2.6.21
Breakerr
19-03-2007, 19:39
Spero che installando i driver che mi hai linkato si risolva.
Solo un problema, essendo io un Windows user non ho idea di come installare quei driver, se puoi illustrarmelo te ne sarei davvero grato perchè mi risolvi tutto (spero) :)
PS: il mio kerner è 2.6.17
Ciao e grazie
Willy McBride
19-03-2007, 20:06
Con un kernel 2.6.17, come misura temporanea finché non esce il 2.6.21, stando al sito conviene installare la versione sviluppata dal produttore 1.0.41.0 (http://www.hogchain.net/attansic/AtL1Linux_v1.0.41.0.tar.gz). Ora, nel readme contenuto ci sono le istruzioni e non sembra particolarmente complicato (tra l'altro, forse il file c'è anche nel cd dei driver della motherboard e non serve scaricarlo), però è meglio se aspetti qualcuno con ubuntu, perché non penso che compilatore e header del kernel siano installati di default e non so come si chiamino quei pacchetti.
Breakerr
19-03-2007, 21:03
Perdonami, ma da niubbo di linux mi perdo molto facilmente in quelle istruzioni illustrate nel readme :(
Non so se è chiederti troppo aiutarmi a compilare questi driver :(
Purtroppo nn pensavo di incontrare questo problema :( Io speravo di installare linux, Beryl e Amsn e stare finalmente in pace senza virus e crash.
Quindi risolto questo problema mi metti in pace :)
Grazie mille :)
Breakerr
19-03-2007, 22:07
Ok bene o male ho capito cosa bisogna fare, ho scompattato il file, sn entrato nella directory e ho dato make install....... ecco cosa mi esce
breaker@breaker-desktop:~$ cd /home/breaker/atl1/src
breaker@breaker-desktop:~/atl1/src$ sudo make install
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/home/breaker/atl1/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
# remove all old versions of the driver
find /lib/modules/2.6.17-10-generic -name atl1.ko -exec rm -f {} \; || true
find /lib/modules/2.6.17-10-generic -name atl1.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1.ko /lib/modules/2.6.17-10-generic/kernel/drivers/net/atl1/atl1.ko
/sbin/depmod -a || true
install -D -m 644 atl1.7.gz /usr/share/man/man7/atl1.7.gz
man -c -P'cat > /dev/null' atl1 || true
man:
cannot write to /var/cache/man/cat7/atl1.7.gz in catman mode
atl1.
breaker@breaker-desktop:~/atl1/src$
Spero sia positivo e che sia andata a buon fine l'installazione......
......poi nel punto 5 del readme... mi blocco xke nn capisco cosa vuole sapere O_O
1. Move the base driver tar file to the directory of your choice. For example,
use /home/username/atl1 or /usr/local/src/atl1.
2. Untar/unzip archive:
tar zxf atl1-x.x.x.tar.gz
3. Change to the driver src directory:
cd atl1-x.x.x/src/
4. Compile the driver module:
make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/atl1.[k]o
The install locations listed above are the default locations. They might
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.
5. Install the module:
insmod atl1 <parameter>=<value>
6. Assign an IP address to the interface by entering the following, where
x is the interface number:
ifconfig ethx <IP_address>
7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:
ping <IP_address>
Non ho idea cosa voglia sapere.
Forse questo puo essere utile
Command Line Parameters
=======================
If the driver is built as a module, the following optional parameters are
used by entering them on the command line with the modprobe or insmod command
using this syntax:
modprobe atl1 [<option>=<VAL1>,<VAL2>,...]
insmod atl1 [<option>=<VAL1>,<VAL2>,...]
For example, with two L001 PCIE adapters, entering:
insmod atl1 TxDescriptors=80,128
loads the atl1 driver with 80 TX descriptors for the first adapter and 128 TX
descriptors for the second adapter.
The default value for each parameter is generally the recommended setting,
unless otherwise noted.
NOTES: A descriptor describes a data buffer and attributes related to the
data buffer. This information is accessed by the hardware.
MediaType
Valid Range: 0-5
0 - auto-negotiate at all supported speeds
1 - only link at 1000Mbps Full Duplex
2 - only link at 100Mbps Full Duplex
3 - only link at 100Mbps Half Duplex
4 - only link at 10Mbps Full Duplex
5 - only link at 10Mbps Half Duplex
Default Value: 0
MediaType forces the line speed/duplex to the specified value in
megabits per second(Mbps). If this parameter is not specified or is set
to 0 and the link partner is set to auto-negotiate, the board will
auto-detect the correct speed.
IntModTimer
Valid Range: 50-65000
Default Value: 100
This value represents the minmum interval between interrupts controller
generated.
RxDescriptors
Valid Range: 128-2047
Default Value: 256
This value is the number of RFD/RRD descriptors allocated by the driver.
Increasing this value allows the driver to buffer more incoming packets.
A receive buffer is also allocated for each descriptor and can be either
2048, 4096, or 8192 bytes, depending on the MTU setting.
The maximum MTU size is 8192.
NOTE: MTU designates the frame size. It only needs to be set for Jumbo
Frames.
NOTE: Depending on the available system resources, the request for a
higher number of receive descriptors may be denied. In this case,
use a lower number.
TxDescriptors
Valid Range: 64-1023
Default Value: 512
This value is the number of transmit descriptors allocated by the driver.
Increasing this value allows the driver to queue more transmits.
NOTE: Depending on the available system resources, the request for a
higher number of transmit descriptors may be denied. In this case,
use a lower number.
FlashVendor
Valid Range: 0-2
Default Value: 0
This value standards on vendor of spi flash used by the adapter.
0 for Atmel, 1 for SST, 2 for ST
Grazie mille :)
Willy McBride
20-03-2007, 13:21
Nessuno con ubuntu... bah.
Dunque, a giudicare dall'output avevi già tutto il necessario, il modulo è compilato e installato. Ora devi lanciare da console 'sudo modprobe atl1', che carica il modulo; lascia perdere i parametri opzionali a meno di non avere problemi in seguito.
'ifconfig' serve per assegnare l'ip alla scheda. Per vedere se il modulo funziona, intanto, prova con 'sudo ifconfig eth0 192.168.1.1', quindi lancia 'sudo pppoeconf' e scegli di usare la scheda eth0.
Sono sicuro che ubuntu ha dei tool grafici per tutto questo e che può caricare automaticamente il modulo al boot e assegnargli un ip, il problema è che non usando ubuntu non ti so dire cosa devi fare di preciso.
Breakerr
20-03-2007, 15:31
Ok tutto funzionante :) Sn connesso cn Linux!
Grazie della tua disponibilità :)
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.