Re: [Leaf-user] LRP Utilities LRP-CD ???
Michael D. Schleif, 2001-06-21 00:40 -0500 We are running LRP-cd. OK, I goto: http://leaf.sourceforge.net/devel/cstein/Packages/Utilities.htm We get following error: segmentation fault when we use the following utilities: iptraf rsync su wget We get following error: BUG IN DYNAMIC LOADER ld.so: dynamic-link.h: 53: elf_get_dynamic_info: Assertion '! bad dynamic tag' failed! when we use the following utilities: http_get hwclock snort sort Are there versions already compiled for LRP-CD??? Michael, It sounds like a bad download to me. Try downloading from http://lrp2.steinkuehler.net/ -- Mike Noyes [EMAIL PROTECTED] http://leaf.sourceforge.net/ ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] LRP Utilities LRP-CD ???
Mike Noyes wrote: Michael D. Schleif, 2001-06-21 00:40 -0500 We are running LRP-cd. OK, I goto: http://leaf.sourceforge.net/devel/cstein/Packages/Utilities.htm We get following error: segmentation fault when we use the following utilities: iptraf rsync su wget We get following error: BUG IN DYNAMIC LOADER ld.so: dynamic-link.h: 53: elf_get_dynamic_info: Assertion '! bad dynamic tag' failed! when we use the following utilities: http_get hwclock snort sort Are there versions already compiled for LRP-CD??? Michael, It sounds like a bad download to me. Try downloading from http://lrp2.steinkuehler.net/ Shortly after I posted that, I went to bed -- often my best thinking moments -- and it occured to me that this maybe the case ; Using netscrape v4.76 on nt4sp6, the http downloads insisted on coming across as HTML files (e.g., sort.htm, su.htm, c.) So, first thing this morning, I http downloaded all of them, from same site, via internet exploder v5.5sp1, which insists on bringing them over as TXT files (e.g., sort.txt, su.txt, c.) After trimming the erroneous extensions, these ran fine on potato, as well as LRP-CD. Thank you, for your insight . . . -- Best Regards, mds mds resource 888.250.3987 Dare to fix things before they break . . . Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] LRP Utilities LRP-CD ???
Michael D. Schleif, 2001-06-21 09:32 -0500 Mike Noyes wrote: Michael, It sounds like a bad download to me. Try downloading from http://lrp2.steinkuehler.net/ Shortly after I posted that, I went to bed -- often my best thinking moments -- and it occured to me that this maybe the case ; Using netscrape v4.76 on nt4sp6, the http downloads insisted on coming across as HTML files (e.g., sort.htm, su.htm, c.) So, first thing this morning, I http downloaded all of them, from same site, via internet exploder v5.5sp1, which insists on bringing them over as TXT files (e.g., sort.txt, su.txt, c.) After trimming the erroneous extensions, these ran fine on potato, as well as LRP-CD. Thank you, for your insight . . . Michael, You're welcome, and I apologize for the corrupt download. I have an outstanding support request with SourceForge concerning this problem. See .htaccess DefaultType override https://sourceforge.net/tracker/ \ ?func=detailaid=430413group_id=1atid=21 -- Mike Noyes [EMAIL PROTECTED] http://leaf.sourceforge.net/ ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] ESB2 and IPSec question
Using EigerSteinBeta2. I want to add IPSec support, to connect to a Cisco Pix firewall. On Charles's IPSec page (http://lrp.steinkuehler.net/Packages/ipsec1.5.htm#DOWNLOAD), there are 3 IPSec-enabled kernels listed. 1. I can figure out what a floppy-only, and an IDE-enabled kernel is. But what's a full Eiger? What does it add, that the others don't? IDE+ (supports bus-mastering and some other fancy IDE features, rather than plain vanilla programmed I/O). You don't really need this unless you're using the IDE drive 'live' in the system (like for web pages or something)... I think there are a few other things enabled (like NFS). Unless you're trying to get something to work and know kernel support for it is missing, you should be just fine with the floppy-only or IDE kernel. 2. Are these kernels different from the ones here? http://lrp.steinkuehler.net/files/kernels/2.2.16-1-VPNMasq/ Yes. The previous include KLIPS (Kernel Level IPSec) support, required for FreeS/WAN (running IPSec on your router/firewall). The VPNMasq kernel includes support for masquerading IPSec (running IPSec on a machine on your internal network). 3. Do I use the modules from the page above with a kernel from the IPSec page? Use standard Eiger moduels with the IPSec kernels. Use the VPNMasq modules with the VPNMasq kernel. Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] OT: how to get your PID from a shell script
Peter Nosko wrote: pn] Is there a clever way to do this or just the unglamorous way via grep/awk? $$ pn] LOVE IT! Thank, Tom. Here's a few, if you're interested: $0 The command name used to start this process $# The number of positional parameters $* All positional parameters $@ All positional parameters $? Exit status of last foreground command $$ PID of current shell $! PID of last background process $- Flags set in the current shell Best, Matt ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
[Leaf-user] Eigerstein BETA2
A couple of days ago I was looking for a 1440 Eigerstein image download. I had downloaded it at work but wasnt sure where I had gotten it. Well, I am back at work again and have some info. The file name for the image is Eigerstein2BETA_test_20010527_1440.bin. I still dont remember where I downloaded this image, and I want to make sure its a *somewhat official* image. A couple of reasons I like this image is the size (1.44) and that it includes e3 (I'm a vi slave) So, can anyone tell me where I might have gotten this image? Or is there an image fairie running around dropping these things off :) Chris Kulish ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] LRP prompt dynamic directory ???
How can we modify LRP user prompt to dynamically follow $PWD? This is how we do it in standard Debian: `\u@\h:\w#` What do you think? Unfortunately, one of the things ash removes to save space is parsing of the prompt string, so there's nothing you can enter for PS1 or PS2 that will make it track your current directory. All is not lost, however. Since we're dealing with linux, there are about a million ways to do anything, so the solution just isn't as simple as setting an appropriate prompt. Basically, what you do is make an alias for the cd command that set your prompt as well as change the directory. I described how to do this in a previous e-mail that apparently got lost in the linuxrouter.org archives, and since I can't seem to access geocrawler at the moment either, I'm re-posting the technique to the leaf list (in a seperate e-mail). Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] ESB2 and IPSec question
Unless you're trying to get something to work and know kernel support for it is missing, you should be just fine with the floppy-only or IDE kernel. Ah. Thanks. 2. Are these kernels different from the ones here? http://lrp.steinkuehler.net/files/kernels/2.2.16-1-VPNMasq/ Yes. The previous include KLIPS (Kernel Level IPSec) support, required for FreeS/WAN (running IPSec on your router/firewall). The VPNMasq kernel includes support for masquerading IPSec (running IPSec on a machine on your internal network). Ok; thanks for pointing that difference out. Perhaps I missed it, but it might not be a bad idea to mention that on the IPSec page (the differences between them, and what situations you would need each kernel for). 3. Do I use the modules from the page above with a kernel from the IPSec page? Use standard Eiger moduels with the IPSec kernels. Use the VPNMasq modules with the VPNMasq kernel. O-Tay. Always, Charles is DA MAN. :-) ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
[Leaf-user] LRP/LEAF prompt with pwd
NOTE: This is a re-post of a message originally posted July 10, 2000. This should probably go into a FAQ, mini-HOWTO, or other collection of nifty LRP tricks... I have been wanting to get the current directory output as part of my command prompt for some time, but the ash shell that comes with LRP does not do any bash type prompt expansion (date, time, current directory, etc..). In trying to get this to work, I have hit upon a method that seems like a handy way to use shell scripts to add commands that modify the existing shell. A conventional script, by contrast, is run in a sub-shell, and when it exits, any changes die with it... The secret lies in defining functions at the root shell level and using alias to substute the new function for an acutal command. This can be done by adding a function to the shell profile file in the users home directory (/root/.profile for the standard root account), or in the /etc/profile directory (changes will impact all users). To start, make a function definition that does what you want. In this case, the funcion should change directories, then update the prompt with directory information. My function looks like this: cdprompt () { command cd $@ PS1=`echo -n -e \n$HOSTNAME: -$USER-\n$PWD # ` } NOTE: What would normally be just a 'cd' in the above script is 'command cd', which tells ash to override any alias settings and use the built-in command. If you are overriding an external program/script, you would specify the explicit path. Next, you need to make substutite the new function for the cd command, using alias: alias cd=cdprompt If you add both of these lines to /etc/profile or /root/.profile and backup, your prompt will include the current directory ($PWD in the prompt string above). You could similarly add the output of date, mem, or any other commands with a suitable cdprompt function. NOTE: Your command prompt and actual working directory can get out of sync. This happens on bootup, as the shell prompt setting is used and not updated until you do a 'cd'. This could also happen if you run a program other than cd that changes your directory. As soon as you do a cd, the command prompt will be updated. I hope you find this useful, Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
Re: [Leaf-user] LRP prompt dynamic directory ???
Mike Noyes, 2001-06-21 09:13 -0700 ~ Comment By: Jacob Moorman (moorman) ~ Date: 2001-06-21 07:30 ~ ~ Greetings, ~ ~ Members of the SourceForge team are currently working on a ~ systems upgrade for the Geocrawler host. This is the cause ~ of the issue you encountered. This upgrade is a one-time ~ event to help increase stability of this machine and shorten ~ the maintenance window. This outage is expected to last ~ some portion of the day today. Everyone, GeoCrawler is up and running again. :) -- Mike Noyes [EMAIL PROTECTED] http://leaf.sourceforge.net/ ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
[Leaf-user] Chicken/egg problem
Sorry about that previous post. Two or three paragraphs down answered the question (D'OH!). I read that thing through and missed it. thanks, Tony ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user
[Leaf-user] iptraf LRP-CD
OK, I've gotten by that snafu with last night's http file transfers ; iptraf works -- somewhat -- and is somewhat broken on our LRP-CD. When I invoke its CLI it starts up and immediately informs me: ``Unable to tag this process'' This nag also comes after nearly every menu selection. Oddly enough, pressing Enter appears to go around the error condition, and elsewise appears to work. However, when we attempt to change iptraf's configuration or log data, we get the following: ``Cannot create a config file'' Also, trying to backout of several selections drops us all the way back to OS prompt! Regardless, whenever we exit iptraf, we see this: ``Fatal: memory allocation error'' Now, we know that our memory is good. Could these problems be due to running on a BX mainboard running Celeron 500's? What do you think? -- Best Regards, mds mds resource 888.250.3987 Dare to fix things before they break . . . Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . ___ Leaf-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/leaf-user