I am a uClinux newbie using the 2.6.x kernel on a Coldfire 5329-based
board (developed in-house). A minimal configuration boots happily,
obtains an IP address using DHCP. I can ping to and from the board, so
the networking pieces seem to be working fine.

My next step was to attempt running boa web server (with logging),
telnet server and syslog. I now have inetd, boa and syslogd appearing in
my task list.

Inetd.conf appears to be set for working with telnet:

telnet  stream tcp nowait root /bin/telnetd

And I have an index.html and boa.conf located in /home/httpd. 

Unfortunately, all attempts to connect to the web server time out. My
network sniffer shows no response from the board whatsoever. All
attempts to connect to the telnet server also time out with no
responses. The boa.err.log and boa.access.log files are empty and syslog
file lists mostly a handful of harmless (?) dhcp messages:

<46>Nov 30 00:00:07 syslogd started: BusyBox v1.00
(2007.10.25-17:51+0000)
<1>Nov 30 00:00:09 dhcpcd[17]: dhcpConfig: failed to update
/etc/resolv.conf: Read-only file system
<1>Nov 30 00:00:09 dhcpcd[17]: dhcpConfig: failed to write cache file
/etc/dhcpc/dhcpcd-eth0.cache: No such file or directory
<1>Nov 30 00:00:09 dhcpcd[17]: dhcpConfig: failed to write info file
/etc/dhcpc/dhcpcd-eth0.info: No such file or directory

I also tried the thttpd server, which I have more experience with on
other systems, but that didn't respond either.

What obvious thing have I overlooked? I feel like there must be a
configuration switch like "enable TCP".

Thanks for any help!

Eric Dennison

....

For what it's worth, my boot screenshot follows:

ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
FEC ENET Version 0.2
fec: PHY @ 0x8, ID 0x001378e2 -- LXT971
eth0: ethernet ff:f9:f7:ff:ff:ff
uclinux[mtd]: RAM probe address=0x401441e0 size=0x127000
Creating 1 MTD partitions on "RAM":
0x00000000-0x00127000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 48k freed (0x40127000 - 0x40132000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: /bin/expand /etc/ramfs.img /dev/ram1
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram1 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: dhcpcd -p -a eth0 &
[17]
Command: cat /etc/motd
eth0: config: auto-negotiation off, 100HDX, 10HDX.
Welcome to
          ____ _  _
         /  __| ||_|
    _   _| |  | | _ ____  _   _  _  _
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

For further information check:
http://www.uclinux.org/

Execution Finished, Exiting

Sash command shell (version 1.1.1)
/>



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to