Re: [SLUG] Multiple Offices with redundant DSL Connection
Sven Peters [EMAIL PROTECTED] writes: G'day Sven. As an administrative note, I find it much easier to respond to your messages if you edit your comments inline rather than top-posting like this; it can be otherwise impossible to know what, exactly, you mean... Yes, you're right. ...by this, since you just cut all the context away from the statement. I'm intending to use simple linux hardware without snmp. SNMP is a network protocol, and Linux has both SNMP clients and servers. I am not sure you quite follow what it would be for. Was wondering if heartbeat could be used to see if the hardware breaks No, because heartbeat doesn't offer hardware monitoring at that level. You /could/ use an OCF agent to monitor the hardware, I guess, but I don't think that does quite what you think it does. and do the activation of the inactive interfaces on a second similar machine. Unless you have *extremely* uncommon hardware there will be no inactive interface on the machine; both will be connected, full time, to the modem and -- unless the modem hardware fails -- will always be active. (You /could/ be intending to run PPPoE on the server and have been referring to the PPP interface above, but I don't think so?) VPNwise I was thinking about OpenVPN but still open to any other products which are open source. I would not advise any other open source product except, perhaps, an IPSec based solution; the others are a security minefield to try and walk. Personally, I don't like IPSec much, as it is very complex, especially with vendor extensions, but it has the virtue of being at least standard where OpenVPN is a one implementation wonder. I had already a look at http://lartc.org/howto/ and got some ideas but it'll still be a lot of work to put together all the scripts. I think you probably need to do a lot more work on your design before you get to writing scripts: work out how everything should hang together logically, then implement it. Once you know what you are implementing most of the scripting is relatively easy, in my experience. The hard part is the network design. As it isn't such an uncommon problem I was wondering if somebody else has a similar setup and likes to exchange experiences, ideas and pitfalls. You can reach me off list. Sadly, it is actually a pretty uncommon problem; most people don't have the resources to install multiple redundant links, or the need for availability to maintain them. Worse, because everyone has /different/ requirements you end up with multiple solutions, each to a slightly different problem. Regards, Daniel -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Cannot access paypal using F'fox on Dapper
Hi all, I'm having a weird problem with the paypal site. I cannot access it with 2.0.0.15 (Dapper). V3 doesn't install in Dapper. I can access it with Opera 9.5 - same machine. I can access it at home with XP (dual-boot with Hardy) and F'Fox 2.0.0.14 and now 3. I can access it with Hardy and F'fox 3. I can access it through work (XP with IE!) If it matters at all, I'm with TPG, ADSL2+. Is anyone else having the same issue?? (Before anyone says 'upgrade Dapper', my desktop is running nicely and I don't need the hassle at the moment - it's a happy little dapper chappy and does everything I need) Regards, Patrick -- Registered GNU/Linux User 368634 -- 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] Multiple Offices with redundant DSL Connection
Quoting Sven Peters [EMAIL PROTECTED]: VPNwise I was thinking about OpenVPN but still open to any other products which are open source. OpenVPN is pretty good in my opinion. Most of the other designs (poptop) are implementations/copies of PPTP which is a proprietory format. I've used OpenVPN successfully with Samba and whilst there are perphaps some delays it is still pretty useful. I had already a look at http://lartc.org/howto/ and got some ideas but it'll still be a lot of work to put together all the scripts. True. There is always some script work to be done. I personally have been a bit lazy/distracted with my project lately and have some time to inject in this sort of thing again soon. Also, I have some overseas programmers in Europe who love challenges that are thrown at them. (I reward them by giving them financially challenged projects :-) ) As it isn't such an uncommon problem I was wondering if somebody else has a similar setup and likes to exchange experiences, ideas and pitfalls. You can reach me off list. Trick with VPNs is to do them incrementally. ie: - start with making the connection - extend the network - add load-balancing - add configuration - add management voila! final thing: - get your friends all over the world to share (home-made) movies and mp3 recordings from their band. just joking. I actually hate it when they do that :-( David -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] script help
I'm trying to put together a basic script to get 'on demand' traffic info to my handheld, all commands more or less work as desired, but, I would like to make a 'proper script' out of it: I guess I should put the 'temp' files in /var/tmp ? and, send screen output to /dev/null ? any help or suggestions appreciated: # ./traffic --09:34:15-- http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg = `citywestlink.jpg' Resolving rta.nsw.gov.au... 163.189.7.150, 163.189.217.150 Connecting to rta.nsw.gov.au|163.189.7.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 22,125 (22K) [image/jpeg] 100%[] 22,125--.--K/s 09:34:15 (2.38 MB/s) - `citywestlink.jpg' saved [22125/22125] Corrupt JPEG data: 736 extraneous bytes before marker 0xda #!/bin/sh lynx -dump http://rta.nsw.gov.au/trafficreports/sydney/sydney_east_inner_west.html | sed -n -e '/Last refreshed/{:a;N;/Road Works/!ba;p;}' traf.rep wget http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg jpegtran -rotate 270 citywestlink.jpg citymap.jpg mutt -s Traffic Report East Inner West -a citymap.jpg [EMAIL PROTECTED] traf.rep rm traf.rep rm *.jpg - -- Voytek -- 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] script help
For starters I guess you could throw in a -q to wget to stop it from outputting but I guess sending output to /dev/null (as long as you aren't fussed when things fail) should be enough. Quoting Voytek Eymont [EMAIL PROTECTED]: I'm trying to put together a basic script to get 'on demand' traffic info to my handheld, all commands more or less work as desired, but, I would like to make a 'proper script' out of it: I guess I should put the 'temp' files in /var/tmp ? and, send screen output to /dev/null ? any help or suggestions appreciated: # ./traffic --09:34:15-- http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg = `citywestlink.jpg' Resolving rta.nsw.gov.au... 163.189.7.150, 163.189.217.150 Connecting to rta.nsw.gov.au|163.189.7.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 22,125 (22K) [image/jpeg] 100%[] 22,125--.--K/s 09:34:15 (2.38 MB/s) - `citywestlink.jpg' saved [22125/22125] Corrupt JPEG data: 736 extraneous bytes before marker 0xda #!/bin/sh lynx -dump http://rta.nsw.gov.au/trafficreports/sydney/sydney_east_inner_west.html | sed -n -e '/Last refreshed/{:a;N;/Road Works/!ba;p;}' traf.rep wget http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg jpegtran -rotate 270 citywestlink.jpg citymap.jpg mutt -s Traffic Report East Inner West -a citymap.jpg [EMAIL PROTECTED] traf.rep rm traf.rep rm *.jpg - -- 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] script help
#!/bin/bash trafrep=$(lynx -dump http://rta.nsw.gov.au/trafficreports/sydney/sydney_east_inner_west.html | sed -n -e '/Last refreshed/{:a;N;/Road Works/!ba;p;}') wget -q http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg -O- | jpegtran -rotate 270 citymap.jpg mutt -s Traffic Report East Inner West -a citymap.jpg [EMAIL PROTECTED] echo ${trafrep} rm *.jpg Quoting Voytek Eymont [EMAIL PROTECTED]: I'm trying to put together a basic script to get 'on demand' traffic info to my handheld, all commands more or less work as desired, but, I would like to make a 'proper script' out of it: I guess I should put the 'temp' files in /var/tmp ? and, send screen output to /dev/null ? any help or suggestions appreciated: # ./traffic --09:34:15-- http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg = `citywestlink.jpg' Resolving rta.nsw.gov.au... 163.189.7.150, 163.189.217.150 Connecting to rta.nsw.gov.au|163.189.7.150|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 22,125 (22K) [image/jpeg] 100%[] 22,125--.--K/s 09:34:15 (2.38 MB/s) - `citywestlink.jpg' saved [22125/22125] Corrupt JPEG data: 736 extraneous bytes before marker 0xda #!/bin/sh lynx -dump http://rta.nsw.gov.au/trafficreports/sydney/sydney_east_inner_west.html | sed -n -e '/Last refreshed/{:a;N;/Road Works/!ba;p;}' traf.rep wget http://rta.nsw.gov.au/trafficreports/cameras/camera_images/citywestlink.jpg jpegtran -rotate 270 citywestlink.jpg citymap.jpg mutt -s Traffic Report East Inner West -a citymap.jpg [EMAIL PROTECTED] traf.rep rm traf.rep rm *.jpg - -- 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
[SLUG] merging pdf
I have a PDF document that is in parts and i need to merge them into one PDF. I have know idea can any any help me please -- Daryl Thompson [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] merging pdf
This one time, at band camp, Daryl Thompson wrote: I have a PDF document that is in parts and i need to merge them into one PDF. I have know idea can any any help me please $ man pdfjoin PDFJOIN(1) NAME pdfjoin - concatenate the multiple PDF files into a single file [snip] On Debian it's: Package: pdfjam Priority: optional Section: text Installed-Size: 112 Maintainer: Eduard Bloch [EMAIL PROTECTED] Architecture: all Version: 1.20-2 Depends: tetex-extra | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended Filename: pool/main/p/pdfjam/pdfjam_1.20-2_all.deb Size: 18042 MD5sum: 23f338751db75962d47070c0699649e4 SHA1: fa14adf6a543e8403189edcd68b0cd1ddbdf1dae SHA256: d61f68b595a9bb25b7115f307f9a627fb99db8826a02cd3979a5a97480c0d73a Description: collection of PDF document handling utilities PDFjam is a small collection of shell scripts that work similarly to the well known psutils (psmerge, psnup). They provide a simple interface to some of the functionality of the pdfpages package for pdfLaTeX. At present, the utilities available are pdfnup, pdfjoin, and pdf90. PDFjam depends on a working installation of (pdf)LaTeX. . - pdfnup puts multiple document pages together on one physical page at a reduced size - pdfjoin concatenates multiple PDF documents - pdf90 rotates the pages of PDF documents -- Rev Simon Rumble [EMAIL PROTECTED] www.rumble.net The Tourist Engineer Because nerds travel too. http://engineer.openguides.org/ Wavy Gravy once asked a Zen Roshi, What happens after death? The Roshi replied, I don't know. Wavy protested, But you're a Zen Master! Yes, the Roshi admitted, but I'm not a dead Zen Master. - From Robert Anton Wilson's blog -- 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] merging pdf
see pdfjoin as part of the pdfjam package apt-cache search pdfjam Dean Daryl Thompson wrote: I have a PDF document that is in parts and i need to merge them into one PDF. I have know idea can any any help me please -- http://fragfest.com.au -- 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] script help
On Wed, 2008-07-16 at 09:39 +1000, Voytek Eymont wrote: I'm trying to put together a basic script to get 'on demand' traffic info to my handheld, all commands more or less work as desired, but, I would like to make a 'proper script' out of it: I guess I should put the 'temp' files in /var/tmp ? and, send screen output to /dev/null ? any help or suggestions appreciated: Rather than just redirecting all output to /dev/null , it's worth checking if the commands you're using have a quiet option. As previous posters have already pointed out, wget's -q option is one. Also, look in to using the mktemp command to create temporary filenames. -- Pete -- 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] merging pdf
Thanks for you help Got it done with information you supplied -Original Message- From: Rev Simon Rumble [EMAIL PROTECTED] To: slug@slug.org.au Subject: Re: [SLUG] merging pdf Date: Wed, 16 Jul 2008 12:08:57 +1000 This one time, at band camp, Daryl Thompson wrote: I have a PDF document that is in parts and i need to merge them into one PDF. I have know idea can any any help me please $ man pdfjoin PDFJOIN(1) NAME pdfjoin - concatenate the multiple PDF files into a single file [snip] On Debian it's: Package: pdfjam Priority: optional Section: text Installed-Size: 112 Maintainer: Eduard Bloch [EMAIL PROTECTED] Architecture: all Version: 1.20-2 Depends: tetex-extra | texlive-latex-recommended, tetex-extra | texlive-fonts-recommended Filename: pool/main/p/pdfjam/pdfjam_1.20-2_all.deb Size: 18042 MD5sum: 23f338751db75962d47070c0699649e4 SHA1: fa14adf6a543e8403189edcd68b0cd1ddbdf1dae SHA256: d61f68b595a9bb25b7115f307f9a627fb99db8826a02cd3979a5a97480c0d73a Description: collection of PDF document handling utilities PDFjam is a small collection of shell scripts that work similarly to the well known psutils (psmerge, psnup). They provide a simple interface to some of the functionality of the pdfpages package for pdfLaTeX. At present, the utilities available are pdfnup, pdfjoin, and pdf90. PDFjam depends on a working installation of (pdf)LaTeX. . - pdfnup puts multiple document pages together on one physical page at a reduced size - pdfjoin concatenates multiple PDF documents - pdf90 rotates the pages of PDF documents -- Rev Simon Rumble [EMAIL PROTECTED] www.rumble.net The Tourist Engineer Because nerds travel too. http://engineer.openguides.org/ Wavy Gravy once asked a Zen Roshi, What happens after death? The Roshi replied, I don't know. Wavy protested, But you're a Zen Master! Yes, the Roshi admitted, but I'm not a dead Zen Master. - From Robert Anton Wilson's blog regards Daryl Thompson Ph : 0408 472 041 E-Mail : [EMAIL PROTECTED] This email and any attachments are intended only for the addressee and may contain confidential or privileged information. If you have received this email in error please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments. -- Please consider the environment before printing this e-mail -- 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] merging pdf
On Wed, 2008-07-16 at 12:14 +1000, Dean Hamstead wrote: see pdfjoin as part of the pdfjam package apt-cache search pdfjam Dean Daryl Thompson wrote: I have a PDF document that is in parts and i need to merge them into one PDF. I have know idea can any any help me please I use pdftk lots of nice functions although to be honest I only use the burst option. David -- http://fragfest.com.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html