a do nothing shell ?
Hi bods, I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the host machine. What then I can I specify as the guest accounts shell ??? I have noted various 'restricted shells' such as rbash and rssh but they still do more than I need. Really all I want is MOTD and logout. What do you suggest ? Cheers, Chris
Re: a do nothing shell ?
Craig Falconer wrote: chsh username /bin/false Will that allow ssh tunnels still ? chris bayley wrote, On 22/05/09 11:58: I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the host machine. What then I can I specify as the guest accounts shell ??? I have noted various 'restricted shells' such as rbash and rssh but they still do more than I need. Really all I want is MOTD and logout. What do you suggest ? No it doesn't ! I was more optimistic about /bin/true but that didn't work either :(
Re: a do nothing shell ?
chris bayley wrote: Hi bods, I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the host machine. What then I can I specify as the guest accounts shell ??? I have noted various 'restricted shells' such as rbash and rssh but they still do more than I need. Really all I want is MOTD and logout. What do you suggest ? Cheers, Chris Looks as though I have found what I am looking for. The description is perfect - we await the testing... ; ) http://www.mariovaldez.net/software/sleepshell/ Chris
Re: OT: Cabling to a shed
Robert Fisher wrote: -Original Message- From: Volker Kuhlmann list0...@paradise.net.nz Yes. For starters, the power cables are legally required to be in conduit of their own, and with good reason. Not quite correct. Separation is mandatory and protection is recommended. Protection can be as simple as tanalised timber above the cable. Of course conduit is highly recommended though for lots of good reasons. Rob When I 'undergrounded' my street feed I was advised to bury the cable directly in the ground for the cooling effect of the earth. If I had used a conduit then I would have had to use the next larger wire size. The price difference was significant to me at least. I imagine for 3-phase the difference will be even greater.
Re: Home Automation Dealers in Chch?
Brett Davidson wrote: A long long time ago (in a galaxy near us however) Andrew Errington and John Carter corresponded about Home Automation in Christchurch. Andrew appeared to use dedicated microcontroller chips and John was pondering about X10 at that time (July 2007). I am building a new house at present and am looking at what control systems are out there worth considering implementing as this will help me what and where I should pre-wire and where I can use IR or bluetooth, etc. I want to do it all - switch audio/video along with control of appliances and monitoring of energy usage, etc. There's CBus, Qnet, Emax, and a whole host of others with wildly optimistic promises hence I wondered what (if any) experience people on this list had in the real word. Tie in to Linux - I would prefer that this be Linux (via embedded or not) control as I want as little proprietary content as possible. Cheers, Brett. There is an article on home automation in this month's Linux journal.. : )
Re: galleries on CD
Steve Holdoway wrote: Has anyone got any recommendations for software to generate CD's of images that have a nice browser interface. It would be nice if lightbox functionality were available, too. Unfortunately it'll need to be accessible through the evil empire as well, which is why I'm looking at browser based solutions. Will be built on a linux workstation, of course! tia, Steve digikam is a very nice photo databasing/editing app which has several gallery export options including a couple of html galleries and CD. Chris
Re: Social Net Work Sites
Nick Rout wrote: On Wed, Mar 11, 2009 at 10:27 AM, Jim Cheetham j...@inode.co.nz wrote: On Tue, Mar 10, 2009 at 10:29 PM, Geoff and Jude Marks jgma...@xtra.co.nz wrote: can anyone help out in suggesting the best social networking site for a community youth group in New Zealand. I don't understand the scope of the question; do you want a site that can be used to create your own network for this new group? If so, I'd recommend http://onlinegroups.net/ -- it's a Christchurch-developed Open Source groupware server, which offers free hosting. Interact via email, web, whatever. It's inherently kid-safe if you want it to be, because once a user has signed in, they only see your content. On the other hand, if you want to use a bigger public service, you're looking at facebook, bebo, etc ... but you get less control that way (and fewer ways to interact) And from my limited views of those sites, not necessarily kidsafe! better though than most of the sites the kids go to to download pirate game boy roms !
Re: Acer Aspire One netbook
Andrew Errington wrote: Hi all, In a previous email I mused at the wondrousness of being able to connect my new slimline DVD writer to my (very) old ThinkPad 600X running 4 year old Mepis. The drive was recognised and K3b worked properly. I burned all my photos to DVD as a backup and I was impressed that it just worked. Just a word of warning, and I am sure most of know this already: writeable DVDs and CDs make a very poor backup medium for periods exceeding 5Yrs. There are numerous sources of reference for this statement on the net but my personal experience comes from creating 13 CDs of mp3 about 6-8yrs ago now. They are of various brands but every single one has decayed now and contains read errors ! Handy to remember when you are just about to backup your lifetime of family photos ! Chris
Re: Hardy 8.04 modem concerns
Steve Holdoway wrote: On Mon, 02 Mar 2009 12:59:35 +1300 chris che...@gmail.com wrote: Installed the supplied dsl modem A Thompson speedtouch 510. Once the modem had connected to the adsl and the telltale lights were correct, plugged the machine in with no further issues. Blimey, there's still 2 of us out there. I've got other routers available here, but still use my 5 year old speedtouch! Steve. Mine's a Speedtouch Pro !! (thumbs nose) ;-) Chris
OpenOffice calc programming
Hi peoples, I have task to populate a spreadsheet cell in OO.Calc with data scraped from a web page. Has anybody there the experience to point me toward the required reading ?? From a cursory look it appears as though I may be looking toward using PyUNO or OO-Basic, preferably the former. Cheers, Chris
Re: Listing user installed packages in Debian....
Doug thanks, this is a really handy hint, it gives me a list about the same size as history|grep 'apt-get install' and roughly half of the same contents. (It a very new install so almost all the new packages are still captured there) : ) Chris Douglas Royds wrote: deborphan -an dpkg -l `deborphan -an --no-show-section` | less List all orphaned libraries (that I didn't --purge), and use dpkg to provide a description of each one -a List all packages (not just libraries) -n List the lot, even if they are recommended --no-show-sectionOnly the package name, thanks Chris Bayley wrote: In Gentoo I can easily see which packages I have deliberately installed from the command line using 'emerge foobar' by looking in the 'world' file - how do to I find the same information in Debian ? To be clear I do not want see all the installed packages on my system nor all the dependencies that I have caused be installed, just those foobars for which I have explicitly issued an 'apt-get install foobar' over and above a base system Cheers, Chris. === This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. ===
Listing user installed packages in Debian....
In Gentoo I can easily see which packages I have deliberately installed from the command line using 'emerge foobar' by looking in the 'world' file - how do to I find the same information in Debian ? To be clear I do not want see all the installed packages on my system nor all the dependencies that I have caused be installed, just those foobars for which I have explicitly issued an 'apt-get install foobar' over and above a base system Cheers, Chris.
Re: Tip for the Day: Keeping multiple cores busy...
gkrellmd on the server, Kerry Mayes wrote: Do you know of a command line program to watch the processor load on multiple cores? (I've been using top but it just gives a single figure. The other alternatives I've seen only give a point in time.) The machine I want to watch is a server and doesn't have a gui installed. It has twin dual core processors and is running a windows vm under vmware that is set to use two processors. I'd like to see whether it is using two of the notional processors or is just mimicing two processors. Cheers Kerry On 06/03/2008, John Carter [EMAIL PROTECTED] wrote: Now, if you have a dual core (like me) or higher processor... watch what happens to your CPU load with something like gkrellm. Only one core is doing all the work. The man page says... --max-procs=max-procs, -P max-procs Run up to max-procs processes at a time; the default is 1. If max-procs is 0, xargs will run as many processes as possible at a time. Well, lets make things happen twice as fast find ~/oldmail -type f | xargs -P 2 zgrep -i 'some keyphrase' Whoops... That didn't work. Still only keeping one core busy. Lets see what happen... find ~/oldmail -type f | xargs -P 2 echo -MARKER--- zgrep -i 'some keyphrase' -MARKER--- zgrep -i 'some keyphrase' file.1 file.2 file.3 ... Aha! xargs packed _all_ the files onto the command line of one zgrep instance, it didn't need to invoke a second. In fact, if only I had finished reading the man page... Use the -n option with -P; otherwise chances are that only one exec will be done. I would have known that! Let's try that again... find ~/oldmail -type f | xargs -P 2 -n 1 zgrep -i 'some keyphrase' Hmm. That's creating hundreds of setups and tear downs for zgrep. How about... find ~/oldmail -type f | xargs -P 2 -n 5 zgrep -i 'some keyphrase' Yip. Good balance. Both cores busy full time on useful work. John Carter Phone : (64)(3) 358 6639 Tait ElectronicsFax : (64)(3) 359 4632 PO Box 1645 ChristchurchEmail : [EMAIL PROTECTED] New Zealand
NFS exports with wildcards
Hi team, I had a curious problem with an attempt to create NFS export using wildcard declared hosts. The man:exports page has this to say: wildcards Machine names may contain the wildcard characters * and ?. This can be used to make the exports file more compact; for instance, *.cs.foo.edu matches all hosts in the domain cs.foo.edu. As these characters also match the dots in a domain name, the given pattern will also match all hosts within any subdomain of cs.foo.edu. so I set up an export thus: /tmp *.cs.foo.edu(rw,sync) and when I tried to mount it from a box with hostname='mybox' and dnsdomainname='mybox.cs.foo.edu' I get a permission denied error. But if export thus: /tmp mybox.cs.foo.edu(rw,sync) I can mount the export no problems. From the server and the guest I can ping either 'mybox' or 'mybox.cs.foo.edu' without problem. I tried even adding a reverse lookup for mybox's ip - but no change. Any wisdoms out there in *nix admin land ? : ) ChrisB
[SOLVED]Re: NFS exports with wildcards
I found the problem: I mention below that I tried Reverse DNS. In fact I stuffed up the reverse zone file by leaving off the trailing dot of the domain name! so I had the client IP resolving thus: xen1:~# host 10.64.9.15 15.9.64.10.in-addr.arpa domain name pointer leela.xen.au.ivc.15.9.64.10.in-addr.arpa. Not close enough !!! Cheers all. Chris Bayley wrote: Hi team, I had a curious problem with an attempt to create NFS export using wildcard declared hosts. The man:exports page has this to say: wildcards Machine names may contain the wildcard characters * and ?. This can be used to make the exports file more compact; for instance, *.cs.foo.edu matches all hosts in the domain cs.foo.edu. As these characters also match the dots in a domain name, the given pattern will also match all hosts within any subdomain of cs.foo.edu. so I set up an export thus: /tmp *.cs.foo.edu(rw,sync) and when I tried to mount it from a box with hostname='mybox' and dnsdomainname='mybox.cs.foo.edu' I get a permission denied error. But if export thus: /tmp mybox.cs.foo.edu(rw,sync) I can mount the export no problems. From the server and the guest I can ping either 'mybox' or 'mybox.cs.foo.edu' without problem. I tried even adding a reverse lookup for mybox's ip - but no change. Any wisdoms out there in *nix admin land ? : ) ChrisB
Re: sandboxes
I have had a 'good trip' with a hard disk (Debianised) install of DSL inside a 300M QEMU image. installs fast, is easy to handle, boots in a very few seconds, and lets you fool around to your hearts content and throw away the results whenever you wish . : ) ChrisB Aidan Gauland wrote: Hello all, What should I use if I had a program (for Linux, not Winblows) that I wanted to run, but did not trust fully? Such as a web browser plug-in installer, like the Flash installer, something did not come from my distribution's software repository. I tried chroot, but it didn't run like I thought it would, and does not seem to be what it's intended for. Thanks, Aidan
Re: Project Management Software
I find WebCollab quite useful although it doesn't have gantt. ChrisB Mike Pearce wrote: Hello, Any recommendations for some good Free Linux based Project managament software? I have googled and alot of Non-Free ones appear, and many so called free ones are not actually free (Time limited and not GPL). I have tried a Java based free one, but it tends to crash a bit. Interested in hearing if anyone is using anything at the moment, and any sugestions. Thanks, Mike
Re: visibility memory useage in elf binaries
Thanks guys, this is exactly the kind of feed back I was looking for and confirms the the approach I have taken in coding up a small python script based the output of nm -S. Cheers all, Chris
Re: looking for the book Understanding the Linux Kernel by Bovet Cesati
I have it and would be glad to lend it to you, contact me offline to arrange Regards, Chris Bayley Rohit Grover wrote: Hello All, I'm looking for the book Understanding the Linux Kernel by Daniel Bovet, Marco Cesati. The copies available through the library are on loan currently (is there a way to tell when they'll be back). Has anyone got a copy I could borrow for bedtime reading?--I'm quiet gentle with books and I promise I'll always brush my teeth and wash my hands before using it. Otherwise, if anyone's willing to sell a copy at a reasonable price, that'd be fine too. regards, Rohit.
visibility memory useage in elf binaries
Hi team, I am looking for a utility that will give me a really powerful look into the memory usage of my elf binaries What I want to do is something like this: first extract all the symbols and size information using nm -S, then graph the information with an expression in section terms ie (.text|.rodata) vs. an expression in symbol terms ie. symbols starting ('rtos_[.+]|gui_[.+]) thus the above example would show me the combined ROM useage of all the sybols being with 'rtos_' or 'gui_'. even cooler would be then to present the information in a pie chart fromat like 'filelight' or konqueror's 'radial view' does with the ability to drill down and look in more detail at a given area. If you are a programmer and can identify the need I refer to above what are the tools you are already using to glen this kind of analysis of memory usage in your programs ?? What I am aiming at here is a powerful tool which will help show me where to take a scalpel to a slightly overweight binary constructed from 1000 objects. Regards, Chris
Re: tcl/tk(.h) on suse ?
Volker Kuhlmann wrote: If you installed via the net your install repo should already contain the packages you're after. CHeck with yast installation sources what repos you have configured, there must be a problem there. The packages is in the oss repo (which is the base repo) You were right - I installed from the dvd (not present on this occasion) and added many repositories - but not the install repo which replaces the dvd oops! CB
tcl/tk(.h) on suse ?
What I am missing that I cant locate the packages tcl-dev and tk-dev for suse 10.2. specifically I need both tcl.h and tk.h which I presume rightly or wrongly come from the aforementioned packages. cheers, ChrisB
Re: tcl/tk(.h) on suse ?
I can find neither -dev nor -devel, wracking my brains really - can't help thinking that I am missing something about install source packages on suse. CB Nick Rout wrote: Chris Bayley wrote: What I am missing that I cant locate the packages tcl-dev and tk-dev for suse 10.2. specifically I need both tcl.h and tk.h which I presume rightly or wrongly come from the aforementioned packages. cheers, ChrisB may be postfixed -devel rather than -dev on suse, although your search strategy should find those as well.
Re: tcl/tk(.h) on suse ?
Thanks Volker That puts me in whole lot stronger position for finding packages now - I discovered pin during this exercise but hadn't heard of susegrep before and I am very pleased to hear of it. In the end I used pbone to locate some rpms and installed them - I have 6 or so of the common repos configured but for some reason can't locate tk-devel there - it may become clear one day. thx Chris Volker Kuhlmann wrote: On Fri 20 Apr 2007 22:53:21 NZST +1200, Chris Bayley wrote: What I am missing that I cant locate the packages tcl-dev and tk-dev for suse 10.2. specifically I need both tcl.h and tk.h which I presume rightly or wrongly come from the aforementioned packages. Your setup and search strategy both have a problem. pin tk.h will tell you some info. If you want nicer output, susegrep will tell you but you'll have to initialise its info from your silver platters first. susegrep -f /tk.h [irrelevant hits deleted] tk-devel-8.4.14-11.i586.rpm:/usr/include/tk.h So the package is called tk-devel. SUSE has always called development packages (C header files, static libraries) xyz-devel, so any search in yast for tk or tcl would have found them. Now what disk(s) is it on? susegrep ^tk-devel tk-devel-8.4.14-11.i586.rpm cd5 suse/i586 tk-devel-8.4.14-11.i586.rpm dvd1 suse/i586 tk-devel-8.4.14-11.x86_64.rpm dvd1 suse/x86_64 - CD 5 and the DVD. My index was built from the boxed set media. Minor rpm release numbers excepted, the online disk images would give the same result. You could install with yast2 -i tk-devel, it would install all dependencies and prompt you for inserting the disks as needed. If you installed via the net your install repo should already contain the packages you're after. CHeck with yast installation sources what repos you have configured, there must be a problem there. The packages is in the oss repo (which is the base repo) 391927 2006/11/26 02:59:26 repo/oss/suse/i586/tk-devel-8.4.14-11.i586.rpm Volker
Re: Linux device
I did have an iPaq which I flashed with 'Familiar' IIRC - it was very cool. Maybe I pick up an older ipaq off trademe (some are very cheap) and have a go at the lotus thing C Don Gould wrote: I've got an iPAQ that I'd like to have a go at doing this with. Would like to work with ppl who are interested in doing a weekend or evening work shop, would perfer not to try in anger my self. Cheers Don Isaac Devine wrote: iPAQ's generally can be flashed to have a version of Linux on them. Don't know about Lotus Notes though. On 4/10/07, chris bayley [EMAIL PROTECTED] wrote: Just a quick query, as I embark down the path of looking at PDA/smartphone type devices. Is anyone aware of a Linux powered PDA or smart phone that will calender/contact sync with Lotus Notes ? Me: linux nut, current employer Lotus user. Tying to to sort out summin useful. : ) Chris
Linux device
Just a quick query, as I embark down the path of looking at PDA/smartphone type devices. Is anyone aware of a Linux powered PDA or smart phone that will calender/contact sync with Lotus Notes ? Me: linux nut, current employer Lotus user. Tying to to sort out summin useful. : ) Chris
Re: LAST NIGHTS MEETING
The link is posted... John Rye wrote: On Thu, 15 Mar 2007 16:15:49 +1300 Chris Bayley [EMAIL PROTECTED] wrote: Ok... Both John's exposition on the nature of linux and the audio transcript of the evening are now available via the clug wiki http://clug.net.nz/index.php/PreviousPresentations. the audio is in ogg and weighs in at 12M for the 70min talk so should be accessable for the majority of interested parties I will link the point notes if they become available to me... Chris, the wiki is showing link to come for the audio, am I too late? John
Re: sabayon 3.3
So..if one ultimately wanted a gentoo box does it make sense to use sabyon for the install in order to cut down on the time required ? Does saby use the std gentoo repos ? ChrisB Nick Rout wrote: On Mon, March 19, 2007 9:35 am, Brett Davidson wrote: What're the benefits of Sabayon over other distros? No flame wars please - just interested in what it claims about itself but am too busy at present to look and also thought others might like to know. Brett. Its a precompiled gentoo system with good support for the latest X frills like AIGLX, Beryl etc. It is installable to the hard drive, you may or may not like the theme, its all orange and black. It is runnable as a live dvd if you want to try it out. Advantages: all the support etc of gentoo. All the flexibility of gentoo. Precompiled for quick install. Lots of apps. Disadvantages: all the flexibility of gentoo.
Re: free speech, lawyers, and the nature of source code, etc. (was Re: AAC licence)
There exists a facinating exploration of these issues @ http://www.cs.cmu.edu/~dst/DeCSS/Gallery/ which came into being after the while DeCSS debacle and subsequent legal rulings. Source vs. object seems a legal argument that is far from settled - the introduction reads: / / /Judge Kaplan subsequently issued a memorandum order http://www.eff.org/ip/Video/MPAA_DVD_cases/2202_ny_memorandum_order.html in which he indicated that executable source code was not subject to First Amendment protection against prior restraint of speech. This finding is contrary to that of the 9th Circuit US Court of Appeals, who ruled http://www.eff.org/bernstein/Legal/19990506_circuit_decision.html in the Bernstein cryptography case that source code is indeed protected speech. In their decision, The 9th Circuit even quoted some Scheme code from the declaration http://www.eff.org/pub/Privacy/ITAR_export/Bernstein_case/Legal/960726_filing/HTML/abelson_decl.html of MIT Professor Harold Abelson, explaining why source code is an effective and sometimes preferred means of human communication. Professor Andrew Appel of Princeton University also filed a declaration http://www.eff.org/pub/Privacy/ITAR_export/Bernstein_case/Legal/960726_filing/appel.decl explaining the importance for computer science of being able to publish source code. More recently, the 6th Circuit US Court of Appeals ruled http://pacer.ca6.uscourts.gov/cgi-bin/getopn.pl?OPINION=00a0117p.06 in the Junger cryptography case that, independent of its functional significance, the expressive nature of source code affords it First Amendment protection. / :-) ChrisB stringer wrote: I like to argue it to the computer illiterate thus: Source code is human readable (supposedly!!) Machine code is what the computer chip understands (whether PC or Mac) A compiler simply translates from one to the other. So in reality, its corollary is translating English into another language (whether French or German or whatever) Source code and machine code are really the same thing, just as the Count of Monte Christo is the same thing written in English as in French! Q.E.D. At 13:26 16/03/07 +1300, you wrote: On Fri, 16 Mar 2007, Gabriella Turek wrote: With instructions that involve physical properties (such as how to cook spaghetti, or how to speak effectively) the instructions alone don't get you very far. You need labour and possibly raw materials. With source (or object) code, the instructions are pretty-much everything. One could argue that unless you can compile the stuff, you can't do very much. Compiling is not necessarily straight forward, Well I suppose it all depends on how you define the word compiling. Launching the compiler to convert source code into object code is as simple as falling off the proverbial log [1], whereas what the compiler does internally to achieve this conversion is, I agree, far from simple. Many Doctorate theses have been won creating and enhancing the process. although I presume you could take the src and use it to write something you can compile yourself. Provided you have the tools and dependencies to do it, you can _always_ compile somebody else's code. That's what you are doing whenever you write 'make' to the shell while in the top directory of a source code tree. [1] See Lesson01 in:- ftp://svr-ftp.eng.cam.ac.uk/misc/sawtell_C.shar or locally http://shell.clug.org.nz/~chris/sawtell_C.shar Whilst that was written some 15 years ago it is still relevent today. The point Carl I are trying to make is that compiling is a fixed mechanical process which does nothing whatsoever to change the fundamental meanings or algorithms expressed in the source code. In the case of the source code the algorithms are expressed in a human readable form, whereas the executable code produced by the compiling and linking processes expresses the identical algorithms in a machine readable form. The actual meaning has not been changed one iota. I would love to know what logical processes the US Congress used to split the hair which allowed it - Congress - to legislate that the source code of a program is free-speech, whereas the executable binary file is not. -- CS STRINGER SON per: David J H Stringer STRINGER SON, - For all your legal work; P O Box 1386 CHRISTCHURCH NEW ZEALAND Phone 64 - 3 - 366 1152 FAX 64 - 3 - 366 1151
Re: LAST NIGHTS MEETING
John handed out some pages of google triggers, mine was pinched (such was the demand for John's wisdom! ) but he may be so kind as to post them to the list ? He also had a rather nice exposition on 'what is Linux' designed for corporates which he promised to post to the CLUG wiki. I have an audio transcript of the evening with which I should do something - a pod cast or similar ? or just an mp3 ? what would be most consumable by the masses ? Overall it was a most informative talk, and I for one would have been very happy to listen to at least 15 mins of coverage on all of John 60 points! Alas there just ain't enough hours in the day to learn all that one would! Thanks very much John!! Chris Nick Rout wrote: I forgot the meeting was even on. Excuse my language, but BUGGER! On Wed, March 14, 2007 11:01 am, Don Gould wrote: Dear Mr Carter, CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP CLAP Some where in the fun, we forgot to thank Mr Carter in the usual way. Thank you to everyone who contributed to a very interesting meeting! Cheers Don -- Don Gould www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz - www.bowenvale.co.nz - www.hearingbooks.co.nz - www.crra.org.nz - www.justhelicopters.co.nz - www.buxtonsquare.co.nz - skype:ThinkDesignPrint?add - Good ideas: www.solarking.co.nz
Re: IMAP Server that supports sub folders
courier-imap supports that and was a no-brainer to set up Don Gould wrote: I'm currently using dovecot It doesn't support folders within folders but is easy to set up. Can anyone recommend what I should set up on my new debian server that will do subfolders in folders and be easy for me to set up? Cheers Don
Re: Alcatel Speedtouch Pro (ADSL Router)
I am currently running a PRO - have been for years. The difference to the HOME is the addition of a NAT router on the PRO. If you use it in this mode then there is nothing to setup in linux other than basic network configuration ie. a valid dhcp client server relationship or manual ip config etc. The HOME requires that you to set up pptp on a your linux box. In many firewall distros (such as IPCop) this is done for you and you simply tell the firewall which pptp phnone book entry to use. So if you use the PRO in PPTP mode it's like the home and I hear there is a hack somewhere to turn a HOME into a PRO. So... the easiest setup with linux is to use a PRO in ppp mode with NAT routing and DCHP DNS services active and your machine as DHCP client - like that it will 'just work' until you want to run any internet servers at which point you can read http://www.nzdsl.co.nz/howtos/Alcatel/alcatelpinholing.html in order to open the outside ports which you desire to serve from - eg http, smtp, bittorrent etc I have run the PRO like this, in PPTP with IPCop, and in BRIDGE mode with a WRT54G in France (but I get get the same thing to work here!). If you need to swap notes just ask. Regards, Chris Kerry Mayes wrote: Has anyone out there set up one of these? I know they are really old but should still work alright. Apparently I can now get ADSL (not that Telecom actually *told* me or anything) so I have signed up but am having difficulty connecting. i found an old (2001!) article (http://www.wlug.org.nz/AlcatelSpeedTouch) on setting these up under linux but am still having difficulty. when I use the command: pptp ip.address.of.your.adsl.modem user yourADSLusername persist i get a message like device is required to authenticate but no secret is found (I set the password in /etc/ppp/pap-secrets as described). Kerry
Re: Resignation
Thanks for all your hard work these past few years Zane! CU Tuesday Chris Zane Gilmore wrote: I've just realised that I haven't told you guys on the list. Today is my last day as an employee of the University of Canterbury. This means that I will no longer be looking after the working of the list. Brendon Wyber has very kindly agreed to look after things now. I still intend to stay on the list but will no longer be adding and subtracting people who have email problems etc. Hopefully be seeing you on Tuesday. Regards, Zane
Re: Wifi access to dial-up
I have sent him forth like an arrow from a bow to bid on a airport/modem combo. Thanks for all the suggestions.. Chris chris bayley wrote: I am just thinking about some wifi solutions for my father who lives in a rural setting and is limited to dial-up access to his ISP. He wants to have wifi internet access around the farmhouse but the only connection point is via dial-up over a radio linked telephone - way slow!. 1/Of course first reaction would be to put in an ipcop type box with a modem and a wifi card - would work well but the box is kind of large for the location of the phone point -- the hallway 2/ Move the phone socket. - The walls are all concrete block! 3/ I found this device which looks kind of cool, if not a little pricey / hard to source in NZ: http://www.geekzone.co.nz/content.asp?contentid=5647, but it seems to have the required functionality Any other other neat ideas floating around - perhaps some linux device with the required interfaces attached ie. nslu2 w/ usb modem wifi ? Chris
Re: can xp be loaded by default and not opensuse?
If you are using the 'grub' boot loader then simply change the 'default=?' line in /boot/grub/menu.lst to indicate your XP entry in the same file. If you use the 'lilo' bootloader then wait until a lilo user chimes in. Chris Reg wrote: Can XP be loaded up at startup by default rather than Opensuse? Just to make my question more clear, I am talking about when the computer starts and you get to the boot menu where you have to manually choose windows, if you don’t it will automatically load Opensuse. Yes I know you are all going to say why would you want to? But I have my reasons J eg family members who use this computer more than me and they use XP. A related problem is that this particular machine keeps spontaneously rebooting itself. Regards Reg
Wifi access to dial-up
I am just thinking about some wifi solutions for my father who lives in a rural setting and is limited to dial-up access to his ISP. He wants to have wifi internet access around the farmhouse but the only connection point is via dial-up over a radio linked telephone - way slow!. 1/Of course first reaction would be to put in an ipcop type box with a modem and a wifi card - would work well but the box is kind of large for the location of the phone point -- the hallway 2/ Move the phone socket. - The walls are all concrete block! 3/ I found this device which looks kind of cool, if not a little pricey / hard to source in NZ: http://www.geekzone.co.nz/content.asp?contentid=5647, but it seems to have the required functionality Any other other neat ideas floating around - perhaps some linux device with the required interfaces attached ie. nslu2 w/ usb modem wifi ? Chris
Re: xinerama
Sax is a SuSE linux thingy wnich configures X for you.. It just a set up tool Chris Kerry Mayes wrote: Hi Derek Thanks for the file. It appears that you are using something called SaX that wrote your xorg.conf. It's quite confusing, there are references to twinview as well as xinerama - I thought it was either/or. Twinview only works on your brand of card so I suppose you fit into the proprietary camp! I can't find an appropriate reference to SaX - it appears to be an XML editor! Kerry. On 12/02/07, Derek Smithies [EMAIL PROTECTED] wrote: Is Xinerama required? Well yes, cause if the driver supports it, there is a better chance all your apps will work on your graphics system.
Re: module loading suse 10.2
Nick Rout wrote: On Tuesday 06 February 2007 17:22, chris bayley wrote: When I insert new hardware into my suse10.2 system, which is the process that is responsible for detecting this and determining which is the appropriate module to load ? and how do reconfigure the choice of module ? So far I have observed that it is not hotplug, kerneld, nor card-services is it HAL ? I think thats the way it normally works. Chris In fact it looks to me like it's udev that's responsible - am now enhancing my knowledge on the subject - more to follow Chris
Re: module loading suse 10.2
Nick Rout wrote: On Tuesday 06 February 2007 21:50, chris bayley wrote: Nick Rout wrote: On Tuesday 06 February 2007 17:22, chris bayley wrote: When I insert new hardware into my suse10.2 system, which is the process that is responsible for detecting this and determining which is the appropriate module to load ? and how do reconfigure the choice of module ? So far I have observed that it is not hotplug, kerneld, nor card-services is it HAL ? I think thats the way it normally works. Chris In fact it looks to me like it's udev that's responsible - am now enhancing my knowledge on the subject - more to follow Chris A yes, maybe udev tells hal or something. If you google udev usually the first hit is an article from one of the gentoo guys on customising udev - in fact here it is: http://www.reactivated.net/udevrules.php Yeah thats a great page that I keep well bookmarked, but it mostly speaks of how udev names devices but doesn't mention udev's role in loading kernel modules. Chris
Re: module loading suse 10.2
Nick Rout wrote: On Tuesday 06 February 2007 22:45, Nick Rout wrote: http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/sles9/adminguide-sles9/ch14.htm l The above may be helpful, given that it is for suse. OTOH it is for an older version and the kernel has made significant progress over the relevant period. Must.stop.replying.to.myself. http://www.novell.com/documentation/opensuse102/index.html?page=/documentation/opensuse102/opensuse102_reference/data/sec_udev_hplug.html seems more up to date and says: The formerly used hotplug package is entirely replaced by udev and the udev-related kernel infrastructure. The following parts of the former hotplug infrastructure have been made obsolete or had their functionality taken over by udev: 16.9 For More Information For more information about the udev infrastructure, refer to the following man pages: udev General information about udev, keys, rules, and other important configuration issues. udevinfo udevinfo can be used to query device information from the udev database. udevd Information about the udev event managing daemon. udevmonitor udevmonitor prints the kernel and udev event sequence to the console. This tool is mainly used for debugging purposes. In other words RTFM LOL... Yup that's the one I have been reading and leads me to the salient points below: 1. It seems that for each device the kernel generates a MODALAIS and passes that via UEVENT to UDEV. 2. The MODALIAS of the device which driver can handle is stored in the kernel module itself. 3. depmod scans all the available kernel modules working out dependencies and builds a databases of available handlers for the various MODALIAS. 4. modprobe -c will list the content of said database. 5. this database is stored in files modules.alias and similar. 6. the module I want loaded upon insertion of my multiport serial card doesn't contain the MODALIAS string from [2] 7. the module I want loaded is therefore not contained in the database and not loaded upon insertion. 8. the kernel included module does load in it's place but is not fully functional. hmmm... Chris
Re: module loading suse 10.2
Baby your the one... That was just what I needed, it probably should have occurred to me before. Now the module loads when appropriate - it just doesn't behave - but that's an issue for the author! ; ) Thanks! Volker Kuhlmann wrote: [good stuff] 4. modprobe -c will list the content of said database. 5. this database is stored in files modules.alias and similar. 6. the module I want loaded upon insertion of my multiport serial card doesn't contain the MODALIAS string from [2] 7. the module I want loaded is therefore not contained in the database and not loaded upon insertion. 8. the kernel included module does load in it's place but is not fully functional. The modprobe aliases are there to be easily changed to the device driver you want to use for some bit of kit - so I understand. You can insert your own alias-driver translations with files in /etc/modprobe.d/ Or did I misunderstand where you're at? Volker
Re: procmailrc
Your destination folder depends on the type of IMAP server you have - there are several formats: Traditional Unix mbox format maildir format maildir format on a Courier IMAP server MH format (* http://www.ii.com/internet/robots/procmail/qs/#rcvstore) |IN-testing| |IN-testing/| |.IN-testing/| |IN-testing/.| |IN-S-procmail| |IN-S-procmail/||.IN-S-procmail/| |IN-S-procmail/.| |IN-S-vim| |IN-S-vim/| |.IN-S-vim/| |IN-S-vim/.| I use Courier so on my system lugs mail goes to : .LUGS/ ChrisB Don Gould wrote: Can anyone see what I've done wrong? I added a bunch of new items at the top of the file and now all my mail is ending up in my inbox. LOGFILE=/home/don/procmail.log VERBOSE=on MAILDIR=$HOME/mail :0 * ^(To|Cc):.*lists\.wellylug\.org\.nz LUGS :0 * ^(To|Cc):[EMAIL PROTECTED] LUGS :0 * ^(To|Cc):[EMAIL PROTECTED] LUGS :0 * ^(To|Cc):.*lists\.netfilter\.org NetFilter :0 * ^(To|Cc):[EMAIL PROTECTED] Lists :0 * ^(To|Cc):.*lists\.thekelleys\.org\.uk Lists :0 * ^(To|Cc):[EMAIL PROTECTED] LUGS :0 * ^(To|Cc):.*eclipse\.org Lists :0 * ^(To|Cc):.*nzoss\.org\.nz NZOSS :0 * ^(To|Cc):[EMAIL PROTECTED] Asterisk :0 * ^(To|Cc):[EMAIL PROTECTED] CLUG :0 * ^(To|Cc):.*LISTSERV\.CANTERBURY\.AC\.NZ CLUG :0 * ^Subject:.*test TEST :0 * ^Subject:.SPAM*** Trash :0 * ^Subject:.*\[SPAM-Bowenvale\] Trash :0 * ^Subject:.*\[Beestings\] Lists :0 * ^(To|Cc):.*procmail@ Lists :0 * ^From:.*seek\.co\.nz Jobs :0 * ^From:.*trademe\.co\.nz TradeMe :0 * ^Subject:.*\[webmin-l\] Webmin :0 * ^Subject:.*\[Soekris\] Soekris :0 * ^Subject:.*\[IP\] IP :0 * ^(To|Cc):[EMAIL PROTECTED] IPCop :0 * ^(To|Cc):[EMAIL PROTECTED] PPTP :0 * ^(To|Cc):[EMAIL PROTECTED] PPTP :0 * ^(To|Cc):.*nznog* NZ_Nog :0 * ^(To|Cc):[EMAIL PROTECTED] Mambo :0 * ^(To|Cc):[EMAIL PROTECTED] ADSL :0 * ^(To|Cc):[EMAIL PROTECTED] CLUG :0 * ^(To|Cc):.*nanog* NA_Nog :0 * ^(To|Cc):.*gnuz* CLUG :0 * ^(To|Cc):[EMAIL PROTECTED] LARTC # :0 # * ^(To|Cc):[EMAIL PROTECTED] # IP\ # :0 # * ^(To|Cc):.*webadmin* # Webmin\ # :0 # * ^(To|Cc):.*soekris* # Soekris # :0 # $MAILDIR/
Re: Pros and cons of rescue systems (Was: missing codecs)
Christopher Sawtell wrote: It's not in the kernel basically because Linus and Hans are, in effect, a pair of non-communicating entities. Certainly that is the case currently! I should think that with his recent activities Hans has isolated himself from the majority of the worlds open source movement, it's certainly enough to put me off using reiser - call me idealogical i guess, it just doesn't taste good ;-) ChrisB
Re: Linux as a firewall server
As a firewall box, I would think that the critical component is IPtables/Netfilter to do all your NAT and port filtering, after that squid as a caching proxy and squidguard/dansguardian for content filtering and set up IPtables to force transparent proxying though squid so that the kids can't side step the content filter by turning off the proxy in their browsers! ChrisB amoafo wrote: Hello, Sorry I should have mentioned that I have two NIC installed on this computer and so far I have installed LAMP but that is something to use down the track. Osei *From:* amoafo [mailto:[EMAIL PROTECTED] *Sent:* 31 January 2007 13:01 *To:* linux-users@it.canterbury.ac.nz *Subject:* Linux as a firewall server Hello, I have installed Ubuntu on my newly acquired (second hand) computer. My aim is to use this as a firewall server between my computers at home and my ISP. I am thinking of squid or pound but I guess there must be a whole heap of better other stuff out there for this. Also if you think pound or squid is the way to go, I would not mind any help as to how to configure it. Rick was really good to me the last time when I wanted to upgrade my mandrake. Any ideas will be very welcome Osei _OF Amoafo_ 65 Harris Crescent Papanui Christchurch phone +6433521586 fax +6433521587
Re: Dell sells computers without Windows preinstalled
I did just that recently, and ended up with a Thinkpad T43, and so far I have not found one thing that does not work with linux, and with suse(10.1) 95% of that was right out of the box(suspend hibernate networking etc). I have installed the ATI driver and also found a driver to get extended information form the battery...but thats all. I understand why it was Linux Journal's Editor's choice last year! Chris Nick Rout wrote: On Wed, 24 Jan 2007 20:34:22 +1300 Volker Kuhlmann [EMAIL PROTECTED] wrote: Is it possible to do that if want a laptop? If you want a laptop, you close your eyes, hand over your money, and take whatever you get. It's always been costly to get a laptop, the cost is not only monetary. Perhaps you don't need a laptop afterall? ;) There are two good sites with linux laptop info, with laptops listed by model, and links to user sites which describe user experiences. http://www.linux-laptop.net/ and http://tuxmobil.org/mylaptops.html A combination of those sites and trademe should provide you with sufficient information to make an informed decision.
Re: curious amavis/spamassassin issue
situation is now much improved after I have explicitly declared all my domains in '@local_domains_maps =' in amavis.conf Chris chris bayley wrote: I run amavis on postfix to virus and spam scan all my mail. I merely add spam headers to the spam and let procmail sort out what to do with it. For some time now i have noticed some spam slipping though becuase the Spam headers are not there. My first thought was that for some reason these pieces of mail weren't running through spamassasin but looking at the logs confirms that amavis using spamassassin HAS found these messages to be spam but for some reason the spam headers are not being written. Any thoughts as I continue my investigations ?? : ) Chris
Re: Gear for swap....
Thanks Volker, Don's on it for the moment. I have been thinking of your recently as I make my foray in SUSEland. I have a new(used) laptop on board and I had 10.1 running in under 25minutes and all the important 'laptop bits just worked! - powersave, suspend, WiFi (even though the card requires firmware upload), color me impressed! I am mourning my Gentoo a bit, but 3 years after with it on my older thinkpad I still did not have as many laptop bits that worked right : ) Chris Bayley Volker Kuhlmann wrote: Hi Chris, Up for Grabs: PIII 600Mhz MB +CPU ATI Rage Pro video AGP 512 Mb SDRAM CDROM ATX p/s That stuff would be worth a pizza! Want I want for it: A SUSE 10.2 dvd delivered to my door in Lyttelton Any takers ??? Should be no problem. Those specs make a nice X terminal. I'd be happy to supply the DVD (Goldmaster, 32 or 64 bit) if someone gets stuck. Volker
Gear for swap....
Up for Grabs: PIII 600Mhz MB +CPU ATI Rage Pro video AGP 512 Mb SDRAM CDROM ATX p/s Want I want for it: A SUSE 10.2 dvd delivered to my door in Lyttelton Any takers ???
nVidia teething issues
I have recently moved over from a long tradtion with ATI to my first nVidia card (GeForce 7100GS) and I have noticed the functionality of 'X -configure' is somewhat less than I am accustomed to with the ATI cards; i.e. with the ATI cards when I issue the above command X gives me a config with my monitor details well spec'ed and X functions in a great variety of modes and refresh rates. With the nVidia card X can't detect any details of the monitor and X fucntions by default in just one mode/Vrate: 1280x1024/75Hz unless I hand code other modes into the .conf file. Is this normal behavior for nVidia cards ? Do I have to configure all of the modes and the monitor details by hand ? Xorg is v. 7.1.1 nVidia-driver is v. 1.0.8776 Cheers, Chris
wanted: NCD Explorer...
Anybody got one of those NCD Explorer (451 or like) that you could bear to part with ? There were a few circulating on the list a coupe of years back - perhaps there are 1 or 2 that have been retired since then : ) Chris
Re: Need help with Spamassassin rules....
It seems I answered too quickly, upon snooping around a bit further I find that I have had spamcop, spamhaus and surbl configured for some time now, so things aren't as bad as I thought. I have ditched Maia now, it was easy enough to set up, but just adds more complication to the mix and didn't really add significant value or efficacity to the system. So I have gone back to a straight amavis/sa filter and will hand tune it and see where I get to. I have the impression I will need to create a SA plugin to the perform the test I originally posted about. Thanks for the pointers all. Chris Steve Holdoway wrote: You're asking someone who peddles a (far better!) competitor to SA how to set it up! Sorry, I *really* don't know. IIRC you use postfix... they plug in there pretty well. Either way, I'm sure googling spamassassin/rbl/howto you'll find what you're after. Now, if you used sendmail/qmail, then I'd be trying to sell you a really nice bridge at this time (: Steve On Tue, 25 Jul 2006 14:22:46 +0200 chris bayley [EMAIL PROTECTED] wrote: Thanks Steve, no upon investigation it seems I'm not using them yet, nor SURBL or URIBL so it appears there is some room for improvement in my system performance.
Re: Need help with Spamassassin rules....
Thanks Steve, no upon investigation it seems I'm not using them yet, nor SURBL or URIBL so it appears there is some room for improvement in my system performance. OOI I have recently tried maia-mailguard which ties together amavisd, spamassassin and MySQL into a web based admin interface. However out of the box but after some weeks of bayes training and white/black listing it's efficiency has never exceeded %85 - not great really, so I committing myself to getting a bit more 'hands on'. Chris incedentally how do I configure SA for the rbls you mention... Steve Holdoway wrote: To answer your question by ignoring it (: Are you using rbls?? We use bl.spamcop.net sbl-xbl.spamhaus.org relays.ordb.org combined-HIB.dnsiplists.completewhois.com And it makes a big difference. Steve On Mon, 24 Jul 2006 23:18:15 +0200 chris bayley [EMAIL PROTECTED] wrote: Hi guys, a continuous torrent of spam has been driving me to distraction recently and the out of the box configurations seem to be loosing ground so it [snip]
Need help with Spamassassin rules....
Hi guys, a continuous torrent of spam has been driving me to distraction recently and the out of the box configurations seem to be loosing ground so it come time for me to learn about writing custom rulesets for spamassassin. Unfortunatly the first rule I want to write appears to be a bit more than a simple regex : ( Here's what I have observed about the bulk of the spam that comes my way and what differentiates from the ham: Received: from YOUR-4ECD8HHOVM.druuvln.net (unknown [70.106.176.148]) by mail4.zoneedit.com (Postfix) with ESMTP id 027C1A529F for [EMAIL PROTECTED]; Mon, 24 Jul 2006 10:15:41 -0400 (EDT) In the received headers for spam the sending domain is almost always forged and for ham I can find no example of this nor any valid reason for doing so. First job; there are many Recieved headers and the one that is of interest is where the mail enters my mail domain and can be identified by 'mail?.zoneedit.com' in the second line. Then; pull the claimed sender domain e.g. druuvln.net and comapre it to a hostlookup on the real sender ip [70.106.176.148] or the zoneedit supplied lookup 'unknown', then when they don't match add LOTS of points to the spam score Does anyone know if a spamassassin rule can be this sophisticated or is it necessary or is there even a way to break out into some script for this test ?? Regards, Chris Bayley
In over my head with bash scripting....
Hi team I have been whipping up a wee bash script to empty out the photos of my digital camera to my storage device. It runs from ivman when the camera is plugged in and the idea was to have as little user intervention as possible. It started off as a small bash script that was all right if you were watching on a terminal, but not robust enough to run unsupervised. I have come unstuck when trying to deal with CLI programs that expect an input on stdin but give me a question on std{out/err} that has no linefeed. I have found it very tricky indeed to read stdout when there is no LF. Here is some example code: #/bin/bash # init some files and a pipe to play with touch file{1,2} mkfifo pipe1 catch_question() { # with this read loop I would like to read from stdin (the std{out,err} from cp) # problem is with the 'file exists, overwrite (y|n)?' type questions a LF is often # not sent in order the the user input occurs on the same line. # hence 'read' seems unusable in this context ? while read LINE do # if I find something of concern then I will do my own UI for the question? if echo $LINE|egrep 'overwrite.+?' /dev/null then if kdialog --yesno $LINE # your choice of UI here then # and copy a response to the pipe for the blocked cp echo y pipe1 else echo n pipe1 fi fi done } # here I have a cp that complains of existing files # stderr and stdout are combined and piped to 'catch_question' # cp is expecting responses from the named pipe 'pipe1' cp -iv file1 file2 21 pipe1 | catch_question #clean up rm file1 file2 pipe1 So, if anyone has some ideas about how to read 'incomplete' lines from stdin or approaches to the task above I'd love some new ideas. Meanwhile I'm off to 'man expect' - I may be some time! : ) ChrisB
Re: In over my head with bash scripting....
Yup, it appears that I have some howework to do! C Steve Holdoway wrote: man expect may simplify this task. However, be warned - people have written books on expect alone! Steve On Tue, March 7, 2006 12:31 pm, chris bayley wrote: Hi team I have been whipping up a wee bash script to empty out the photos of my digital camera to my storage device. It runs from ivman when the camera is plugged in and the idea was to have as little user intervention as possible. It started off as a small bash script that was all right if you were watching on a terminal, but not robust enough to run unsupervised. I have come unstuck when trying to deal with CLI programs that expect an input on stdin but give me a question on std{out/err} that has no linefeed. I have found it very tricky indeed to read stdout when there is no LF. Here is some example code: #/bin/bash # init some files and a pipe to play with touch file{1,2} mkfifo pipe1 catch_question() { # with this read loop I would like to read from stdin (the std{out,err} from cp) # problem is with the 'file exists, overwrite (y|n)?' type questions a LF is often # not sent in order the the user input occurs on the same line. # hence 'read' seems unusable in this context ? while read LINE do # if I find something of concern then I will do my own UI for the question? if echo $LINE|egrep 'overwrite.+?' /dev/null then if kdialog --yesno $LINE # your choice of UI here then # and copy a response to the pipe for the blocked cp echo y pipe1 else echo n pipe1 fi fi done } # here I have a cp that complains of existing files # stderr and stdout are combined and piped to 'catch_question' # cp is expecting responses from the named pipe 'pipe1' cp -iv file1 file2 21 pipe1 | catch_question #clean up rm file1 file2 pipe1 So, if anyone has some ideas about how to read 'incomplete' lines from stdin or approaches to the task above I'd love some new ideas. Meanwhile I'm off to 'man expect' - I may be some time! : ) ChrisB
Re: In over my head with bash scripting....
Christopher Sawtell wrote: On Tuesday 07 March 2006 12:31, chris bayley wrote: Hi team I have been whipping up a wee bash script to empty out the photos of my digital camera to my storage device. You can mount some cameras as USB storage devices, thus making their memory to appear as if its a standard drive. Not so my Canon cameras, though I get good results with ghpoto2(cvs) and the PTP protocol. (Are all canons PTP only ?) [ ... ] Don't forget that cp has a --force option which makes it silent, ie it changes the mode from 400 to 644 provided you own the file, but it seems that it doesn't change it back. For shutting it up completely you can always redirect the stderr o/p to /dev/null the cp was only by way of example, but in fact I am currently using the --force-overwrite option of gphoto to the same effect. I guess I will keep using it like this until I overwrite something I wanted or I did myself out of my scripting tangle. Also the test command allow you test all manor of details about files, and whether a previous command succeeded. Many unix systems ( used to ) link /usr/bin/test to /usr/bin/[ but it seems my current Linux distro doesn't cp --help man cp man test The advanced bash scripting guide:- http://personal.riverusers.com/~thegrendel/abs-guide-3.7.tar.bz2 ( not terribly 'advanced' actually ) but it's not bad all the same, also 'Unix Power Tools'(http://www.unix.org.ua/orelly/unix/upt/index.htm) has some real handy tricks in it! ChrisB ; )
module load order
When my gentoo(kernel 2.6.14) system boots up coldplug detects the pcmcia-usb card attached and loads both ohci_hcd and ehci_hcd in that order as the usb host drivers. Now the problem is that if the attached usb peripherals are USB1.0/2.0 compatible they are first bound to the ohci_hcd(USB1/full_speed) driver and not the ehci_hcd(USB2/high_speed) driver resulting in the dictated reduced performance. I could remove the ohci_module from the kernel build, but I am sure there is a more elegant solution to specifying the discovery order to hotplug, I'm just not sure what it is yet. Any takers ? : ) ChrisB
Re: Jumpy DVD playback
I had the same thing recently, IIRC it was a kernel version bump that disabled several kernel configs including BLK_DEV_(your chipset_here) after rebuilding I was again able to enable DMA HTH Chris Bayley Joshua Collins wrote: Greetings all, I'm running debian unstable on 2.4.18 kernel and have to cd drives, one is a cd writer and the other is a dvd player. A while ago I was getting jumpy DVD playback but found (via a website) that 'hdparm -d1 /dev/dvd' solved it wonderfully. However, a while ago I needed to burn some CDs so I found a walkthrough that had me adding a SCSI module (I believe) and now when I try to run the above command I get amancha:/home/slosh# hdparm -d1 /dev/dvd /dev/dvd: setting using_dma to 1 (on) HDIO_SET_DMA failed: Invalid argument and needless to say the DVD playback is jumpy again. What do I need to do? --Slosh
Re: DCOP and MPlayer
If you use KDE screensavers tick the box marked 'make aware of power managment'. When xine (I sure other player as well) plays a movie it disables DPMS and now it disables your sceensaver well !! : ) Chris Hadley Rich wrote: I use MPlayer as my chosen video application and KDE as my desktop environment, one gripe I had was with my screensaver starting up in the middle of a movie but I never really did anything about it. Today I had my first glimpse at DCOP and was surprised at it simplicity. It took all of 5 minutes to make a wrapper script [1] for mplayer to disable and re-enable the KDE screen saver automatically using DCOP. Feel free to pick apart the script, tell me there was a much easier way of doing this or use it for yourself. Note that I don't use xscreensaver so this is not taken into account. [1] http://nice.net.nz/linux/mplayer-wrapper.txt hads
WOT: The picture says it all...
Sorry, but being in europe makes this my fav... http://www.stud.ntnu.no/~shane/stasj/pics/humor/div/205.html ; ) Nick Rout wrote: I thought this one was not bad either ;-) http://www.stud.ntnu.no/~shane/stasj/pics/humor/div/556.html On Mon, 20 Dec 2004 23:24:16 +1300 david merriman [EMAIL PROTECTED] wrote: http://esp.realcities.com/a/hBBwypcAPnpi4APtV1IAM7Lpp.APnpek19/gmsv980 David -- Reclaim Your Inbox! http://www.mozilla.org/products/thunderbird
Re: Home wiring
France: yup it's starting to get chilly - most days -3 to +3, but I am waiting for it to get a bit more exciting yet with the arrival of the white stuff, maybe this weekend - fingers crossed. However I am making the most of the frosts by riding my motocycle throughout the winter! ; ) CB perhaps you sun will arrive the same time as our snow! oh something ON topic - there are some domestic orientated structured wiring solutions that go by the name OpenHouse - maybe of interest to someone. pps. this note comes courtesy of my newly repaired laptop screen - I have just successfully performed surgery to replace to backlight. Quite interesting to learn how LCD panels work! Fisher, Robert (FXNZ CHC) wrote: Is Chris Bailey still in France? My niece emailed from Paris this week saying it was minus 2 degrees. Regards, Robert -Original Message- From: Andrew Errington [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 December 2004 11:48 a.m. To: [EMAIL PROTECTED] Subject: Re: Home wiring On Thu, 16 Dec 2004 11:41, you wrote: No, we are living in a goddamned refrigerator, nothing on the outside or inside of the wall. I suspect that the cladding may be on today, if the builders even turn up in this weather. I think I will take the unprecedented step of starting the logburner in december tonight! good thing we have some wood left :) We could be on course for a white Christmas. Just like the ones we used to know (if you come from England). Andy
Re: Home wiring
Sorry, Robert 3 cables is not nearly enough, you really need 20+! - R,G,B,Hsync,Vsync,TCP/IP for your home theatre projector, 8x2Ch Audio + TCP/IP for your 7.1 Surround Sound AMP, + a couple more net connections and some spare for good measure so maybe 20 will be sufficient.. and peolple wonder why proper home cinema is expensive! ; ) Chris Bayley Fisher, Robert (FXNZ CHC) wrote: Yes, I went to see the guys at South Island Components on Antigua St. They were very helpful. I have 3/4 of a drum of steel core coax cable left (already used heaps with a multi-channel aerial, Sky dish, 6 way splitter then 8 TV outlets) 3 separate coax cables to each multimedia computer for Video plus 2x audio. Terminate the cable into F connectors. www.sicom.co.nz have plates for up to six RCA sockets Our new TV (and the Amp I am considering) has at least 4 separate RCA input channels. Regards, Robert -Original Message- From: Nick Rout [mailto:[EMAIL PROTECTED] Sent: Thursday, 16 December 2004 11:41 a.m. To: [EMAIL PROTECTED] Subject: Re: Home wiring so 3 coaxes, one for video, two for audio? have you done this in a star config back to some sort of patch panel, like you would a cat5 system? Simple, cheap and probably the best for signal quality. Nick, have you got your walls lined yet? No, we are living in a goddamned refrigerator, nothing on the outside or inside of the wall. I suspect that the cladding may be on today, if the builders even turn up in this weather. I think I will take the unprecedented step of starting the logburner in december tonight! good thing we have some wood left :)
K3B and soft links
I have noticed when dragging soft links into the project window of K3B it reports them as broken but in the other 3 windows it follows them just fine ?!?!? Also is there any easy way to rearrange the order of the folders once they have been added to a project ? Cheers Chris Bayley
Re: A marginal topic
My IBM thinkpad is one of those! Cris Bayley Nick Rout wrote: some windows recovery disks will only work if they greedily take the entire hard drive. trippy. corpoate capitalism at its worst. sign of an unhealthy society. backup recommended. :~;;?--$$$% On Tue, 09 Nov 2004 14:15:08 +1300 Ralph Stoker [EMAIL PROTECTED] wrote: For a few weeks now my dual boot XP / SuSE computer has been experiencing problems...initially suspected hardware but now settling on XP instability issue being the culpritSuSE now working better than ever with touchpad. A reload of XP (need a few windows apps unfortunately) is therefore in order (as determined by techies at Harvey Norman...no credit where credit's due some there really have received computer training!) Before I hand over my machine under warranty can anyone tell me if my Linux partition / Grub loader is going to be safe...or will I probably lose the lot? No in depth responses required as this is slightly off topic.. Simply ...Linux wise am I stuffed? or should a competent techie be able to do this without too much trouble? Cheers Ralph
Re: Setting up an all-in-one printer in SuSE...
Bhaktavatsala Dasa wrote: Greetings! People, how can SuSE/KDE be set to run an HP PSC 1210 all-in-one printer-scanner-copier...? Are there drivers, and software for this... (came with software for W$#%dows)...? As you can see, the keyboard still likes to go on joy rides with the text, despite changin settings...? Huh? :$ Don't know what to do about that. :$ Wishing well... :) Regards, Bhaktavatsala Dasa (Vatsala) @ http://homepages.ihug.co.nz/~vatsalaji - Hare Krishna! I had not t much drama setting up a HP PSC-1350 in gentoo using the HP supplied psc12xx drivers with cups and gimp-print and hpoj for the scanner part. I don't recall the exact pages I refered to but I got started by googling for linux HP PSC-1350 drivers and everything follows. you need to follow links for hpijs,hpoj,gimp-print and cups and you will be up and running within a few short hours. : ) Chris Bayley
linuxy news from france
Nick Rout wrote: Chris B, does a post from you mean that you are back in town? Nope, still hanging in france, it's really very cool. Had to drop off the list while we moved and I didn't have enough mail access to keep up with traffic, but now that I'm back on uncapped ADSL I got to wondering what was going on at home on the lug front. So I have rejoined the lists and have been catching up a bit - it's mostly the same ol stuff huh ? Ubunutu was new to me though... Linux is bigger here in europe of course with geneva airport bookshop having no less than 10 differnet linux mags on it shelves, and 2 or 3 in _every_ german magazine seller. Heres somthing else I saw in Basel(Switzerland) on a recent excursion:- http://thebayleys.net/gallery/abstract/linuxcafe1 http://thebayleys.net/gallery/abstract/linuxcafe2 Eat yer heart out... : ) cheers all Chris Bayley
Re: OT: scalling photographs
Jaco Swart wrote: This message is Off-Topic, and I apologise for that. But I know that I can get fast and meaningful answers on this group, so here goes: I have a friend who wants to batch-convert scanned photographs from hi-res (400KB or larger wel, maybe med-res) down to e-maileble size (aprox 40KB each). He runs Win 98. My first thought was imagemagic, but I would rather suggest a GUI solution than using the command line. So my question is: What free Windows program can you recommend to scale photographs down, in batches? thanks Jaco Does Gimp have a batch processor ?
Re: Wanted: Advice on PDAs
Jamie Dobbs wrote: I'm thinking about getting a PDA and want the following features: Colour/HiRes screen MP3 Playback Ability to Sync to Linux(home)and Windows(work) I don't really want to spend much more than about $500-$700 on such a device and would welcome any first hand experience and advice. Links to reviews/specs etc. would also be very handy (as would some kind of keyboard input as I never can get the hang of those special ways of writing for input!). Thanks Jamie I have a Compaq iPaq 3700 that is runs Linux( it's very cool) which I am looking to divest myself of as I'm moving o/s soon and need to clear out a few toys!. Specs: Model: Compaq iPaq 3730 Condition: mint still have original packaging CPUIntel Strongarm SA1100 206MHz RAM: 32MB (expandable) ROM: 32MB (expandable) Screen:240x320, 12-bit colour touchscreen OS:2 flavours of Linux: * Familiar Linux 0.7.3 (totally self contained, doesn't require sleeve or hard disk) * Intimate (Debian/ARM) (requires expansion sleeve and disk drive which are included in package) can dual-boot between these. It's also possible to set up dual-boot between Linux and Windows Pocket PC. Applications: * GPE/Opie-derived PIM apps - contacts, to-do, calendar etc * X-based PIM apps - contacts/to-do/calendar etc * X-windows * Konqueror web browser * Editors * rxvt * MPEG and MP3 players (with the 2GB disk, can store hours/days of music and videos) * Software development tools * ROM re-flashing and image creation tools * Games (of course * Everything that's available on normal x86 debian Connectivity: * choice of serial (115kbps), USB (11MBps), Ethernet (10baseT) or InfraRed (115kbps) Accessories Included: * 2GB PCMCIA hard disk * dual-slot expansion sleeve * Socket Communications ethernet (NIC) * 2 USB Cradles * Serial cable Cards are available to connect this handheld to Telecom CDMA network, or Vodafone GSM digital network, or GPS etc etc.Software includes all development tools, libraries, doco etc etc. Can convert it back to running Windows Pocket PC 2002 (if you *really* want) Price: $700 for the whole lot. Email me offline if you are interested.
Re: Linux friendly computer retailers.
I have dealt with Computer Broker quite a bit this year and it is quite simply the best PC retail experiance I have had !! : )- /chris Christopher Sawtell wrote: Greets List New Thread! You can get new o/s free computer kits from:- Computer Future, Cnr Gasson Street and Washington Way. You can get used o/s free computers from:- DarkStar Imports Ph 03 374 5728 This firm has a 7 day replacement no questions asked guarantee policy. Good choice of ex-lease equipment. I have purchased good from both of these and have found them to be reputable. There is also:- Computer Broker 6 (?) Washington Way. I have not dealt with this firm, other than to buy an optical mouse, but they seem friendly and sincere. Small lots of ex-lease machines. As others have said DSE is Linux friendly, if not. in my exp, super knowledgable. 14 day day replacement no questions asked guarantee policy.
Re: Knoppix
I'm thinking that you could use LTSP to do that, only I wonder what you would gain in booting knoppix over the LTSP kernel ? - perhaps better local hardware support. You could get serious and hack knoppix to net boot in the same way LTSP does, or you boot LTSP and X connect to a Knoppix server (either real or on VMware etc) There will be plenty of other options too... ain't linux grand! /chris Craig Falconer wrote: I have a room of celeron 300 machines. Can knoppix be booted on these with nothing more than a floppy disk, and a server on the back end? Basically no permenant changes to the machines.
Re: National Radio, 11am, item on OSS
Pretty good review od OSS by and large - apart from the part about about it automatically wiping out windows! Does Red Hat do this? I haven't installed it for a long time, but I know the last couple of time I installed mandrake it always set up my machine for dual boot, and understand it even shrinks an NTFS partition to acheiive the same now. Course with gentoo you can do whatever you want ; ) /chris Jason Greenwood wrote: Cheers! =) Tuned in now... Linux Shop wrote: On Fri, 2004-02-27 at 11:20, Jason Greenwood wrote: Ok, what's the station/frequency/FM/AM?? Nationwide tuning details at: http://www.radionz.co.nz/index.php?nav=1section=tune#freq Linux Shop wrote: On Fri, 2004-02-27 at 09:17, Timothy Musson wrote: Just heard that there'll be a short item about Open Source software on National Radio this morning, at 11am. Not 100% sure I heard right, so it might pay to tune in a little earlier (say, 10:45am) if you're interested. 11.30 am, Linda Clark is talking to Paul Reynolds? who is going to talk about Open Sourced Software and will give us some links to look at in the weekend :) -- www.linuxshop.co.nz -- Daniel Robertson Linux Shop Ltd P O Box 108001, Symonds St, Auckland 1035 -- www.linuxshop.co.nz --
Re: Compaq presario 1400xl laptop
Pop in a Knoppix or LNX-BBC and have a look at your HD with fdisk and chkfs... /chris Madan wrote: Hello Friends, Last night I was browsing/chating over the internet from my Compaq Presario 1400XL Laptop, suddenly everything went blue (hanged), I have forced the laptop to reboot, but for my embarrassment it returned a maessage Operating System not found. I guessed that, this would be a problem of hard drive, and yes later I have booted my laptop using win98 startup disk, and tried to browse harddrive, but ended up with the message invalid drive specification (when i tried c: and d:). Huhh does this mean that my hard drive is gone useless..?:-(, ohh no..! Ok any way please suggest me if u have any hints, or if you know any guys who can fix a laptop HDD. Thank you Regards Madan -- ___ Madan Mohan Challa phone +64-3-3645888 Software Engineer fax +64-3-3645828 Plain Communications [EMAIL PROTECTED]
jpg previews in KDE
When I look at my Dig camera shots in KDE (Kongquer,Kuickshow, Kview) previews appears for some shots and not others, I can not see what distinguishes them. Anyone else had this ? : ) /Chris
Re: usb external hardrive
Craig Falconer wrote: I would like to purchase a usb external 5.25 hardrive bay. The ones DSE sells are linux compatible (2.4.19). Anyone had any problems with these? Comments? Yeah - USB 1.1 is sodding slow at about 950 kbytes/second. You will need wither a lot of patience, or a USB 2 system. I brought one with a genlogic chipset, and although I could get the device to be recogized and could access small file it soon froze my machine when trying to create partions bigger than about 5G or accessing files biger than a MB. The solution was to get a USB 2.0 card and now it goes sweet. /Chris
choice of switch for ltsp network
I am about to choose a switch for a primary school network that I am building, the network has 14 LTSP clients + 4 standalone off a sever with GBIC (1000Mbps). Since this is the 'biggest' switch I have purchased and I am spending someone elses money, it couldn't hurt for me to hear some advice/recomendation on choosing a switch that is appropriate. As always for small schools purchases are price sensitive and I am thinking a 24x100Mbps+2x1000Mbps unmanaged switch for about $800 should fit the bill, but I would be interested to know if there is much differnece bewteen brands models in this price range or wheather there is a justifyable advantage with managed switches? Relavance ? If I get it right there will be one more showcase LTSP installation locally and a whole lot more kids that know something about Linux! cheers /chris
Re: easy way to get to my documents
I mount an ext2 /home partion in both windows and linux, that costs $30 I think but you could use fat for free... /chris Hamish McBrearty wrote: Hi all Up until recently I've been dual booting my laptop because I needed to be able to use Dreamweaver. That's no longer the case thanks to Crossover Office :o) But in the interests of my own sanity I was hoping to keep a link to the My Documents folder on my Windows partition in my home directory. ln -s /mnt/windows/Documents and Settings/hamish/My Documents /home/hamish/Documents worked nicely, except Wine doesn't seem to recognize it. It works fine when I use the lndir command, but obviously that's not quite how I want to do this. Basically I want to be able to call up the same set of files from either my home directory under Linux, or the My Documents folder under Windows. - Hamish McBrearty MCSE MCSA Network Engineer Rangi Ruru Girls' School 59 Hewitts Road Christchurch NEW ZEALAND Ph 03 355-6099 Fax 03 355-6027 CELL 021 999770 E-Mail: [EMAIL PROTECTED] --
Re: Email server for Home Network - why?
Matthew Gregan wrote: On Fri, Jan 23, 2004 at 12:50:15PM +1300, Nick Rout wrote: email on machine a and half on machine b. imap solves this. isp's in general do not do imap. ergo do it yourself. Well, if the users don't ask for it, they won't provide it... Having said that, I was doubtful of your claim that IMAP is not generally available from NZ ISPs. I ran a very quick and shallow survey found that nine out of the fourteen surveyed ISPs provide IMAP services. It's possible that some of the other ISPs only allow their IMAP service to be accesses from users attached to their network. ISPs providing IMAP services: actrix.co.nz caverock.net.nz actrix.co.nz clear.net.nz hyper.net.nz orcon.net.nz maxnet.net.nz xtra.co.nz globe.net.nz Cheers, -mjg I have 1GB of mail sitting on my IMAP server, do you think they would let me away with that ??? /chris
Re: Email server for Home Network - why?
Robert Fisher wrote: Apologies to those who consider this a dumb question... I can think of two reasons why one would set up an email server at home. 1/ Mail is readily served to workstations from an always on server 2/ Mail can be accessed elsewhere without using webmail Neither of these reasons are compelling enough for me but I am curious to know if others have compelling arguments. -- Robert Fisher www.fisher.net.nz IMAP mail that can be accessed via IMAPS or HTTPS web mail is ample enough reason for me to do it /chris
Re: Email server for Home Network - why?
Nick Rout wrote: well 1. you may have many client machines (even two is enough to be a pain), so you don't want pop mail, because u end up with half your email on machine a and half on machine b. imap solves this. isp's in general do not do imap. ergo do it yourself. 2. if you have dialup you can regularly dialup and send/receive mail, under programmatic control on the linux server. 3. you have a number of dialup accounts with different isp's and don't want to keep changing the smtp server setting in your email client, you just set it to the linux box and let it bypass the isp's smtp server. I have had this rejected a number of times by the receiver as I have no reverse lookup for my smtp server as it is on a Dyn DNS setup. /chris
Re: updatedb affecting performance
Carl Cerecke wrote: Hi, updatedb is set to run about an hour after I boot up in the morning. that might be your problem, I find the effect is much less noticeable at 1 in the morning. And I am still up at that time my brain has slowed to an equivalent crawl anyways. /chris
Re: Email server for Home Network - why?
Matthew Gregan wrote: On Fri, Jan 23, 2004 at 10:25:31PM +1300, Chris Bayley wrote: I have 1GB of mail sitting on my IMAP server, do you think they would let me away with that ??? For the right price, sure. -mjg h
Re: Purpose of the CLUG
Lance Blackler wrote: Talking of fixits and stuff - I'd like an opinion on the following. I have been given a 486 (DX475) Digital HiNote laptop - no CDROM 20mb of RAM 1.3gb hard drive. I would like to load Linux of some flavour on it so that I can use it for word processing (Abiword) and checking webmail etc, while connected via my home network (56k modem on my main box). Question is - should I use an old distro with a 2.2 kernel and KDE1 or 2 or use more uptodate Debian (ie one of the cutdown Knoppix versions) and a lightwieght window manager - fluxbox or similar, what do people think? What I would do with that: Use a purely console setup without X, BUT using frame buffer for graphics with a limited range of apps: noteably web browsing with links2. mplayer and a few others.- there must be some pretty good console word processors ? I rember from DOS days it took a long time before any WYSIWYG wp was better than Word Perfect. You should be able to make a usefull system this way. maybe look a transfer of LNX-BBC(50MB live CD) to the harddrive... /chris
Re: Purpose of the CLUG
Lance Blackler wrote: Talking of fixits and stuff - I'd like an opinion on the following. I have been given a 486 (DX475) Digital HiNote laptop - no CDROM 20mb of RAM 1.3gb hard drive. I would like to load Linux of some flavour on it so that I can use it for word processing (Abiword) and checking webmail etc, while connected via my home network (56k modem on my main box). Question is - should I use an old distro with a 2.2 kernel and KDE1 or 2 or use more uptodate Debian (ie one of the cutdown Knoppix versions) and a lightwieght window manager - fluxbox or similar, what do people think? What I would do with that: Use a purely console setup without X, BUT using frame buffer for graphics with a limited range of apps: noteably web browsing with links2. mplayer and a few others.- there must be some pretty good console word processors ? I rember from DOS days it took a long time before any WYSIWYG wp was better than Word Perfect. You should be able to make a usefull system this way. maybe look a transfer of LNX-BBC(50MB live CD) to the harddrive... /chris
Re: Remote floppy...
Christopher Sawtell wrote: On Fri, 26 Dec 2003 00:01, you wrote: Hi guys, I'm stuck on formulating a command to access to a remote floppy drive. The setup: I've got the LTSP running and currently the client machine boots from floppy. Unfortunitly the floppy drive came from my main server machine and it's getting annoying swapping it back and forth. So the obvious solution is to keep the drive in the remote client and then be smart and access it remotely. Having failed the 'be smart' criteria I'm wimpering for how-elp?? Synco Actually, the obvious solution is to install a boot ROM in the network card in the terminal machine and use that to boot it. The floppy drive can then be moved back to the server. SICOM in Antigua St. have the facilities to program PROMs. The other easy solution is to get yourself another floppy drive. $5 for a s/h one wouldn't break the bank would it? The truely horrid, or depending on tour point of view, high powered geek solution is to fiddle about with the LTSP file set so that you can remote mount the floppy in the terminal on to the file system in the server using NFS or something. imho time consuming and definitely _not_ recommended. I haven't set it up yet but I will be following these directions: http://ltsp.org/documentation/floppyd.html to access the local floppy on a ltsp client from programs running on the server - which is what you want to do I think. The other option to boot roms is to find your self some NICs that support PXE and use it to boot 1 of etherboot/pxegrub/pxelinux and then ltsp. I am using etherboot in this manner for a suite of 10 diskless clients. /chris
PXE boot / tftp woes
I am trying to get a suit of worksations network booting LTSP via PXE/etherboot for the local school I have DHCP configured and they pick an ip ok, but something is amiss in the tftp transfer of the etherboot code I am using tftp-hpa. logs show: Dec 19 21:27:53 [in.tftpd] RRQ from 192.168.0.101 filename pxe/eb-5.0.9-eepro100.lzpxe Dec 19 21:27:53 [in.tftpd] RRQ from 192.168.0.101 filename pxe/eb-5.0.9-eepro100.lzpxe Dec 19 21:27:53 [in.tftpd] RRQ from 192.168.0.101 filename pxe/eb-5.0.9-eepro100.lzpxe etc. tcpdump shows: 10:41:25.112427 ruby.bootps 192.168.0.101.bootpc: xid:0xc763a381 Y:192.168.0.101 S:ruby [|bootp] [tos 0x10] 10:41:25.114106 ruby.bootps 192.168.0.101.bootpc: xid:0xc763a381 Y:192.168.0.101 S:ruby [|bootp] [tos 0x10] 10:41:25.114708 192.168.0.101.2070 ruby.tftp: 49 RRQ pxe/eb-5.0.9-eepro100.lzpxe 10:41:25.117879 ruby.33589 192.168.0.101.2070: udp 516 (DF) 10:41:26.111075 ruby.33589 192.168.0.101.2070: udp 516 (DF) 10:41:28.111066 ruby.33589 192.168.0.101.2070: udp 516 (DF) 10:41:29.047190 192.168.0.101.2071 ruby.tftp: 49 RRQ pxe/eb-5.0.9-eepro100.lzpxe 10:41:29.049351 ruby.33590 192.168.0.101.2071: udp 516 (DF) 10:41:30.041081 ruby.33590 192.168.0.101.2071: udp 516 (DF) 10:41:32.041072 ruby.33590 192.168.0.101.2071: udp 516 (DF) 10:41:32.111079 ruby.33589 192.168.0.101.2070: udp 516 (DF) 10:41:36.041062 ruby.33590 192.168.0.101.2071: udp 516 (DF) 10:41:36.957336 192.168.0.101.2072 ruby.tftp: 49 RRQ pxe/eb-5.0.9-eepro100.lzpxe 10:41:36.959476 ruby.33591 192.168.0.101.2072: udp 516 (DF) The client eventually gives up and sulks in the corner. I know RRQ is a read request, what is DF ? The clients use LANDesk server agent II 0.99c which show up few troubles on google but none of the standard remidies have got me going yet. cheers, chris
Re: hot-plug HDDs
Jim Cheetham wrote: On Wed, 2003-12-03 at 09:55, Dave Lane wrote: I have tried removable USB drives (Dick Smith sells the caddies for about $160 which take any 3.5 IDE drive), but had major problems with USB driver support (USB2 led to consistent crashes, USB1.1 was flakey and so slow as to be unusable) in the Mandrake 2.4.21 kernel I was using, although many people with different motherboards report that their USB drives work fine with USB2. The 2.4.22 kernel supplied with Mandrake 9.2 seems to work fine so far. And as Jim Cheetham said, the 2.6 kernel apparently sports a fully rewritten USB layer. Unfortunately, even the 2.6.0_test11 kernel that I have been using has been failing to write to the disk reliably. However, in the interests of testing I tried the disk on my iMac (only USB1). That also failed after writing a couple of Gb. So I'm prepared to believe that the disk caddy that I have is useless. It's a Manhattan USB 2.0 external enclosure - it looks nice, but that doesn't really count :-( I had a great deal of trouble with this caddy when used with the built-in USB 1.1 on my stinkpad, fdisk would fail to create parts greater than about 5GB, writes would hang the machine after a few hundred megs etc. _However_ all thr troubles went away after I added a DSE cardbus USB2.0 port to the machine. Now I have a 160G portable jukebox : ) /chris I'll try hunting out another model ... -jim
Re: hot-plug HDDs
Matthew Gregan wrote: On Tue, Dec 02, 2003 at 05:00:30PM +1300, Jim Cheetham wrote: I've been playing with an IDE to USB2 unit, and trying to store about 50+Gb onto it, at reasonable speeds. Any details of a working configuration would give me hope ... I've heard lots of similar sad stories--things don't look particularly easy to get working or stable at this stage. Take a look at the linux-usb-users lists host on SourceForge, that might give you a few clues. Cheers, -mjg What about plain old IDE - in hot swap cradles ? /chris
Re: Upgrading my PC, any pointers?
Force the card vendors to open source thier drivers and they'll take their IP and stick it back into hardware so that what you buy is what you get - warts and all - and the ability to update/bug fix later (for free) dissapears BTW didn't ATI used to do OS drivers ? with what model card did that stop ? /chris Brad Beveridge wrote: Perhaps the details necessary to open the driver would give away too much about their hardware details. If that is the case then they have a legitimate concern. graphics chips are a very competitive market. Maybe - but I'd bet every new card that comes out gets bought up by the other guy completely pulled apart in a lab. Drivers might make that process easier. It's kinda like copy protection - it's hard to crack, but people still do it. I think the drivers for all hardware should be open - because selling the drivers isn't a business model for the HW vendors. Brad
Re: DVDs under Linux]
Try first a no-region (or Region 0) disc first - that will eliminate that problem for now. Most documentatries and 'adult' films are Region 0. Make sure you have DMA enabled on that drive, although you should already have jerky video if that where your only issue. Check gentoo forums for some of your errors - even if you aren't using gentoo musch of the advice appiles to the packages. : ) CB CF wrote: Yes - its a nasty can of worms. I've got a standard IDE DVDROM drive (cos it was about $15 more expensive than a new CDROM drive) and I can't get it to play DVDs. The machine is a celeron 1Ghz with a budget motherboard, via chipset, and trident graphics. The DVD is slave on the second IDE bus (/dev/hdd) with an HP CDRW as /dev/hdc I've tried xine, mplayer, ogle, etc. as players, and lsdvd and dvdbackup to simply read some info. I can mount a CDROM fine. I can mount a DVD fine too, but some chapters don't read. For example: tramadol:/dvd/VIDEO_TS# file * ... VTS_02_5.VOB: MPEG system stream data VTS_02_6.VOB: ERROR: cannot read `VTS_02_6.VOB' (Input/output error) ... Showing the disk is mounted. /dev/ide/host0/bus1/target1/lun0/cd 7.7G 7.7G 0 100% /dvd One thought was that there was no region set, so I set it to zone 4 using regionset, but that made no difference. Most errors look similar to this, so I suspect the problem lies with libdvdcss and friends. tramadol:~# lsdvd libdvdread: Using libdvdcss version 1.2.5 for DVD access libdvdread: Can't seek to block 256 libdvdread: Can't seek to block 256 libdvdread: Can't open file VIDEO_TS.IFO. Can't open main ifo! Does anyone have any advice / thoughts / etc ?
Re: DVDs under Linux]
I first got mplayer going in console with framebuffer and then worked my way through the X players. Play with the switches in mplayer and try playing the audio only or the video only... CF wrote: On Wed, 2003-11-12 at 13:45, Chris Bayley wrote: Try first a no-region (or Region 0) disc first - that will eliminate that problem for now. Most documentatries and 'adult' films are Region 0. Thanks - haven't got any, so I'll have to hire one. I have only Matrix, Highlander, and Harry Potter2 available to me for testing. Make sure you have DMA enabled on that drive, although you should already have jerky video if that where your only issue. Done. Check gentoo forums for some of your errors - even if you aren't using gentoo musch of the advice appiles to the packages. Yep - this problem is repeated a lot, and no answers are listed.
Re: Rescue Disks was Partition Tables
Volker Kuhlmann wrote: My new fav rescue disk is LNX-BBC which lives in my wallet. Good point, I had one of those many years back. Downloading now... Question of how to burn it though: Do corpcons sell to Joe Bloggs? In what quantities? TasTech min qty is 20 for $30. Enough interest for 20? I brought 10 from corpcons no trouble - I never tried asking for 1, but I'll sell anyone 1 (pre burnt if you wish) for a beer or less. Technical point: corpcons says theit business blanks are 45MB, but the lnx-bbc image is 50MB. Anyone know what the real story is? I wondered about that but I took a punt and they seem to work fine : ) Chris
Re: Rescue Disks was Partition Tables
My new fav rescue disk is LNX-BBC which lives in my wallet. Good hardware detection and networking, good quick boot, memtest86, even framebuffer and X for the so inclined. BC-CDRs are avail from corpcons.co.nz : ) Chris Nick Rout wrote: On Tue, 28 Oct 2003 13:04:59 +1300 Volker Kuhlmann [EMAIL PROTECTED] wrote: There's no need with any fancy purpose-built rescue tom's bla bla stuff (unless you don't have a cdrom drive). Distros have a bootable rescue system on their CDs. SuSE has a good one, RH has a crappy one, and Knoppix has one too - of course one can say Knoppix *is* a rescue system... ;) Booting one of these will make your life much easier than booting some whatever from a floppy. i even saw somewhere tom of tomsrtbt said theres not much use for his rtbt floppy these days if you have a cd drive. Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.dnsalias.net/ Please do not CC list postings to me.
Re: Network monitoring tools question
So, what tools do you folks use? Any suggestions as to what to try? TIA Al -- Al Sheppard Support Centre Consultant, Information Technology Services, Lincoln University Email: [EMAIL PROTECTED] Phone: +64 3 325 3838 extn. 8996 Marcel reviews a number of network monitoring tools in Linux journal Aug 2003 including netstat, contrak, Nnetstat, iptraff, Driftnet, pkstat. The article 'Illuminating Your Network's Darkest Corners' in his 'Cooking with Linux' series is available at least @ http://interactive.linuxjournal.com/Magazines/LJ112/6882.html it may be available somewhere on the public site as well . Contact me offline if your need more info on the article. /cb
grep or sed regex ?
In egrep or sed what is the metacharacter to match _across_ a newline i.e. something like 'line1chars.\n.line2chars' ? $ matches the end of a line, but I want to match several lines for search and replace TIA /cb
Re: Mirroring Gentoo on local drive prior to installing
At the Gentoo home thier is a document about creating a local gentoo mirror. Trouble is there are about 10GB of distfiles of which you will want to use 1-2GB but it should be straight forward eneough. /cb Yuri de Groot wrote: But will the below method allow me to grab all the gentoo stuff off the 'net during the brief window of opportunity of having a T1 d/l pipe, thus allowing me to install off the local drive at my leisure when I lose the T1? I need to d/l *everything* while I have the chance. Yuri On Fri, 15 Aug 2003 14:10, Christopher Sawtell wrote: On Fri, 15 Aug 2003 14:02, you wrote: Where should I start in this endeavour? D/L the appropriate CD1 from here:- ftp://203.96.92.95/gentoo/releases/x86/1.4/livecd Cut the .iso image to a CD. ( Yes you do need to do this step. It makes it so much easier. On pain of death, real uber-gurus could probably start off from Tom's Root and Boot, but I'd have to start by booting a CD. :-) Boot it. Mount the CD on /mnt/cdrom Follow the instructions, the command to use is:- links file:///mnt/cdrom/install.html There are a few issues with the X-11 server to be sorted out, but it's not difficult.
Re: Are there only two problem machines coming tonight?
I'll bring my Gentoo thinkpad along - I'd like to sort out ACPI among other things. : ) /cb Nick Rout wrote: By my count we only have two people bringing their machines to tonight's fixit session. It hardly makes attendance enthralling. A cup of tea with like minds is ok, but so is the fire in my lounge :-) SOOO if there are any other problem machines (or problem users) come along, tell us now and/or turn up. Directions/map/time are here: http://canterbury.lug.net.nz Also if anyone just wants a lesson on how to get around their new system, set up a few bits pieces etc let me know. Peter Elliott, are you bringing your box to install gentoo on, or do you want to take the cd's home and do it? Do you need a lift? I know you are short on transport.
interperating ipacsum output ?
In the ipac sumary below what really do the numbers for the traffic not forwarded mean ? Is that 302 M dropped at the firewall ?!!! }: / /cb IP accounting summary Host: ipcop / Time created: 2003/08/10 23:55:20 NZST Data from 2003/07/12 00:00:00 NZST to 2003/08/10 23:55:20 NZST forwarded incoming GREEN (eth0) : 99M forwarded incoming RED (ppp0) :405M forwarded outgoing GREEN (eth0) :405M forwarded outgoing RED (ppp0) : 94M incoming GREEN (eth0) : 50M incoming RED (ppp0) :302M outgoing GREEN (eth0) :345M outgoing RED (ppp0) : 9M
Re: tar: Error exit delayed... ?
I had this when tar was trying to extract a symlink to a fat volume (which don't support symlinks), otherwise the operation seemed to succeed. /cb Steve Brorens wrote: I can't untar a file ( thingumy-tar.gz) - instead I'm getting: tar: Error exit delayed from previous errors Yes, I did initially type it incorrectly, but why does this muck things up from that point onward? Any 'tar' command now comes up with this inane message - and exiting and even rebooting (yup, it's justa ws so this was an option), do not fix it. I've googled and RTFM - plenty of references, but explanation that makes sense to me - and no solutions. Ideas? - steve *http://www.commarc.co.nz* *(This e-mail has been scanned by MailMarshal)*
Re: DVD player installation problems :-(
Carl Cerecke wrote: No smug gentoo comments either. Damm ! - that story is just begging for it too ; ) /cb
Re: ADSL modems or routers with IPCop - war stories and medals??
I used to use an Alcatel SpeedTouch in PPP routing w/NAT as a gateway for my network - but after a _MASSIVE_ incident with my jetstream billing I have found that I had needed much better logging and ipaccounting to protect my ass. I have subsequently installed an IPCop gateway which talks to the alcatel in PPTP bridging mode. I now have a record of every packet in or out of my network. Support for the Alcatel comes as standard in IPCop 1.3 and was straight forward to get going. Less than a hour I would say from a clean box to having the network back up. : ) /cb Andrew Sands wrote: List dwellers, Can any wise individuals using IPCop with ADSL indicate the type of modem and/or router they are using and any problems they had getting it set up. Enquiring minds would like to know? I have a situation involving a dynalink RTA220 and having convinced the concerned party to try a linux solution have now struck a few stumbling blocks. I'd prefer the this is what I have and this is what it took to set it up replies rather than you poor bastard your screwed! :-) If you know what I mean. Also on the other hand, if suggesting to a associate, colleague and/or potential client that they utilise the IPCop firewalling solution what type/model of suitable (for the scumbag Telecom Network) ADSL devices available from a reputable Christchurch sited company can people suggest. This is not my only problem site as I also need to convince the owner of a Ni500 to make the move as well. Anyway, regards all and have a nice happy evening. Andrew