Okay, I have made some more progress with my Bering-uClibc2.1rc2 on notebook:

I made an error in my report this morning: lsmod does return the use of pcnet_cs.o module. (Darn, go figure I should prompt lsmod when the pcmcia services are still initializing.) But yeah, all the modules are there, and furthermore:

ping 192.168.1.254 returns an average of .1 ms (so hooray I am getting a ping to my eth1). Futhermore, I was not connecting my cat-5 to a hub, I was connecting it directly to my PC network card, hence it was male to male (yuck). I decided to use a cross-over cable and lo and behold, there appeared a bright green led on my eth1.

But still, using this cross-over cable connection, I am still not able to ping from PC to router.

Okay, now I guess I need to provide you with some info. But before I continue, is it possible to establish a connection with a cross-over cable, or do I require a network hub? (my-oh-my the intricacies.)

lrpkg -l returns

initrd
root
config
etc
local
modules
iptables
dhcpcd
dhcpd
pcmcia
pcmutils
shorwall
ulogd
dnscache
dropbear




ip addr show:



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 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,NOTRAILERS,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:60:08:8c:68:64 brd ff:ff:ff:ff:ff:ff
inet 68.148.245.3/23 brd 68.148.245.255 scope global eth0
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:05:5d:37:7f:65 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1




this /etc/network/interfaces:


# /etc/network/interfaces -- configuration file for LEAF network # # Loopback interface. auto lo iface lo inet loopback

# Step 1: configure external interface
#         uncomment/adjust one of the following 4 options
# Option 1.1 (default): eth0 / dynamic IP from pump/dhclient
auto eth0
iface eth0 inet dhcp
#
# Option 1.2: eth0 / Fixed IP (assumed to be 1.2.3.4).
#               (broadcast/gateway optional)
#auto eth0
#iface eth0 inet static
#       address 1.2.3.4
#       netmask 255.255.255.0
#       broadcast 1.2.3.255
#       gateway 1.2.3.1
#
# Option 1.3: PPP/PPPOE (modem connected to eth0)
#auto ppp0
#iface ppp0 inet ppp
#       pre-up ip link set eth0 up
#       provider dsl-provider eth0
#
# Option 1.4: PPP modem
#auto ppp0
#iface ppp0 inet ppp
#       provider provider

# Step 2: configure  internal interface
# Default: eth1 / fixed IP = 192.168.1.254
auto eth1
iface eth1 inet static
        address 192.168.1.254
        netmask 255.255.255.0
        broadcast 192.168.1.255

# Step 3 (optional): configure DMZ
# Default: eth2 / fixed IP = 192.168.1.100
#auto eth2
#iface eth2 inet static
#       address 192.168.1.100
#       netmask 255.255.255.0
#       broadcast 192.168.1.255

# Step 4 (optional): configure a bridge
#auto br0
#iface br0 inet static
#       address 192.168.1.254
#       netmask 255.255.255.0
#       broadcast 192.168.1.255
#       bridge_ports all

# Step 5 (optional): configure ipv6
#iface eth1 inet6 static
#       address fec0:2::1
#       netmask 64

# Step 6 (optional): configure v4tunnel
#auto tun6to4
#iface tun6to4 inet6 v4tunnel
#       address 3ffe:8280:0:2001::2
#       netmask 64
#       gateway 3ffe:8280:0:2001::1
#       endpoint 202.143.23.6
#       ttl 254



this Daemon.log:



Feb 21 18:13:48 firewall cardmgr[31915]: watching 2 sockets
Feb 21 18:13:48 firewall cardmgr[19035]: socket 0: 3Com 589 Ethernet
Feb 21 18:13:48 firewall cardmgr[19035]: executing: 'insmod /lib/modules/2.4.24/pcmcia/3c589_cs.o 2>&1'
Feb 21 18:13:48 firewall cardmgr[19035]: + Using /lib/modules/2.4.24/pcmcia/3c589_cs.o
Feb 21 18:13:49 firewall cardmgr[19035]: executing: './network start eth0 2>&1'
Feb 21 18:13:49 firewall cardmgr[19035]: + Sample private network setup
Feb 21 18:13:49 firewall cardmgr[19035]: + Sample private network setup
Feb 21 18:13:49 firewall init: Entering runlevel: 2
Feb 21 18:14:00 firewall dhcpd: No subnet declaration for eth1 (0.0.0.0).
Feb 21 18:14:00 firewall dhcpd: Please write a subnet declaration in your dhcpd.conf file for the
Feb 21 18:14:00 firewall dhcpd: network segment to which interface eth1 is attached.
Feb 21 18:14:00 firewall dhcpd: exiting.
Feb 21 18:14:02 firewall inetd[20970]: Online and ready (2 sockets)
Feb 21 18:14:06 firewall cardmgr[19035]: + dhcpcd: MAC address = 00:60:08:8c:68:64
Feb 21 18:14:06 firewall cardmgr[19035]: + dhcpcd: your IP address = 68.148.245.3
Feb 21 18:14:06 firewall cardmgr[19035]: + dhcpcd.exe: interface eth0 has been configured with new IP=68.148.245.3
Feb 21 18:14:06 firewall cardmgr[19035]: socket 1: D-Link DFE-670-TXD Fast Ethernet
Feb 21 18:14:07 firewall cardmgr[19035]: executing: 'insmod /lib/modules/2.4.24/pcmcia/pcnet_cs.o 2>&1'
Feb 21 18:14:07 firewall cardmgr[19035]: + Using /lib/modules/2.4.24/pcmcia/pcnet_cs.o
Feb 21 18:14:07 firewall cardmgr[19035]: executing: './network start eth1 2>&1'
Feb 21 18:14:07 firewall cardmgr[19035]: + Sample private network setup
Feb 21 18:14:07 firewall cardmgr[19035]: + Sample private network setup





