Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Netzwerkkartentreiber erkennen [gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 85

PostPosted: Sun Aug 29, 2010 7:37 pm    Post subject: Netzwerkkartentreiber erkennen [gelöst] Reply with quote

HAllo, ich habe mein gentoo neu aufgesetzt, Kernel mit genkernel, baselayout2 installiert und komme jetzt mit dhcpcd nicht ins internet.
resolv.conf habe ich aus Knoppix rüberkopiert.

dhcpcd eth0 ergibt mir: read_interface no such device

Ifconfig sagt mir auch nichts.

Es scheint der treiber nicht geladen zu werden.
Wie kann ich rausfinden, welcher treiber zb von Knoppix aus, grade geladen wurde, bzw wie ich den als modul in meinen Kernel einbauen kann.
( falls er in einer anderen Version oder unter anderem Namen bei mir bei den modulen des neuen Kernel existiert?)

Danke schonmal


Last edited by Sindbad on Wed Sep 01, 2010 3:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
kosmonaut pirx
n00b
n00b


Joined: 03 Jun 2010
Posts: 6

PostPosted: Sun Aug 29, 2010 8:04 pm    Post subject: Reply with quote

hallo,

lspci ist dein freund. auf der konsole einmal eingeben und schauen, welchen Ethernet controller er listet. den treiber dafür im kernel anschalten, dann wird ifconfig oder dmesg auch das interface listen.
gruß kosmo
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 85

PostPosted: Sun Aug 29, 2010 9:39 pm    Post subject: Reply with quote

Danke, für die schnelle Antwort.


lspcmi sagt mir:
Code:

00:11.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)

Dafür gibt es im Kernel nur das modul:
Code:

devicedrivers, networkdevices-support,  ethernet 1000 mbit  Realtek 8169 Gigabit ethernet support.

Das modul heisst dann:
Code:
  r8169


In den phy-devices habe ich realtec phy devices support als modul gebacken, falls das was bringt.

modprobe r8169 läd das modul,
lsmod bestätigt es aber eth0 wird weder von dhcpcd eth0 noch von ifkonfig erkannt.
Ist das überhaupt der richtige Treiber?

Was benutz Knoppix?

lsmod aus Knoppix sagt mir.
Code:

root@Knoppix:/ramdisk/home/knoppix# lsmod
Module                  Size  Used by
sis_agp                12676  0
intel_agp              27420  0
efficeon_agp           12192  0
amd_k7_agp             12812  0
ali_agp                11136  0
dm_mod                 60440  0
ipv6                  279616  10
af_packet              29960  0
snd_cmipci             37536  1
gameport               19848  1 snd_cmipci
snd_pcm_oss            45728  0
snd_mixer_oss          20224  1 snd_pcm_oss
snd_pcm                80004  2 snd_cmipci,snd_pcm_oss
snd_page_alloc         13960  1 snd_pcm
snd_opl3_lib           14208  1 snd_cmipci
snd_timer              26500  2 snd_pcm,snd_opl3_lib
snd_hwdep              13316  1 snd_opl3_lib
snd_mpu401_uart        12672  1 snd_cmipci
snd_rawmidi            28064  1 snd_mpu401_uart
snd_seq_device         12044  2 snd_opl3_lib,snd_rawmidi
8250_pnp               13440  0
8250                   28164  1 8250_pnp
serial_core            25216  1 8250
snd                    55396  12 snd_cmipci,snd_pcm_oss,snd_mixer_
oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_r
awmidi,snd_seq_device
i2c_viapro             13204  0
ne2k_pci               15072  0
8390                   14208  1 ne2k_pci
parport_pc             43492  0
parport                40008  1 parport_pc
shpchp                 41380  0
pci_hotplug            36424  1 shpchp
soundcore              12512  1 snd
via686a                20360  0
hwmon                   7556  1 via686a
i2c_isa                 9472  1 via686a
via_agp                13952  1
agpgart                36044  6 sis_agp,intel_agp,efficeon_agp,amd
_k7_agp,ali_agp,via_agp
tsdev                  11840  0
evdev                  14208  1
pcmcia                 41132  0
firmware_class         14208  1 pcmcia
yenta_socket           30220  0
rsrc_nonstatic         17408  1 yenta_socket
pcmcia_core            43800  3 pcmcia,yenta_socket,rsrc_nonstatic
cpufreq_ondemand       12300  0
speedstep_lib           8836  0
freq_table              9088  1 cpufreq_ondemand
video                  19460  0
thermal                17928  0
sbs                    18856  0
processor              36200  1 thermal
i2c_ec                  9216  1 sbs
i2c_core               25984  4 i2c_viapro,via686a,i2c_isa,i2c_ec
fan                     8836  0
container               8576  0
button                 10768  0
battery                14084  0
ac                      9348  0
aufs                   88244  1
cloop                  18208  1
sbp2                   28292  0
ohci1394               38960  0
ieee1394              300760  2 sbp2,ohci1394
usb_storage            73408  0
usbhid                 56928  0
ff_memless              9992  1 usbhid
libusual               20624  1 usb_storage
ohci_hcd               24580  0
uhci_hcd               27788  0
ehci_hcd               35848  0
usbcore               135812  7 usb_storage,usbhid,libusual,ohci_h                cd,uhci_hcd,ehci_hcd

Back to top
View user's profile Send private message
cyril_sneer
n00b
n00b


Joined: 10 Mar 2010
Posts: 25
Location: Hamburg

PostPosted: Mon Aug 30, 2010 12:11 am    Post subject: Reply with quote

