ok guys after following Erich's suggestion
>You should not need to put those modules there, they are inserted and deleted by \ >cardservices. >You should _not_ set PCMCIA interfaces to auto, they should be started by \ >cardservices. basically I had eth0 working (i could ping from thinkpad to dlink firewall/router 192.168.0.1, but not to the internet) and on the local net i could only ping 192.168.1.254 (eth1 itself) the LED was on on the local router. Then I decided to try the following found suggestion by Christian to Joah: >I have modified them so that RDCLINKS="S,S20 0,K90 6,K90" and now it's >OK. >I've put the same RDCLINKS both in >/etc/init.d/pcmcia and /etc/init.d/pcmcia_eth >Christian - Grenoble and added this /etc/init.d/pcmcia_eth: #!/bin/sh # # Copyleft 2002 Erich Titl ([EMAIL PROTECTED]) # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # Purpose: # Wait for PCMCIA Ethernet cards to be ready. # Executed following pcmcia init script execution #RCDLINKS="S,S38 2,S13 3,S13 4,S13 5,S13" RDCLINKS="S,S20 0,K90 6,K90" WHAT="eth" # what to search for WHERE="/proc/net/dev" # where to search HOW_LONG=20 # how long in seconds before aborting NICS=`grep ${WHAT} /etc/shorewall/interfaces | grep -v ^# | wc -l` [ ! -r /etc/shorewall/interfaces ] && NICS=2; count=0 while true do count=`expr $count + 1` # weird, for some reason grep does not return anything sensible devs=`grep ${WHAT} ${WHERE} | wc -l` [ $count -eq ${HOW_LONG} -o $devs -eq ${NICS} ] && break; sleep 1 done exit 0 Now, unfortunately, the 2 PCMCIA cards only lit up (no router no beep) and: # cat /proc/interrupts CPU0 0: 158350 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 822 XT-PIC serial 8: 1 XT-PIC rtc NMI: 0 ERR: 0 shows no interrupt on PCMCIAs and # lsmod Module Pages Used by ip_nat_irc 2176 0 (unused) ip_nat_ftp 2784 0 (unused) ip_conntrack_irc 2880 1 ip_conntrack_ftp 3648 1 3c589_cs 8580 0 (unused) ds 6796 0 [3c589_cs] i82365 27044 2 pcmcia_core 41088 0 [3c589_cs ds i82365] Question 1: who is calling /etc/init.d/pcmcia_eth ?? Question 2: what can I do now, go back or try from here because pcmcia_eth is the way to go ?? many thanks to everybody Roberto PS: my syslinux.cfg: serial 0 38400 prompt 1 display syslinux.dpy timeout 50 append console=ttyS0,38400 default linux floppy=thinkpad initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/d ev/fd0u1680:msdos PKGPATH=/dev/fd0u1680 LRP=root,etc,local,modules,dhcpd,pcmcia,iptable s,shorwall,ulogd,dnscache,weblet here there's the boot log: SYSLINUX 1.75 2002-06-14 Copyright (C) 1994-2002 H. Peter Anvin Bering Firewall (1.2 - May 11, 2003) boot: Loading linux............ Loading initrd.lrp......... Ready. Linux version 2.4.20 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun May 11 18:53:34 CEST 2003 BIOS-provided physical RAM map: BIOS-88: 0000000000000000 - 000000000009f000 (usable) BIOS-88: 0000000000100000 - 0000000001400000 (usable) 20MB LOWMEM available. On node 0 totalpages: 5120 zone(0): 4096 pages. zone(1): 1024 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,38400 BOOT_IMAGE=linux floppy=thinkpad initrd=initrd .lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680 LRP =root,etc,local,modules,dhcpd,pcmcia,iptables,shorwall,ulogd,dnscache,weblet floppy0: Setting flag 0x1 Initializing CPU#0 Console: colour VGA+ 80x25 Calibrating delay loop... 37.37 BogoMIPS Memory: 17952k/20480k available (948k kernel code, 2140k reserved, -1176k data, 64k ini t, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 8192 (order: 3, 32768 bytes) CPU: Intel 486 DX/4 stepping 00 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX PCI: System does not support PCI Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PC I enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A Real Time Clock Driver v1.10e Software Watchdog Timer: 0.05, timer margin: 60 sec Floppy drive(s): fd0 is 1.44M FDC 0 is a National Semiconductor PC87306 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 1024) ip_conntrack version 2.1 (160 buckets, 1280 max) - 320 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team arp_tables: (C) 2002 David S. Miller NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 401k freed VFS: Mounted root (minix filesystem). Freeing unused kernel memory: 64k freed LINUXRC: Bering - Initrd - V1.2 Mounting a 6M TMPFS filesystem... LINUXRC: Installing - root: /dev/fd0u1680 etc: /dev/fd0u1680 local: /dev/fd0u1680 m odules: /dev/fd0u1680 dhcpd: /dev/fd0u1680 pcmcia: /dev/fd0u1680 iptables: /dev/fd0u 1680 shorwall: /dev/fd0u1680 ulogd: /dev/fd0u1680 dnscache: /dev/fd0u1680 weblet: / dev/fd0u1680 - Finished. INIT: version 2.78 booting Starting system log daemon: syslogd klogd. Loading modules: pcmcia_core - Using /lib/modules/pcmcia/pcmcia_core.o i82365 - Using /lib/modules/pcmcia/i82365.o ds - Using /lib/modules/pcmcia/ds.o 3c589_cs - Using /lib/modules/pcmcia/3c589_cs.o ip_conntrack_ftp - Using /lib/modules/ip_conntrack_ftp.o ip_conntrack_irc - Using /lib/modules/ip_conntrack_irc.o ip_nat_ftp - Using /lib/modules/ip_nat_ftp.o ip_nat_irc - Using /lib/modules/ip_nat_irc.o Mounting local file systems... Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter. Configuring network interfaces: done. Local time: Sun May 9 17:42:31 UTC 2004 Initializing random number generator... done. INIT: Entering runlevel: 2 Starting software watchdog... done. Starting internet superserver: inetd. Starting ulogd: ulogd. Starting dhcpd on eth1: Internet Software Consortium DHCP Server 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html No subnet declaration for eth1 (0.0.0.0). ************** Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth1 is attached. exiting. Processing /etc/shorewall/params ... Processing /etc/shorewall/shorewall.conf... Starting Shorewall... Initializing... Determining Zones... Zones: net loc Validating interfaces file... Error: Invalid zone (local) in record "local eth1 192.168.1.0 dhcp" ************** Terminated dnscache queries allowed from 192.168 Starting dnscache without daemontools ... Starting periodic command scheduler: cron. Bering V1.2 755C ttyS0 755C login: ____________________________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html