[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]

Re: Re: Re: Connection internet et LAN



Aide svp! 

J'ai aussi un problème à me connecter à internet via un 
router ou direct sur cable-modem. Je crois que c'est lié 
à la carte ethernet ?!?, mais je n'en suis pas certain. 
J'ai tenté plusieurs configurations réseau mais sans 
aucun succès.

Voici ma config :
-PC avec Linux Mandrake 9.1 (Edulinux) sur un disque 
(Windows xp autre disque)
-carte réseau Realtek RTL8139/810X Family PCI Fast 
Ethernet NIC (eth0 : elle semble reconnue 
correctement...)
-router D-Link DI-604
-connexion via modem-cable vidéotron

Lors de la configuration du réseau, j'ai indiqué 
192.168.0.1 comme passerelle, 255.255.255.0 comme 
masque et 192.168.0.100 comme adresse statique de 
la machine (en passant, j'ai tout désactivé ce qu'il y 
avait de firewall). J'ai aussi tenté via attribution de 
l'adresse par le DHCP du router mais sans plus de 
succès : 
ping à l'interne vers le router 192.168.0.1 sans aucun 
retour.. ping sur localhost, c'est ok. 

Merci de toutes pistes pouvant aider ou éliminer des 
possibilités :-)

jpleg



ci-dessous quelques output de commandes :

================= ==================== 
================= =================
[root@machinelinux jpleg]# ifconfig
eth0      Lien encap:Ethernet  HWaddr 
00:20:ED:74:8C:92
          inet adr:192.168.0.100  Bcast:192.168.0.255  
Masque:255.255.255.0
          UP BROADCAST RUNNING 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 lg file transmission:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interruption:17 Adresse de base:0x4000

lo        Lien encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:230 errors:0 dropped:0 overruns:0 
frame:0
          TX packets:230 errors:0 dropped:0 overruns:0 
carrier:0
          collisions:0 lg file transmission:0
          RX bytes:23456 (22.9 Kb)  TX bytes:23456 (22.9 
Kb)

[root@machinelinux jpleg]# netstat -nr
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic   MSS 
FenÍtre irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          
0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 
lo
0.0.0.0         192.168.0.1     0.0.0.0         UG        0 0          
0 eth0
================= ==================== 
================= =================
    [root@machinelinux jpleg]# cat /proc/interrupts
            CPU0
   0:      22336    IO-APIC-edge  timer
   1:         99    IO-APIC-edge  keyboard
   2:          0          XT-PIC  cascade
   8:          1    IO-APIC-edge  rtc
  12:       2393    IO-APIC-edge  PS/2 Mouse
  14:      12001    IO-APIC-edge  ide0
  15:         18    IO-APIC-edge  ide1
  17:          0   IO-APIC-level  eth0
  18:          0   IO-APIC-level  SiS SI7012
  20:          0   IO-APIC-level  usb-ohci
  21:          0   IO-APIC-level  usb-ohci
  22:          0   IO-APIC-level  usb-ohci
    NMI:          0
LOC:      22284
ERR:          0
MIS:          0
================= ==================== 
================= =================
[root@machinelinux jpleg]# cat /proc/pci
PCI devices found:
   Bus  0, device   0, function  0:
     Host bridge: PCI device 1039:0651 (Silicon 
Integrated Systems
[SiS]) (rev 2).
       Master Capable.  Latency=32.
       Non-prefetchable 32 bit memory at 0xe8000000 
[0xebffffff].
   Bus  0, device   1, function  0:
     PCI bridge: Silicon Integrated Systems [SiS] 
5591/5592
   AGP (rev 0).
       Master Capable.  Latency=64.  Min Gnt=14.
   Bus  0, device   2, function  0:
     ISA bridge: Silicon Integrated Systems [SiS] 
85C503/5513 (rev 4).
   Bus  0, device   2, function  5:
     IDE interface: Silicon Integrated Systems [SiS] 5513
   [IDE] (rev 0).
       Master Capable.  Latency=128.
       I/O at 0xf000 [0xf00f].
   Bus  0, device   2, function  7:
     Multimedia audio controller: Silicon Integrated 
Systems [SiS]
SiS7012 PCI Audio Accel
erator (rev 160).
       IRQ 18.
       Master Capable.  Latency=32.  Min Gnt=52.Max 
Lat=11.
       I/O at 0xd800 [0xd8ff].
       I/O at 0xdc00 [0xdc7f].
   Bus  0, device   3, function  0:
     USB Controller: Silicon Integrated Systems [SiS] 
7001 (rev 15).
       IRQ 20.
       Master Capable.  Latency=32.  Max Lat=80.
       Non-prefetchable 32 bit memory at 0xed110000 