Ich vermute
Sindbad wrote:

Code:

ne2k_pci               15072  0
8390                   14208  1 ne2k_pci

bringens.


EDIT:

Jo, deine Karte steht auch in der "make menuconfig"-Hilfe zu CONFIG_NE2K_PCI
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Mon Aug 30, 2010 8:01 am    Post subject: Reply with quote

Sindbad wrote:
Ist das überhaupt der richtige Treiber?

Was benutz Knoppix?

lsmod aus Knoppix sagt mir.
[....]
Dann schaue doch eher mit
Code:
# lspci -k

lspci --help wrote:
Code:
-k              Show kernel drivers handling each device
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Mon Aug 30, 2010 9:08 am    Post subject: Reply with quote

http://kmuto.jp/debian/hcl/

damit kannst du dir auch die passenden Kernel-Module anzeigen lassen.
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Mon Aug 30, 2010 1:48 pm    Post subject: Reply with quote

Sindbad wrote:
lspcmi sagt mir:
Code:

00:11.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)

Dafür gibt es im Kernel nur das modul:
Code:

devicedrivers, networkdevices-support,  ethernet 1000 mbit  Realtek 8169 Gigabit ethernet support.

Das modul heisst dann:
Code:
  r8169

Falsche Rubrik. Realtek 8029 ist 'ne Uralt-Netzwerkkarte, die max. 100 MBit kann. Von daher solltest du bei:
Code:
Ethernet 10 or 100 Mbit

suchen.

Das Modul, wie schon oben richtig genannt, heißt ne2k_pci.
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 85

PostPosted: Tue Aug 31, 2010 4:45 pm    Post subject: Reply with quote

Das habe ich mir jetzt als module eingestellt:
Jetzt sollte ne2k_pci per modprobe zu laden sein, aber das scheint es nicht zu geben.
es gibt auch nur einen Treiber 8169 bei mir, keinen 8390 wie in Knoppix.

Code:

  --- Ethernet (10 or 100Mbit)                                       │ │
  │ │    {M}   Generic Media Independent Interface device support           │ │
  │ │    < >   Sun Happy Meal 10/100baseT support                           │ │
  │ │    < >   Sun GEM support                                              │ │
  │ │    < >   Sun Cassini support                                          │ │
  │ │    [ ]   3COM cards                                                   │ │
  │ │    < >   OpenCores 10/100 Mbps Ethernet MAC support                   │ │
  │ │    < >   Dave ethernet support (DNET)                                 │ │
  │ │    [ ]   "Tulip" family network device support  --->                  │ │
  │ │    < >   HP 10/100VG PCLAN (ISA, EISA, PCI) support                   │ │
  │ │    [*]   EISA, VLB, PCI and on board controllers       
             < >     AMD PCnet32 PCI support                                    │ │
  │ │    < >     AMD 8111 (new PCI lance) support                           │ │
  │ │    < >     Adaptec Starfire/DuraLAN support                           │ │
  │ │    < >   Broadcom 440x/47xx ethernet support                          │ │
  │ │    < >   nForce Ethernet support                                      │ │
  │ │    < >   Intel(R) PRO/100+ support                                    │ │
  │ │    < >   Myson MTD-8xx PCI Ethernet support                           │ │
  │ │    < >   National Semiconductor DP8381x series PCI Ethernet support   │ │
  │ │    < >   PCI NE2000 and clones support (see help)                     │ │
  │ │    <M>   RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERI│ │
  │ │    <M>   RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support │   │
             [*]     Use PIO instead of MMIO                                    │ │
  │ │    [ ]     Support for uncommon RTL-8139 rev. K (automatic channel equ│ │
  │ │    [*]     Support for older RTL-8129/8130 boards                     │ │
  │ │    [*]     Use older RX-reset method                                  │ │
  │ │    < >   RDC R6040 Fast Ethernet Adapter support                      │ │
  │ │    < >   SiS 900/7016 PCI Fast Ethernet Adapter support               │ │
  │ │    < >   SMC EtherPower II                                            │ │
  │ │    < >   SMSC LAN9420 PCI ethernet adapter support                    │ │
  │ │    < >   Sundance Alta support                                        │ │
  │ │    < >   TI ThunderLAN support                                        │ │
  │ │    < >   Micrel KSZ8842           
  │ │    < >   Micrel KS8851 MLL                                            │ │ 
  │ │    < >   VIA Rhine support                                            │ │
  │ │    < >   Silan SC92031 PCI Fast Ethernet Adapter driver (EXPERIMENTAL)│ │
  │ │    < >   Atheros L2 Fast Ethernet support                             │ │                                   
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2272
Location: My own world! I and Gentoo!

PostPosted: Tue Aug 31, 2010 5:09 pm    Post subject: Reply with quote

Hast du daran gedacht das udev evtl den Eintrag in ihrer Config neu macht. Zum Ausprobiern einfach mal die Datei /etc/udev/rules.d/70-persistent-net.rules wegsichern (mv) und danach ein udevadm trigger oder rebooten ausführen.
Danach mit ifconfig -a nachschaun.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1721

PostPosted: Tue Aug 31, 2010 5:13 pm    Post subject: Reply with quote

du musst "PCI NE2000 and clones support (see help)" als modul bauen (genau über den realtektreibern, die du als modul gewählt hast). dann wird es das modul "ne2k_pci" geben.
Back to top
View user's profile Send private message
Sindbad
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2007
Posts: 85

PostPosted: Tue Aug 31, 2010 8:35 pm    Post subject: Reply with quote

Danke, hat gut geklappt!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum