RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Calvin Webster
Thank you Eric.

You're right, of course. Although I'm getting my packages from the beta
2 repository, I was using the 2.x package listing to check dependencies.
I didn't check for dependencies on mawk.lrp, only ipsec.lrp. 

Is there a dependency tree somewhere in the iso image? I didn't see one.

I presume that I should take the libm.lrp from the main 2.3beta2 distro
if they're not present in the packages repository.

--Cal Webster

On Wed, 2005-05-11 at 01:16, Eric Spakman wrote:
 Cal,
 
 You need the libm.lrp package, it's a mawk dependency.
 
 Eric
 
 -Original Message-
 From: Calvin Webster[EMAIL PROTECTED]
 Sent: 10-5-05 22:49:01
 To: LEAF Usersleaf-user@lists.sourceforge.net
 Subject: [leaf-user] Startup errors: libm.so.0 and ipsec_setup
 
 Can anyone tell me what these errors could mean?
 
 
 awk: can't load library 'libm.so.0'
 awk: can't load library 'libm.so.0'
 ipsec setup: must be called by ipsec_setup
 
 
 They come up every time I boot.
 
 --Cal Webster
 
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
 
 leaf-user mailing list: leaf-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
 
 
 
 [Message truncated. Tap Edit-Mark for Download to get remaining portion.]
 



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Calvin Webster
Hi Eric,

I'm still getting the same errors. I added libm.lrp to the LRP variable
in leaf.cfg and installed it on the second floppy. 

This is a Bering-uClibc 2.3 beta2 distro initrd.lrp and ipsec.lrp
are updates from the 2.3 beta2 repository. The remaining packages not
from the diskette image came from the distro iso image.

syslinux.cfg contains:
--
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/fd0u1680:msdos
--

leaf.cfg contains:
--
LRP=root config etc local modules iptables keyboard libssl mawk libm
lpthread openssl ipsec shorwall ulogd dnsmasq dropbear mhttpd webconf
PKGPATH=/dev/fd0u1680:msdos,/dev/fd1u1680:msdos
syst_size=6M
log_size=2M
--

Two floppies contain:
--
floppy1:
config.lrpinitrd.lrpleaf.cfgmodules.lrp   syslinux.dpy
dnsmasq.lrp   iptables.lrp  linux   readmeulogd.lrp
dropbear.lrp  keyboard.lrp  local.lrp   root.lrp  webconf.lrp
dropbear.lwp  keyboard.lwp  log.lrp shorwall.lrp  webconf.lwp
etc.lrp   ldlinux.sys   mhttpd.lrp  syslinux.cfg
 
floppy2:
ipsec.lrp  libm.lrp  libssl.lrp  lpthread.lrp  mawk.lrp  openssl.lrp
--

Is the order of packages listed in LRP correct?
Am I missing something else?
Maybe I've mis-configured something.

--Cal

On Wed, 2005-05-11 at 01:16, Eric Spakman wrote:
 Cal,
 
 You need the libm.lrp package, it's a mawk dependency.
 
 Eric
 
 -Original Message-
 From: Calvin Webster[EMAIL PROTECTED]
 Sent: 10-5-05 22:49:01
 To: LEAF Usersleaf-user@lists.sourceforge.net
 Subject: [leaf-user] Startup errors: libm.so.0 and ipsec_setup
 
 Can anyone tell me what these errors could mean?
 
 
 awk: can't load library 'libm.so.0'
 awk: can't load library 'libm.so.0'
 ipsec setup: must be called by ipsec_setup
 
 
 They come up every time I boot.
 
 --Cal Webster
 
 
 
 ---
 This SF.Net email is sponsored by Oracle Space Sweepstakes
 Want to be the first software developer in space?
 Enter now for the Oracle Space Sweepstakes!
 http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
 
 leaf-user mailing list: leaf-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
 
 
 
 [Message truncated. Tap Edit-Mark for Download to get remaining portion.]
 



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Eric Spakman
Hello Cal,

I don't see an obvious error, can you check the output of 'lrpkg -l' to see if 
the libm package is really loaded. 

An other problem can be that the libm package you use is compiled with gcc-2.9x 
while the other libraries from the beta are compiled with gcc-3.3.3. I will 
upload a new libm package in the 'beta' area anyway and send you a mail.

Eric

Hi Eric,

I'm still getting the same errors. I added libm.lrp to the LRP variable
in leaf.cfg and installed it on the second floppy. 

This is a Bering-uClibc 2.3 beta2 distro initrd.lrp and ipsec.lrp
are updates from the 2.3 beta2 repository. The remaining packages not
from the diskette image came from the distro iso image.

syslinux.cfg contains:
--
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/fd0u1680:msdos
--

leaf.cfg contains:
--
LRP=root config etc local modules iptables keyboard libssl mawk libm
lpthread openssl ipsec shorwall ulogd dnsmasq dropbear mhttpd webconf
PKGPATH=/dev/fd0u1680:msdos,/dev/fd1u1680:msdos
syst_size=6M
log_size=2M
--

Two floppies contain:
--
floppy1:
config.lrpinitrd.lrpleaf.cfgmodules.lrp   syslinux.dpy
dnsmasq.lrp   iptables.lrp  linux   readmeulogd.lrp
dropbear.lrp  keyboard.lrp  local.lrp   root.lrp  webconf.lrp
dropbear.lwp  keyboard.lwp  log.lrp shorwall.lrp  webconf.lwp
etc.lrp   ldlinux.sys   mhttpd.lrp  syslinux.cfg
 
floppy2:
ipsec.lrp  libm.lrp  libssl.lrp  lpthread.lrp  mawk.lrp  openssl.lrp
--

Is the order of packages listed in LRP correct?
Am I missing something else?
Maybe I've mis-configured something.

--Cal





---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Calvin Webster
Eric,

This is really strange... I must have changed something else without
realizing it. Now I'm getting this, regardless of whether I'm using the
original or updated initrd.lrp:


ipsec_setup: Starting Openswan IPsec 1.0.9...
insmod: ipsec.o: no module by that name found
ipsec_setup: kernel appears to lack KLIPS
ipsec_setup: OOPS, should have aborted! Broken shell!


Where is ipsec.o? I haven't been able to locate it in modules.lrp or
ipsec.lrp.

The errors changed after I had started my qemu VM with redirection. I
tried swapping back the original initrd.lrp to no avail. Now, it comes
up like this with or without redirected ports, with the old initrd.lrp
or new.

It looks like the libm.lrp is loading. Here's the output of lrpkg -l:
--
NameVersionDescription
===-==-==
initrd  2.3 uClibc 0.9 LEAF Bering-uClibc initial filesystem
root2.3 uClibc 0.9 Core LEAF Bering-uClibc package
config  0.5 Rev 1  Core config and backup system package
etc 2.3 uClibc 0.9 etc package
local   2.3 uClibc 0.9 LEAF Bering-uClibc local package
modules 2.4.29 Rev 1   Modules for the kernel
iptables1.3.1 Rev 1IP packet filter administration tools for
2.4.
keyboard1.0 Rev 1  Define keyboard settings
libssl  0.9.7e Rev 1   libssl  - part of the Openssl libraries
mawk1.3.3-9Mawk is an interpreter for the AWK
Programming
libm0.9.20 The libm library
lpthread0.9.20 Rev 2   The libpthread library
openssl 0.9.7e Rev 1   Openssl binaries
ipsec   1.0.9 Rev 1Openswan IPSEC
shorwall2.0.17 Shoreline Firewall (Shorewall)
ulogd   1.22 Rev 1 The Netfilter Userspace Logging Daemon
dnsmasq 2.22 Rev 1 Dnsmasq is lightweight, easy to configure
DNS
dropbear0.45 Rev 1 Dropbear SSH 2 server and scp client
mhttpd  1.19 Rev 2 Small HTTP server.
webconf 1.0.0 Rev 2Web-based configuration for LEAF routers.
--

--Cal

On Wed, 2005-05-11 at 13:43, Eric Spakman wrote:
 Hello Cal,
 
 I don't see an obvious error, can you check the output of 'lrpkg -l' to see 
 if the libm package is really loaded. 
 
 An other problem can be that the libm package you use is compiled with 
 gcc-2.9x while the other libraries from the beta are compiled with gcc-3.3.3. 
 I will upload a new libm package in the 'beta' area anyway and send you a 
 mail.
 
 Eric
 
 Hi Eric,
 
 I'm still getting the same errors. I added libm.lrp to the LRP variable
 in leaf.cfg and installed it on the second floppy. 
 
 This is a Bering-uClibc 2.3 beta2 distro initrd.lrp and ipsec.lrp
 are updates from the 2.3 beta2 repository. The remaining packages not
 from the diskette image came from the distro iso image.
 
 syslinux.cfg contains:
 --
 display syslinux.dpy
 timeout 0
 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
 LEAFCFG=/dev/fd0u1680:msdos
 --
 
 leaf.cfg contains:
 --
 LRP=root config etc local modules iptables keyboard libssl mawk libm
 lpthread openssl ipsec shorwall ulogd dnsmasq dropbear mhttpd webconf
 PKGPATH=/dev/fd0u1680:msdos,/dev/fd1u1680:msdos
 syst_size=6M
 log_size=2M
 --
 
 Two floppies contain:
 --
 floppy1:
 config.lrpinitrd.lrpleaf.cfgmodules.lrp   syslinux.dpy
 dnsmasq.lrp   iptables.lrp  linux   readmeulogd.lrp
 dropbear.lrp  keyboard.lrp  local.lrp   root.lrp  webconf.lrp
 dropbear.lwp  keyboard.lwp  log.lrp shorwall.lrp  webconf.lwp
 etc.lrp   ldlinux.sys   mhttpd.lrp  syslinux.cfg
  
 floppy2:
 ipsec.lrp  libm.lrp  libssl.lrp  lpthread.lrp  mawk.lrp  openssl.lrp
 --
 
 Is the order of packages listed in LRP correct?
 Am I missing something else?
 Maybe I've mis-configured something.
 
 --Cal
 
 
 



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Eric Spakman
Hello Cal,

