Bering (1.2) still isn't working for me (specifically, I can't ping the bering box, can't get a dynamic addr). How do I tell if my ethernet cards are working and the drivers are loaded, etc.? lsmod shows the drivers for both cards.
If "lsmod shows the drivers for both cards", then the drivers are loaded. (Surely that was obvious.)
If the cards work in another system, then they are themselves working. From the log output you provide, they seem to have reasonable IRQs and IO bases assigned ... but you might double check that by looking at /proc/interrupts and /proc/ioports .
I don't know what you intend "etc" to cover so I can't answer that directly. But ...
When you say "specifically, I can't ping the bering box", where are you pinging from and how does the ping fail (pings fail in many different ways, and the differences are informative)? What happens when you try to ping *from* the Bering host *to* whatever system is unable to ping the Bering host? Can the Bering host ping its own interfaces (or at least eth1, since eth0 has no IP address to ping)? After unsuccessful pings, do the RX and TX packet counts change on the relevant interface (check with "ip -s link show")? Do the arp tables on the hosts involved each contain an entry for the other host?
When you say "can't get a dynamic addr", how are you supposed to get one? DHCP? PPPoE? Something else? Does the system try and fail to get an address or never try at all (what do the logs indicate)? Could you be running into a MAC-address authentication problem with your ISP (a common problem with DHCP and cable providers)?
The log output shows neither a DHCP client nor a PPPoE daemon starting before Shorewall. Do you have Shorewall configured correctly to let whichever of these is appropriate to your setting run?
I'm using a 3Com 509 ISA card for eth0, as shown in the syslog:
Jul 22 20:37:17 firewall kernel: Cannot find map file. Jul 22 20:37:17 firewall kernel: Linux version 2.4.20 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun May 11 18:53:34 CEST 2003 Jul 22 20:37:17 firewall kernel: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) Jul 22 20:37:17 firewall kernel: BIOS-e820: 0000000000100000 - 0000000002000000 (usable) Jul 22 20:37:17 firewall kernel: BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) Jul 22 20:37:17 firewall kernel: On node 0 totalpages: 8192 Jul 22 20:37:17 firewall kernel: zone(0): 4096 pages. Jul 22 20:37:17 firewall kernel: zone(1): 4096 pages. Jul 22 20:37:17 firewall kernel: zone(2): 0 pages. Jul 22 20:37:17 firewall kernel: Kernel command line: BOOT_IMAGE=linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680 LRP=root,etc,local,modules,iptables,pump,shorwall,ulogd,dnscache,weblet Jul 22 20:37:17 firewall kernel: Detected 74.539 MHz processor. Jul 22 20:37:17 firewall kernel: Console: colour VGA+ 80x25 Jul 22 20:37:17 firewall kernel: Calibrating delay loop... 148.68 BogoMIPS Jul 22 20:37:17 firewall kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes) Jul 22 20:37:17 firewall kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes) Jul 22 20:37:17 firewall kernel: Page-cache hash table entries: 8192 (order: 3, 32768 bytes) Jul 22 20:37:17 firewall kernel: CPU: Intel Pentium 75 - 200 stepping 05 Jul 22 20:37:17 firewall kernel: POSIX conformance testing by UNIFIX Jul 22 20:37:17 firewall kernel: Initializing RT netlink socket Jul 22 20:37:17 firewall kernel: Starting kswapd Jul 22 20:37:17 firewall kernel: pty: 256 Unix98 ptys configured Jul 22 20:37:17 firewall kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Jul 22 20:37:17 firewall kernel: ip_conntrack version 2.1 (256 buckets, 2048 max) - 320 bytes per conntrack Jul 22 20:37:17 firewall kernel: ip_tables: (C) 2000-2002 Netfilter core team Jul 22 20:37:17 firewall kernel: arp_tables: (C) 2002 David S. Miller Jul 22 20:37:17 firewall kernel: VFS: Mounted root (minix filesystem). Jul 22 20:37:18 firewall kernel: eth0: 3c5x9 at 0x300, 10baseT port, address 00 20 af 07 a3 55, IRQ 5. Jul 22 20:37:20 firewall kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1310 Jul 22 20:37:20 firewall kernel: eth0: Setting Rx mode to 1 addresses.
My eth1 is a linksys PCI card, shown in the messages log (why doesn't is show both cards in both logs?):
Jul 22 20:37:17 firewall syslogd 1.3-3#31.slink1: restart. Jul 22 20:37:17 firewall kernel: klogd 1.3-3#31.slink1, log source = /proc/kmsg started. Jul 22 20:37:17 firewall kernel: No module symbols loaded. Jul 22 20:37:17 firewall kernel: BIOS-provided physical RAM map: Jul 22 20:37:17 firewall kernel: 32MB LOWMEM available. Jul 22 20:37:17 firewall kernel: Initializing CPU#0 Jul 22 20:37:17 firewall kernel: Memory: 30128k/32768k available (948k kernel code, 2252k reserved, -1176k data, 64k init, 0k highmem) Jul 22 20:37:17 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) Jul 22 20:37:17 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes) Jul 22 20:37:17 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled. Jul 22 20:37:17 firewall kernel: Checking 'hlt' instruction... OK. Jul 22 20:37:17 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 0xfd9a1, last bus=0 Jul 22 20:37:17 firewall kernel: PCI: Using configuration type 1 Jul 22 20:37:17 firewall kernel: PCI: Probing PCI hardware Jul 22 20:37:17 firewall kernel: Limiting direct PCI/PCI transfers. Jul 22 20:37:17 firewall kernel: Linux NET4.0 for Linux 2.4 Jul 22 20:37:17 firewall kernel: Based upon Swansea University Computer Society NET3.039 Jul 22 20:37:17 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled Jul 22 20:37:17 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jul 22 20:37:17 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jul 22 20:37:17 firewall kernel: Real Time Clock Driver v1.10e Jul 22 20:37:17 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec Jul 22 20:37:17 firewall kernel: Floppy drive(s): fd0 is 1.44M Jul 22 20:37:17 firewall kernel: FDC 0 is a National Semiconductor PC87306 Jul 22 20:37:17 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0 Jul 22 20:37:17 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP Jul 22 20:37:17 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes Jul 22 20:37:17 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048) Jul 22 20:37:17 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Jul 22 20:37:17 firewall kernel: RAMDISK: Compressed image found at block 0 Jul 22 20:37:17 firewall kernel: Freeing initrd memory: 401k freed Jul 22 20:37:17 firewall kernel: Freeing unused kernel memory: 64k freed Jul 22 20:37:18 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED] Jul 22 20:37:18 firewall kernel: http://www.scyld.com/network/3c509.html Jul 22 20:37:18 firewall kernel: Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002) Jul 22 20:37:18 firewall kernel: eth1: Lite-On 82c168 PNIC rev 32 at 0xc281bf00, AD:11:FF:FF:FF:FF, IRQ 10. Jul 22 20:38:03 firewall root: Shorewall Started
ip addr shows (without plugging eth0 into the cable modem):
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 100 link/ether 00:20:af:07:a3:55 brd ff:ff:ff:ff:ff:ff 4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 link/ether ad:11:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
The cards have worked in other machines. I just can't seem to figure out the troubleshooting steps for this.
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 ------------------------------------------------------------------------ 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