this my messages:





Feb 21 18:13:36 firewall syslogd 1.4.1: restart.
Feb 21 18:13:36 firewall kernel: klogd 1.4.1, log source = /proc/kmsg started.
Feb 21 18:13:36 firewall kernel: No module symbols loaded.
Feb 21 18:13:36 firewall kernel: BIOS-provided physical RAM map:
Feb 21 18:13:36 firewall kernel: 24MB LOWMEM available.
Feb 21 18:13:36 firewall kernel: DMI not present.
Feb 21 18:13:36 firewall kernel: Initializing CPU#0
Feb 21 18:13:36 firewall kernel: Memory: 22096k/24576k available (995k kernel code, 2092k reserved, 99k data, 80k init, 0k highmem)
Feb 21 18:13:36 firewall kernel: Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Feb 21 18:13:36 firewall kernel: Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Feb 21 18:13:36 firewall kernel: Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Feb 21 18:13:36 firewall kernel: Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Feb 21 18:13:36 firewall kernel: Intel Pentium with F0 0F bug - workaround enabled.
Feb 21 18:13:36 firewall kernel: Checking 'hlt' instruction... OK.
Feb 21 18:13:36 firewall kernel: Linux NET4.0 for Linux 2.4
Feb 21 18:13:36 firewall kernel: Based upon Swansea University Computer Society NET3.039
Feb 21 18:13:36 firewall kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled
Feb 21 18:13:36 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Feb 21 18:13:36 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
Feb 21 18:13:36 firewall kernel: Real Time Clock Driver v1.10e
Feb 21 18:13:36 firewall kernel: Floppy drive(s): fd0 is 1.44M
Feb 21 18:13:36 firewall kernel: FDC 0 is a National Semiconductor PC87306
Feb 21 18:13:36 firewall kernel: Initializing Cryptographic API
Feb 21 18:13:36 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Feb 21 18:13:36 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Feb 21 18:13:36 firewall kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Feb 21 18:13:36 firewall kernel: TCP: Hash tables configured (established 2048 bind 2048)
Feb 21 18:13:36 firewall kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Feb 21 18:13:36 firewall kernel: RAMDISK: Compressed image found at block 0
Feb 21 18:13:36 firewall kernel: Freeing initrd memory: 281k freed
Feb 21 18:13:36 firewall kernel: Freeing unused kernel memory: 80k freed
Feb 21 18:13:37 firewall kernel: Software Watchdog Timer: 0.05, timer margin: 60 sec
Feb 21 18:13:47 firewall kernel: Linux PCMCIA Card Services 3.2.7
Feb 21 18:13:47 firewall kernel: kernel build: 2.4.24 unknown
Feb 21 18:13:47 firewall kernel: options: [pci] [cardbus] [apm]
Feb 21 18:13:47 firewall kernel: Intel ISA/PCI/CardBus PCIC probe:
Feb 21 18:13:47 firewall kernel: Vadem VG-468 rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
Feb 21 18:13:47 firewall kernel: host opts [0]: none
Feb 21 18:13:47 firewall kernel: host opts [1]: none
Feb 21 18:13:47 firewall kernel: ISA irqs (scanned) = 3,4,5,7,10,11,12,15 status change on irq 15
Feb 21 18:13:48 firewall kernel: cs: memory probe 0x0d0000-0x0dffff: clean.
Feb 21 18:13:48 firewall kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x1f0-0x1f7 0x220-0x22f 0x268-0x26f 0x378-0x37f 0x388-0x38f 0x3c0-0x3e7 0x3f0-0x4d7 0x4e0-0x4ff
Feb 21 18:13:48 firewall kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x8d7 0x8e0-0x8ff
Feb 21 18:13:48 firewall kernel: cs: IO port probe 0x0a00-0x0aff: excluding 0xa20-0xa2f 0xa68-0xa6f 0xaf8-0xaff
Feb 21 18:13:48 firewall kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xc00-0xcd7 0xce0-0xcff
Feb 21 18:13:48 firewall kernel: eth0: 3Com 3c589, io 0x300, irq 3, hw_addr 00:60:08:8C:68:64
Feb 21 18:13:48 firewall kernel: 8K FIFO split 5:3 Rx:Tx, auto xcvr
Feb 21 18:13:50 firewall syslog: premature exit: No hostkeys available
Feb 21 18:13:50 firewall kernel: eth0: flipped to 10baseT
Feb 21 18:14:06 firewall dhcpcd.exe: interface eth0 has been configured with new IP=68.148.245.3
Feb 21 18:14:07 firewall kernel: eth1: NE2000 (DL10022 rev 30): io 0x320, irq 5, hw_addr 00:05:5D:37:7F:65
Feb 21 18:14:09 firewall kernel: eth1: found link beat
Feb 21 18:14:09 firewall kernel: eth1: link partner did not autonegotiate
Feb 21 18:14:18 firewall root: Shorewall Started
Feb 21 18:24:36 firewall kernel: eth1: lost link beat
Feb 21 18:24:37 firewall kernel: eth1: found link beat
Feb 21 18:24:37 firewall kernel: eth1: link partner did not autonegotiate
Feb 21 18:33:38 firewall kernel: eth0: lost link beat
Feb 21 18:33:39 firewall kernel: eth0: flipped to 10base2
Feb 21 18:33:42 firewall kernel: eth1: lost link beat





