[linux-laptop] problems detecting my pcmcia-network card in the port replicator / docking station

maticzek bominator at web.de
Tue Aug 23 11:45:13 EDT 2005


hello list,

i try to configure my network. with my laptop (ibm 380ed) i have to use a 
port replicator to run my cardbus network card.

unfortunately the docking station with its pcmcia sockets will not be 
recognized from the system. 

<cardctl status> only returns the status of the two sockets build into the 
laptop itself and they of course are empty.

i found following in the howto but since i am a newbie i don't understand what to do. could anybody help with a hint??:

regards matthias


" 2) Supporting additional network adaptors in the docking station

  You can use a similar method to that outlined above for the graphics card. 
Check the     /proc filesystem in your rc scripts to see if you are docked 
and then set up your network connections appropriately. "

Once you determine this information, you may use a script, similar to the 
following example, to configure the connection to your docking station at 
startup. The script is provided by Friedhelm Kueck:

# check, if Laptop is in docking-station (4 PCMCIA slots available)
# or if it is standalone (2 slots available)
# Start after cardmgr has started
#
# Friedhelm Kueck mailto:fk_AT_impress.de
# 08-Sep-1998
#
# Find No. of Sockets
SOCKETS=`tail -1 /var/run/stab | cut -d ":" -f 1`
case "$SOCKETS" in
"Socket 3")
echo Laptop is in Dockingstation ...
echo Disabeling internal LCD Display for X11
echo
cp /etc/XF86Config_extern /etc/XF86Config
#
# Setup of PCMCIA Network Interface after start of cardmgr
#
echo
echo "Setting up eth0 for use at Network ..."
echo
/sbin/ifconfig eth0 10.1.9.5 netmask 255.255.0.0 broadcast 10.1.255.255
/sbin/route add -net 10.1.0.0 gw 10.1.9.5
/sbin/route add default gw 10.1.10.1
;;

"Socket 1")
echo Laptop is standalone
echo Disabling external Monitor for X11
cp /etc/XF86Config_intern /etc/XF86Config
echo
echo Network device NOT setup
;;
esac"


More information about the linux-laptop mailing list