You need the ipsec module from the kernel tarball, it can be found in download 
area (where also the images are placed).

Eric

Eric,

This is really strange... I must have changed something else without
realizing it. Now I'm getting this, regardless of whether I'm using the
original or updated initrd.lrp:


ipsec_setup: Starting Openswan IPsec 1.0.9...
insmod: ipsec.o: no module by that name found
ipsec_setup: kernel appears to lack KLIPS
ipsec_setup: OOPS, should have aborted! Broken shell!


Where is ipsec.o? I haven't been able to locate it in modules.lrp or
ipsec.lrp.

The errors changed after I had started my qemu VM with redirection. I
tried swapping back the original initrd.lrp to no avail. Now, it comes
up like this with or without redirected ports, with the old initrd.lrp
or new.

It looks like the libm.lrp is loading. Here's the output of lrpkg -l:
--
NameVersionDescription
===-==-==



[Message truncated. Tap Edit-Mark for Download to get remaining portion.]



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Calvin Webster
Eric,

That did it! The errors are gone. Now I've just got some configuration
warnings to deal with:

--
ipsec_setup: Starting Openswan IPsec 1.0.9...
ipsec_setup: WARNING: eth0 has route filtering turned on, KLIPS may not
work
ipsec_setup:  (/proc/sys/net/ipv4/conf/eth0/rp_filter = `1', should be
0)
--

eth0 is the public Internet face of this router. I'm not sure yet if
route filtering should be turned on for this interface. I'm resetting it
to 0 for now.

Some posts I've read in other forums seem to imply that this may
actually be a problem in reconstructing headers
(re:https://lists.netfilter.org/pipermail/netfilter/2005-February.txt
Subj: set-mark, OUTPUT routing, martian addresses, rp_filter From:
idallen at idallen.ca).

Thanks for the help!

--Cal

On Wed, 2005-05-11 at 15:51, Eric Spakman wrote:
 Hello Cal,
 
 You need the ipsec module from the kernel tarball, it can be found in 
 download area (where also the images are placed).
 
 Eric
 
 Eric,
 
 This is really strange... I must have changed something else without
 realizing it. Now I'm getting this, regardless of whether I'm using the
 original or updated initrd.lrp:
 
 
 ipsec_setup: Starting Openswan IPsec 1.0.9...
 insmod: ipsec.o: no module by that name found
 ipsec_setup: kernel appears to lack KLIPS
 ipsec_setup: OOPS, should have aborted! Broken shell!
 
 
 Where is ipsec.o? I haven't been able to locate it in modules.lrp or
 ipsec.lrp.
 
 The errors changed after I had started my qemu VM with redirection. I
 tried swapping back the original initrd.lrp to no avail. Now, it comes
 up like this with or without redirected ports, with the old initrd.lrp
 or new.
 
 It looks like the libm.lrp is loading. Here's the output of lrpkg -l:
 --
 NameVersionDescription
 ===-==-==
 
 
 
 [Message truncated. Tap Edit-Mark for Download to get remaining portion.]
 



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-11 Thread Eric Spakman
Cal,

Great!

You can get rid of this warning by setting 'spoofprotect' to 'no' (lrcfg - 
Network config - network options)

Eric

Eric,

That did it! The errors are gone. Now I've just got some configuration
warnings to deal with:

--
ipsec_setup: Starting Openswan IPsec 1.0.9...
ipsec_setup: WARNING: eth0 has route filtering turned on, KLIPS may not
work
ipsec_setup:  (/proc/sys/net/ipv4/conf/eth0/rp_filter = `1', should be
0)
--

eth0 is the public Internet face of this router. I'm not sure yet if
route filtering should be turned on for this interface. I'm resetting it
to 0 for now.

Some posts I've read in other forums seem to imply that this may
actually be a problem in reconstructing headers
(re:https://lists.netfilter.org/pipermail/netfilter/2005-February.txt
Subj: set-mark, OUTPUT routing, martian addresses, rp_filter From:
idallen at idallen.ca).

Thanks for the help!




[Message truncated. Tap Edit-Mark for Download to get remaining portion.]



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


RE: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

2005-05-10 Thread Tibbs, Richard
Are you loading libz and libnsl.lrp? Those in addition to ipsec,
libcrypt and mawk are all that I load.
Rick. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Calvin
Webster
Sent: Tuesday, May 10, 2005 4:49 PM
To: LEAF Users
Subject: [leaf-user] Startup errors: libm.so.0 and ipsec_setup

Can anyone tell me what these errors could mean?


awk: can't load library 'libm.so.0'
awk: can't load library 'libm.so.0'
ipsec setup: must be called by ipsec_setup


They come up every time I boot.

--Cal Webster



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
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 Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93alloc_id281op=click

leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html