Friends-

I've stared at this problem for several hours now and
must admit I'm missing something very important but
can't see it.

I'm currently running Bering 1.0-rc3 on a 486 and have
run EigerStein and LRP previously, so I've got several
years of LEAF under my belt. I downloaded the stock
uClibc 2.2.0b4 and made some configuration changes to
bring up a PPPoE link with Verizon. I used my old
configuration changes as guidance as I stepped through
the Bering [& uClibc] Installation [& User] Guides.

Everything boots up except eth0 and eth1 appear not to
have TCP/IP bound to them and Shorewall spits and
hisses about interfaces.

The output of "ping 127.0.0.1" is:
-----
PING 127.0.0.1 (127.0.0.1): 56 data bytes
ping: sendto: Network is unreachable
-----

The output of "ip link show" is:
-----
1: lo: <LOOPBACK> mtu 16436 qdisc noop 
    link/loopback 00:00:00:00:00:00 brd
00:00:00:00:00:00
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 noop
qlen 1000
    link/ether 00:10:4b:00:64:c4 brd ff:ff:ff:ff:ff:ff
4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
qlen 1000
    link/ether 00:60:08:08:78:81 brd ff:ff:ff:ff:ff:ff
-----

Troubleshooting info follows.

The strings in 3c509.o say:
-----
kernel_version=2.4.26
description=3Com Etherlink III (3c509, 3c509B) ISA/PnP
ethernet driver
-----
so I seem to have the right compiled version of the
ethernet card driver.

syslinux.cfg is unchanged from stock.

leaf.cfg looks like this:
-----
LRP="root config etc local modules iptables dhcpcd
shorwall ulogd dnsmasq dropbear weblet ppp pppoe"
PKGPATH="/dev/fd0u1680:msdos"
syst_size=6M
log_size=2M
-----

"ls -l /lib/modules/3c509.o":
-----
-rwxr-xr-x    1 root     root        13632 Jul  3
10:21 3c509.o
-----

"3c509.o" is the first and only uncommented entry in
/etc/modules until the PPPOE section, like in my
current working /etc/modules.

"lsmod":
-----
Module                  Size  Used by    Not tainted
softdog                 1508   1
ipt_state                336   2
ipt_helper               464   0 (unused)
ipt_conntrack            820   0
ipt_REDIRECT             544   0 (unused)
ipt_MASQUERADE          1056   0 (unused)
ip_nat_irc              2152   0 (unused)
ip_nat_ftp              2792   0 (unused)
iptable_nat            15716   2 [ipt_REDIRECT
ipt_MASQUERADE ip_nat_irc ip_nat_ftp]
ip_conntrack_irc        2876   1
ip_conntrack_ftp        3484   1
ip_conntrack           18312   2 [ipt_state ipt_helper
ipt_conntrack ipt_REDIRECT ipt_MASQUERADE ip_nat_irc
ip_nat_ftp iptable_nat ip_conntrack_irc
ip_conntrack_ftp]
pppoe                   6732   0 (unused)
pppox                    924   1 [pppoe]
ppp_synctty             4632   0 (unused)
ppp_generic            16204   0 [pppoe pppox
ppp_synctty]
n_hdlc                  5792   0 (unused)
slhc                    4296   0 [ppp_generic]
3c509                   8240   0 (unused)
-----

"dmesg" shows the two 3c509's getting IRQs (which IIRC
doesn't happen if 3c509.o isn't present):
-----
Linux version 2.4.26 ([EMAIL PROTECTED]) (gcc version
2.95.3 20010315 (release)) #1 Sun Jun 6 11:44:34 CEST
2004
BIOS-provided physical RAM map:
 BIOS-88: 0000000000000000 - 000000000009f000 (usable)
 BIOS-88: 0000000000100000 - 0000000001000000 (usable)
16MB LOWMEM available.
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: BOOT_IMAGE=linux
initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/fd0u1680:msdos 
Initializing CPU#0
Console: colour VGA+ 80x25
Calibrating delay loop... 33.28 BogoMIPS
Memory: 14004k/16384k available (973k kernel code,
1992k reserved, 111k data, 64k init, 0k highmem)
Checking if this processor honours the WP bit even in
supervisor mode... Ok.
Dentry cache hash table entries: 2048 (order: 2, 16384
bytes)
Inode cache hash table entries: 1024 (order: 1, 8192
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: 4096 (order: 2, 16384
bytes)
CPU:     After generic, caps: 00000003 00000000
00000000 00000000
CPU:             Common caps: 00000003 00000000
00000000 00000000
CPU: Intel 486 DX/2 stepping 05
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_PCI enabled
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M, fd1 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size
1024 blocksize
Initializing Cryptographic API
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_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: 288k freed
VFS: Mounted root (minix filesystem).
Freeing unused kernel memory: 64k freed
eth0: 3c5x9 at 0x210, 10baseT port, address  00 10 4b
00 64 c4, IRQ 7.
3c509.c:1.19 16Oct2002 [EMAIL PROTECTED]
http://www.scyld.com/network/3c509.html
eth1: 3c5x9 at 0x300, 10baseT port, address  00 60 08
08 78 81, IRQ 10.
3c509.c:1.19 16Oct2002 [EMAIL PROTECTED]
http://www.scyld.com/network/3c509.html
CSLIP: code copyright 1989 Regents of the University
of California
HDLC line discipline: version $Revision: 3.7 $,
maxframe=4096
N_HDLC line discipline registered.
PPP generic driver version 2.4.2
ip_conntrack version 2.1 (128 buckets, 1024 max) - 316
bytes per conntrack
Software Watchdog Timer: 0.05, timer margin: 60 sec
-----

So, where is the "No, I don't want to use TCP/IP just
yet" configuration setting? 'cause I would like to
flip that bit.

-John



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
------------------------------------------------------------------------
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

Reply via email to