RE: [SLUG] Clients accessing web server
scponly might do the trick (with an appropriate scp/sftp client on the other end)... "... is an alternative 'shell' (of sorts) for system administrators who would like to provide access to remote users to both read and write local files without providing any remote execution priviledges. Functionally, it is best described as a wrapper to the tried and true ssh suite of applications." http://www.sublimation.org/scponly/wiki/index.php/Main_Page - Roger > -Original Message- > From: Rick Phillips [mailto:r...@greyheads.net] > Sent: Wednesday, 25 March 2009 22:07 > To: slug > Subject: [SLUG] Clients accessing web server > > I have a small mail and web server which is used by some paying > customers and also some friends. It currently is running Mandriva > Server 3 which is getting old and I am in the throws of setting up a > new > server using Centos 5.2. > > Most of the web based stuff that I serve is based on Joomla but one > customer has had a professional web designer create a new site for him > which I have uploaded and all is working just fine. > > I have never allowed FTP, SFTP nor SSH access to the server for > security > reasons (other than myself) but this customer wants to directly edit > his > new web site from time to time. I don't run C Panel (can't afford it) > nor can I run ISPConfig which has some features missing such as mailing > lists which a couple of clubs I host use. I am looking for suggestions > as to what members might think would be an easy but secure way for this > customer to do what he wants to do - make changes to his web site > directly on the server. > > I run name based virtual domains and I guess I could set all other > folders which other customers use with chmod 700 and perhaps set up his > folder as 750 and make his username part of the apache group. I would > then make his home area his web page folder but I am looking for a > better way - if there is one. > > Would webdav be the ticket although I have never successfully set this > up or is it just as easy for him to use an FTP client using SFTP to > access his web root and make changes? > > Thanks, > > Rick > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Latest or recommended ways to display Gnome Desktop from Windows boxes.
> Ken Foskey wrote: > > I have an open X server at home and I simply run X on my windows > desktop > > to get into it: > > > > cygwin > > X -query myserver > > > > Pretty simple, very insecure it is reliant on network security. > > So I would need Cygwin/X not the normal Cygwin? I have a cygwin on my > Windows box > that gives a "bash" shell but I presume I need one with X? > > When you write "X -query myserver" is that using Xnest ie do you mean > "Xnest -query myserver" ? I've installed the xorg packages with normal Cygwin. (http://cygwin.com/setup.exe) Once installed, I fire up the x server ("startxwin.sh" from the bash prompt), "ssh -Y mylinuxbox" then run programs from the ssh command line as needed. Hope that helps. It's been a while since I set it up, so there's probably an additional setting or 2, but the cygwin site has fairly comprehensive documentation and support. Also, this doesn't give a full gnome desktop, but I believe that's also possible. I also have vnc enabled and use ssh tunnelling to access my logged in desktop that way. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Image rotation for some images taking hours too long.
> I'm having problems in using Imagemagick to rotate some tiff images. > I'm using this command: mogrify -monitor -rotate -90 0088.tif > > It's taking about 4 hours for a few images like this one: > > $ identify 0088.tif > 0088.tif TIFF 15597x8864, 435kb 2.710u 0:14 Have you tried using the -limit option to give imagemagick more room to play? Snipped from the docs: -limit Area, Disk, File, Map, or Memory resource limit Alternatively, for images that big, you might get more mileage out of an alternative called VIPS, for which there is a front-end called nip2. http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS (also available in Debian/Ubuntu repositories, and likely others too) It's a little tricky to get used to, but lets you define operations that are processed in chunks off the disk. It is designed to handle images larger than available memory. I find it invaluable for large panoramic photo work. - Roger -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Tuesday afternoon shell command optimisation party!
> Here's a starting point. What's a more optimal way to perform > this task? :-) > > sed 's#[^,]*##g' input.txt | tr -d '\n' | wc -m For starters, remount the partition containing input.txt with the noatime option and disable trackerd. :) Then, change the '*' to a '\+' in your regex. This saved about 30% CPU time on a 2Mb sample. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: Sharing files between guests and hosts (Was: Re: [SLUG]virtualisation and wine on ubuntu gutsey for adobe photoshop flashpremier etc)
> > I also run vmware Win XP on linux and do the scp trick. I > am wondering > > whether there is an easier way to move files between my host FS and > > the vmware instance, as it's a bit of a hassle using scp > all the time. > > > > Has anyone else got an answer? Maybe sharing within the XP instance > > and mounting it on the host node using smbfs, or some other option? > > The user manual for the beta of VMWare Server 2.0 talks about > an integrated Samba file sharing solution. But I've had some > problems actually getting the beta to run on my machine, so > couldn't give you any more detail than that. > > Apart from that, installing and configuring samba on the host > is a fairly simple exercise. Agreed, I connect an XP vmware player guest to a samba share on the linux host (well, I did until I upgraded to gutsy with a new kernel that doesn't work with vmware out of the box [yet]). Either way, if host/guest IO performance is an issue (which it will be if you're accessing large graphics files), you can install vmware-tools on the guest, which provides a better network driver (vmxnet). As for adobe and friends, I've pretty much weened myself off it and moved to bibble pro (for camera raw processing), gimp 2.4, cinepaint (for hdr/16-bit) and vips/nip2 (for processing rediculously large images), but YMWV. I'm still stuck with Windows for an A3 photo printer that is effectively a giant paper weight as far as proper linux support is concerned. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] unwired and linux
> This one time, at band camp, Dean Hamstead wrote: > > has anyone used unwired with linux? > > Yes. > Unwired sucks. Ditto here, everything from the modem to PC running linux works well, but from modem to tower can really suck. I've lived in 4 metropolitan Sydney locations within the coverage area since I got it, bought an extra external antenna for the external modem, put the device at all kinds of inconvenient vantage points (including above the kitchen sink), and it still drops out after much placement tuning with Windows only diagnostic software. I'm switching to naked DSL the moment it becomes available. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] RegEx question
> Not being a regex expert I was hoping someone could point me > at a list, forum or just give me a pointer on how to achieve this: > > Field that must have 2 out of 3 of these: > > standard a-z/A-Z > arabic numbers 0-9 > special chars %$#@ Is there a constraint requiring that this be done with a single regex? Depending on the context, there might be a number of more suitable programmatic approaches. For example, an unfinished, untested, inefficient, slapped together bash/grep approach might look like this, without getting tangled in regex syntax... password='a1#' hitcount=0 if $( echo "$password" | grep -q "[A-Za-z]" ); then echo "Got alpha"; let "hitcount = $hitcount + 1"; fi # Repeat for numeric and special chars # Check $hitcount == 2 or $hitcount >= 2, depending on your requirements - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Awesome : Eben Moglen : "the be very afraid tour"
> > This reminds me that there is software these days which can do > > after-the-fact steady-cam on the frames of a movie. > > > > Is there any FOSS that can do this job, yet? > > There is a filter in virtualdub (32-bit Windows, GPL) that does this. I think it's the one called "temporal smoother". Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] similar to Yakuake for Gnome?
The YaKuake page on wikipedia suggested Tilda as a GTK+ alternative... http://tilda.sourceforge.net/ I'm going to give it a go later, maybe you'll have better luck with it than greent. HTH, Rog > -Original Message- > From: Ben [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 7 November 2006 1:29 PM > To: James Dumay > Cc: SLUG > Subject: Re: [SLUG] similar to Yakuake for Gnome? > > On 11/7/06, James Dumay <[EMAIL PROTECTED]> wrote: > > Acutally ben I found something almost exactly fits what you > described > > > > http://forgeftp.novell.com//greent/homepage/index.html > > That looks great, thanks for searching. > > I won't be using it though. I've installed over 150MB of > dependencies and now I'm finding .exe files? I nearly have > all the support I need to run the email viruses I'm smugly > avoiding...and it still wants more, so I think I'll just give > up, install KDE and try to get yakuake working in Gnome. > > Thanks for your help. > > Ben > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] email address farming
> On Thu, Oct 19, 2006 at 08:47:45AM +1000, James Gray wrote: > > > # Make any generated files only readable by moi umask 077 > > MAILROOT=~/Mail TMP=/tmp/mail-addresses.tmp > ... > > egrep . >> $TMP > > This is sorta off topic, but setting umask is not enough. > Someone else could have a file of the same name as $TMP open > already, so the restrictive permissions are ineffective. > There are also utilities to do this safely. See mktemp (debian package is mktemp) and tempfile (part of debianutils package, I believe). Cheers, - Roger -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] email address farming
> Yes, I had thought of that, but my scripting is woefully non > existant, I have the misfortune of being a [ugh] desk top > user hemmed in by the ongoing use and convenience of a GUI, I > can talk the talk, but as for walking, I'm legless.. > > Maybe someone as knowlegable as yourself could point me in > the right direction... I'm not sure what shape kmail stores emails in, but formail might be able to simplify the process somewhat. For mbox style mailboxes... formail -XFrom: -ds < Mail/someMailBox | sort | uniq http://www.stimpy.net/procmail/tutorial/formail.html HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] GoogleEarth alternative in OpenSource
> http://www.gearthblog.com/blog/archives/2006/05/google_earth_fo_4.html > > That blog has a comment that suggests they're not using winelib: > > "...DiBona answered in the negative, explaining that Google > Earth relied on Qt and GL libraries and code, so additional > WINE support would not help." I took that to mean that they might "port" it using wine, but without doing additional work on wine itself? It's an odd comment to interpret, fancy GE relying on code. :) - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] GoogleEarth alternative in OpenSource
I understand Google are working on a winelib based GoogleEarth for Linux, following on from their recent release of Picasa in the same vein. http://www.gearthblog.com/blog/archives/2006/05/google_earth_fo_4.html > -Original Message- > From: James Purser [mailto:[EMAIL PROTECTED] > Sent: Friday, 2 June 2006 10:42 AM > To: Crossfire > Cc: slug@slug.org.au > Subject: Re: [SLUG] GoogleEarth alternative in OpenSource > > On Fri, 2006-06-02 at 10:28 +1000, Crossfire wrote: > > The main reason why VMWare, etc, are unsuitable, especially when > > GoogleEarth and things like it are involved, is > performance. Google > > earth eats graphics cards for lunch. VMWare and most other > vm hosting > > and emulated/dynamic recompilation systems don't provide > accelerated > > graphics to the level required by 3d applications. > > > > C. > > Ah, hadn't even thought about that. Well there goes my plans then :P > -- > James Purser > Producer/Presenter - Linux Australia Update > http://james.k-sit.com - My Blog http://k-sit.com - My IT > Consultancy http://localfoss.org - LA Update Podcast, LUG > Roundup and more > Skype: purserj1977 > SIP: [EMAIL PROTECTED] > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Tricky text processing question..
The reverse of 'cat' is 'tac'. Really! :) man tac... tac - concatenate and print files in reverse HTH, - Rog > -Original Message- > From: Michael Fox [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 16 May 2006 1:51 PM > To: slug@slug.org.au > Subject: [SLUG] Tricky text processing question.. > > I am guessing sed might help me out with the following or > maybe another util. Any suggestions welcome as the manual > processing of the files is crazy. > > I have a file like so.. > > 'blah10' > 'blah09' > 'blah08' > 'blah07' > 'blah06' > 'blah05' > 'blah04' > 'blah03' > 'blah02' > 'blah01' > > And what I want is the output into a new file to basically > flip it around > > 'blah01' > 'blah02' > .. > 'blah10' > > Would sed or something else help process this file in a quick > and easy method.. Any help appreciated > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Gallery2 multi site .htaccess setup
> I'm installing Gallery 2.1 in 'multi site config'; > > I've put the Gallery tree to /usr/share/gallery2, and, > symlinked to /home/domain.tld/www/gallery > (www.domain.tld/gallery/) I then installed from there, with > the site album at /home/domain.tld/www/photogallery I have a feeling that symlinking is not the recommended way to set up the codebase for multisites, it confuses the gallery code. I had a similar problem and ended up copying pieces of the gallery install into the installed multisite. Read on... > in Firefox, the photos display BUT, the whole layout is 'all > over the place' Have a look at the source of the page in your browser. It sounds like your CSS links aren't where the generated HTML is looking for them. I'm not sure how this relates to your .htaccess changes, but I copied the CSS files it couldn't find from the codebase to the multisite location that it was looking in to fix the layout (disclaimer, this is a kludge). I think if you follow the multi-site instructions to the letter, this isn't a problem, but it seems we both like to do things the hard way. > I realize I should really ask this on Gallery list, but, in > case someone reconginzes my problem... It's your lucky day! :) But yeah, the gallery forums/wiki are packed with good info, including some on this particular problem. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] DIFF utilities that output in HTML?
> Sluggers. > > Anyone know of any DIFF-type utilities that output results in HTML? > Basic HTML format pages with, for example, two columns with > colour highlights displaying the differences? > > I need to get some comparison of some text config files for > idiots who can;t use a decent text editor. > We use this one at work as a cgi with some success, sounds like it might do what you want... http://www.dma.org/dmahurin/files/software/webdiff.cgi HTH, - Roger -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Re: 2006 President's Report
> >Self-interest (enlightened, if possible) is the best driver > there is. > >Pure selflessness isn't really in vogue any more, and I > don't think it > >works really well without an external influence to keep your > focused anyway. > > > > Now, you've confirmed what bystanders have only heard as rumours. > > I'm sure this thinking is'nt true of every current member of SLUG. > > Members would not want SLUG to expend their resources for > anyones own self-interest. Why would they ? Makes no sense. Is self-interest being confused with personal gain here? While self-interest is a driver (and a good one, IMHO), it doesn't exclude mutual benefit for all. While pure selflessness may not be in vogue, selflessness stemming from self-interest can and does occur. Yours in semantics, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Wireless Internet ISP Recommendation
Are you interested in Linux compatibility in particular, or just general info? There's a stack of general info (and I suspect some linux specific) readily available at: http://www.whirlpool.net.au/ - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jamshid Karimi > Sent: Wednesday, 29 March 2006 12:01 PM > To: slug@slug.org.au > Subject: [SLUG] Wireless Internet ISP Recommendation > > Hi > > Those of you who have been or are using wireless Internet > could you write about your experiences and perhaps recommend an ISP? > > Regards > Jamshid -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Podcasts from the ABC
> On Mon, Mar 27, 2006 at 07:36:33PM +1100, Russell Davie wrote: > > Unfortunately, if bashpodderis run again the next day, it > will dl the > > same mp3 and store them in a different directory. > > I've written a (fairly dodgy) perl script podcast fetcher, > that hopefully doesn't have this problem: My version of bashpodder doesn't have this "feature", it only downloads what it doesn't have already. There are also some user hacks from the source site to make it do all kinds of other tricks. It's certainly not intended as a general end-user type of utility. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Podcasts from the ABC
> How do people listen to Podcasts from the ABC? > > Sadly, as is usual for IT in the ABC, their help pages don't > help (just another example of why RTFM is not a solution). I found this help link by accident (for radio national), it seems to be much better than the one I assume you are referring to as inadequate. http://www.abc.net.au/rn/podcast/help.htm The method for listening appears to be the same as for podcasts from anywhere else, but specifically, I've been using a cron job to run bashpodder, a neat little script for downloading podcasts. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Filtering out robots
> Dean> are you meaning in your logs or actually stopping/reducing the > Dean> webbots? Dean > > I mean filtering the logs so I can see who's using the > website. I'm not particularly concerned with stopping the > robots, but continued funding to keep the site up depends > partly on showing that real people use the site. I'm not sure about webalizer, but Awstats does this out of the box. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] internet access via mobile phone
Hiya Bret, > Is anyone using a mobile phone for internet access? Is there > a provider that is Linux-friendly? (or OS agnostic, anyway) > > I'm moving to Oz soon, and considering this approach. I'd be > interested in any experiences, resources, etc. I use a mobile phone (Rootki^H^H^H^H^H^HSony-Ericsson T630) to occasionally access the internet (web, ssh, vnc) from my Palm (Tungsten T3) via Bluetooth on the Optus GPRS network (whew!). Optus provided pretty good instructions for setting up that particular configuaration. Your mileage may vary depending on what phone you use, how you connect it to your chosen Linux device and how you define "Linux-friendly". Are we talking about a laptop connecting to the phone, connecting to the internet? If so, using bluetooth, a cable, or other? A 3G supplier might be a better option to investigate, or a dedicated wireless internet provider with, say, an appropriate bit of hardware on a laptop. I'm sure others can offer better advice in that regard. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] asking about apache 2.0.55 with mod_ssl
This blog entry seems to sum up the issues and possible solutions pretty well: http://mattwoodward.com/blog/index.cfm?CommentID=225 via: http://www.google.com/search?hl=en&lr=&q=apache+ssl+windows+2.0.55 HTH, - Rog From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kasim, YosepSent: Tuesday, 21 February 2006 2:43 PMTo: slug@slug.org.auSubject: [SLUG] asking about apache 2.0.55 with mod_ssl Hi slugger I am currently working with apache 2.0.55 for windows and it seems it doesn’t ship with mod_ssl Is anyone know where to download mod_ssl for apache 2.0.55 PS: Linux = easy – Windows = pain J Thanks in advance DISCLAIMER Email Confidentiality FooterThis message is for the named person's use only. Privileged/Confidential Information may be contained in this message.If you are not the addressee indicated in this message (or responsible for delivery of this message to such person), you may not copy or deliver this message to anyone. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Internet communications are not secure and therefore Harvey Norman does not accept legal responsibility for the contents of this message. Any views or opinions presentedare solely those of the author and do not necessarily represent those of Harvey Norman.*** -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Hinting an IP Address
> persue it legally. They have asked me to chase down the IP > Address and I'm not suer where to start. > I know the IP, 210.50.159.126 > I assume this will have been assigned to a User by an ISP How > do I find that out? Then I will contact the ISP and, with http://www.dnsstuff.com/ Use the reverse lookup. Or from a linux command line, use the host and/or dig commands. The short answer is that the IP is a dsl address on iprimus in Sydney. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] graduate programmers
> On Fri, Feb 17, 2006 at 08:14:07AM +1100, ashley maher wrote: > > G'day, > > > > Anybody know the ball park for grad programmers these days > in Sydney? > > 30K, double it if they've got open source experience (ie. > they can actually program). When I and my fellow alumni were applying for "grad programmer" jobs 6 years ago, the ballpark was 35-45k. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Problems with the ubuntu site???
> I was just trying to connect to the Ubuntu forum (English) > and all I get is a blank page. Any other site I try is fine. > > > > Anyone know if there's a problem with the site? I assume by "connect to the Ubuntu forum", you mean you are trying to access www.ubuntuforums.org on port 80. :) It's working for me at the moment, but it was timing out on me on Sunday night when other things were still working. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] SSH port forwarding
> I'm (ssh'd) onto a host deep inside a 192.168.1.0 network. > That host is connected to an ADSL router over a seperate > network (192.168.0.0) > > I want to browse the ADSL router. > > So i want to forward 192.168.0.1:80 (the router) to localhost:say5678 > > ie I browse localhost:5678 and get the router setup page. > > I can browse the remote host with > ssh -C -g -L 5678:192.168.1.40:80 tigger.ws > > That forwards 192.168.1.40:80 to me at 5678. I want to go 1 > step further to the ADSL router at 192.168.0.1:80 > > There is no browser on 192.168.1.40 (I'll do that if all else fails) My brain's about to pack it in, so this could be complete nonsense, but wouldn't ssh -C -g -L 5678:192.168.0.1:80 tigger.ws work? - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Does anyone know what this is?
> Noticed in /var/log/httpd/access_log as being the most > frequent visitor to a web site (according to webalizer): > > either: > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; BCD2000; > SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" > > or: > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; BCD2000; > SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MSIECrawler)" The all knowing interweb suggests that it's Internet Explorer 6 running on XP2SP2 with .NET framework installed and occasionally using the offline content feature (which can download entire sites). Not sure what the BCD2000 is. Cheers, - Rog http://en.wikipedia.org/wiki/User_agent#.NET_CLR_.3Cversion.3E http://www.pgts.com.au/pgtsj/pgtsj0208l.html [warning: large page] http://blogs.msdn.com/ie/archive/2004/09/02/224902.aspx http://www.zytrax.com/tech/web/browser_ids.htm -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Palm handheld repair?
> I finally got my Palm handheld synchronising nicely in Linux > and then its touchscreen stopped working properly. What I've > heard about Palm Australia's service makes me want to avoid > it for repairs if possible. > Does anyone know of a reputable Palm repairer in the Sydney area? I swapped my T3 for a reconditioned model under warranty without any issues, but this was a couple of years ago. I've not heard of any local Palm repairers, but http://www.auspug.org/ is probably the best place to ask. Are you sure that "touchscreen stopped working properly" == "needs repair"? A reset and/or recalibration may suffice. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] OT - disposing of CRT tubes.
> There's a vacuum inside; these tubes can implode when they're > out of their mounting. It's been *years* since I released > the vacuum inside one of these things so my memory may be > faulty: you wrap them in a towel so that if anything goes > bang you're not going to be hit with glass shrapnel, with > just the little spigot at the back sticking out. > Then break the spigot with a pair of pliers --- wear heavy > gloves and eye protection. Most of the time this works and > there's just a hiss; occasionally KABOOM! > > Overall don't do that! It's well worth making sure that there's no charge left in the anode at the back of the tube (usually under a rubber cup) before attacking it with pliers, even if the monitor hasn't been used for a while. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Further to Azureus/Bittorrent req - checking ports?
> I'm pretty sure that everything is setup correctly, but when > I try checking ports ( either 6881 or 49152) on sites uch as > grc.com (Shields Up) these ports are shown as blocked. I > don't believe tht this is correct or else Azureus would not > be downloading/Uploading. Azureus can download and (I believe) upload without a forwarded port, just not as effectively. > I have run Netstat to check open ports but neither 6881 or > 49152 show up. Do any java processes show up when you run: netstat -nlp --inet --inet6 ? If not, then Azureus isn't listening and port forwarding is a secondary concern (maybe it's not listening on the internet connected interface?). If 49152 or 6881 show up then you might try forwarding 6881 to 6881 (or 49152 to 49152 depending on what's listening) to see if that helps. > How can I be certain that port 6881 is forwarded to 49152 and > that I have no problems with NAT on my modem/router? If Azureus is listening on 49152 and your router is forwarding 6881 to 49152 on that machine, then the external port tests should show a successful connection on 6881. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] FireFox 'open with' csv excel
Hi Stu, > I am wondering if anyone else has had this problem? I have. :) > When we create a CSV (comma seperated values) text file in > our app and firefox passes it to Excel (yes I know, immovable > object currently but working on it! OO _is better), all of > the data is thrown to column one in a completely boneheaded manner. > > Normally, one would expect Excel to start the whole import > text file stuff ie how the text should be imported > (delimited/fixed) whatever. If you haven't already, try naming the file from the web browser with a .csv extension For example, if your application is a cgi, eg http://somehost.com/sendsomecsv.php?param1=value1, try adding a csv filename after the script name, eg http://somehost.com/sendsomecsv.php/export.csv?param1=value1 Also, try experimenting with the content-type header that you return: Content-type: application/vnd.ms-excel Content-type: application/csv Content-type: text/csv One or both of these approaches has worked for me in different situations, but I'm not sure how well it applies for firefox. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Kernel panic .. Unable to mount root fs
> Hi, despite repeatedly getting error messages saying > > "Error -3 while decompressing > ..Md5 stuff. > VFS: Cannot open root device "hdb5" or unknown-block(0,0) > Please append a correct "root=" boot option Kernel panic: > VFS: Unable to mount root fs on unknown-block(0,0)" > > .. when I use "root=/dev/hdb5" at the root prompt it still > happens with both current kernels .. > 2.4.25-1 and 2.6.5 .. > > I either put the expression next to the 'boot:' prompt, or following > 'boot: linux.2.* .. same result. This is probably a long shot, but I'm getting _similar_ problems booting a fresh linux install that was set up on a different machine using a USB chassis. Fingers are currently being pointed at the initrd.img lacking something. Based on the error messages you're getting I'm reasonably sure that's not the problem for you (though I'm just learning all this boot stuff myself), but it might be a lead worth following. The next step in my situation is to create a new initrd.img with some extra modules in it. HTH, - Roger -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Embedding CVS commit info into scripts
> I'm CVS'ing some scripts, the current version control > procedures are to > (optionally) add comments to the start of the file. Since > there's no real control over this, I'd like to put CVS over > the top of it and have something create these entries. Sounds like $Log$ is what you need http://www.ugcs.caltech.edu/info/cvs/cvs_12.html HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Shuttle XPC model recommendation for Linux
> I'm interested in getting a Shuttle XPC to install Linux on so I can > finally get into fooling around with Linux. I prefer it to traditional > desktops because of its form factor and is easier to transport. > However I can't figure out which model to get. I'm not familiar enough I bought a Soltek QBIC EQ3401A about 18 months ago. Initially I had problems (whilst running Debian Sarge) due to poor SATA support in the kernel at the time, and a flaky memory stick. Now, with new memory, it runs Ubuntu Breezy with SATA and PATA disks and other misc peripherals without any hassles. The Intel ICH5 chipset in this box is nothing to write home about, but it works. In short, the best advice I can give is to do lots more research and don't needlessly restrict yourself to the Shuttle brand. Apart from that, I don't think the differences between a small form factor and a regular PC amount to much, from a Linux support point of view. I found the SFF comparison matrix handy at the time of purchase, but it appears to have gone AWOL. Nonetheless, the hosting site might still be of interest [1]. YMMV. - Roger [1] http://www.sfftech.com/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Xserver/Xclient
> It doesn't do what cxoffice does, but it does what the > original poster asked - i.e. to be able to login remotely to > a linux machine from Windows and run a graphics interface on > the Linux which displays its windows on the Windows machine. > > In case you are not up to date with it (which I suspect from > your definition of Gygwin as a simple "unix-api") then it > also includes a full port of the core > XFree86 to Windows. Cygwin has X.org now, and gtk, and gnome, and subversion, and rpm, and ... :) I can vouch that remote X works, I've run a cygwin X.org server displaying applications running on my linux box over ssh. Vnc might work better for you though, especially over slow connections with display intensive applications. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Strange results from "df"
Ian wrote: > No, you've by default got 5% of space reserved for root (so > you don't fill your disks up and paint yourself into a corner). > > You can modify this with tune2fs. There's also an option > when you're formatting. Many thanks Ian, spot on. umount /dev/sda1 tune2fs -m 0 /dev/sda1 mount /dev/sda1 df Yiz wrote: > So my guess would be 1) there was still a small amount of > memory left so you were able to copy small sized files onto. > 2) you overwrote something and the system did not give any warning. I copied a large volume of files into a new directory. I'm not so sure that use% is an estimate, more of a determinate calculation that factors in more than just the other numbers that df gives, in order to appear superior to the hapless user. I for one welcome our new number-crunching disk-space-up-our-sleeves overlords. :) On the other hand, adding the reserved amount to the df output sounds like a sensible improvement to consider. Toes Go In First, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Strange results from "df"
Hi all, I have a Seagate SATA disk attached to my Ubuntu system, and the df command seems to be a little confused. Extract below... [EMAIL PROTECTED]:~/$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1114879816 109103408 0 100% /mnt/seagate I can copy files onto the disk and the Used number goes up, but the Available and Use% counts have me baffled. Could this be something to do with sparse files? If so, how might I identify the culprit/s? Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] breezy x problem
> I dist-upgraded to breezy from hoary. > > System is using the Ubuntu amd64 dist. > > If I start the system the gdm logon appears. I can enter the > uname-pwd as normal. > > The system then begins to start X showing splash screen, > nautalis start, then teh updater start then it freezes. No > keyboard entry at all. Just a yellow screen. Are you sure all the packages have been updated? I've just been through the same upgrade and had to run dist-upgrade a couple of times. Maybe try a couple of the tips on the wiki too (especially point 2 in the Post-Upgrade section) ... https://wiki.ubuntu.com/BreezyUpgrade HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Weird MySQL error on comment
Michael Kraus wrote: > I've got a text file I use to create my MySQL tables. (That is, it > contains sql statements.) There is a comment in the file: > > /* whirlpool_user_id does not map to any other database reference - > just purchaser's user name or id on whirlpool */ > > When this sql file is executed against the server with the comment > left in, it complains of an error on the next CREATE TABLE statement. > Anyone have any clues? "The Fine Manual"(TM) suggests that the single quote in there is against the rules ... http://dev.mysql.com/doc/mysql/en/comments.html Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Wireless network PCMCIA
> > I'm travelling overseas soon and I will be taking my laptop with me. > > > > Is anyone able to suggest a good PCMCIA wireless network > card that is > > supported by linux (gentoo flavour)? > > I've had great results with the Linksys WPC54g and > ndiswrapper, but have only tried to connect it to a Linksys > AP. It sustains 1.4Kb/s transfers between my laptop on the > ground floor and the AP on the first, complete with OpenVPN > securing the connection. What version of the card is this? I have a WPC54GV2 and have had trouble getting it working under: 1) Ubuntu Live CD with ndiswrapper 2) Auditor Live CD with ndiswrapper I haven't spent a great deal of time on it, but I get the impression that other cards might be less of a headache. The V2 is an ACX111 chipset (IIRC), earlier version were Broadcom. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Is LVM worth it?
Hi Howard, > I've just got a FC3 box in the shop with a screwed LVM setup > - when it starts to boot it gets a kernel panic. > > I have the FC3 rescue CD but that doesn't appear to have any > LVM tools on it, neither does the Knoppix CD. > > I would like to try to mount the LV partition but it appears > to be a "no go" without the right tools. > > Any ideas other than a fresh install without LVM, which looks > to be the way I might have to go? Do you want to recover the data? If so, a spare disk and some hardware testing (memtest86+ and other stuff on the Ultimate Boot CD) might be in order. Knoppix should be able to do LVM, or perhaps the Ubuntu live CD. A few questions to ponder ... Do you know what kind of "screwed" it is? MBR, partition table, LVM metadata, filesystem structure,...? Is the root partition under LVM? Does the kernel panic say anything that might be useful? FWIW, my experience with recovering data from an LVM2 setup (after losing the metadata) is documented at: http://www.livejournal.com/users/rog/127475.html None of the above low level recovery should be necessary if it's possible to get the LVM metadata back and the data itself is intact. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Apache virtual server configuration
> Well, that worked (thanks for that), but on restarting httpd, > I got an error message: > > Starting httpd: [Wed Jul 27 10:13:37 2005] [warn] > NameVirtualHost 202.173.184.198:0 has no VirtualHosts. > You don't need that line anymore in this case. Best practices might dictate another approach (anyone?), but removing the NameVirtualHost line should be ok. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Apache virtual server configuration
Hi Edwin, > We're just converting over from our web server being a single > site server (root in /var/www/html/) to also hosting an > Intranet/Extranet site. So we want to move the site over to > /var/www/html/website, but although we've added a new virtual > server in httpd.conf, it still goes back to the > /var/www/html/ location. Can anyone offer some ideas? Not sure if the following will work, but it's based on referring to a working vhost config (apache 1.3)... ServerName www.ironstone.com.au DocumentRoot "/var/www/html/website/" HostNameLookups off HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Program to detach e-mail attachment
> looking for some pointers on getting together some code to > auto process incoming e-mails, detach their attachments and > save them as files. The MTA is qmail so the appropriate > "|myprog" entry in .qmail gets the mail passed to the program > then I need to code up something that will take the > attachment, detach & decode it and save it as a file. Give munpack a try, I think it's available in many distributions all packaged up (as "mpack"). I have a procmail recipe thus ... | munpack -f -q -C /somepath/ HTH, YMMV, etc. :) - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] converting .ics calendar files
I tried phpicalendar on my site, it looks nice, works well for what it is and sounds like a good fit for your needs. Unfortunately, the project may now be defunct, but the latest release can be obtained from http://sourceforge.net/projects/phpicalendar/ HTH, - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gottfried Szing > Sent: Monday, 20 June 2005 4:27 PM > To: slug@slug.org.au > Subject: [SLUG] converting .ics calendar files > > hi, > > does someone of you now a way to convert a ics-calendar-file > (published by firefox/thunderbird) to an HTML-file (or php, > ...)? the idea is to make my personal calendar available to > others via apache without allowing them to access the > ics-file directly. > > thanks, gottfried > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Ftp get a directory
> Can I use command line ftp to get a directory and it's > contents recursively? Yes. :) The mget command (as opposed to get) may work recursively for you inside an ftp client depending on the client/server. Otherwise, use wget with the --recursive option. I believe it to be a more appropriate tool for the job. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Scheduling a X GUI Application to start
> On 6/10/05, Simon Bowden <[EMAIL PROTECTED]> wrote: > > Your question does seem a bit odd though. If you had mentioned > > what&why you are really trying to achieve, then perhaps > there would be > > a better or more appropriate way... > > Basically optusnet cable gives you free bandwidth from 2am > til 9am. I want BitTorrent (python script) to start up at > 2am, (and prefferably stop at 9am) automatically so that i > can take full advantage of this free bandwidth without > wasting my other bandwidth all the time. > > I will try your suggestions and let you know. If you're not averse to using Java, Azureus (excellent bt client) has a plugin available (SpeedScheduler) for setting bandwidth limits at different times. You can, for example, upload at all hours, and pause or throttle downloads between 9am and 2am. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Help with apt-get pinning
> Perhaps this is wrongly formatted. > > deb ftp://ftp.debian.pacific.net.au/debian-security > stable/updates main contrib non-free > > Otherwise, itmst be the seven woody CDroms listed first in > /etc/apt/sources.list. You need the "base" debian repository (you may want to replace your CD based entries) in addition to the security one. Untested guess based on browsing ftp.debian.pacific... deb ftp://ftp.debian.pacific.net.au/debian stable main contrib non-free - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Help with apt-get pinning
> > Do a dist-upgrade, not an upgrade. An upgrade doesn't try > hard enough > > - it won't remove packages. dist-upgrade does, thus can > resolve conflicts. > > Okay, what does it mean when it says there is nothing to upgrade? > I have a basic woody installation and > /etc/apt/spurces.list says stable, not woody. > I am trying the Pacific.net.au mirror. http://mirror.pacific.net.au/debian/dists/stable/Release says that stable == sarge. Did you do an apt-get update first? - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Bogus CommBank alert warning
> > Thanks, hundreds of people are, but what does that have to do with > > Linux > > > For your benefit: > --snip-- > > Better? Nice attempt. Really. :) :) > Therefore, as a member of said community (slug), I decided to > advise other community members to beware of this new attack > especially as it is the first one I've seen that relates to a > major Australian bank (perhaps I'm wrong there. If so I stand > corrected.). Sorry, I did overreact before the Monday coffee. However, phishing emails are rife and well known these days, even with Australian banks, and I still think the post would have been more appropriate on -chat. I hope we can agree to disagree on that and move on. > This email is not unlike other community-based informative > emails on the SLUG list relating to attacks of various sorts > and how to cope with them. > There is extensive discussion on such and I would have > thought that my email was a fairly inoffensive addition to that Kbase. Fair enough, I was venting and shouldn't have directed it at you specifically, I do apologise for that. I don't like having to filter more and more O/T noise out of the signal, and my effort to address it in another way didn't hit the mark. Thanks for CCing back to the list, so I get to explain myself publically. I'll be more careful of where I send private correspondence in future. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] penguin recognition
> don't know how the "Hey, perhaps Dimitri can help me source > some crack for this weekend" came in. I think Tongmaster is referring to your Spam reference. As you explained to me when I asked, that was a typo ... Dimitri said : > Ok, scam ads in creative circles are not very harmful. (Sorry I wrote "spam" > wrongly earlier) > > That's when you make print ads (or TV, radio) your client did not request or > you not even > have the client. Than you enter them into an Award show and hope to get > recognized. I hope you don't mind my quoting your off-list reply to clear up the confusion of your original post. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Problems with rsync
> Ryan Verner wrote: > > On Tue, 2005-05-31 at 22:28 +1000, David wrote: > > > >>>I have a routine that runs an rsync to sync data from a > Linux fs to a > >>>vfat fs which I have smbmounted on a linux fs. > >>> > >>>It runs quite happily for a while, then stalls. > >>> > >>>the rsync command I an using is: > >>>rsync -vrtL --delete /home/ext3fs /home/vfatfs > >>> > >>>What is the best way to find out why it might be stalling? I know > >>>where, but why. > >>> > >> > >> > >>I've had a lot of trouble with rsync stalling. I've managed > to cure it > >>without understanding the reasons. Try adding --bwlimit= > > > > > > Sounds like packet shaping somewhere is causing packet loss, which > > rsync tends not to handle very well. > > I wouldn't be expecting packet shaping on a LAN. Depends how you think about MTU. :) I had problems copying any large file (rsync or otherwise) in the past because the MTU was set too high for my crappy NIC. It could be a long shot, but something to think about. Try copying a big file using cp and see if it has any trouble. Check what ifconfig says about packet counts before and after reproducing the problem. Of course, the other end of the pipe/s may be the problem. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] SMS Gateway
> We're looking for a way to provide users on an > apache/php-based Intranet service with the ability to send an > SMS message from a web browser. > > Does anyone know of a Linux solution? We're running RH7.2. > > I presume there would need to be some kind of compatible > account with a telco? I've used smssend with some success on an optus mobile account. It connects to web sms gateways (such as optuszoo) to do the job. It can be a bit of a pain to get working because of this. There are also ways to send sms via icq programatically, but it's pretty unreliable. More info: http://zekiller.skytech.org/smssend_menu_en.html http://www.barsnick.net/sw/smssend.html - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] I wish to lowercase a character in a sed script
> #!/bin/bash > # Agrawal, B.M. > and Kumar, Virendra # href="111_12.html#Agrawal">Agrawal, B.M. and Kumar, > Virendra cat titles.html | sed 's/"col1"> href="\(.*\)\.html">\([A-Z][a-z]*\),/"col1"> href="\1.html#\2">\2,/' > test.html > > How can I lower case the anchors i.e. #Agrawal to #agrawal? > I know that tr can do that but the above is in a sed script > adn I can't use tr there. > sed does not have a lower function. > Maybe I have to do in two passes somehow? Can you not simplay add \l (force next element to lowercase) in your replacement? Eg (untested) ... cat titles.html | sed 's/"col1">\([A-Z][a-z]*\),/"col1">\2,/' > test.html - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Stupidest law of the year candidate!
> ...and what if Can you guys take this somewhere else please? It's just not linux. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] HDD recovery options
> Mkfs, I believe, will rewrite stuff that you probably don't > want to use. As a last resort if it's necessary to start Correction: "stuff that you probably don't want to _lose_" Oops. - R -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] HDD recovery options
Hi Andre, I've had a bit of recent experience with similar problems, and there are a few things you can try. > I tried fsck /dev/hdc1 and got the superblock error with > short read and a suggestion to try.. > fsck /dev/hdc1 -b 8193 and get the same error. Check out the e2fsck man page for the -B and -b options and try a few combinations if you don't know the block size of your filesystem. -b 8193 is a good suggestion, but it might not be quite right for your filesystem. There are usually a few superblock duplicates on the HDD, so with a bit of prodding you could find one that's good. Familiarise yourself with fsdebug too, it can be a godsend for a quick partial recovery. > When I ran fdisk /dev/hdc and used the P command it showed to > drive as having no partitions. Sounds like your partition table might be bad (yes, I'm probably stating the obvious). If it's anything like the problem I had, and the symptoms are similar, the first few sectors of the disk may be stuffed, taking the partition table and the start of the first partition. Gpart may be able to guess your partition table setup and restore it, but if the start of the disk is bad, then it won't be able to repair the damage. In that situation, there are some tools that you may or may not have success with to copy the remaining pieces of the file system elsewhere (e2retrieve comes to mind, though I didn't manage to get it working for me). > So, Can I just create a partition with fdisk and run fsck > again to repair? You could try. In theory, I don't think it would make things any worse, but please don't take my word for it. I would certainly go for other options first. > Do I have to mkfs again? Mkfs, I believe, will rewrite stuff that you probably don't want to use. As a last resort if it's necessary to start over, but I'd be very suspicious of that disk. > What options or methods would you use in this situation? Backups, google, slug, praying and/or punching things, in approximately that order. :) Oh, and don't persist with dodgy bits of hardware, as the headaches come back. > Even if the top level directories and files where > unrecognisable I could still make sense of the lower > directories and file which should remove intact after repair? Depends on what broke. Fsck put 7000 entries in my /lost+found once, representing /dev, /etc and some other key stuff. It wasn't worth trying to recover. On the other hand, my home directory, in a separate incident, was in lost+found and I was able to simply move it back to where it was supposed to be. Hope that helps. Disclaimer: I don't recommend you try any of the above, I'm not an expert by any means. I hope that someone else with more experience can clarify/correct. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] catdoc, locating/specyfing codepages ?
Oops, sent too soon. ... and rpmfind suggests /usr/lib/catdoc, which makes sense based your whereis results ( ${exec_prefix} == /usr ) - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Roger Barnes > Sent: Friday, 11 February 2005 11:20 AM > To: Voytek; slug@slug.org.au > Subject: RE: [SLUG] catdoc, locating/specyfing codepages ? > > > but, I can not find the catdoc's CHARACTER SETS, how to find where > > they are ? > > > The debian package [1] suggests /usr/share/catdoc. > > - Rog > > [1] > http://packages.debian.org/cgi-bin/search_contents.pl?searchmo de=filelist&word=catdoc&version=testing&arch=i386 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] catdoc, locating/specyfing codepages ?
> but, I can not find the catdoc's CHARACTER SETS, how to find > where they are ? The debian package [1] suggests /usr/share/catdoc. - Rog [1] http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=catdoc&version=testing&arch=i386 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Unwired for Broadband ?
> At best I've seen orange at home. Took it to Jan's unit in > Hornsby and got green. Moving the modem about by approx 0.5m > at a time can help. EG at the office it's sitting on a chair > on top of a table near a window. I'd recommend it for roving > tech's in Sydney. > > It also broadcasts UDP packets (at least on the ethernet > side) which tells all sorts of stuff like temparature (they > run very hot) and signal strength, time, base station id, > approx distance and probably more we haven't worked out yet. I just moved house into what turned out to be a small signal blackspot, and found the following useful for finding a "better" spot to put my modem... http://forum.exetel.com.au/viewtopic.php?t=2435 The lights on the modem are a basic indication, but the diagnostic software with the Ctrl-Shift-F10 trick goes well beyond. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Insert text at the beginning of a file
> tac is the opposite to cat > maybe something like > tac text.txt > reversed > echo "the line to insert" >> reversed > tac reversed > text.txt I was trying to do something like that too, but came up with another way that I suspect is more efficient than reversing files ... echo "the line to insert" | cat - text.txt > /tmp/newfile$$ cp -b /tmp/newfile$$ text.txt # -b makes a backup I'm trying to think of a way that doesn't use an intermediate file, not that it would be any more efficient given the whole file will be re-written no matter what you do. I tried using less with unlimited memory buffers (-b-1) instead of cat, but it doesn't work any better, probably because of how pipes work. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Gday slugers
> I was wondering if any one could tell me how I could use at > to schedule wget to download a file from the web? > Step by step instructions if possible. I'm sure someone _could_. :) What have you tried so far? Have the fine manual and the fine web resources come up with nothing? Why must at and wget be part of the solution? http://www.catb.org/~esr/faqs/smart-questions.html Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] rsync'ing home directories
> I'm building a new system, and I want to rsync my home directory from > the old one which will ultimately be discarded. > > I've deleted all files in my home directory from the new system > EXCEPT, the dot files such as .bashrc etc > > Is there an easy way to rsync without destructively blowing away . files? > > Does this have to be managed manually? Couldn't you just backup/duplicate the old home directory, rsync dot files _from_ new home directory over the top, then rsync the lot back the other way _to_ the new home directory? There are probably a few ways to do it, and the solution may not involve rsync at all. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] /dev/console on
> > It might be the wrong version of the module for the kernel you are > > trying to boot (ie: the order is "make install_modules", "make > > install"). > > It's a distro (Debian) kernel: I doubt they stuffed up the > build order. > At this stage the most likely cause seems to be that the > initrd does not include the libata module OR that the libata > module does not work with my SATA controller. I suspect the > former, as I believe the pivot_root error is the first error. I'm having the exact same problem (SATA disk, kernel-image-1-2.6.9, /dev/console error) and agree that precompiled kernel probably does not include what's needed for SATA. I think compiling a custom one from the kernel-source package is the way to go. The SATA/Linux combination seems to take people down a very difficult path (I've been through several custom 2.4 and 2.6 kernels, hdparms, BIOS settings ...). To top that off, I suspect my disk is faulty (frequent crashes under load), so I've resigned myself to buying a PATA (regular IDE) disk to replace it. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] sco site
> > >check out http://www.sco.com > > > > > >boy oh boy.. defacement at it's best :) > > > > > >i'll try to save a copy of it .. but then it's better to > check it out > > >uself :) > > > > What, no "All Your Code Are Belong To Us"? > > > > Hehehe, I almost missed at first glance. > > Gone now :-( > > If you got a copy of it, I suspect some of us would like to see it. There's a screenshot here: http://www.zone-h.org/files/77/sco.com.jpg - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] small form factor cluster
> I am after opinons of small form factor computers. > > I have a friend who wants to have a large system without > looking ugly. Is your friend ugly now? If so, a large system probably won't help, except perhaps as a distraction. :P But I digress ... > My suggestion is a cluster of micoform factor boxen without > fans using an Intel M processor or similar. > > What are advantages / disadvantages? I think we'll need a definition of "large" to answer that. I have an SFF box, and it has 3 fans. Finding one that works reliably without fans is going to be a big ask, since SFFs tend to suffer more from cooling/airflow issues than their full size counterparts. I'm no expert on clustering, but what alternatives are being considered? What is your friend trying to achieve? Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Why can't browser writers get it right
> > The CSS has: > > font-family: Verdana, serif; > > should be > font-family: Verdana serif; > (no comma) *Bzzzt* _With_ comma is correct. http://www.w3.org/TR/REC-CSS2/fonts.html#font-family-prop http://www.htmlhelp.com/reference/css/font/font-family.html http://www.southerntwilight.com/tutorials/csstext.html http://www.w3schools.com/css/pr_font_font-family.asp http://www.google.com.au/search?q=font-family+comma - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Building kernels
> The reason for re-compiling is to implement one of the many Generic Security > Policies, > namely: > > Include only those OS components that are required. There are > scores of rationalies for this. > Ok, hold it right there. Before blabbing on about your systems and how they worked many many years ago (we are talking about kernels, not routers/firewalls BTW), could you please explain where you get these Generic Security Policies (TM?). What are the 40 or more rationales, and how do they apply specifically to _RE_compiling a kernel? Maybe then, we can explain to you in even more specific terms the reasons why not recompiling might be better. Please check the archives again before claiming that no one has given you reasons already. Generalisation is the kiss of death. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Maybe trying out gentoo again
> I practice this concept myself. Besides being optimised for > speed because the kernel footprint is smaller, -- snip -- After a most interesting discussion in the swap size vs performance thread, I feel compelled to play devil's advocate once more. My understanding was that the size (footprint) of the linux kernel with drivers compiled in, out or as modules, didn't really have much bearing on performance once all the necessary pieces are in memory (including modules), and that having unnecessary bits loaded as modules or compiled in would make little or no difference. I accept that a larger kernel would be slower to start up with additional IO and housekeeping required. I expect the answer will be similar to the swap discussion in some ways, that is that there is a performance hit, but it's insignificant taking all other factors into account. In short, my question is, how is a lean kernel compilation going to provide an optimisation in speed? Happy to be enlightened, :) - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Swap file performance tuning ?
> Reduce your SWAP to between 1 X 1 to 1 X 2 RAM. > > Ideally 1 X 1 RAM-to-swap. I know that's the standard recommendation one sees for creating swap partitions, but I'm intrigued as to the reasons for your suggestion. How does reducing the swap:ram ratio improve performance? I expect the kernel would be conservative about using swap irrespective of how much there is. 1:1 RAM-to-swap is not at all ideal if your applications need 2Gb of memory and you've only got 512Mb swap to go with your 512Mb RAM and the machine crashes. My understanding is that having plenty of swap space isn't a bad thing if you can spare the space and are likely to make use of it. I'd like to know whether that's a misconception that actually degrades performance, and why. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Swap file performance tuning ?
> Sluggers, I have 1 gig ram and 4 gig Swap on a Sata drive... > performance when using memory-hogs like Sweep audio editor is > great while it's using ram, but slows to a crawl once it > starts using swap... not just Sweep but any app. Is this > normal, or can I tune this in some way ? (I've spent my > hardware budget for the next 3 years so no more ram). > thanks To start with, try the following (as root), replacing /dev/hda with the device your swap lives on... # What is this disk, anyway? hdparm /dev/hda # What are the current hdparms? hdparm -i /dev/hda # How fast can it read? hdparm -Tt /dev/hda Then see if you can't improve things with the same command (man hdparm and google [your disk model] hdparm). If you get it running faster, you can make it permanent (for me on Debian sarge, that's by editing /etc/hdparm.conf). This sort of tuning can potentially cause problems with ambitious/foolish parameters, so be careful. At the very least, turn on dma if it's not already, and your disk supports it. Some other thoughts ... if you have another disk on another channel, consider putting a swap partition on it also. Beyond that, I believe there are some other things you can do to tune swap/memory usage also. HTH, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] scripting ftp login
> I have a simple backup script like: --snip-- > - > at completion, I'd like to login to ftp and mput *.gz; how do > I script ftp user/pass/commands ? Googling script ftp linux brought up this, looks pretty good: http://www.users.qwest.net/~eballen1/scripting.ftp.html If the remote server is under your control, scp or rsync might provide a better general solution. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] remotely removing attachments from stored mail files ?
Hi Voytek, > I have a remote mail/web server that I get my mail from. > > I do not have any email client configured (to my knowledge) > on this host; I have large attachements sent as email, that I > need on the web server, what can I run against the stored > email file to detach attachments on the remote server, to > save me from downloading, detaching and uploading again ? Not knowing much about your setup, I can only give an example of what I do using procmail and the mpack package... If subject contains "blah", pipe the email through munpack, saving any attachments to a directory within the web root: :0 c * ^Subject:.*blah | munpack -f -q -C /var/www/mywebroot/attachments Removing the attachment, as opposed to just saving it, may prove more difficult, but if you're not interested in the email anymore, you could /dev/null it. The crux of that is the munpack, how and when the emails get to that point depends on what you _do_ have on your server. Hope that helps, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] How to remove files en masse
Find the files: find /home -name *.bmp -type f | less Once you've checked that you _really_ want to get rid of all the files found, delete them: find /home -name *.bmp -type f -exec rm "{}" \; Alternatively, move them somewhere for a while, just in case: find /home -name *.bmp -type f -exec mv "{}" /tmp/ \; Not fully tested, use at your own risk. - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bryan > Sent: Wednesday, 22 September 2004 9:13 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] How to remove files en masse > > Hi all, > We have run out of space in our user directory file. All > users have been warned to delete or convert the thousands of > bmp files to soemthing else or they will be deleted. So now I > want to carry out my threat. I can list them all with > > ls -alR |grep bmp > > but how do I feed something like that to 'rm' -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Australian F/OSS distributed on peer to peer networks?
> She's asked me if I know of any open source/free-software > authors in Australia that use p2p technology to distribute snip > Can anyone think of more specific examples that might be > relevant? Also (and yes, I hate it too when people say this LCA2004 videos ... Just one example of over 4 gigabytes of data that is a reasonably heavy burden through centralised distribution methods. There are currently 80 people legitimately sharing this data with one another using bittorrent. Over 300Gb to be transferred, not counting those who have been and gone, and those who have yet to join. Damn 256/64 ADSL :( ... sh torrents 1 [>] 020.1% LCA2004-dvd.iso (4276.5 MB) ETA:1d 23h Speed: 18.1 kB/s / 3.9 kB/s Amount: 863.3 MB ( 5.4 MB discarded ) / 64.5 MB Connections: 11(15) / 42(65) - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Wireless intetnet service provider
Yes, Exetel and Swiftdsl will be offering a similar service using the same infrastructure and hardware, and there is also iBurst (which is more business targetted). Whirlpool is probably a more relevant place to find out more. - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of FH Leung > Sent: Friday, 3 September 2004 8:42 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] Wireless intetnet service provider > > Apart from Unwired, any other Wireless intetnet service > provider in Sydney? > > Regards, > Fhleung > > _ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] sms
I've set up smssend just to play around and see how it works. http://packages.debian.org/unstable/comm/smssend Works pretty well using Optus' info2you, you might need to get a more up to date script (the application can do this unaided). HTH, - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ashley Maher > Sent: Wednesday, 1 September 2004 11:31 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] sms > > G'day, > > Ages ago I set up sms from a web box using the optus gateway. > I've not needed this in years. I was asked again this morning > and was silly enough to reply, not a problem. > > Ahhh what are people using to send sms from hosting boxes > these days? It appears times have changed (just a little) > > Thanks for the help > > Ashley > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] sending output to both screen and log file, how ?
> Instead of tee the following should work also: > > echo "$now $0 executed for $DOMAIN on in $exectime sec" 1>&2 > >> /var/log/awstats.log I think you may mean: echo "$now $0 executed for $DOMAIN on in $exectime sec" >> /var/log/awstats.log 1>&2 [tested] - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] testing for file existanace, and an 'and' in a script
Hiya Voytek, A lot of your scripting questions of late are answered in the Advanced Bash Scripting Guide. The examples for each concept in the guide also introduce other ideas and examples of syntax, so it's worth giving it more than just a quick browse. http://www.tldp.org/LDP/abs/html/ The bash guide for beginners provides a reasonably good primer, and covers a few tricks also. http://www.tldp.org/LDP/Bash-Beginners-Guide/html/ Happy scripting, :) - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Voytek Eymont > Sent: Thursday, 19 August 2004 8:51 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] testing for file existanace, and an 'and' in a script > > I want to check if two files exists, if so, run awstats, how > do I put an 'and', and, is that the way to check it ? > > > if [ -s /home/$DOMAIN/logs/2004-$j-$i-access.rog ] AND [ -s > /etc/awstats/awstats.www.$DOMAIN.conf ]; then > /usr/local/awstats/wwwroot/cgi-bin/awstats.pl > -config=www.$DOMAIN -update fi > > Voytek > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Debian power management
Hi Michael, > Does anyone know what tools are out there for power > management for debian? The ACPI howto might be a good starting place, depending on how old your laptop is. http://www.tldp.org/HOWTO/ACPI-HOWTO/ Cheers, - Roger -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] File system barf (ext3), having fsck problems - fixed
In case anyone was wondering, I figured it out ... debugfs -w ... to remove/clear tricky files/directories/inodes from lost+found (especially that troublesome inode) Other useful commands were ... dumpe2fs ... to find out block info, see where things lived (also mke2fs -n for similar info) e2fsck -b ... to use a back up superblock tune2fs -j ... to rebuild the ext3 journal - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Roger Barnes > Sent: Tuesday, 20 July 2004 10:14 AM > To: MailList-SLUG > Subject: [SLUG] File system barf (ext3), having fsck problems > > Hi all, > > My /home partition is having a hard time at the moment. 8< snip 8< -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] File system barf (ext3), having fsck problems
Hi all, My /home partition is having a hard time at the moment. Whilst untarring some files (logged in remotely), the system froze, and by the time I got to the machine physically, the aforementioned partition was in a bad way, needing several fsck passes to fix a bunch of problems. The ext3 journal is gone, so it's now an ext2 filesystem. I was able to mount the file system and have recovered the home directories, but there are a lot of empty looking inodes remaining in lost+found, and fsck keeps getting stuck on the following error that won't go away: Pass 3: Checking directory connectivity Unconnected directory inode 3833802 (...) Connect to /lost+found? yes Couldn't fix parent of inode 3833802: Couldn't find parent directory entry This was after another error that prompted me to delete /lost+found/#3833802. So far google has only turned up advice that I'd give (not very useful, that is). Any ideas? What else needs to be done to clean up the partition? It seems that the superblock is still broken and I'm not sure how to fix that (something to do with backup superblocks I expect). I'll probably delete what remains in lost+found as it doesn't appear to have anything recognisable and I think I have fully recovered the home directories. Then I'll rebuild the ext3 journal and think about a) buying a new hdd b) backing up properly ( :p ) c) reviewing my hdparms. The system has been somewhat unstable ever since I set it up, notably when thrashing the hdd (120GB Seagate SATA). Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Win4Lin or Wine? A: Yes.
That's not a fantastic way to get an answer, let alone a good one. What do you want to use such an application for? What have you tried so far? Are you talking about comparing price/TCO/convenience/reliability/support/frames per second/footprint/security/speed/AS400 ports/quality of comments in source code/...? :) :) What has your own research surfaced so far? http://www.catb.org/~esr/faqs/smart-questions.html ... will not answer your question, but might be worth reading anyway. Cheers, - Rog ... More content, less sig. Get a blog instead. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Howard Lowndes > Sent: Thursday, 15 July 2004 5:42 AM > To: MailList-SLUG > Subject: [SLUG] Win4Lin or Wine? > > The subject asks the question. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] RSS Url Fetcher !
XML::RSS - creates and parses. You'll need to retrieve the URL separately, then feed (ahem) the result into the parse method. http://search.cpan.org/~kellan/XML-RSS-1.04/ - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Louis > Sent: Sunday, 11 July 2004 12:32 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] RSS Url Fetcher ! > > Hi: > > Does anyone know if there is a Perl module that retrieves RSS > urls from Blogs/RSS search engines ? > > I've looked through CPAN with no luck, but I may have missed > something. > > Thanks. > > -- > I'm always learning something new everyday. Thanks Sluggers. > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Debian sources.list problem.
Maybe there is an APT::Default-Release option set in your apt.conf? Also, it may be worth having deb entries listed for both testing and stable. - Rog From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean MurphySent: Thursday, 1 July 2004 20:54To: [EMAIL PROTECTED]Subject: [SLUG] Debian sources.list problem. Hi All. I am having some issues with changing my sources.list from a stable environment to a testing environment under Linux. I have change the value stable to testing and when I run aptitude update, it complains that it cannot find the package files. If I revert the change, everything works fine. I am removing the security line out of the source.list file when I switch over to the testing environment. Is their some hidden command or switch that I have to use to refresh the package database? I have used: aptitude update apt-get update Regards Sean -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] souces.list for packages stored locally
> On Tue, 15 Jun 2004, Roger Barnes wrote: > > > I think you need to point at a directory, not a particular > deb. "man > > sources.list" suggests something like: > > > > deb file:/home/david/debian > > #apt-get update > E: malformed line in sources list > > I know that's what the man page says, but I think it doesn't > tell the whole story. Sometimes man pages tell fibs, or at > least not the whole story ;-) Yep, but I think it got us closer than before. You caught me, I slipped in a fib with my fingers crossed (hoping it would work), but I think there needs to be a specfic directory structure that specifies release (eg testing, unstable), architecture and so on. apt-get, upon further inspection, seems to look for a Packages.gz file to catalog what's available at each URI. The debian-user thread below may provide some clues: http://lists.debian.org/debian-user/2003/11/msg00617.html Short of running dpkg-scanpackages, you may be stuck with using "dpkg -i" instead of "apt-get install" - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] souces.list for packages stored locally
I think you need to point at a directory, not a particular deb. "man sources.list" suggests something like: deb file:/home/david/debian - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David > Sent: Tuesday, 15 June 2004 12:06 PM > To: [EMAIL PROTECTED] > Subject: [SLUG] souces.list for packages stored locally > > > What entry should I put in my sources.list for packages that > are stored locally > > eg: > > > /home/david/debian/foo.deb > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Awk parameter as search string
/regexp/ is considered a constant, so it won't let you put any variables in the pattern This page: http://www.math.utah.edu/docs/info/gawk_5.html#SEC32 reckons that $0 ~ search { printf("%s\n",$0) } will work ... it did for me. HTH, - Rog ... just learnt some awk :) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Peter Rundle > Sent: Friday, 11 June 2004 10:36 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] Awk parameter as search string > > Sluggers, > > Does anyone know how to use an argument to awk as a pattern match? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] ide2: unexpected interrupt, status=0xd0 count=32
I had this problem. I forgot the solution, but Google knows all about it (sata "unexpected interrupt"). In short, I think a combination of kernel upgrade and/or BIOS settings fixed it. What kernel version are you running? - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of pesoy misak > Sent: Monday, 7 June 2004 11:45 PM > To: [EMAIL PROTECTED] > Subject: [SLUG] ide2: unexpected interrupt, status=0xd0 count=32 > > Dear all > > I just bought a pentium IV computer with a 160 WD SATA drive > for my computer. and would like to install woody on it. > everything went smoothly until I reboot my PC for the first > time and annoying message said ide2: > unexpected interrupt, status=0xd0, count=32 and keep > incrementing the count. Is there anyone has experience the > problem and solve them. > > many thanks in advance > > > > > > > > __ > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger. > http://messenger.yahoo.com/ > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Digital cameras and motion video
> > Is it possible to pull motion video from most / any cameras > and save > > to the host computer, or use it with software like gnomemeeting? I > > can't think of a way, but I haven't really played with this stuff > > enough. Most digicams probably _could_ technically do this, but there are good reasons not to. The first one is that you can get a webcam that is designed for the task for peanuts. There was a lengthy discussion on a Canon digital photography forum about this. The consensus was that the cameras aren't designed for webcam use and even if technically feasible, there are things like battery life and potential overheating from constant use. > any trivial way to get other cameras to do it. There is a > program called dcraw that apparently pulls images straight > off the camera's CCD sensor. Dcraw, from my experience with a Canon G2 is for converting RAW ("what the CCD sees") images to a more common format, but not directly. You still have to take a photo. > I don't know if you have an old-skool TV capture card, but > one potential option might be to just use the camera's TV-out > feature to feed a TV-tuner card. I believe most cameras let > you disable the on-screen display stuff, which would make it workable. This is a good idea. There are loads of old analog handycams lying around not getting any use. My Dad hooked his up with an el cheapo video converter and uses it as a webcam. In short, any digicams do provide a video stream of sorts that can be read on a computer, and I think it's technically feasible to interface it into v4l (depending on the specific model and openness of the existing interface). With digicams still relatively expensive and ill-fitting for the purpose of something that a webcam does, I'm not sure one would really want to. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Developing FOSS while employed developing proprietary software
> well I believe this is actually theft.. if you lift a source > directory from your employer and it magically becomes part of > an OSS project (or your own proprietary project) without > their permission then you have really stolen the code.. ... snip ... To debate this issue effectively, one needs to get stuck into semantics (just a little). The biggest problem I have with responding to your argument is with the use of the word "theft". It's the same misnomer that has been pushed by the record industry for the past few years. If we talk in real terms like copyrights, trademarks, patents, contracts and licences, then there is a legal context. All that aside, I think I do see your point anyway, but can't respond without assuming some things. Correct me if I'm wrong, but it comes down to the distinction between what constitutes IP (which is lacking legal context in itself) and what doesn't. There are ideas, skills, source code, algorithms and blurry lines in between. Point in case ... "if you lift a source directory from your employer and it magically becomes part of an OSS project" That is almost certainly copyright violation, probably as a direct result of violating an employment contract. That is, of course, unless the employer permits it (then it isn't as magic). If you learn a technique to _do_ something, then I think that is a skill that belongs to you, in your head. (We might be entering the evil, murky patent territory here, run for it!) Still not a lawyer, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Developing FOSS while employed developing proprietary software
As Simon said, it depends on the wording. My employment contract _was_ sufficiently vague that they could claim rights to one's gourmet pizza recipes developed at home if they wanted. I had a couple of meetings with my boss and HR and had the wording changed for my whole department (we're a development team), so that it was specific to employment related "stuff". I also obtained an addendum for myself allowing me to continue to run my own business on my own time (this was unofficially OK'ed previously, but I thought it best to get it in writing). There was no conflict of interest, and HR could see the outside work stuff as being complimentary in terms of skills, without being an IP or on the job performance threat. If your contract says "during the course of your employment", then you'll have to do you FOSS stuff out of hours, unless you get those nice clauses (which can be tricky). I am not a lawyer, - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knight > Sent: Wednesday, 2 June 2004 11:53 PM > To: SLUG > Subject: [SLUG] Developing FOSS while employed developing > proprietary software > > Hi guys, > > I'm currently employed as a web developer/sys-admin for a > small business. My employment contract basically states > pretty clearly that anything I `invent' during the course of > my employment becomes the property of the company. > > Obviously this is legally a severe hindrance to me helping > out / creating FOSS in the best ways I am able. > > I've had a bit of a look at http://www.sage-au.org.au/osda/ > and a few other places, but would be interested to hear from > the list about people who are/were in similar situations > and/or have some good suggestions as to how I can convince my > boss to add some of those nice clauses to my contract. > > A workmate and I have talked with him about it before but he > seems to think that if we're programming in our spare time > we'll be too tired or we'll be thinking about our other > projects during work time. > > Thanks for any insights! > > -- > Mike > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Comparing partition contents
Maybe try... rsync -avn --exclude=transfer / /transfer/ > sync_files.txt This is completely untested, but in theory is nicer about symlinks etc, and excludes transfer/ from a comparison with itself. - Rog > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Edwin Humphries > Sent: Tuesday, 1 June 2004 9:58 AM > To: [EMAIL PROTECTED] > Subject: [SLUG] Comparing partition contents > > I want to essentially copy the files on one RH7.2 machine > onto another one, but without overwriting the basic OS files > (eg, drivers, program versions, etc). We have a poorly > documented application that we need to copy (and flesh out > the documentation whilst we're at it). > > Most of it's done, but I want to check by creating a list > comparing the contents of one partition (which has been > totally copied into a directory on the new machine called > /transfer) with the root filesystem. > > I tried "rsync -rn /transfer / >sync_files.txt", but the file > has a very large list of lines saying "skipping non-regular > file transfer/[filename]". > > The files I knew to be different aren't listed at all. > > Can anyone suggest what I'm doing wrong - or a better way to > achieve the same result? > > Edwin Humphries, > Ironstone Technology Pty Ltd > [EMAIL PROTECTED] > www.ironstone.com.au > Phone: 02 4233 2285 > Fax: 02 4233 2299 > Mobile: 0419 233 051 > -- > SLUG - Sydney Linux User's Group Mailing List - > http://slug.org.au/ Subscription info and FAQs: > http://slug.org.au/faq/mailinglists.html > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
RE: [SLUG] Regional Users' Group
> One thing that occurred to me is that it might be better to > set up a "free software" users' group, rather than a Linux > one Probably a good idea given the smaller population base. I'd suggest that you be wary of what you call and how you promote such a group, since the term "free software" is such an oft misunderstood concept. You might get people who collect cover CDs of you beaut freeware windows apps off magazines every month, or simply not attract potential FOSSites. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Server being used to relay emails
Or roughly 1/3 of the mail volume, by message count, is crap from badly configured servers! It gets really annoying when you try to inform the postmaster and get this ... From: [EMAIL PROTECTED] Your message was not delivered to: [EMAIL PROTECTED] because: User Postmaster ([EMAIL PROTECTED]) not listed in public Name & Address Book Domain names changed to protect the guilty, not sure why I did. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Shrinking an ext3 partition on LVM2
Alternativly you could just mount a file rather then a physical device as your loopback/encrypted partition. This way you dont need to resize your existing partitions. http://tldp.org/HOWTO/Loopback-Encrypted-Filesystem-HOWTO.html Thanks Dave. That is an option, but after taking into consideration the pros and cons of each option listed in a document I saw (lost the link), the partition approach appeared to be the way to go. I kind of dismissed the mounted file idea for performance and security reasons, but it's probably a good place to start (at least getting some experience w/ cryptoloop). Thanks, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Shrinking an ext3 partition on LVM2
Hiyall, I've decided that I'm not pushing my luck enough by piling bleeding edge technologies on top each other, and I want to try encrypting my ext3 LVM2 /home partition with cryptoloop (on a 2.6.4 kernel). To achieve this, I belive I have to create a new logical volume (with an encrypted filesystem of sorts) and copy the data across. And in order to do this, I must first shrink my existing home volume to make room (I have enough free space). Judging by a number of mailing list threads I've seen, it appears that shrinking an ext3 partition on LVM2 is a scary prospect (calculating block sizes, rebuilding journals and other such strangeness). Has anyone had any experience with doing this (and therfore advice), and more importantly, am I crazy for trying (no real need actually exists to encrypt my filesystems, it's just cool)? :p I've read through the LVM howto (including its several recent updates), and it doesn't provide a great deal of help. It seems that another initial filesystem choice would have made things simpler. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Setting up vpnc - need to decrypt enc_GroupPwd
Thanks Craige, oh, ow. I guess it helps that I'm also the VPN administrator :) Yep, I'm going to have to try my luck with the VPN admins next, it seems. I got a more recent and patched version of the Cisco client to compile, but it's misbehaving too. looks like you do the following in vpn.conf. this is my poor interpretation of German: - Interface name IKE DH Group dh2 Perfect Forward Secrecy nopfs IPSec gateway IPSec ID IPSec secret Xauth username -- Already have something like that (without the first 3 lines, I don't think that matters, but I'll try adding them), but it doesn't like the encrypted (?) grouppassword from the pcf file, error is: /usr/sbin/vpnc: hash comparison failed: AUTHENTICATION_FAILED check group password! The pcf file can potentially contain an unencrpyted IPSec secret, and I think that's the sticking point. I'll see if I can chase up the unencrypted password. - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Setting up vpnc - need to decrypt enc_GroupPwd
Hi all, I'm trying to set up a VPN connection from my Debian sarge box to a Cisco 3030 VPN Concentrator over adsl. I couldn't get the Cisco vpnclient to compile against kernel 2.6.4, so I'm looking at using vpnc as an alternative. It looks promising, but I'm stuck at the configuration stage with a scrambled group password. I received a .pcf configuration file (used by the Cisco client) that contains said scrambled password, and the vpnc README suggests it can be "extracted using tools shipped with any Linux distribution", but I'm not sure how. Any ideas? I've already pleaded my case to get the password from the VPN administrators, but thought I'd chase this lead, because I don't like my chances of them giving up the password. You can google for "enc_GroupPwd" to find examples of the ciphertext. Cheers, - Rog -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html