Re: [Leaf-user] bering - pump fails to obtain lease on boot
On Tue, 28 May 2002 22:46:53 +0200 Jacques Nilo [EMAIL PROTECTED] wrote Begin Quote: Having problems getting pump to talk to my ISC dhcp server, so thought I would drop dhclient.lrp into it instead, as it should work easy enough.. Problem is that it's looking for info in /etc/network.conf, and that file doesn't exist (ok, I can't find it), in Bering 1rc2 :( Any help appreciated.. Yes, Charles's dhclient.lrp needs some (small) changes to work with Bering. I made a Bering compatible version which is available here: http://leaf.sourceforge.net/devel/jnilo/bering/latest/packages/dhclient.lrp Being new to LEAF, those 'small changes' seem like mountains... Thanks for the new package, I'll give it a try and let you know how it goes.. --- Homer Parker (The Bogus One) http://www.homershut.net telnet://bbs.homershut.net This e-mail message is 100% Microsoft free! WARNING: THIS ACCOUNT BELONGS TO A RABID ANTI-SPAMMER NET-NAZI DOT-COMMUNIST. /\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ msg07045/pgp0.pgp Description: PGP signature
[Leaf-user] bering - pump fails to obtain lease on boot
I pulled the bering disk image tonight and began working with it to hopefully update my Eiger firewall. However, I've hit a snag and wonder if there is a simple solution before I start posting configuration data... Quite simply, pump fails to obtain an IP on boot. However, once the boot is complete, a lease can be obtained by running pump after login. Unfortunately, I'm unable to ping beyond the interface, and dns lookups fail (even if dnscache is restarted). I suspect my firewall rules are partly to blame, but I don't think they are active when pump first does its thing - so I need to fix the first problem before going any further. The connection is a cable connection, no PPP etc. Eiger, with dhclient, has worked flawlessly for almost a year. As my connection allows more than one IP, the Eiger box is still running. I'm *fairly* sure that this isn't a release/renew problem as I can get a lease eventually. As a side note, how does one see the interface information in bering? I'm used to using ifconfig and netstat in eiger and feel hamstrung without them... Comments? Brock Nanson ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] bering - pump fails to obtain lease on boot
On Sat, 6 Apr 2002 22:15:05 -0800 Brock Nanson [EMAIL PROTECTED] wrote: As a side note, how does one see the interface information in bering? I'm used to using ifconfig and netstat in eiger and feel hamstrung without them... Can't help with the dynamic address stuff, but using iproute2 commands will get you where you want to go without stringing any hams or the like. ip addr will get you most of what you used to see with ifconfig. ip route will get you a view of the routing table. These commands are also quite powerful once you start to manipulate the interfaces, routes, etc. There is a good reference at http://defiant.coinet.com/iproute2/ip-cref/ Hope that helps some, Chad Carr ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] bering - pump fails to obtain lease on boot
Hi Brock I pulled the bering disk image tonight and began working with it to hopefully update my Eiger firewall. However, I've hit a snag and wonder if there is a simple solution before I start posting configuration data... Quite simply, pump fails to obtain an IP on boot. However, once the boot is complete, a lease can be obtained by running pump after login. The default configuration for Bering is: dynamic IP from your ISP through pump -- eth0 interface to the internal network (192.168.1.254) -- eth1 Thefore if you boot a fresh Bering disk, declare the appropriate network modules, and if your NIC's are properly connected it should work out of the box, exactly like Dachstein. Have you done any other change apart from that ? If not please then send the output of /var/log/syslog Unfortunately, I'm unable to ping beyond the interface, and dns lookups fail (even if dnscache is restarted). I suspect my firewall rules are partly to blame, but I don't think they are active when pump first does its thing - so I need to fix the first problem before going any further. This is really strange. Are you sure your NIC cables are not inverted ? What is your ISP ? The connection is a cable connection, no PPP etc. Eiger, with dhclient, has worked flawlessly for almost a year. As my connection allows more than one IP, the Eiger box is still running. I'm *fairly* sure that this isn't a release/renew problem as I can get a lease eventually. Your setup is exactly what I have here (with only one dynamic IP though). As a side note, how does one see the interface information in bering? I'm used to using ifconfig and netstat in eiger and feel hamstrung without them... The idea as far as Bering network interface is concerned was to stick, as much as possible, to Debian standard. The only adjustment that was made to that was to modify the original ifup/ifdown programs from Debian in order to replace the ifconfig and route calls done from within those programs into there ip addr and ip route equivalent. Apart from that the interface file is very flexible since you can insert any statement before or after a given interface is started or closed through the pre-up, up, down, post-down statements. The ifup -v/ifdown -v statements (-v for verify) is also very handy to see what is going on. (e.g. ifdown -v eth1) Jacques By the way: there should be no problem to replace pump by dhclient. The cost is only some more K's. Make sure to shorewall refresh everytime you get a new external address. ___ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user