Re: Fw: Immer noch eine Anfängerfrage / FreeBSD und NE2000PCI ( Realthek 8029 )

From: Marian Hettwer <MH(at)kernel32.de>
Date: Wed, 23 May 2001 11:45:37 +0200

Hallo erkan,

Die Netzwerkkarte sollte wie gesagt astrein laufen.
Ich habe in meinem kleinen Gateway 2 Netzwerkkarten drin (beide PCI)
eine Netgear FA 311 und eine Realtek 8029 (standard ne2000 hässliches entchen)
in meinem kernel steht folgendes:
# NIC
device miibus
device sis
device ed

wobei der miibus für fast ethernet karten zuständig ist, nämlich für die device
sis, welche 100 MBIT ist.
der ed treiber funktioniert 100% mit pci ne2000 kompatiblen karten. da sollte es
an sich keine probleme geben :)
der dmesg output gibt für die beiden karten folgendes zurück:

ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xff80-0xff9f irq 9 at device
13.0 on pci0
ed0: address 00:a0:d2:15:61:fb, type NE2000 (16 bit)
sis0: <NatSemi DP83815 10/100BaseTX> port 0xf800-0xf8ff mem
0xffbcf000-0xffbcffff irq 10 at device 14.0 on pci0
sis0: Ethernet address: 00:00:cc:73:58:c3
miibus0: <MII bus> on sis0

das bestätigt das oben genannte: miibus nur für die sis
der interessante Teil für dich sollte die beiden ed0: reihen sein
was steht in deinem output da ?

in der rc.conf ist für meine beiden karten folgendes eingetragen:

ifconfig_sis0="inet 192.168.100.1 mtu 1492 netmask 255.255.255.0"
ifconfig_ed0="up"

die ed0 steht lediglich auf "up" weil sie bloss mein tdsl modem bedient.
du könntest das ganze also bei dir wie folgt stehen haben
ifconfig_ed0="inet 192.168.100.1 netmask 255.255.255.0"

und das sollte genügen
ein ping zu einem anderen rechner in deinem netz sollte also jetzt problemlos
funktionieren ...
in meinem /dev verzeichnis befindet sich auch kein ed und das soll wohl auch so
sein ;)
also sh MAKEDEV ed0 oder selbiges ist garnicht von nöten
oder anders: es funktioniert vielleicht auch garnicht. Ich bin auch noch newbie,
kann also zu der sh MAKEDEV ed0 frage keine qualifizierte auskunft geben.

du hast in einer früheren mail mal deinen kernel rangehangen...
der sieht aber schwer nach einer direkten kopie des GENERIC aus ... so auf den
ersten blick
ich häng mal meinen kernel mit ran:
der kernel ist für folgendes system zugeschnippelt (kann sein, daß ich noch
zuviel drin stehen habe)
ein P133 mit 16 MB RAM, 4 MB sis GraKa, 100 MBIT Netgear FA 311 NIX, 10 MBit
Realtek 8029, diverse NETGRAPH optionen die für PPPoE (gedankt sei Udo Erdelhoff
für das geniale toturial *g*) zuständig sind

<!-- copy paste out of PuTTY on my Win2k Box -->

# MCQ KERNEL V0.1

machine i386
cpu I586_CPU
ident MCQ
maxusers 100

makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols

options DDB
options DDB_UNATTENDED
options INET #InterNETworking
options INET6 #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT #FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT #NFS usable as root device, NFS required

options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS #Process filesystem
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options UCONSOLE #Allow users to grab the console
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options ICMP_BANDLIM #Rate limit bad replies
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options NETGRAPH
options NETGRAPH_ETHER
options NETGRAPH_SOCKET
options NETGRAPH_PPPoE

device isa
device eisa
device pci

# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
device fd1 at fdc0 drive 1

# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
options ATA_STATIC_ID #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc0 at isa? port IO_KBD
device atkbd0 at atkbdc? irq 1 flags 0x1
device psm0 at atkbdc? irq 12

device vga0 at isa?

# splash screen/screen saver
pseudo-device splash

# syscons is the default console driver, resembling an SCO console
device sc0 at isa? flags 0x100

# Floating point support - do not disable.
device npx0 at nexus? port IO_NPX irq 13

# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
device sio2 at isa? disable port IO_COM3 irq 5
device sio3 at isa? disable port IO_COM4 irq 9

# Parallel port
#device ppc0 at isa? irq 7
#device ppbus # Parallel port bus (required)
#device lpt # Printer
#device plip # TCP/IP over parallel
#device ppi # Parallel port interface device
#device vpo # Requires scbus and da

# NIC
device miibus
device sis
device ed

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device loop # Network loopback
pseudo-device ether # Ethernet support
pseudo-device sl 1 # Kernel SLIP
pseudo-device ppp 1 # Kernel PPP
pseudo-device tun # Packet tunnel.
pseudo-device pty # Pseudo-ttys (telnet etc)
pseudo-device md # Memory "disks"
pseudo-device gif 4 # IPv6 and IPv4 tunneling
pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
pseudo-device bpf #Berkeley packet filter

<!-- ende --->

hoffe dir helfen die informationen ein wenig weiter :)

viel glück,
Marian

ErkaN wrote:

> Hallo,
>
> Georg wrote;
>
> > Ich glaube, Du hast Dich im Subject geirrt und die Karte hat den
> > RealTek 8129 Chip drinnen.
>
> auf der Karte wird genau so geschrieben:
>
> RTL 8029AS
> 9A240S1
> 943C TAIWAN
>
> bzw.. es ist eine Realthek 8029
>
> und ich boote immer noch als GENERIC...Ergebnis auf jedenfall das gleiche..
>
> danke
>
> erkaN
>
> >
> >
>
> To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
> with "unsubscribe de-bsd-questions" in the body of the message

--
contact:
 ICQ: 8405669
 Was wir wissen, ist ein Tropfen; was wir nicht wissen, ein Ozean. (Isaac
Newton)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 23 May 2001 - 11:43:15 CEST

search this site