this syslog:





Feb 21 18:13:36 firewall kernel: Cannot find map file.
Feb 21 18:13:36 firewall kernel: Linux version 2.4.24 ([EMAIL PROTECTED]) (gcc version 2.95.3 20010315 (release)) #1 Wed Feb 11 20:46:39 CET 2004
Feb 21 18:13:36 firewall kernel: BIOS-88: 0000000000000000 - 000000000009f000 (usable)
Feb 21 18:13:36 firewall kernel: BIOS-88: 0000000000100000 - 0000000001800000 (usable)
Feb 21 18:13:36 firewall kernel: On node 0 totalpages: 6144
Feb 21 18:13:36 firewall kernel: zone(0): 4096 pages.
Feb 21 18:13:36 firewall kernel: zone(1): 2048 pages.
Feb 21 18:13:36 firewall kernel: zone(2): 0 pages.
Feb 21 18:13:36 firewall kernel: Kernel command line: BOOT_IMAGE=linux initrd=initrd.lrp syst_size=6M log_size=2M init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0u1680:msdos PKGPATH=/dev/fd0u1680
Feb 21 18:13:36 firewall kernel: Detected 90.001 MHz processor.
Feb 21 18:13:36 firewall kernel: Console: colour VGA+ 80x25
Feb 21 18:13:36 firewall kernel: Calibrating delay loop... 179.40 BogoMIPS
Feb 21 18:13:36 firewall kernel: Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Feb 21 18:13:36 firewall kernel: CPU: Intel Pentium 75 - 200 stepping 05
Feb 21 18:13:36 firewall kernel: POSIX conformance testing by UNIFIX
Feb 21 18:13:36 firewall kernel: PCI: System does not support PCI
Feb 21 18:13:36 firewall kernel: Initializing RT netlink socket
Feb 21 18:13:36 firewall kernel: Starting kswapd
Feb 21 18:13:36 firewall kernel: pty: 256 Unix98 ptys configured
Feb 21 18:13:36 firewall kernel: RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Feb 21 18:13:36 firewall kernel: ip_conntrack version 2.1 (192 buckets, 1536 max) - 320 bytes per conntrack
Feb 21 18:13:36 firewall kernel: ip_tables: (C) 2000-2002 Netfilter core team
Feb 21 18:13:36 firewall kernel: arp_tables: (C) 2002 David S. Miller
Feb 21 18:13:36 firewall kernel: VFS: Mounted root (minix filesystem).
Feb 21 18:13:48 firewall dhcpcd[27311]: dhcpStart: ioctl SIOCGIFHWADDR: No such device


ps reports that /usr/sbin/dhcpd -q

netstat -lr returns

netstat: -r (display routing table) is not compiled in.

nestat -l returns
tcp 0 state LISTEN all 0's and *.* (nothing much else, if you don't mind my getting away from typing this one out.)


dmesg returns

eth1: NE2000 (DL10022 rev 30): io 0x300, irq 5, hw_addr 00:05:5D:37:7F:65
eth1: found link beat
eth1: link partner did not autonegotiate
eth1: lost link beat :(
eth1: found link beat :)
eth1: link partner did not autonegotiate
eth1: lost link beat :(


Well, there you have it. I hope that I have provided enough info. Do you think that I need a hub? Do you think that the cross-over cable (I think it's called RJ45) is sufficient to establish a connection ...


Anyhow, so close yet so far, life is like two cosmic sugar dognuts embracing a pulsing hourglass, spewing in and out, in and out. All is conserved.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
------------------------------------------------------------------------
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