RE: [leaf-user] How to debug boot up?

2003-12-25 Thread Eric Spakman
Craig,

Your problems are probably caused by a bad connection (like Ray said) 
or your provider asking for a hostname before giving you a lease. I 
have the following in /etc/network/interfaces:

auto eth0
iface eth0 inet dhcp
hostname your hostname

The default config for dhcpcd is to ask and listen on interface eth0, 
you can check it in dhcpcd config, option 1 config file:

# Config file for dhcpcd.

case ${INTERFACE} in
eth0)

Also check your Shorewall configuration for the following line (dhcp) 
in optin 3 Ifaces config.

#ZONEINTERFACE  BROADCAST   OPTIONS
neteth0 detect  dhcp,routefilter,norfc1918
loceth1 detect

As a last check you can do a shorewall hits to see if any rule is 
blocking dhcp requests on eth0.

Because all the above options except hostname are default, the most 
likely cause is that your provider expect you to configure the 
hostname he gives you on the interface config.

Regards,
Eric Spakman

 Thank you, Lynn.
 
 Configure dhcpcd to use an interface like eth0. How do I do that?
 (I'm sorry for what is probably a really simple question)
 
 Thank you, Ray. 
 
 Let me see if I can answer some of your questions. 1.)Are these
 messages really complete? That is, does Bering's syslog really not
 timestamp messages? Are they sequential, or is there stuff in between?
 And are there no prior messages from dhcpcd or dhcpcd.exe? Answer: I
 have ommitted the timestamps, but yes, these are the last two messages
 of /var/log/syslog. 2.)Is the dhcp option specified for eth0 in
 /etc/network/interfaces (this is the as-shipped setting)? Answer: Yes
 3.)Is the eth0 interface present on the system? (ip link show)
 Answer: Yes 4.)Last but not least ... how do you know that DHCP leases
 are available on the external interface? Could there be a probem
 external to the LEAF system (bad cable, bad DSL/cable modem,
 MAC-address-authentication issue with the ISP, etc.)? Answer: I have
 connected directly to my cable modem, and to a hub attached to my
 existing Bering box (which works perfectly, but uses pump and
 dhcpd)...neither way was I able to get an address.
 
 I'm looking on the web for instructions on how to configure dhcpcd to
 use an interface as Lynn suggested, but haven't been able to find
 anything.
 
 Best Regards,
 Craig
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Lynn Avants
 Sent: Wednesday, December 24, 2003 11:05 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [leaf-user] How to debug boot up?
 
 
 On Wednesday 24 December 2003 10:15 am, Craig Caughlin wrote:
 
  Merry Christmas!
 
 Likewise. :)
 
  dhcpcd is loading on boot, but dhcpcd is not running according to ps 
  ax and /var/log/syslog indicates a couple of error messages:
 
  dhcpcd[15761] : timed out waiting for a valid DHCP server
  dhcpcd.exe: wrong interface name 
 
  Suggestions?
 
 Configure dhcpcd to use an interface like eth0.
 Right now it isn't using any interface ( ie... ).
 -- 
 ~Lynn Avants
 Linux Embedded Appliance Firewall Developer http://leaf.sourceforge.net
 http://guitarlynn.homelinux.org:81
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for
 IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
 admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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
 
 
 
 ---
 This SF.net email is sponsored by: IBM Linux Tutorials.
 Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
 Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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
 




---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


Re: [leaf-user] How to debug boot up?

2003-12-24 Thread Lynn Avants
On Wednesday 24 December 2003 10:15 am, Craig Caughlin wrote:

 Merry Christmas!

Likewise. :)

 dhcpcd is loading on boot, but dhcpcd is not running according to ps ax
 and /var/log/syslog indicates a couple of error messages:

 dhcpcd[15761] : timed out waiting for a valid DHCP server
 dhcpcd.exe: wrong interface name 

 Suggestions?

Configure dhcpcd to use an interface like eth0.
Right now it isn't using any interface ( ie... ).
-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer
http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


RE: [leaf-user] How to debug boot up?

2003-12-24 Thread Craig Caughlin
Thank you, Lynn.

Configure dhcpcd to use an interface like eth0. How do I do that?
(I'm sorry for what is probably a really simple question)

Thank you, Ray. 

Let me see if I can answer some of your questions. 1.)Are these
messages really complete? That is, does Bering's syslog really not
timestamp messages? Are they sequential, or is there stuff in between?
And are there no prior messages from dhcpcd or dhcpcd.exe? Answer: I
have ommitted the timestamps, but yes, these are the last two messages
of /var/log/syslog. 2.)Is the dhcp option specified for eth0 in
/etc/network/interfaces (this is the as-shipped setting)? Answer: Yes
3.)Is the eth0 interface present on the system? (ip link show)
Answer: Yes 4.)Last but not least ... how do you know that DHCP leases
are available on the external interface? Could there be a probem
external to the LEAF system (bad cable, bad DSL/cable modem,
MAC-address-authentication issue with the ISP, etc.)? Answer: I have
connected directly to my cable modem, and to a hub attached to my
existing Bering box (which works perfectly, but uses pump and
dhcpd)...neither way was I able to get an address.