[0xed110fff].
   Bus  0, device   3, function  1:
     USB Controller: Silicon Integrated Systems [SiS] 
7001
   (#2) (rev 15).
       IRQ 21.
       Master Capable.  Latency=32.  Max Lat=80.
  Non-prefetchable 32 bit memory at 0xed111000 
[0xed111fff].
     Bus  0, device   3, function  2:
   USB Controller: Silicon Integrated Systems [SiS] 7001
   (#3) (rev 15).
       IRQ 22.
       Master Capable.  Latency=32.  Max Lat=80.
       Non-prefetchable 32 bit memory at 0xed112000 
[0xed112fff].
   Bus  0, device   3, function  3:
     USB Controller: PCI device 1039:7002 (Silicon 
Integrated Systems
[SiS]) (rev 0).
       IRQ 23.
       Master Capable.  Latency=32.  Max Lat=80.
       Non-prefetchable 32 bit memory at 0xed113000 
[0xed113fff].
   Bus  0, device  10, function  0:
     Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 16).
       IRQ 17.
       Master Capable.  Latency=32.  Min Gnt=32.Max 
Lat=64.
       I/O at 0xe000 [0xe0ff].
       Non-prefetchable 32 bit memory at 0xed114000 
[0xed1140ff].
   Bus  0, device  13, function  0:
     Communication controller: Conexant HSF 56k HSFi 
Modem (rev 1).
       IRQ 19.
       Master Capable.  Latency=32.
       Non-prefetchable 32 bit memory at 0xed100000 
[0xed10ffff].
       I/O at 0xe400 [0xe407].
   Bus  1, device   0, function  0:
     VGA compatible controller: PCI device 1039:6325 
(Silicon
Integrated Systems [SiS]) (r             ev 0).
       IRQ 16.
       Prefetchable 32 bit memory at 0xe0000000 
[0xe7ffffff].
       Non-prefetchable 32 bit memory at 0xed000000 
[0xed01ffff].
       I/O at 0xc000 [0xc07f].
[root@machinelinux jpleg]#
================= ==================== 
================= =================
[root@localhost jpleg]# dmesg|tail -n 25
eth0: RealTek RTL8139 Fast Ethernet at 0xe08d4000, 
00:20:ed:74:8c:92, IRQ 17
eth0:  Identified 8139 chip type 'RTL-8139C'
inserting floppy driver for 2.4.21-0.13mdk
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 
0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 
cdda tray
Uniform CD-ROM driver Revision: 3.12
eth0: Setting 100mbps full-duplex based on 
auto-negotiated partner ability 45e1.
Installing knfsd (copyright (C) 1996 
[email protected]).
intel8x0: clocking to 48000
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 00002000. (queue head)
eth0:  Tx descriptor 1 is 00002000.
eth0:  Tx descriptor 2 is 00002000.
eth0:  Tx descriptor 3 is 00002000.
eth0: Setting 100mbps full-duplex based on 
auto-negotiated partner ability 45e1.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4  dirty entry 0.
eth0:  Tx descriptor 0 is 00002000. (queue head)
eth0:  Tx descriptor 1 is 00002000.
eth0:  Tx descriptor 2 is 00002000.
eth0:  Tx descriptor 3 is 00002000.
eth0: Setting 100mbps full-duplex based on 
auto-negotiated partner ability 45e1.
[root@localhost jpleg]#
================= ==================== 
================= =================
[root@localhost jpleg]# ifdown eth0
[root@localhost jpleg]# rmmod 8139too
8139too: Device or resource busy
[root@localhost jpleg]# modprobe 8139cp
/lib/modules/2.4.21-0.13mdk/kernel/drivers/net/8139cp.
o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module 
parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the 
output from dmesg
modprobe: insmod 
/lib/modules/2.4.21-0.13mdk/kernel/drivers/net/8139cp.
o.gz failed
modprobe: insmod 8139cp failed
[root@localhost jpleg]# ifup eth0
[root@localhost jpleg]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
>From 192.168.0.100 icmp_seq=1 Destination Host 
Unreachable
>From 192.168.0.100 icmp_seq=2 Destination Host 
Unreachable
>From 192.168.0.100 icmp_seq=3 Destination Host 
Unreachable
>From 192.168.0.100 icmp_seq=4 Destination Host 
Unreachable
>From 192.168.0.100 icmp_seq=5 Destination Host 
Unreachable
>From 192.168.0.100 icmp_seq=6 Destination Host 
Unreachable

--- 192.168.0.1 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% 
packet loss, time 6058ms
, pipe 3
[root@localhost jpleg]#
================= ==================== 
================= =================