bernard schoenacker a écrit:
Le Lundi 2 Septembre 2002 18:16, yoann a écrit :
bonjour,
je viens de reinstaller la woody et j'ai un petit probleme
avec mon reseau. Au niveau des interfaces, j'ai tap0 et je
n'ais pas de eth0 et je n'arrive pas a configurer la carte
Woody 3.0 noyau 2.4.18
carte realtek RTL-8029(AS)
yoann
bonjour
Pour votre carte pourriez vous voir si par défaut le module
ne2k-pci est chargé ?
# modprobe ne2k-pci
ne2k-pci.c: PCI NE2000 clone (Realtek RTL-8029) at I/O.....
car sur la version 2.4 lordsutch il existe des module préchargés
à l'install .
il semblerai que le module ne soit pas charger au démarage. j'ai mis en
attachement
des copies d'écran des manip que j'ai faite.
aprés la commande
# modprobe ne2k-pci
j'arrive a accéder a ma carte réseau mais le réseau ne marche pas.
Configuration du réseau
Passerelle :
PC sous Win XP (et je ne peux pas le changer)
modem ADSL en usb et partage de connexion
carte Réseau RealTek 8029 (AS)
ip : 192.168.0.1
Mon PC
Debian Woody avec kernel 2.4.18
carte réseau RealTek 8029 (AS)
ip : 192.168.0.2
yoann
# dmesg
Linux version 2.4.18-386 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002
(Debian prerelease)) #2 Sun Apr 14 10:38:08 EST 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
BIOS-e820: 0000000017ff0000 - 0000000017ff3000 (ACPI NVS)
BIOS-e820: 0000000017ff3000 - 0000000018000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 98288
zone(0): 4096 pages.
zone(1): 94192 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=30a
Initializing CPU#0
Detected 299.494 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 598.01 BogoMIPS
Memory: 382368k/393152k available (895k kernel code, 10396k reserved, 233k
data, 192k init, 0k highmem)
Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0080f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After vendor init, caps: 0080f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0080f9ff 00000000 00000000 00000000
CPU: Common caps: 0080f9ff 00000000 00000000 00000000
CPU: Intel Pentium II (Klamath) stepping 04
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb2f0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0596] at 00:07.0
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
devfs: v1.10 (20020120) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 2660 blocks [1 disk] into ram disk...
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done.
Freeing initrd memory: 2660k freed
VFS: Mounted root (cramfs filesystem).
Journalled Block Device driver loaded
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt82c596b (rev 22) IDE UDMA66 controller on pci00:07.1
ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
HPT370A: IDE controller on PCI bus 00 dev 48
PCI: Found IRQ 11 for device 00:09.0
HPT370A: chipset revision 4
HPT370A: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xe800-0xe807, BIOS settings: hde:pio, hdf:DMA
ide3: BM-DMA at 0xe808-0xe80f, BIOS settings: hdg:pio, hdh:pio
hda: IC35L080AVVA07-0, ATA DISK drive
hdb: LG CD-ROM CRD-8521B, ATAPI CD/DVD-ROM drive
hdc: Memorex SixteenMAXX 1040, ATAPI CD/DVD-ROM drive
hdd: IC35L040AVER07-0, ATA DISK drive
hdf: IBM-DJNA-371800, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xd800-0xd807,0xdc02 on irq 11
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=159560/16/63
hdd: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63
hdf: 35239680 sectors (18043 MB) w/1966KiB Cache, CHS=34960/16/63, UDMA(33)
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [10011/255/63] p1 p2 p3 < p5 p6 p7 p8
p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 >
/dev/ide/host0/bus1/target1/lun0: [PTBL] [5005/255/63] p1 p2 p3 < p5 p6 p7 p8
p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 >
/dev/ide/host2/bus0/target1/lun0: [PTBL] [2193/255/63] p2 p3 < p5 p6 p7 p8 p9
p10 p11 p12 p13 p14 p15 p16 p17 p18 >
VFS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=2
Freeing unused kernel memory: 192k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Adding Swap: 136512k swap-space (priority -1)
Real Time Clock Driver v1.10e
NTFS driver v1.1.22 [Flags: R/O MODULE]
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Warning: Remapping obsolete /dev/fb* minor 32 to 1
Warning: Remapping obsolete /dev/fb* minor 64 to 2
Warning: Remapping obsolete /dev/fb* minor 96 to 3
Warning: Remapping obsolete /dev/fb* minor 128 to 4
Warning: Remapping obsolete /dev/fb* minor 160 to 5
Warning: Remapping obsolete /dev/fb* minor 192 to 6
Warning: Remapping obsolete /dev/fb* minor 224 to 7
# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x]
(rev 44)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro133x
AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 22)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 11)
00:07.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
00:09.0 Unknown mass storage controller: Triones Technologies, Inc. HPT366 /
HPT370 (rev 04)
00:0b.0 USB Controller: OPTi Inc. 82C861 (rev 10)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
01:00.0 VGA compatible controller: nVidia Corporation Vanta [NV6] (rev 11)
# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1275 (1.2 KiB) TX bytes:1275 (1.2 KiB)
tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5
# uname -a
Linux babar 2.4.18-386 #2 Sun Apr 14 10:38:08 EST 2002 i686 unknown
# modprobe ne2k-pci
ne2k-pci.c:v1.02 10/19/2000 S. Becker/ P. GortMaker
http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 9 on device 00:0f.0
eth0: RealTek RTL-8029 found at 0xec00, IRQ9 00:50:BF:58:11:A4
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:50:BF:58:11:A4
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xec00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1275 (1.2 KiB) TX bytes:1275 (1.2 KiB)
tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00
inet addr:192.168.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:5
# cat /etc/netenv/netenv
# Networkenvironment: netask
export IPADDR=192.168.0.2
export NETWORK=192.168.0.0
export NETMASK=255.255.255.0
export BROADCAST=192.168.0.255
export GATEWAY=192.168.0.1
export PROFILE=babar
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.2 0.0.0.0 255.255.255.255 UH 1 0 0 tap0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 1 0 0 tap0