I'm looking on the web for instructions on how to configure dhcpcd to
use an interface as Lynn suggested, but haven't been able to find
anything.

Best Regards,
Craig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynn Avants
Sent: Wednesday, December 24, 2003 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [leaf-user] How to debug boot up?


On Wednesday 24 December 2003 10:15 am, Craig Caughlin wrote:

 Merry Christmas!

Likewise. :)

 dhcpcd is loading on boot, but dhcpcd is not running according to ps 
 ax and /var/log/syslog indicates a couple of error messages:

 dhcpcd[15761] : timed out waiting for a valid DHCP server
 dhcpcd.exe: wrong interface name 

 Suggestions?

Configure dhcpcd to use an interface like eth0.
Right now it isn't using any interface ( ie... ).
-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


Re: [leaf-user] How to debug boot up?

2003-12-23 Thread Craig Caughlin
Hi everyone!
Thank you Lynn  Luis (Happy Holidays! :-)) for your suggestions.

You were right, Lynn. I had packages that weren't loading. Oddly enough,
due to simply bad floppy disks.

Now, I have the basic disk almost working. It will provide addresses for
my LAN, but it won't grab an address to the WAN. All three of my NICs
are the same type, same driver used. Strange. Hmmm, I've scratched my
head, and can't think why.

lrpkg.cfg looks like:
root,config,etc,local,modules,iptables,dhcpd,dhcpcd,shorwall,ulogd,dnsca
che,dropbear,weblet 

Here's the output of ps -ax | grep eth
 6218 root408 S   /usr/sbin/dhcpd -q eth1

And here's ip addr
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 mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:a0:cc:d3:c2:14 brd ff:ff:ff:ff:ff:ff
4: eth1: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:a0:cc:52:07:52 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
5: eth2: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 100
link/ether 00:a0:cc:d3:cf:40 brd ff:ff:ff:ff:ff:ff

Any ideas why eth0 isn't getting an address? To refresh your memory, I'm
creating a Bering-uClibc 2.0 with it's default packages. Thank you for
your help  suggestions.

Best Regards,
Craig



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


Re: [leaf-user] How to debug boot up?

2003-12-23 Thread Lynn Avants
On Tuesday 23 December 2003 07:14 pm, Craig Caughlin wrote:
[...]
 Any ideas why eth0 isn't getting an address? To refresh your memory, I'm
 creating a Bering-uClibc 2.0 with it's default packages. Thank you for
 your help  suggestions.

Is dhcpcd loading?
If so, is dhcpcd running?
If so, is there some form of error message in /var/log/syslog?

There should be some form of success or failure message upon
the daemon being run and it should also show up in 'ps ax' as well.
-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer
http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


[leaf-user] How to debug boot up?

2003-12-22 Thread Craig Caughlin
Hi folks,
I'm trying to set up a new Bering-uClibc v 2.0 firewall, and I'm getting
an error message(s) that I think are related to dnscache (which, of
course, scroll by so quickly I can't be sure :-). How do find out which
package(s) I'm having problems with? I wrote the dmesg to a file, and
then examined it...but I don't see any reference to the packages that
loaded at boot or the (nf!) message(s) that scroll by. Suggestions?

Thank you, Happy Holidays!
Craig



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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


Re: [leaf-user] How to debug boot up?

2003-12-22 Thread Lynn Avants
On Monday 22 December 2003 05:46 pm, Craig Caughlin wrote:
 Hi folks,
 I'm trying to set up a new Bering-uClibc v 2.0 firewall, and I'm getting
 an error message(s) that I think are related to dnscache (which, of
 course, scroll by so quickly I can't be sure :-). How do find out which
 package(s) I'm having problems with? 

What are the error messages? shift+PgUp
Most likely places to find the package problems are lack of the
package in the lrcfg backup menu (not loaded ...nf!), /var/log/messages,
and /var/log/kern.log

I wrote the dmesg to a file, and
 then examined it...but I don't see any reference to the packages that
 loaded at boot or the (nf!) message(s) that scroll by. Suggestions?

Doesn't sound as if one or more packages were found on your disk at boot.
-- 
~Lynn Avants
Linux Embedded Appliance Firewall Developer
http://leaf.sourceforge.net
http://guitarlynn.homelinux.org:81


---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=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