Debian + scheda rete pcmcia: help...
Massimo Masson
blug@lists.linux.it
Mon, 03 Feb 2003 17:47:45 +0100
Urgh... avrei bisogno di qualche dritta per il nuovo "problema" in cui=20
mi sono imbattuto:
Ho sostituito la Mandrake del portatile con Debian Woody 3.0.
Tutto bene, ma non riesco a configurare la rete, appoggiata su una=20
pcmcia 10/100.
Mi pare che la scheda venga vista, in quanto "bippa" ad inserimento ed=20
estrazione, ed il comando "cardctl ident" mi da il seguente output:
> Socket 0:
> no product info available
> Socket 1:
> product info: "ARGOSY", "CardBus Ethernet 10/100 (R5)"
> function: 6 (network)
> PCI id: 0x10ec, 0x8138
identificandola correttamente, pur essendo di una marca "strana" :)
"cardctl status" mi dice:
> Socket 0:
> no card
> Socket 1:
> 3.3V CardBus card
> function 0: [ready]
ed anche questo mi pare vada bene.
Tuttavia, ne dhclient, ne ifup, ne ifconfig riescono a tirare su la=20
eth0, ne usando il server dhcp ne fornendo a mano l'ip e gli altri=20
parametri.
Non riesco bene ad orientarmi in questo frangente, qualcuno pu=F2 darmi=20
qualche indicazione per cortesia?
Grazie 1000 in anticipo, come al solito...
Max
p.s. allego anche il contenuto del mio /etc/pcmcia/network.opts casomai=20
potesse servire a qualcosa...
> # 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=3D"Sample private network setup"
> # Transceiver selection, for some cards -- see 'man ifport'
> IF=5FPORT=3D""
> # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
> BOOTP=3D"n"
> # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
> DHCP=3D"n"
> # If you need to explicitly specify a hostname for DHCP requests
> DHCP=5FHOSTNAME=3D""
> # Use PPP over Ethernet (via the pppoe package)? [y/n]
> PPPOE=3D"n"
> # Use WHEREAMI (via the whereami package)? [y/n]
> WHEREAMI=3D"n"
> # Host's IP address, netmask, network address, broadcast address
> IPADDR=3D"192.168.1.202"
> NETMASK=3D"255.255.255.0"
> NETWORK=3D"192.168.1.0"
> BROADCAST=3D"192.168.1.255"
> # Gateway address for static routing
> GATEWAY=3D"192.168.1.254"
> # Things to add to /etc/resolv.conf for this interface
> DOMAIN=3D""
> SEARCH=3D""
> # 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=5F1=3D"192.168.1.254"
> DNS=5F2=3D"212.216.112.112"
> DNS=5F3=3D""
> # NFS mounts, should be listed in /etc/fstab
> MOUNTS=3D""
> # If you need to override the interface's MTU...
> MTU=3D""
> # For IPX interfaces, the frame type and network number
> IPX=5FFRAME=3D""
> IPX=5FNETNUM=3D""
> # Run ipmasq? [y/n] (see the Debian ipmasq package)
> IPMASQ=3D"n"
> # Extra stuff to do after setting up the interface
> start=5Ffn () { return; }
> # Extra stuff to do before shutting down the interface
> stop=5Ffn () { return; }
> # Card eject policy options
> NO=5FCHECK=3Dn
> NO=5FFUSER=3Dn
> ;;
> esac
>=20
> # 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.
>=20
> is=5Ftrue $PUMP || is=5Ftrue $BOOTP || is=5Ftrue $DHCP || is=5Ftrue $DHCL=
IENT || \
> if [ ! "$IPADDR" -a -f /etc/network/interfaces ] ; then
> INFO=3D"Debian network setup"
> start=5Ffn () {
> log /sbin/ifup $1
> }
> stop=5Ffn () {
> log /sbin/ifdown $1
> }
> fi