Hello, I had two network cards in my micro. The eth0 card was stopped (ruined) and I, for one time, worked without it (only with eth1). All is working perfectly.
Now a days I moved my DIAL UP to ADSL and I will need to share my net. I am at home. I bought a new PCI card and plug it. But it is not recognized. In the logs, see below, it appears that it was renamed from eth0 to eth1. You know if the driver 8139too is really the one for this hardware? What I could do to configure it? Here are the outputs of some commands. :~$ uname -a Linux maq 2.6.26-2-486 #1 Thu Mar 26 00:13:41 UTC 2009 i686 GNU/Linux :~$ sudo modprobe 8139too :~$ lsmod Module Size Used by 8139too 20096 0 mii 4864 1 8139too :~$ sudo ifconfig eth0 up eth0: ERROR while getting interface flags: Dispositivo inexistente dmesg log: [ 2.724640] forcedeth 0000:00:04.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:0c:6e:b2:40:58 [ 5.098215] udev: renamed network interface eth0 to eth1 [ 25.960017] eth1: no IPv6 routers present kernel log: May 31 09:08:02 maq kernel: [ 2.720643] forcedeth 0000:00:04.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:0c:6e:b2:40:58 May 31 09:08:02 marcella kernel: [ 2.720730] forcedeth 0000:00:04.0: timirq lnktim desc-v1 May 31 09:08:02 maq kernel: [ 5.094380] udev: renamed network interface eth0 to eth1 May 31 09:08:02 maq kernel: [ 26.040022] eth1: no IPv6 routers present :~$ lspci -vv 01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device ffff (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. Device 8139 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 32 (8000ns min, 16000ns max) Interrupt: pin A routed to IRQ 5 Region 0: I/O ports at c400 [size=256] Region 1: Memory at df000000 (32-bit, non-prefetchable) [size=256] [virtual] Expansion ROM at 30000000 [disabled] [size=64K] Capabilities: <access denied> :~$ lspci -vv | grep -i driver Kernel driver in use: agpgart-nvidia Kernel driver in use: nForce2_smbus Kernel driver in use: ohci_hcd Kernel driver in use: ohci_hcd Kernel driver in use: ehci_hcd Kernel driver in use: forcedeth Kernel driver in use: Intel ICH Kernel driver in use: AMD_IDE Kernel driver in use: serial Kernel driver in use: nvidia :~$ sudo ifconfig -a eth1 Link encap:Ethernet Endereço de HW 00:0c:6e:b2:40:58 inet end.: 192.168.1.2 Bcast:192.168.1.255 Masc:255.255.255.0 endereço inet6: fe80::20c:6eff:feb2:4058/64 Escopo:Link UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1 RX packets:30453 errors:0 dropped:0 overruns:0 frame:0 TX packets:27266 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:1000 RX bytes:31551294 (30.0 MiB) TX bytes:4070306 (3.8 MiB) IRQ:21 Endereço de E/S:0xa000 lo Link encap:Loopback Local inet end.: 127.0.0.1 Masc:255.0.0.0 endereço inet6: ::1/128 Escopo:Máquina UP LOOPBACKRUNNING MTU:16436 Métrica:1 RX packets:3905 errors:0 dropped:0 overruns:0 frame:0 TX packets:3905 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:0 RX bytes:158626 (154.9 KiB) TX bytes:158626 (154.9 KiB) ppp0 Link encap:Protocolo Ponto-a-Ponto inet end.: 189.xxx.xxx.xxx P-a-P:200.xxx.xxx.xxx Masc:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Métrica:1 RX packets:10773 errors:0 dropped:0 overruns:0 frame:0 TX packets:10632 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:3 RX bytes:9575731 (9.1 MiB) TX bytes:1873021 (1.7 MiB) wlan0 Link encap:Ethernet Endereço de HW 00:13:46:6d:cf:b1 inet end.: 10.0.0.1 Bcast:10.255.255.255 Masc:255.0.0.0 endereço inet6: fe80::213:46ff:fe6d:cfb1/64 Escopo:Link UP BROADCASTMULTICAST MTU:1500 Métrica:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:80 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:14850 (14.5 KiB) wmaster0 Link encap:Não Especificado Endereço de HW 00-13-46-6D-CF-B1-65-74-00-00-00-00-00-00-00-00 UP BROADCASTRUNNING MULTICAST MTU:1500 Métrica:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 colisões:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) :~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth1 iface ppp0 inet ppp provider ppp0 auto ppp0 #iface eth0 inet static #address 192.168.0.1 #netmask 255.255.255.0 #gateway 192.168.0.1 #auto eth0 iface eth1 inet static address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 #auto eth1 auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf provider dsl-provider Thank you so much! Marcelo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org