Tom, Steve and George:
        Thank you; the information you gave was helpful.
        I checked a bit more; in short, eth0 does not come up on boot, but seems 
to take a while--perhaps longer than Erich Titl's script allows.  I've got 
to check more on the script, as I'm not sure it delays as long as needed.
        Restarting networking, esp eth0, brings it up fine, and then I can 
manually launch dhcpd, after which all responds as it should.  I'm able to 
ping the eth0 address (192.168.1.254) both from itself and from another 
machine (which obtained its IP from the dhcp server).
        What I'd like to accomplish is having this all come up without having to 
manually restart eth0 and dhcpd.
        What I think is going on is that the version of Erich's script I'm using 
doesn't wait 60 seconds, but runs to completion in about one second, so 
eth0 is still not "up" before the boot process continues.  Since eth0 isn't 
yet up, networking, therefore dhcpd, don't work either.  By the time boot 
completes, eth0 is up, and manual restart of networking on eth0 and on 
dhcpd work.
        I suppose one test would be to add those commands to the 
/etc/networking/interfaces file and see if they'll run there.  I'll try 
that and see what happens.  Meantime, I'd sure appreciate some more 
pointers.

        In answer to Tom's question:  I ran the ip addr ls both before and after 
restarting networking, and captured the results below.  I've used asterisks 
to set off the different results.

*****************************
ip addr ls

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: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
    link/ppp
    inet 10.64.64.64 peer 10.112.112.112/32 scope global ppp0
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 100
    link/ether 00:60:08:b1:ea:f5 brd ff:ff:ff:ff:ff:ff


*****************************
/etc/init.d/networking restart   <==== should have been eth0 instead of 
restart

Reconfiguring network interfaces: Processing /etc/shorewall/params ...
Processing /etc/shorewall/shorewall.conf...
Stopping Shorewall...Processing /etc/shorewall/stop ...
Processing /etc/shorewall/stopped ...
done.
Shutting down dnscache without daemontools...
/usr/bin/poff: No pppd is running.  None stopped.
dnscache error: already stopped
dnscache queries allowed from 192.168
Starting dnscache without daemontools ...
done.

.......... goes on to reconfigure network interfaces ..........
.......... launch dhcpd manually, and it works ............

*****************************

ip addr ls

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
4: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:60:08:b1:ea:f5 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.254/24 brd 192.168.1.255 scope global eth0
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
    link/ppp
    inet 10.64.64.64 peer 10.112.112.112/32 scope global ppp0
6: ppp1: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen 3
    link/ppp
    inet 10.64.64.65 peer 10.112.112.113/32 scope global ppp1

PING 192.168.1.254 (192.168.1.254): 56 data bytes
64 bytes from 192.168.1.254: icmp_seq=0 ttl=64 time=4.0 ms
64 bytes from 192.168.1.254: icmp_seq=1 ttl=64 time=1.9 ms
64 bytes from 192.168.1.254: icmp_seq=2 ttl=64 time=1.9 ms
64 bytes from 192.168.1.254: icmp_seq=3 ttl=64 time=1.9 ms

--- 192.168.1.254 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 1.9/2.4/4.0 ms

********************************


-------------------------------------------------------
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

Reply via email to