Bonsoir tout le monde,
Recement j'ai achete une nouvelle carte reseau (PCMCIA, TRENDnet
TE100-PCBUSR):
dmesg:
----------------------------------------------------------------------
cs: cb_alloc(bus 2): vendor 0x13d1, device 0xab06
PCI: Enabling device 02:00.0 (0000 -> 0003)
PCI: Setting latency timer of device 02:00.0 to 64
eth0: AboCom FE2000VX (RealTek RTL8139) at 0xca8f9000, 00:e0:98:9d:44:d3, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
----------------------------------------------------------------------
pour la reconnaitre j'ai change les lignes suivantes dans
/etc/pcmcia/config:
----------------------------------------------------------------------
#card "TRENDnet TE100-PCBUSR (old)"
# pci 0x13d1, 0xab02
# bind "tulip_cb"
card "TRENDnet TE100-PCBUSR"
pci 0x13d1, 0xab06
bind "tulip_cb"
----------------------------------------------------------------------
lorsque je boot, la carte est reconnue (sous Debian Woody, kernel
2.4.18) mais aucun dhclient n'est demarre. Je dois le faire a la main
et alors je me vois attribuer un numero IP et tout fonctionne.
voila encore le /etc/pcmcia/network.opts:
----------------------------------------------------------------------
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="y"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Use PPP over Ethernet (via the pppoe package)? [y/n]
PPPOE="n"
# Use WHEREAMI (via the whereami package)? [y/n]
WHEREAMI="n"
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK="255.255.255.0"
NETWORK="10.0.1.0"
BROADCAST="10.0.1.255"
# Gateway address for static routing
GATEWAY="10.0.1.1"
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
# The nameserver IP addresses specified here complement the
# nameservers already defined in /etc/resolv.conf. These nameservers
# will be added to /etc/resolv.conf automatically when the PCMCIA
# network connection is established and removed from this file when
# the connection is broken.
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Run ipmasq? [y/n] (see the Debian ipmasq package)
IPMASQ="n"
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac
# This tries to use Debian's network setup in /etc/network/interfaces
# if no settings are given higher up in this file. You can delete it
# if that isn't desired.
is_true $PUMP || is_true $BOOTP || is_true $DHCP || is_true $DHCLIENT || \
if [ ! "$IPADDR" -a -f /etc/network/interfaces ] ; then
INFO="Debian network setup"
start_fn () {
log /sbin/ifup $1
}
stop_fn () {
log /sbin/ifdown $1
}
fi
----------------------------------------------------------------------
est-ce que j'ai loupe qque chose ou s'agit-il-la d'un bug?
une autre question se pose: est-ce que mii-tool ne fonctionne pas
correctement pour toutes les cartes ethernet? car mii-tool me signale
du 10Mbit HD, alors que le taux de transfere (6.95MB/s) d'un mp3
semble plutot indiquer du 100Mbit. De plus, forcer le lien a
100BaseTx-FD ne semble pas fonctionner non plus?
----------------------------------------------------------------------
xeon:~# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:E0:98:9D:44:D3
inet addr:192.168.56.31 Bcast:192.168.56.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1903 errors:0 dropped:0 overruns:0 frame:0
TX packets:2079 errors:0 dropped:0 overruns:2 carrier:0
collisions:0 txqueuelen:100
RX bytes:141334 (138.0 KiB) TX bytes:161649 (157.8 KiB)
Interrupt:11 Base address:0x9000
xeon:~# mii-tool eth0
eth0: 10 Mbit, half duplex, no link
xeon:~# wget -c http://192.168.56.11/song.mp3
--21:44:28-- http://192.168.56.11/song.mp3
=> `song.mp3'
Connecting to 192.168.56.11:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,459,102 [audio/mpeg]
100%[====================================>] 4,459,102 6.95M/s ETA 00:00
21:44:29 (6.95 MB/s) - `song.mp3' saved [4459102/4459102]
xeon:~# mii-tool -F 100BaseTx-FD eth0
xeon:~# mii-tool
eth0: 10 Mbit, half duplex, no link
xeon:~#
----------------------------------------------------------------------
merci pour toute reponse.
tom
--
as seen in a signature:
"In an open world without walls and fences,
who needs Gates and windows?"
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se d�sabonner aussi.