[SLUG] JTAG dongle
To the poster looking for places selling JTAG dongles, (sorry I don't remember who it was) ... If you're still looking, here's some information: http://www.tuxscreen.net/wiki/view/Users/Aleph1 Sonam
[SLUG] making SSH port forwarding externally available
Hello Sluggers: To workaround a local network misconfiguration, I am port forwarding a local port to a remote machine using ssh. This works for my local loopback address: 'localhost', but I would like to make the tunnel accessible to another person at work. (he doesn't use Linux but need to access the same remote port) i.e.: If I do a ssh -f -N -L 1234:remote:1234 remote , then telnet localhost 2323 establishes a connection to 'remote' via the ssh tunnel, but telnet my_machine_IP 2323 doesn't. How would I go about making the ssh tunnel externally available? Can iptables be set to forward TCP packets to the local loopback address? Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725, Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] making SSH port forwarding externally available
from the ssh(1) manpage: -g Allows remote hosts to connect local port forwarding ports. The default is that only localhost may connect to locally binded ports. that's what you're after :) Excellent - That works great. Thanks Andre. I missed that. Thanks Malcolm - I had tried remote forwarding earlier with no luck. -g is just what I needed. Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] SMP board ?
Hello there On the subject of a 2 CPU motherboard for Linux, does anyone have advice to offer on recommended boards, where to buy one cheaply, overclocking, etc. Athlon SMP mobos seem vaporware at the moment, so I'm going the PIII route. Based on some websites reviews, I like the MSI 694D and the ECS D6VAA. However, the friendly neighbourhood assemblers I've met all point me to Asus -- which I find a tad expensive at $390 just for the mobo. Do the usual markets (North Rocks etc) typically have SMP motherboards on sale? I've read in a couple of places (Atomic magazine for one) that it's no longer necessary for the SMP chips to be exact clones -- apparently one can now run an 866Mhz and a 1Ghz chip on the same are socket 370 SMP mobo. Has anyone here tried doing this? Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] One Liner Challenge!
Jeff Waugh wrote: Here's one for the one liner gladiators: I need to get the first URL found in a file or stdin. Much like urlview (man urlview for a regexp), but without all the UI guff. Think procmail... As usual, least amount of processes spawned, most minimal software used, and shortest length wins. ;) Here's a try using lynx's parser: cat index.html | lynx -stdin -dump | grep ^References -A 2 | tail -1 | perl -lne '$_=~/\d+\. (.+)/; print $1;' It does run perl (I don't know awk) and lynx, which are both pretty heavy but it does the job. Regards, Sonam - Jeff -- chown -R us:us yourbase -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Looking for a program that understands email Date: headers
I want to seperate messages stored in different mbox-format files into distinct files containing one email each, with filenames of the type: '20010101-1201-random_number.msg' (for a message sent on 12:01 Jan 1, 2001). I get the feeling with all these mail manipulation programs out there, there is likely to be one that understands a RFC 822 Date: header and converts the date to a simpler data structure. Q 1.) Can someone suggest such a program ? I then intend sorting these messages by date (i.e. by filename) and feeding them one by one to hypermail (Hypermail requires mbox files to be date sorted, otherwise it gets mixed up in date sorting) Q 2.) Is there a better approach? Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Trojan binaries - ever spotted for open source?
http://ciac.llnl.gov/ciac/bulletins/k-035.shtml This was a problem which resulted in a backdoor on some Redhat 6.2 back in April last year. Does anyone know if binary rpms from places like rpmfind.net are peer reviewed at all? Is it purely a trust system, even for the user contributed areas? Regards, Sonam Jon Carnes wrote: On Wednesday 21 March 2001 17:15, Rick Welykochy wrote: Hi Sluggers, Has anyone run across any evidence of distributed open-source binary packages (i.e. *not* compiled at home) that contain nasty code, trojans, worms, etc? Of course, your first line of defense is comparing MD5 sums, but even those can be changed to suit an altered binary. And a related question would be has anyone uncovered evidence of actual source code containing surreptitious bits of nastiness? -- Rick Welykochy || Praxis Services Pty Limited About three years back there was a widely used rpm that had a backdoor built into it by a joker who had fixed a bug and introduced a backdoor at the same time. I cannot remember exactly what it was, but I remember it was major, like Bind or FTP Jon Carnes -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] 2.4.2 Kernel performance - FIXED
Thanks for all the help guys -- I'm upto speed now with my new, stable 2.4.2 kernel. Here's a little writeup on what I found helpful in my first new kernel compile. (The actual kernel compile process is documented in the README file under /usr/src/linux-xxx/. ) I upgraded from kernel 2.2.16-22 (Redhat's variant of 2.2.16) to kernel 2.4.2 My first attempt at building the kernel resulted in a slow kernel and a long build process. I figured that copying the settings from my old kernel would help. As described by Ian in an earlier post, I copied /usr/src/linux-2.2.16/configs/kernel-2.2.16-i686.config to ".config" under the new /usr/src/linux-2.4.2/ directory. After this, I ran 'make oldconfig' which allowed me to change new options. The rest of the compile process was simple and worked great. There was a slight hiccup though -- I needed to change my processor type from 686 (the old designation for PPro/PIII in the 2.2 kernel) to Pentium III (this was needed for picking PIII Multimedia optimisations for DRI under X 4.0.2) 'make oldconfig' picked up the earlier processor type and just skipped past this step. I first edited the .config file by hand after 'make oldconfig' step. Later , I realised that the 'make xconfig' graphical interface allowed me to load a config file. So all my subsequent compiles were with 'make xconfig'... I just loaded the 2.2.16 config file to get my existing kernel config, and could then change both the new and old options. Well the things I found helpful : 0. Update the modutils package before updating the 2.2 kernel to 2.4 1. If this the first time building a kernel, use your previous kernel settings as shown above to get a feel of the useful features. 2. Use 'make xconfig' under X... it's handy having Google in one window and the kernel configurator in another. 3. Don't be ashamed of turning on 'experimental/incomplete' features (the first button) for performance (the main distros do so too) 4. If you compile something that's meant to run under the new kernel (like DRI support under X) change the /usr/src/linux to point to your new kernel. Thanks all! And kind regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] 2.4.2 Kernel performance
Hello! I compiled a kernel for the first time and had a few questions. I run Redhat 7 on a P III. My previous kernel was '2.2.16-22' (uname) and my new kernel is 2.4.2 (compiled with the default config options) According to information on the web, 2.4.2 should deliver a slight performance increase. However, my machine is almost half as slow with the new kernel (verified by time-ing compiles in command line mode and also with x11perf while running X) The problem seems to be that RedHat adds optimisations to it's distro kernels that the stock 2.4.2 kernel doesn't have these (or may be features not enables in the default kernel config) Here's one message my 2.2.16 kernel outputs at boot time: - raid5: MMX detected, trying high-speed MMX checksum routines pII_mmx : 1115.568 MB/sec p5_mmx: 1171.575 MB/sec 8regs : 860.679 MB/sec 32regs: 482.727 MB/sec using fastest function: p5_mmx (1171.575 MB/sec) - The 2.4.2 kernel I compiled generates no such message. Can someone help with these questions: 1. Is there a a way to generate a /usr/src/linux-2.2.16/.config for my *2.2.16* kernel? This would tell me how my kernel varied from a default 2.2.16 kernel. 2. Does Redhat makes specific patches to their distro kernels that aren't in the mainstream kernel. Is it possible to apply those to the 2.4 kernel? (Redhat doesn't 'support' 2.4 yet) 3. 'uname -a' informs me that my kernel is 2.2.16-22' while my current /usr/src/linux points to 'linux-2.2.16' Is the '-24' significant? Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] 2.4.2 Kernel performance
Thanks all of you guys... that's very useful information! I'll summarise what I learnt in another post. Thanks Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Seg fault due to swap file
Was it a very large file ? Google returned this http://plug.skylab.org/24/msg00393.html on a searching for: http://www.google.com/search?q=+Close+error+on+swap+file+vim talking about the 2G addressing limit. Sonam Rick Welykochy wrote: I'm sitting pretty quitely paging through a document in vim and the poor thing barfs: Vim: Caught deadly signal SEGV Vim: Double signal, exiting Close error on swap file Segmentation fault (core dumped) Any ideas why? Bad block in the swap area? A tribute to Linux: I snooped around, rm'd up the core dump, checked a few other processes, and went back into vi with no probs. Total interruption time: 2 minutes (and a scratched skull). 48 hours later, the box is still chugging along with narry a worry, no reboot, xstart or other panic. Now let's see W2K do that! -rickw -- Rick Welykochy || Praxis Services Pty Limited -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Antialiasing in X4.0.2
http://www.ximian.com/~jacob/aa/ I know. :-) I want to see what the same desktop would look non-AA. Noone posts those pics, for comparison. Try viewing http://www.ximian.com/~jacob/aa/moz_aa_1.png in Netscape. Then look closely at the "V" in your Netscape Toolbar View options: ("File Edit View...") ^^ Compared to the "View" in the .png picture down below, the "V" in your browser should be jaggier. I'm still using 4.0.1. Just wondering has anyone here got antialiasing working with 4.0.2? What I want to know is how big a difference does it X 4.0.2 support anti-aliasing with something called "RENDER support". From xfree86.org: " (o) Render support has been added. This extension to the X protocol, uniquely XFree86's allows image composition and anti-aliasing text. " I have no idea how to get this working (I've got X 4.0.2/KDE 2.0.1 but no AA) The following seems to suggest that , for KDE users, it may be as simple as a new version of QT: http://news.gnome.org/gnome-news/981746971/981837995/981865603/index_html Is this accurate? Regards, Sonam Arun -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Need help with XSession Colors
Jill Rowling wrote: Yes, but if you diff the two rgb.txt are they the same? Yes, I did. They just differ in whitespace. Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] file listing problem
Hello Sluggers: Here's a frustrating one Sluggers... A system monitoring program periodically needs to generate a list of filename with each files timestamps prepended to it: sample output 15:15,151500.data 15:46,154501.data 16:45,154501.data 16:55,061500.data ... - The files live in directory and the names have to match pattern: pattern. The following works well in most situations: ls -l dir/pattern | awk '{print $8 "," $9}' But with more than 4000 files in a directory, ls generates the following error: bash: /bin/ls: Argument list too long Using find in the following manner seemed to work beautifully: find dir -name pattern -printf "%AH:%AM,%f\n" However, the find -format specification outputs data based on file *access* time instead of file *creation* times. This data is useless if the files are accessed by some other program (say, a backup system). Is there a way of generating the required list using command line tools in just one pass? (or Perl) Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] file listing problem
`ls -l' prints the time of the last modification to the file; you can't get the creation time (it's not stored anywhere). `find' can also print the last modification time: find dir -name pattern -printf "%TH:%TM,%f\n" You're right - I was led astray by a non-concept (file creation time). Thanks guys for clearing this up guys. Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Need help with XSession Colors
Angus Lees wrote: are you running on an 8bit (256 colours) display? your window manager should shift the colourmap to follow the mouse, so when you focus the AIX app, *it* should look normal (but the rest of your screen will look wierd). The display doesnt' change if I move the mouse. KDE gives me the following info on my X server: Number of colormaps: minimum 1, maximum 1. ... Pixmap format #6: 32 BPP,Depth 24 bit Pixmap format #7: 32 BPP,Depth 32 bit ... Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Need help with XSession Colors
If you are actually trying to view the colours on the AIX box, possibly: - the hardware does not have enough display memory, or - the hardware does not support the colours, or - the x11 file (maybe /usr/openwin/lib/X11/rgb.txt) does not have all the colours defined in it. Thanks - the application is something generated on the AIX box and viewed on the Linux box. The rgb.txt files on both side are pretty much identical Here are the locations on both boxes: AIX: /usr/lpp/X11/lib/X11/rgb.txt Linux: /usr/X11R6/lib/X11/rgb.txt I couldnt' locate a private rgb.txt file for my application so I don't think it has a private colormap, so I don't know what causes it. Pretty mysterious. Regards, Sonam Jill Rowling wrote: If you are actually trying to view the colours on the AIX box, possibly: - the hardware does not have enough display memory, or - the hardware does not support the colours, or - the x11 file (maybe /usr/openwin/lib/X11/rgb.txt) does not have all the colours defined in it. If you are trying to view something generated by the AIX box, possibly the application is calling for IBM-specific colours (SGI does this, too) which are not specified in the Linux rgb.txt file. The X server is just approximating the colours. Cheers, Jill. -- Jill Rowling, Snr Des. Eng. Unix System Administrator Elec. Eng. Dept, Aristocrat Technologies Australia 3rd Floor, 77 Dunning Ave Rosebery NSW 2018 Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: [EMAIL PROTECTED] -Original Message- From: Sonam Chauhan [mailto:[EMAIL PROTECTED]] I've had a display problem with an application running as XWindows session off a remote AIX box. The colors look terrible (like -- CONFIDENTIALITY NOTICE -- This email is intended only to be read or used by the addressee. The information contained in this e-mail message may be confidential information. If you are not the intended recipient, any use, interference with, distribution, disclosure or copying of this material is unauthorised and prohibited. Confidentiality attached to this communication is not waived or lost by reason of the mistaken delivery to you. If you have received this message in error, please delete it and notify us by return e-mail or telephone Aristocrat Technologies Australia Pty Limited on +61 2 9413 6300. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Need help with XSession Colors
Hi guys and ladies: I've had a display problem with an application running as XWindows session off a remote AIX box. The colors look terrible (like 'negatives' of the real color) I've run the same X application off a Linux box and the colors show up fine So this is a problem specific to the AIX Xsessions. Is there some Xwindows setting that could fix this? Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] KDE 2.0.1 bug and XFree86 4.0.2
Just a quick note on my posting about KDE 2.0.1 instability. KDE crashed after 30 minutes of inactivity. ( http://bugs.kde.org//db/18/18780.html ) Upgrading X to 4.0.2 seems to have fixed this problem. ( http://www.xfree86.org/#currentrel ) Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] KDE 2
Oi! I'm sorry if people have posted on this topic before, but... Has anyone noticed what a piece of work KDE 2.0.1 is ...the new UI, intuitive config... And with Konqueror, we've finally got a mature Linux browser than isn't called Netscape. Wonderful highly recommended. Kudos to the KDE team. The only drawback: 1. installation - for Redhat 7, you'd need to hit rpmfind.net for a couple of RPMs - worth the pain. 2. The strange Merlin type help character - possibly inspired by Microsoft's paperclip. :) Happy, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] KDE 2
I spoke too soon. KDE 2.0.1 looks great but is pretty unstable (on my machine at least). I've put in two reports to bugs.kde.org within the last one day - it's crashed 4 times already with me doing absolutely nothing. Hm, I've got this feeling that your Debian 2.1 Beta "unstables" are really more stable than what I'm running. grin Regards, Sonam three or four times already today. David Kempe wrote: Oi! I'm sorry if people have posted on this topic before, but... Has anyone noticed what a piece of work KDE 2.0.1 is ...the new UI, intuitive config... And with Konqueror, we've finally got a mature Linux browser than isn't called Netscape. Wonderful highly recommended. Kudos to the KDE team. Well, I suppose it's not TOO bad, but it's pretty ordinary compared to the 2.1 beta in Debian unstable. I like the debian kde 2.1 beta. It rocks hard. Very nice keyboard shortcuts, decent window managing, some great tools and nice apps. And with debian its all easy to setup :) dave -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] XFree 4 on a Toshiba laptop
Howard Lowndes wrote: Has anyone got XFree 4 running on a Toshiba laptop (Satellite Pro 430 CDS - yes an old one but a good one now that I have beefed it up a bit). Mine has the CT 65550 chip (I think) but it complains that it cannot find the v4l module. It isn't in the RH7.0 distro, but I don't see why it should complain about it anyway as I believe that it is a Video for Linux thingy. Even if I comment out the v4l module bit from the XF86Config file it still doesn't like it. What does the error message say exactly? Google returns this interesting result if you search for v4l and 65550: http://www.uwsg.iu.edu/hypermail/linux/kernel/9810.0/0416.html -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Fixed: Apache 1.3.9 compilation problem under Redhat 7
Hi David: Thanks... you're right - Apache 1.3.9 does not build because it can't find db.h. Using the extra include got it working. (set "EXTRA_INCLUDES=-I/usr/include/db1" in apache_1.3.9/src/Configuration.tmpl) Note: Apache 1.3.14 builds fine on Redhat 7 (apply RPM update below) Why is it a compiler / gcc issue? Sorry... it's not. I meant 'Redhat issue' since Apache 1.3.9 builds fine under Redhat 6.1 . I filed a bug report with RedHat since 1.3.9 is our production envt. I also applied the RPM update you mentioned but that didn't fix the build problem by itself. Regards, Sonam David Sainty wrote: Sonam, Why is it a compiler / gcc issue? In apache_1.3.9/src/modules/standard/mod_auth_dbm.c: #if defined(__GLIBC__) defined(__GLIBC_MINOR__) \ __GLIBC__ = 2 __GLIBC_MINOR__ = 1 #include db1/ndbm.h #else #include ndbm.h #endif ... This finds /usr/include/db1/ndbm.h but , in ndbm.h we have: #include db.h Thinks gcc: "db.h where?? No, I don't know what to do!" Try adding a -I/usr/include/db1 to your compilation and you should have more luck. BTW, regarding your note about the gcc in Red Hat Linux 7.0... Red Hat has worked hard to address any known issues with the gcc release in 7.0. For more information and an errata RPM: http://www.redhat.com/support/errata/RHBA-2000-132.html Regards, David S.. On Tue, 16 Jan 2001, Sonam Chauhan wrote: = ndbm.h and db.h both exist in /usr/include/db1/ /usr/include no longer contains db.h as in Redhat 6.1. Copying db.h from another 6.1 install to /usr/lib/include on the redhat 7 machine still fails (risky idea anyway) Anyone experience something similar? Pointers appreciated. Regards, Sonam P.S: The gcc version reported by Redhat 7: gcc version 2.96 2731 (Red Hat Linux 7.0) GNU's take on this: http://gcc.gnu.org/gcc-2.96.html -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Too many open files
Hello SLUGgers: I've got a Linux system with too many file handles being used. /proc/sys/fs/file-nr reports about 7800 open files. The 'lsof' command only reports only 600 files open. Can anyone suggest how to track down the process or bug at fault here? Regards, Sonam Chauhan --Contents of /proc/...-- [root@svr1 schauhan]# cat /proc/sys/fs/file-max 8192 This is the max. num of file handles [root@svr1 schauhan]# cat /proc/sys/fs/file-nr 819277748192 This is the number of file handles used. - Doco from: http://www.linuxhq.com/kernel/v2.3/doc/filesystems/proc.txt.html The three values in file-nr denote the number of allocated file handles, the number of used file handles, and the maximum number of file handles. When the allocated file handles come close to the maximum, but the number of actually used ones is far behind, you've encountered a peak in your usage of file handles and you don't need to increase the maximum. -- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] EDI is ...
Jason Rennie wrote: Currently we have it up and working but it is an awful system to use becasue of the large amounts of manual typing to process an order. Just hoping somebody might know of other software that works with it, or better yet had an idea how the thing works so we might be able to hack up some of our own software to do the job. Sounds like us. We run Tradelink under dosemu/linux. I'm not the guy who implemented this but from what I poked around, we're generating keystrokes using dosemu's '-I' option : #Below uses server's local screen /usr/bin/dos -d -I 'keystroke "tlpoll.bat\r"' /dev/tty4 21 /dev/tty4 The tlpoll.bat file simply calls tlcopy (tradelink's copy utility) and then calls tradelink ('tl -kauto') itself. The actual processing transfer is done there. Tradelink seems to be using btrieve as a data manager. Here's some information on dosemu from http://www.ibiblio.org/pub/Linux/docs/HOWTO/DOSEMU-HOWTO 5.2. How can I run dos commands non-interactively? You can do any of the following: 1. redirect a file to dosemu standard input 2. use the keystroke configuration option and the -I command line option as described in the README.txt file to specify keystrokes on the command line that will act exactly as if you had typed them within dosemu 3. use the mkdexe program to create a DEXE file - a small DOS filesystem image containing just the program you want to run - see the README.txt file for details. Maybe i'll go back to telstra and ask for some specs on the system. It didn't seem to difficult when i first looked at it. Does linux support the X400 protocol ? The file transfer what we've setup this system to do. We get our backend ERP system doing the actual EDI translation ( though tradelink can do it too.) I can ask around here if you've got more questions Regards, Sonam Jason -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Deny http access to a domain
It could be done through a perl script... but there is probably a better way This is exactly what I need to do. If you're using Apache, you can write a simple Apache handler to do a fast check of HTTP_REFERER on each page served off your website. I don't know your setup but with mod_perl using Apache::registry, it's really easy to write a Perl handler. First add a new package 'ChkSite' as a PerlHandler in your .htaccess --SNIP: .htaccess:-- PerlHandler ChkSite Apache::Registry --SNIP-- Next, write the handler itself.It looks like this: --SNIP: ChkSite.pm use strict; use Apache::Constants ; sub handler { if ( $ENV{HTTP_REFERER} !~ /example.com/ ) { return DECLINED; } #ok... go to next handler #send error page my $r = shift; $r-content_type("text/html"); $r-send_http_header; my $content = qq{ html body You come from $ENV{HTTP_REFERER}: [example.com] ... Access denied. /body /html }; $r-print($content); DONE; } 1; --SNIP-- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: bandwidth co-op (was:web hosting)
For web hosting, Interland (another US company) is pretty responsive. If you're writing your own CGI, they work out US$10/month cheaper than pair.com. Also, after your first deployment, subsequent websites go down to $13/month thanks to their developer program. Comparison: (Pair 'Webmaster' v/s Interland 'Feature Plan') http://www.pair.com/pair/services.html http://www.interland.net/hosting/virtual/shared.asp Regards, Sonam now now, simple mistake. it's http://www.pair.com not http://www.pair.com.au. They claim to be the largest independent hosting service in the world and I have been most impressed with them. Have a read -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] LPC script
anyone got a script or can give me the lpc command to clear all the jobs from a particular printer? including remote printers that may bnot be currently online? # lpc clean all This command should do the trick, but it doesn't sometimes... I then have to go into the /var/spool/lpd/lpxx directories and clean out the temp file manually to get printing working again. Regards, Sonam -- Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] rcp/scp colon probs
Using *both* quotes and escaping make it work e.g.: scp sonamc@websvr2:"/nethome/sonamc/test\:2" /tmp will copy a file called "test:2" Regards, Sonam Rick Welykochy wrote: Any idea on how to specify a source file as used in an scp or rcp command, where the source filename contains a colon? Here is an example that fails: [rickw] scp log_20001030-08:41:23 rickw@bini/home/rickw Bad host name: log_20001030-08 -- Rick Welykochy || Praxis Services -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Star Office and Printing.
Hi again: I can print from Star Office if I run it as root. If I go back to my regular login, printing fails silently even though Star Office was installed from my login. I found the "failed" test printouts -- they are in /tmp and with name /tmp/xprn*. Out of curiosity, I did a "strace soffice 2 logfile" command and found something strange in the trace -- Star office tries to create a xprn file and then unlinks it, and does this over and over again, each time with a different 'xprn_' filename. May mean something. -- access("/tmp", R_OK|W_OK) = 0 stat("/tmp/xprnpnqIOe", 0xbfffdf8c) = -1 ENOENT (No such file or directory) open("/tmp/xprnpnqIOe", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 29 fstat(29, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4230e000 write(29, "x", 1) = 1 close(29) = 0 munmap(0x4230e000, 4096)= 0 rmdir("/tmp/xprnpnqIOe")= -1 ENOTDIR (Not a directory) unlink("/tmp/xprnpnqIOe") = 0 Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Star Office and Printing.
Hello: I've had miserable time trying to get Star Office to print. Every other application prints fine. I can even print to file in Star Office and do a 'lpr filename' and it prints fine. Printing directly doesn't work though. Does anyone have any tips? Thanks and Regards, Sonam PS: My /etc/printcap -- ##PRINTTOOL3## REMOTE ljet4 300x300 a4 {} LaserJet4 Default 1 lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :rm=n0-it1-laser.in.ce.com.au:\ :rp=:\ :if=/var/spool/lpd/lp/filter: ##PRINTTOOL3## REMOTE POSTSCRIPT 300x300 a4 {} PostScript Default 1 lp0:\ :sd=/var/spool/lpd/lp0:\ :mx#0:\ :sh:\ :rm=n0-itqms.in.ce.com.au:\ :rp=PASSTHRU:\ :if=/var/spool/lpd/lp0/filter: -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] pcmcia network install
I wanted to install Linux on a laptop with pcmcia networking and a floppy drive (no CDROM). My only option seems to be a network installation. I looked at Redhat's boot images - their pcmcia and network install versions seem to be mutually exclusive. Is there a distro that combines pcmcia with networked installation on a boot image? Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: IDE for java / C etc.
Hm, on the topic of IDEs, the best Linux one I used is Visual Age for Java. As George said, Visual Age is a large app -- when it's doing nothing it shows 20 % mem utilisation on 124 MB availiable on my machine. But it's a well behaved app... no netscape like loading behavior. Regards, Sonam -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Goobye to SLUG
Good on you Angus. It was a shame to read that post and it's great to see you own up. You're quite a knowledgeble and helpful poster. John wrote: I suggest that a good rule for the list would be "Courtesy given and courtesy expected in return" Amen. Regards, Sonam -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] new group server recommendations
Michael Lake wrote: Hi, I am at home at present for a week or so and need to subscribe to the text/tex newsgroup. Does anyone have a suggestion for a news server in oz that's not web based. ^^^ Oops forgot about your "In Oz" caveat. No, I don't know if there's a free NNTP server here. But I did use the foreign NNTP servers (in India) and they worked great with Netscape news since it downloads the headers first (it's a customisable setting) and the articles later. Give graphical newsreaders a try. tin and even pine work well enough if you want to stay in character mode. If anyone runs a free nntp feed in Oz, especially over port 80, send me a holler. :) Regards, Sonam -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] new group server recommendations
http://www.newsservers.net/news_servers/index.html lists the best. I searched on google for new servers and there are lots sure (~100 or more). But after clicking on a dozen they all want a registration, make a big point about having acccess to binaries and alt groups and aren't what I need. I want that that I can learn to use trn with - simple text. Rightly so: the alt.binaries newsgroups are porn-fuelled and high bandwidth. Back in 96 my country (India's) only ISP didn't supply a newsfeed. I searched high and low for free NNTP servers - my favorite was news.uni-stuttgart.de Still, it's good to know that these free servers are still available even after the net's grown so much. Deja news is great for tracking information, but super *slow* Regards, Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Re: Basic CVS Usage
Angus, keep it civil. "the web" is an interface, not a format (fool). Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] VAJ Professional Edition for free???
I received the IBM Linux promo CD here in Sydney. It has Visual Age Professional which runs great on Linux. I'll lend it out to you - it seems free of licenseware for the Linux Binary. Below is Email about the free CD I sent to a friend (who posted it on SLUG): -- This is the site... http://www-4.ibm.com/software/is/mp/linux/ They will mail you their E-Commerce software (DB2, Domino, Visual Age/Java) free of charge as long as you're running it on Linux. -- - Sonam Aravind Naidu wrote: Yep... IBM is practically giving away s/w on Linux. You can actually order one of their CD's which has DB2, WebSphere, VAJ, JDK, Domino etc.. for free on Linux. If you are a member of IBM DevCon then you can download all of this also. -- Aravind -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Graham Sent: Thursday, 20 July 2000 19:12 To: [EMAIL PROTECTED] Subject: [SLUG] VAJ Professional Edition for free??? As an interesting aside, I downloaded the Entry Edition (Free), and then Downloaded the free version 3.0 to 3.02 patch, and I now seem to have the 3.02 Professional Edition... -- If it weren't for the last minute, nothing would ever get done. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- Sonam Chauhan Electronic Commerce Corporate Express Australia Ltd. Phone: +61-2-9335-0725 Fax: +61-2-9335-0753 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] PHP experts
There was one more thing. My php3 "document contains no data" error also caused segfaults that killed off the apache children processes forcing apache to spawn new ones (noted in the apache error_log.) Hope your problem goes away soon. Sonam Sonam Chauhan wrote: Roland Turner wrote: message somewhere. In the extreme case, the web browser pops up a dialogue saying "Document contains no data". Perhaps the designers of PHP, bearing the special needs of beginners in mind, took inspiration = We experienced webpage crashes on php3 pages that used the eregi family of functions. This was found to be related to php's regular expression handling. It was fixed by changing the Php compilation script to use this switch "--with-system-regex" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug