Re: [SLUG] On buying a laptop.
I've got a Toshiba P300 dual booting to Ubuntu 10.04. I've steadily upgraded from 8.04 on it and for the most part it was fine. Did have a glitch during 8.10 and 9.04 where it lost all network adaptors after the upgrade but a few extra options on the kernel boot line and they returned. I've also had to return it for a dead hard drive and found the process was quite painless - dropped it off at their service centre (Silverwater from memory but could be wrong) and picked it up a few days later which was an acceptable enough time for me. I've owned a few Toshiba's over the years and generally get 4 - 5 years use out of them. Of course this is one persons experiences and I'm sure there's an equal number of people who can say the same for other brands. HTH, Paul On 14/10/2010 3:02 PM, Ben Donohue wrote: Are you sure it's not a L500? What's the exact part number. Anyway Toshiba has a good name in laptops but they are horrible to return if there is a problem. It can take ages. Also watch out for the bad screen pixels clauses in the return policies (of any brand) Thanks, Ben Donohue donoh...@icafe.com.au On 14/10/2010 2:25 PM, wbenn...@turing.une.edu.au wrote: So, I wish to buy a laptop. Choice suggests the Toshiba Satellite LP500. I recall some time ago a discussion on whether the AMD processors were better at Linux than those of Intel. As I also recall, majority opinion was that there was 0 in it. Is this still the case? Has anyone had experience (+ or -} with the Toshiba that's worth airing? Thanks, William Bennett. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Linux Print Payment Solutions
Hi All, I'm trying to find a Linux based solution that enables users to pay for print jobs. Solutions exist for Windows and Mac but I can't find anything suitable for Linux. Perhaps my Google foo is weak, but I can't seem to find anything that fits the bill. The closest is a library system which allows staff to view print jobs in CUPS and select which jobs to print - but that's not really useful for a public printing station. I have been talking to one company that has Windows and Mac solutions and would be willing to assist with opening up their API to provide development of a Linux solution that works with their hardware, but to achieve this I'd need to interrupt the printing process as follows : User clicks print, adjusts details in dialog box and hits ok / print which would ordinarily send it off to the printer. Instead of sending the print job to the printer a second dialog box would pop up and the user would enter a pin code from a ticket they've purchased. The dialog would then need to talk to the print server via web services to verify the pin code an ensure there's enough credit before allowing the print job to continue. If the user then clicks ok another web service call is made then the print job that was sent through is printed and the funds are deducted from their ticket. Any thoughts / suggestion / experiences would be much appreciated. Cheers, Paul -- 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] Web hosting recommendations
Hi Mary, What about monthly bandwidth? You mention disk space, but for most Australian hosts bandwidth is the killer. Do you have an estimated bandwidth requirement? Cheers, Paul Mary Gardiner wrote: Hi all, I've looked through the archives but haven't found a lot of relevant stuff: most people are looking for VPSes and/or hosting within Australia only. I'm after a web host for a work project. What I need: - 3+GB disk space (this rules out the bulk of Australian hosts) - shared/managed hosting (I admin enough LAMP servers as it is, thanks, please no more VPSs) - Linux/PHP/MySQL (I guess that likely implies Apache) Preferences: - prefer good uptime, good service and good performance to cheap-as-chips prices - prefer a reasonable history of business in some form For a price: say ballpark AU$40 a year at most. -Mary -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Acer Altos 520 - Can't detect RAID'd SAS drives
Hi All, Trying to get any flavour of Linux (but Ubuntu or CentOS preferred) to recognise a RAID array on an Acer Altos 520 server and coming up empty. Controller identifies as : LSI Logic 20320-R/22320-R Disabling RAID results in the individual drives being detected ok so there's no problem detecting the SAS drives. The server comes with Acer EasyBuild CD's but they only have drivers for RHE and Suse Enterprise. Trying to use the RHE driver in say CentOS comes up as invalid driver for this version of CentOS. Went to the LSI website and downloaded the Linux drivers they list .img files for only RHE and SEL yet again. Does anyone have any tips / suggestions / driver disk img's for Ubuntu or CentOS? Let me know if you need any more info. TIA, Paul - -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Problems printing from FC4 to a printer sitting on Windows XP
Evening All, Just spent a few hours trying to get a fairly vanilla install of Fedora Core 4 to print to a HP PSC 1210 MultiFunction printer that's sitting on a Windows XP professional box. When plugged directly into the FC4 laptop, the printer works perfectly and prints away to its hearts content. However when sitting behind the XP box all I get is the printer warming up, looking like it's about to feed a sheet and start printing, and then it just sits there with the light flashing. It's connecting using CUPS via SMB. All details there are correct, which is verified by the job actually making it to the printer, however something seems to happen when it passes through windows that mangles the data such that the printer just sits there saying WTF.. Oddly enough, when I was testing it I used a similar setup at my own place printing to an Epson CX80 that was attached to a Windows 2k box and this worked fine. Tried using practically every combination of driver options in cups such as translate linefeeds and sending formfeed and EOF codes to no avail. Then tried a tip I found on Google to add Unix printing to the XP box and set up an lpd queue and the same thing happens again. Never get any error messages back on the FC box - as far as it's concerned the jobs been accepted by Windows and it's all happy. Probably a dead simple thing but I'm at a loss and I can't find anything relevant on google or the slug archives. Thanks in advance, Paul -- 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] ntpd won't start
Looking deeper into a link from one of the links I posted below : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151262 shows it to be a registered bug. An excerpt suggests the following : ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults can do this by doing the following as root : echo 0 /proc/sys/kernel/exec-shield-randomize or to make it permanent : add /kernel.exec-shield-randomize = /0 to //etc/sysctl.conf /Might be worth a try - although you should note that by turning off the randomisation of Linux memory, it is making the system less secure - although with SELinux turned off already it's probably not that much of an issue for that box. HTH, Paul Howard Lowndes wrote: I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- 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] ntpd won't start
Urgh - don't know what happened in that post but the line to make it permanent should be : add kernel.exec-sheild-randomize = 0 to /etc/sysctl.conf for some reason when I sent the email as plain text - thunderbird added the slashes you see below. Hopefully it works this time round ;) Cheers, Paul Paul Robinson wrote: Looking deeper into a link from one of the links I posted below : https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=151262 shows it to be a registered bug. An excerpt suggests the following : ntpd randomly segfaults, compiled with the default RPM_OPT_FLAGS... turning off exec-shield-randomize cures the segfaults can do this by doing the following as root : echo 0 /proc/sys/kernel/exec-shield-randomize or to make it permanent : add /kernel.exec-shield-randomize = /0 to //etc/sysctl.conf /Might be worth a try - although you should note that by turning off the randomisation of Linux memory, it is making the system less secure - although with SELinux turned off already it's probably not that much of an issue for that box. HTH, Paul Howard Lowndes wrote: I also have SELinux disabled on this particular box :( Paul Robinson wrote: I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- 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] ntpd won't start
I suffered similar problems with a vanilla install of FC3 with MySQL's socket. Turned out to be due to SELINUX which is enabled by default on FC3 however I don't believe that ntpd is affected by SELINUX. Seems like you aren't the only one with this problem though: http://www.redhat.com/archives/fedora-test-list/2005-April/msg00962.html and http://64.233.179.104/search?q=cache:alJvtG_zJbAJ:fcp.homelinux.org/modules/newbb/viewtopic.php%3Ftopic_id%3D14951%26forum%3D12%26post_id%3D60142+EACCES+(Permission+denied)+SELINUXhl=enstart=3 if they help point you in the right direction. HTH Paul Howard Lowndes wrote: I've tried running it with strace and it seems to be reasonably consistent about crapping out about the nscd socket, but not every time: socket(PF_FILE, SOCK_STREAM, 0) = 13 fcntl64(13, F_GETFL)= 0x2 (flags O_RDWR) fcntl64(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0 connect(13, {sa_family=AF_FILE, path=/var/run/nscd/socket}, 110) = -1 EACCES (Permission denied) close(13) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ The socket is mode 666 Howard Lowndes wrote: FC3 with everything up to date, but now the ntpd daemon refuses to start. Hand cranking it in the foreground gives a seg fault, but nothing in the logs. The weird thing is that it was working fine until I had to do a power cycle a couple of days ago to free up a locked serial port. Any ideas? -- 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] text to web page, adding br ?
James Gray wrote: On Fri, 11 Feb 2005 12:37 pm, Gavin Carr wrote: On Fri, Feb 11, 2005 at 12:03:12PM +1100, Voytek wrote: I need to place contents of word files on a web pages; I've sorted catdoc/charset to output correct codepage text files, catdoc -scp1250 -d8859-2 381.rtf 381.php but, then I need to insert 'brbr' after every paragraph No, you need to wrap p /p around every paragraph, and end up with nice compliant xhtml. This is the 21st century, after all. ;-) I thought the closing /p was optional? I know syntactically, leaving the closing paragraph tag will be interpretted correctly by any modern browser, but is it explicity a requirement to be xhtml compliant?? Yep all tags must have a closing tag unless you have ones such as br and img in which case you use br / and img / Just curious... James -- 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] mixed case web tree
Since linux treats lowercase and LOWERCASE as seperate items there's no reason why this wouldn't work. An easier thing (ie less work for you) would be to use an apache mod_rewrite rule on the url. Whip out your regular expressions and convert uppercase strings to lowercase (or vice versa if you need). Just check out the apache manual for tips on how to write them (so long as your webserver has mod_rewrite enabled of course) HTH Paul Voytek Eymont wrote: I have a web user who seems to insist on using mIxEd caSE files/tree... he asked me to symlink '/path/lowercase' to real '/path/LOWERCASE' will that work properly, what do you fellow think ? Original Message We're a little concerned about the capitalisation issues with www.dom.tld/ABC/... Would it be possible to get a link of some sort (like a symbolic link) called abc linking to the ABC directory, so that either will work? -- -- 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] mixed case web tree
Yep - upon googling it yes it would.. I thought the other guy was joking when he suggested it :) Definitely the easiest option of the lot. Mike MacCana wrote: Paul Robinson wrote: Since linux treats lowercase and LOWERCASE as seperate items there's no reason why this wouldn't work. An easier thing (ie less work for you) would be to use an apache mod_rewrite rule on the url. Won't mod_speling do this? IIRC one of its roles is to make web sites case insensitive (IMHO as they should be). Mike (who responds if you call him mike too, and sometiems even if you yell MIKE) -- 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] Sendmail inexplicably slow to send mail
Hi Dave, I get this : Aliases: real 0m0.010s user 0m0.004s sys 0m0.005s hopefully not a failing disk as it's pretty new. Everything else on the server runs lightning fast - just sendmail that takes its sweet time. Paul David Kempe wrote: Paul Robinson wrote: Anyone had any experience with this sort of problem? I've searched through the slug archives and google and checked the suggestions there (/etc/host entries and dns settings) to no avail. have you checked the response time/quality from your dns servers? use: #time host -t mx testmaildomain.com mydnsserver It sounds very much like a DNS problem, or even a failing disk... but I use postfix, so I don't know much more about sendmail... dave -- 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] Sendmail inexplicably slow to send mail
One other thing : it's precisely 98 seconds between the connection to the mail server and when it sends the email. This sounds like an ident timeout issue, but the sendmail config file has ident.timeout = 0 already which is supposed to turn off ident. Cheers, Paul Paul Robinson wrote: Hi Dave, I get this : Aliases: real0m0.010s user0m0.004s sys 0m0.005s hopefully not a failing disk as it's pretty new. Everything else on the server runs lightning fast - just sendmail that takes its sweet time. Paul David Kempe wrote: Paul Robinson wrote: Anyone had any experience with this sort of problem? I've searched through the slug archives and google and checked the suggestions there (/etc/host entries and dns settings) to no avail. have you checked the response time/quality from your dns servers? use: #time host -t mx testmaildomain.com mydnsserver It sounds very much like a DNS problem, or even a failing disk... but I use postfix, so I don't know much more about sendmail... dave -- 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] Sendmail inexplicably slow to send mail
Del wrote: Paul Robinson wrote: One other thing : it's precisely 98 seconds between the connection to the mail server and when it sends the email. This sounds like an ident timeout issue, but the sendmail config file has ident.timeout = 0 already which is supposed to turn off ident. It's not the ident timeout on *your* sendmail server, but the ident timeout on the *receiving* mail server that is the issue. Nearly all mail servers of some kind send an ident request, and that request should be REJECTed in your firewall ruleset (or passed to pidentd or similar) and not DROPped. 90 seconds is the usual timeout for ident, and so 98 seconds sounds about right for your mail sending issue. Checked my iptables settings and it does reject all other packets though - instead of dropping. I will try fiddling with the settings a bit - perhaps explicitly open up to all incoming idents from the mail server. Thanks, Paul -- 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] Sendmail inexplicably slow to send mail
Paul Robinson wrote: Del wrote: Paul Robinson wrote: One other thing : it's precisely 98 seconds between the connection to the mail server and when it sends the email. This sounds like an ident timeout issue, but the sendmail config file has ident.timeout = 0 already which is supposed to turn off ident. It's not the ident timeout on *your* sendmail server, but the ident timeout on the *receiving* mail server that is the issue. Nearly all mail servers of some kind send an ident request, and that request should be REJECTed in your firewall ruleset (or passed to pidentd or similar) and not DROPped. 90 seconds is the usual timeout for ident, and so 98 seconds sounds about right for your mail sending issue. Checked my iptables settings and it does reject all other packets though - instead of dropping. I will try fiddling with the settings a bit - perhaps explicitly open up to all incoming idents from the mail server. Let me try that again - explicitly reject all incoming idents (surviving on 2hrs sleep over 48hrs so far... ) I've explicitly blocked anything establishing a new connection to port 113 (ie set to REJECT) and it hasn't improved the delay at all. Thanks, Paul -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Poor ping times after shipping server to co-lo facility
Afternoon and Merry Xmas Sluggers, Just sent a server up to qld to a CoLo Center with FC2 set up on it. After powering it up with the new network settings the server is experiencing shocking ping times (in the order of 1000-2000ms even for local traffic). It was configured as per their instructions on ip's, gateway etc (usual settings) on the main NIC and there is a 2nd NIC which we are using to connect to another server via a crossover cable using 192.168.1.x addresses. The default gateway is set to the correct one on eth1 (real world IP nic). looking at ifconfig it shows a number of overruns (1600 out of 6000 packets) and 3 dropped packets. tcpdump shows an abnormally high number of arp requests - lots of other local ip's for the centre but none that the box should care about. Can anyone suggest anything to check? Trying to rule out misconfiguration before getting them to replace the NIC - there was evidence it had a less than gentle trip up to QLD and it's possible the nic has been damanged. The admin guy had to open the case and reposition the riser card holding the video card and 2nd NIC (the one not working) so it's l ooking that way - just need to know if anyone has any suggestions before we fork out for them to fix it. Thanks in advance, Paul -- 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] Linux software for finding broken links
Hi Peter, FireFox can do broken links from a single page if you have the web developers toolkit installed (although this is a single page scan, not every possible link scan). If you want (most probably do) one that will traverse the entire site you could either knock one up in Perl or use this as a starting point which should meet your needs. http://world.std.com/~swmcd/steven/perl/pm/lc/linkcheck.html Latest version is 1.05 and it seems to have pretty decent features Cheers, Paul Peter Rundle wrote: Sluggers, As per the subject, looking for recommendations for a simple tool to run on a Linux desktop which will scan a web site and report broken links. Cheers P. -- 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] Getting $_POST to work in PHP
While nothing instantly pops out, a few suggestions : Try using $_REQUEST as it checks $_GET, $_POST and $_COOKIE Also - since you can't write output to the browser due to the PDF being created - how 'bout a debug file on the server? Open it for writing and output the entire set of arrays to the file and check from your favourite text editor. HTH, Paul Howard Lowndes wrote: I have a PHP generated web page which has a submission form. When the form gets submitted the action is $_SERVER['PHP_SELF'] and the method is POST and one of the form elements is an INPUT with TYPE=SUBMIT and NAME=somename and VALUE=somevalue. My problem is that on the odd occasion (when it happens then it is quite consistent but it hasn't happened for a few months now, suddenly it has started again), the PHP script does not deliver a $_POST array and hence when I go to check the status of $_POST['somename'] I get a failure when I should get a success. The really odd thing is that when I try to debug it using phpinfo() or even a print or echo statement, just before the status check by getting the script to print out the value of either the entire array or $_POST['somename'] then it prints the detail fine and the status check succeeds, but if I print it after the status check then there is no $_POST array at all. Unfortunately I can't even use a dummy print statement to fool it because the successful processing needs to generate a PDF output and that must have no prior output. Bloody odd. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] MPEG - AVI?
Evening All, Trying to provide a method of showing video clips in a web based "player" that's written in flash. Flash has it's own limitations in that it can only play Quicktime or SWF movies. I've found a Linux based app that converts AVI files to SWF, however I can't find anything that can convert MPEG to SWF. So the logical next step was to try and find a way to convert MPEG to AVI. Unfortunately Google comes up with nothing but noise and the SLUG archives reveal zip. Oh and it's got to be able to do it from the command line as I'll be calling it via PHP. If anyone can offer up any advice it'd be much appreciated. TIA, Paul -- 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] MPEG - AVI?
Subtle :) Forgot the ole try a 2 instead of to trick. Downloading mpeg2avi as we speak... or type... Apologies for the HTML seems I'd neglected to add SLUG to the Thunderbirds list of plain text recipients. Thanks again, Paul Stuart Guthrie wrote: Sorry Paul, No idea, but while the list is at it, I'm keen to go AVI to MPEG!! Tried avi2mpeg but the command failed. ;-) Any ideas Stu BTW HTML email is a bad look for character mail readers. On Thu, 2004-10-07 at 19:56, Paul Robinson wrote: Evening All, Trying to provide a method of showing video clips in a web based player that's written in flash. Flash has it's own limitations in that it can only play Quicktime or SWF movies. I've found a Linux based app that converts AVI files to SWF, however I can't find anything that can convert MPEG to SWF. So the logical next step was to try and find a way to convert MPEG to AVI. Unfortunately Google comes up with nothing but noise and the SLUG archives reveal zip. Oh and it's got to be able to do it from the command line as I'll be calling it via PHP. If anyone can offer up any advice it'd be much appreciated. TIA, Paul __ -- 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] automatic mounting of usb key
Hi David, Had fun with these suckers and autofs myself. Basically you have to cd to the dir for autofs to check and mount the key. The way I solved that was to mount somewhere else and then do a symlink at the location you actually want to "use" it from. That way you can ls the symlink and autofs will then automount and ls will complete it's due course. Hope this helps, Paul Perry, David wrote: I'm trying to automatically mount a usbkey on Redhat 9 when it is plugged in and then unmount it after it stops being accessed. I wish it to be available to all users not just root. This recipe came from www.systemsaligned.com/learn/howto/hwtusbkey In theory the usbkey is suppossed to mount as soon as it is accessed and unmount one second afer the access ceases. I created a directory /mnt/removable a file /etc/auto.removable which contains usbkey -fstype=vfat,umask=000 :/dev/sda a file /etc/auto.master which contains /mnt/removable /etc/auto.removable --timeout=1 restarted autofs This is not mounting the usbkey when I try #ls /mnt/removable The key works perfectly when I manually mount it with #mount -t vfat /dev/sda1 /mnt/removable Any advice? The instructions say to use sda not sda1 in the auto.removable file and I have tried sda1 with no success. Thanks in advance David -- 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] automatic mounting of usb key
That will work from the shell, but if you are using a filemanager it won't show the directory till you attempt to cd to it and it then mounts, which is why I put the symlinks. My use of them was for Kiosk machines which were to be used with ppl with low level PC skills, so I had to make it as simple as possible. Still have some problems with some key's not liking to be re-mounted before a reboot which is annoying but since the owners shut down the machines each night it's not so much of a problem. If anyone has an answer though it'd be appreciated. Paul Ben de Luca wrote: or cd /mnt/removable/usbkey On 22/09/2004, at 9:36 PM, Paul Robinson wrote: Hi David, Had fun with these suckers and autofs myself. Basically you have to cd to the dir for autofs to check and mount the key. The way I solved that was to mount somewhere else and then do a symlink at the location you actually want to "use" it from. That way you can ls the symlink and autofs will then automount and ls will complete it's due course. Hope this helps, Paul Perry, David wrote: I'm trying to automatically mount a usbkey on Redhat 9 when it is plugged in and then unmount it after it stops being accessed. I wish it to be available to all users not just root. This recipe came from www.systemsaligned.com/learn/howto/hwtusbkey In theory the usbkey is suppossed to mount as soon as it is accessed and unmount one second afer the access ceases. I created a directory /mnt/removable a file /etc/auto.removable which contains usbkey -fstype=vfat,umask=000 :/dev/sda a file /etc/auto.master which contains /mnt/removable /etc/auto.removable --timeout=1 restarted autofs This is not mounting the usbkey when I try #ls /mnt/removable The key works perfectly when I manually mount it with #mount -t vfat /dev/sda1 /mnt/removable Any advice? The instructions say to use sda not sda1 in the auto.removable file and I have tried sda1 with no success. Thanks in advance 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 - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] electronic circuit simulation software for linux
http://www.geda.seul.org/ has a link to something called ngspice (among others) which is supposedly an improved version of Spice. HTH, Paul Erik de Castro Lopo wrote: On Fri, 17 Sep 2004 17:05:29 +0930 "Luke (Terry) Vanderfluit" [EMAIL PROTECTED] wrote: Hi, Does anyone know of any electronic circuit simulation software for linux? I would have suggested SPICE so I searched for it in my Debian apt cache and this is all it found: [EMAIL PROTECTED] apt-cache search spice gnucap - GNU Circuit Analysis package gwave - a waveform viewer eg for spice simulators oregano - GNOME application for schematic capture of electrical circuits The real SPICE may be in non-free (I seem to remember that the SPICE license is non-free). Erik -- 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] New website rocks!
Looks great and works fine in Firefox 0.9. Checked it in IE 6 SP1 and I can't click on any link or select text on the left hand half of the front page. Looks like a div is overlaying it. This wouldn't be a problem except the people we're trying to move away from windows would most likely be using IE. (exact version is 6.0.2800.1106 if anyone else can confirm). HTH, Paul Jeff Waugh wrote: quote who="Pia Smith" http://www.linux.org.au Rock on Australia, Phwoar! Sweet! ROCK ON AUSTRALIA! - Jeff -- 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] New website rocks!
I was seeing the new site (hence earlier posts) but did, for about 30 mins, get redirected to old.linux.org.au.. The new site is now back up though. Paul John Clarke wrote: On Fri, Sep 17, 2004 at 02:06:26 +1000, Dean Hamstead wrote: yep, something killed it good I've just tried from three places: work, via connect.com.au, home, via Internode, and Zip's (Pacific) shell server (text only). All show the new page. Are you sure it's not a problem at your end? Cheers, John -- 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] MySQL dumps per database, how 2 script ?
Michael Chesterton wrote: Voytek [EMAIL PROTECTED] writes: -- +---+ | Databases | +---+ | atom | | commodore | -- perhaps some has such a script already ? mysqlshow|perl -e 'while(){if(/\|\s([^ ]+)/){print $1\n}}' which assumes no spaces in database names. But I think there would be a more eloquent way. Wrote mine completely in perl. Excuse the formating - was mucked up in pasting it. It basically grabs a list of databases from the mysql db and proceeds to back it up while keeping a weekly rotation schedule. Probably other ways to do it but this met my needs. HTH Paul #!/usr/bin/perl use DBI; use Mysql; use Date::Pcalc qw(:all); #use CGI; #need username, password, name, email, url $DB_Host = localhost; $DB_Name = mysql; $DB_User = mysql_user_with_global_access; $DB_Password = password_here; $backuppath = /var/mysqlbackup; my $dbh = Mysql-Connect($DB_Host;database=$DB_Name;,$DB_User,$DB_User,$DB_Password) or die $Mysql::db_errstr; ($year,$month,$day) = Today(); if (length($day)==1) { $day = 0$day; } if (length($month)==1) { $month = 0$month; } ($oldyear, $oldmonth, $oldday) = Add_Delta_YMD($year, $month, $day, 0, 0, -7); if (length($oldday)==1) { $oldday = 0$oldday; } if (length($oldmonth)==1) { $oldmonth = 0$oldmonth; } $dbh-selectdb(mysql) or die $Mysql::db_errstr; my $sth = Query $dbh SELECT * FROM db or die $Mysql::db_errstr; while (my @arr = $sth-fetchrow) { print $arr[1]\n; system(rm $backuppath/daily-$arr[1]-$oldyear$oldmonth$oldday.sql); system(mysqldump --opt $arr[1] -u $DB_User --password=$DB_Password $backuppath/daily-$arr[1]-$year$month$day.sql); } undef $sth; undef $dbh; -- 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: [SLUG-ANNOUNCE] SLUG Monthly Meeting: Friday 27th August
Hi Matt, That would be cool - perhaps put up the slides then we can work out which bits we'd want more info on. Was hoping to make it to this months meeting, particularly for your talk so the chance to still get the info after missing it would be great. Cheers, Paul Matthew Palmer wrote: On Mon, Aug 30, 2004 at 02:19:22AM +, Philip Rhoades wrote: Any docs available for this? If the camera worked, there should be a recorded version of the talk available $SOMEWHERE $SOMETIME. I can put my slides up, but they aren't exactly long on information usable on their own. I'm planning on doing either a write-up or separate talk on one aspect of my talk that appeared of interest to people, on transparent firewalling, but that's not necessarily what you wanted. Let me know what particular information you wanted and I'll try and help. - Matt -- 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] shopping cart
PHPShop is a fairly easy one to customise both the look and functionality as it's (almost) completely modular. Used it for a couple of clients when setting up ecommerce solutions. http://www.phpshop.org/ Cheers, Paul - Original Message - From: Howard Lowndes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 05, 2004 11:12 AM Subject: Re: [SLUG] shopping cart On Wed, 2004-08-04 at 16:43, Ashley Maher wrote: G'day, Any recommendations on FOSS shopping carts people are using. Interchange Regards, Ashley -- Howard. LANNet Computing Associates; Your Linux people http://www.lannetlinux.com -- When you just want a system that works, you choose Linux; when you want a system that just works, you choose Microsoft. -- Flatter government, not fatter government; Get rid of the Australian states. -- 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]
Hi Trevor, You need a web compatible scripting language like PHP, Perl or .. well the list goes on and on. http://au2.php.net/mysqlfor the section of the PHP manual onhow php interacts with MySQL or http://webmonkey.wired.com/webmonkey/99/21/index2a.htmlfor a tutorial for Perl : http://webmonkey.wired.com/webmonkey/backend/tutorials/tutorial1.html These should get you started. Cheers, Paul - Original Message - From: Trevor Tregoweth To: Slug Sent: Thursday, August 05, 2004 11:59 AM Subject: [SLUG] HI All i was wondering if someone could help me, this is probably a simple task, but for someone thats not done any before it seems impossible I have a mysql database, with data in it, and i would like to be able to produce that data on a web page, so would appreciate some examples, i don't mind if its simple, just want to be able to view it via a web page Thanks in advance Cheers Trevor -- 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] For those who were at the slug meeting last night
Afternoon all, Just a quick message to those who had questions I wasn't able to answer during the iBurst presentation. If you would like to email them to my work address paul [at] syntonic dot com dot au I'll do my best to get answers for you. Cheers, Paul Robinson -- 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] usb flash drives
I actually had some fun with this a while back and asked the list (not many ppl play with these so it seems). I found that some devices actually mounted as /dev/sda rather than choosing an actual partition. Give that a try and see how things go. (that said, I have others that work when you choose a partition number such as /dev/sda1, just depends on the way its made). Cheers, Paul Shaun Oliver wrote: problem is, when I do that, mount hangs and I have to ungracefully kill it. -- 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] Anyone have any experience with Kiosks?
Is the bug purely on RH9? If not, which common distro's aren't affected? Fedora? (assuming they might have fixed it when it branched) or Debian perhaps? Cheers, Paul - Original Message - From: Mike MacCana [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 28, 2004 5:52 PM Subject: Re: [SLUG] Anyone have any experience with Kiosks? On Mon, 28 Jun 2004, Paul Robinson wrote: Hi Sluggers, Trying to lock down a RH9 box so that it automatically logs in as a kiosk user and then starts up a FireFox browser window only (no window manager). I've achieved this to an extent - The only thing that doesn't work is the keyboard. I can move the mouse and click on links but I cannot type anything into the browser. Is anyone aware of anything screwy with the way X handles the keyboard if there's no window manager. My memory of the days before gnome and kde were pretty standard was that the keyboard would still work. Yes. This is a known bug - I contratc for Red hat and ack when the RHCE involved a multi choice test (using a web browser as the sole app), this bug made itself apparent. Killing X then re-logging in will provide a work around. But check bugzilla to see if there's a fix. 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] Anyone have any experience with Kiosks?
Hi Sluggers, Trying to lock down a RH9 box so that it automatically logs in as a kiosk user and then starts up a FireFox browser window only (no window manager). I've achieved this to an extent - The only thing that doesn't work is the keyboard. I can move the mouse and click on links but I cannot type anything into the browser. Is anyone aware of anything screwy with the way X handles the keyboard if there's no window manager. My memory of the days before gnome and kde were pretty standard was that the keyboard would still work. TIA Paul -- 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] Where can I hire reasonable facilities forWirelessfest 14 Aug 2004
I can solve the problem of internet access at Granville. Can set up an iBurst wireless Internet bridge to provide net access if needed. Hell at that rate you could have a harbour cruise and have net access :). Email me if interested and we can discuss further. Paul - Original Message - From: Peter Hardy [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, June 21, 2004 3:35 PM Subject: Re: [SLUG] Where can I hire reasonable facilities forWirelessfest 14 Aug 2004 (moving to activities..) On Mon, 2004-06-21 at 22:46, Richard Hayes wrote: I am having trouble getting a site to run the wireless fest. Not too sure what you're looking for. But, venues that have worked out well for SLUG in the past: - Granville town hall. Large, fairly central (it's equally far away from everyone ;-) ). Close to public transport and food outlets. Only real drawback is lack of Internet connectivity (not even sure if they have a phone line available). Being a wireless fest, though, perhaps you can sort something out. :-) - Computerbank's warehouse at Seven Hills. Probably much more hospitable at this time of year than when I was there last in February. Close to train station. Has Internet access with lots of cabling, but no wireless gear. Not too sure if they'd be willing to host a wireless event, as it's only tangentially related to what they do. But it couldn't hurt to ask. - Team up with a university student organisation and run a joint event. We've had good and bad experiences with assorted uni societies in the past. Can be a very good way to get a lot more people interested. We've held (install|code)fests with http://www.compsoc.cse.unsw.edu.au/ , http://www.compsoc.uts.edu.au/ and http://csus.ug.cs.usyd.edu.au/ . Of course there's a score of others just waiting to experience some SLUG love. ...and I can't think of anything else right now. SLUG will be willing to contribute to (if not pay all of) any venue hire costs(*). Depending on how much, though, you might need to look in to other options, like a small donation from attendees. -- Pete * Well, OK, I haven't asked any body else on the committee. But it's got my vote! (**) ** May not be an actual disclaimer. -- 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] Kernel exploit for all kernels 2.4.18
Evening Sluggers, Saw this on overclockers.com.au tonight : http://reviewed.homelinux.org/news/2004-06-11_kernel_crash/ and a lil googling showed : http://www.gossamer-threads.com/lists/linux/kernel/403593 Certainly looks nasty. Any one heard more on this? Cheers, Paul -- 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 exploit for all kernels 2.4.18
That's actually the same site as the first url (prob just aliased domain name). :) Damn nasty indeed. Time to build a testing box to see if our production servers are affected (looks like some customised kernels handle it ok (not a blanket 2.4.18 and up problem. just the majority.) Paul - Original Message - From: Gonzalo Servat [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 12:25 AM Subject: Re: [SLUG] Kernel exploit for all kernels 2.4.18 On Thu, 2004-06-17 at 00:16 +1000, Paul Robinson wrote: Evening Sluggers, Saw this on overclockers.com.au tonight : http://reviewed.homelinux.org/news/2004-06-11_kernel_crash/ and a lil googling showed : http://www.gossamer-threads.com/lists/linux/kernel/403593 Certainly looks nasty. Any one heard more on this? Here's a URL explaining it a bit further in detail: http://linuxreviews.org/news/2004-06-11_kernel_crash/index.html Pretty nasty indeed. Scary to think a bug this serious didn't get picked up :) Regards, Gonzalo -- 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] Autofs probs with 6 in 1 card reader - soln for anyone who's interested
If anyone wants to do this sort of thing I sorted it out. Autofs doesn't automatically create the directory listed in /etc/autofs.misc, you have to cd to it. When using a GUI file manager or browser save as you can't cd to the dir as it doesn't exist till it's mounted and it's mounted by cd'ing to it.. chicken and the egg I thought.. Solution was to symlink to the mount point and then GUI systems can cd to it and mount it via cd'ing to the symlink. Would love to know how redhat get the icon to pop up for when you insert a CD though. Cheers, Paul - Original Message - From: David Kempe [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 9:34 PM Subject: Re: [SLUG] Autofs probs with 6 in 1 card reader Paul Robinson wrote: files and CD's show up ok, but the smart media doesn't. Is it something to do with the devices being scsi devices that won't allow them to be auto detected? I dunno about this particular problem, but I have had to use the rescan-scsi-bus.sh script when using firewire drives under linux. it scans for and add scsi devices so you can mount them. you can find it off linux1394.org i think dave -- 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] Autofs probs with 6 in 1 card reader
Hi Dave, I've got it linking the devices /dev/sda - /dev/sdd. I just can't get autofs to detect that there's media there to automount it. That site will come in handy though for if I get a firewire drive and try and do the same thing with that. Cheers, Paul - Original Message - From: David Kempe [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 9:34 PM Subject: Re: [SLUG] Autofs probs with 6 in 1 card reader Paul Robinson wrote: files and CD's show up ok, but the smart media doesn't. Is it something to do with the devices being scsi devices that won't allow them to be auto detected? I dunno about this particular problem, but I have had to use the rescan-scsi-bus.sh script when using firewire drives under linux. it scans for and add scsi devices so you can mount them. you can find it off linux1394.org i think dave -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ip aliases and netmasks
Hi all, Running Redhat 7.3 on a server. I've got a bunch of ip aliases which I am running from /etc/rc.local to run them when the comp boots. Problem is that on boot it creates the aliased ip's but they have mask of Mask:255.0.0.0 instead of the required 255.255.255.248 An example line from rc.local is : /sbin/ifconfig eth0:0 netmask 255.255.255.248 xxx.xxx.xxx.xxx (with the x's being the additional ip addr) If I copy and paste the lines from rc.local it will update the first 2 with the correct netmask and give the following error for the rest: SIOCSIFNETMASK: Cannot assign requested address I'm guessing this could be because some services that are started are already listening on the aliased ip's. If I repeat the command 2 or 3 times it eventually sets the mask correctly. Anyone able to offer any ideas why it does this and how to fix it? Cheers, Paul
Re: [SLUG] ip aliases and netmasks
Thanks Jamie, the ifcfg-eth0:0 works perfectly. I wasn't sure if the boot scripts would pick up anything with a : after the ethernet device name. Cheers, Paul - Original Message - From: Jamie Wilkinson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 13, 2003 9:41 AM Subject: Re: [SLUG] ip aliases and netmasks This one time, at band camp, Paul Robinson wrote: Running Redhat 7.3 on a server. I've got a bunch of ip aliases which I am running from /etc/rc.local to run them when the comp boots. Problem is that on boot it creates the aliased ip's but they have mask of Mask:255.0.0.0 instead of the required 255.255.255.248 An example line from rc.local is : /sbin/ifconfig eth0:0 netmask 255.255.255.248 xxx.xxx.xxx.xxx (with the x's being the additional ip addr) I'd actually create a file /etc/sysconfig/network-interfaces/ifcfg-eth0:0 (ugh) with the following contents: DEVICE=eth0:0 IPADDR=xx.xx.x.x NETMASK=255.255.255.248 which will then get the interface automagically created by the Red Hat init scripts, plus gives you control via the useful ifup/ifdown commands. SIOCSIFNETMASK: Cannot assign requested address I wonder what will happen if you instead rearrange the command like so: ifconfig eth0:0 xxx.xxx.xxx.xxx netmask 255.255.255.248 I'm guessing this could be because some services that are started are already listening on the aliased ip's. If I repeat the command 2 or 3 times it eventually sets the mask correctly. Services that are configured to listen on that interface won't actually be able to listen on an interface that doesn't exist yet. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Linux + PDA
Hi fellow Sluggers, I was wondering if anyone knows how to connect a PocketPC to a Linux PC. I can find plenty of articles for Palm (as you would expect since palms have been the choice of Linux users) but with the advent of Evolution being able to talk to exchange servers etc I see the Pocket PC's starting to creep in. When searching for anything remotely relating to pocket PC and Linux it showed nothing but links on how to replace pocket pc with Linux (not a bad idea I might add). If anyone knows of instructions on configuring things so that Linux can Sync a Pocket PC I'd really appreciate links / instructions. TIA Paul
Re: [SLUG] Strange thing with /
Cheers and thanks for the link to the faq. It just caught my attention :) - Original Message - From: [EMAIL PROTECTED] To: Paul Robinson [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, January 19, 2003 1:07 PM Subject: Re: [SLUG] Strange thing with / Paul Robinson [EMAIL PROTECTED] writes: is there any reason why // works? http://www.faqs.org/faqs/unix-faq/shell/bash/ E10) Why does `cd //' leave $PWD as `//'? POSIX.2, in its description of `cd', says that *three* or more leading slashes may be replaced with a single slash when canonicalizing the current working directory. This is, I presume, for historical compatibility. Certain versions of Unix, and early network file systems, used paths of the form //hostname/path to access `path' on server `hostname'. E11 always bugged me. Lots of good stuff in the faq. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Strange thing with /
Hi Sluggers, I just came across something by accident when I had a typo and after searching google I came up with nothing. I was hoping someone on here can explain how / why this works. When cd'ing to/ I accidentily typed cd // RedHat 7.3 then took me to //, the contents of which being the same as / I tried with higher numbers of /'s but it always took me to / is there any reason why // works? This isn't a life or death thing but I just found it interesting. Cheers, Paul
Re: [SLUG] Via Eden/Mini-ITX systems
I've answered a few of these offline as well. There is auspcmarket.com.au as has been mentioned below, however a mob at Castle Hill known as Programmers Paradise have them right they way up to the new 933MHz model which has a funky bios option where it autodetects if there is a dvd movie in the dvd drive (if present) and will play the dvd without booting the OS. They also have a couple of micro-ITX cases as well. www.programmersparadise.com.au for those interested Cheers, Paul - Original Message - From: Jan Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 06, 2003 10:45 PM Subject: Re: [SLUG] Via Eden/Mini-ITX systems quote who=[EMAIL PROTECTED] Where are people buying these Edens from? Are you buying whole systems or putting them together yourself? http://www.auspcmarket.com.au have some of the slower ones, and the faster ones 'coming soon'... just the mobos J. -- Jan Schmidt [EMAIL PROTECTED] Homer: No TV and No Beer make Homer something something Marge: Go Crazy? Homer: Don't mind if I do! rrrarrgghar! -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Setting Up a Website
Plug for a friend http://www.quost.com.au $11 a month or $110 for a year for decent hosting on either 2k or Linux. There is also a section on there to register a domain as part of the sale and .com, .net and .org are $25 a year (all prices $au). Cheap dialup would be TPG for the sydney area $17 a month unlimited usage or you could choose an hourly rate plan but $17 a month ensures no suprises. Cheers, Paul - Original Message - From: Richard Neal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 11:04 PM Subject: [SLUG] Setting Up a Website Hello Today I was asked for help by a a total none technical person how do I put my company one the web. Basically he wants to just have a simple website with a map who/where they are what they do and an email link etc. Now I haven't done this myself but I can bet a few of you have your own websites with your own domain names so I'm asking 2 questions. 1.One whats the cheapest simplest way to register a domain name and who with and how much is it. 2. Who would be a good service provider to host a simple web page/domain name setup (I'm going to do the web page myself) and how much We will also need a dial up so they can pickup their email. Were talking a Mum and Dad and Son company here nothing big. Regards Richard Neal -- * Hey if you're going to get mad at me every time I do something * * stupid, then I guess I'll just have to stop doing stupid things! * -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] RedHat 7.3 Pocketbook
Urgh, I can't believe they mucked up the CD's... Although from reading previous messages it seems ppl who have downloaded it directly from the site have permission problems so perhaps it was a problem with the ISO? I would be keen to hear what people think of the Pocketbook (excluding CD3 as this has been raised already). This is the 2nd edition that Dan and I have released and we tried to add a bit more meat to it for those new to Linux. (the broadband interenet section for example). I'll chase up with Lisa re CD 3 as well. Regards, Paul Robinson - Original Message - From: Jon Biddell [EMAIL PROTECTED] To: Bill [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 10:23 AM Subject: Re: [SLUG] RedHat 7.3 Pocketbook On Monday 02 September 2002 06:47, Bill wrote: Ron, I also purchased the RedHat 7.3 Next publicationsHandbook, and during the Install process the system won't see CD 3 as CD3, but keeps telling me that it is the wrong disk. I get exactly the same problem - the permissions on CD 3 look wrong, compared to the other two, but who can tell ? I'm waiting for a return phone call from Lisa Mills (Editor) of Next Publications - I believe replacement CD's should be sent to all purchasers upon return of their CD3 as proof of purchase I'll post her reply(s) here. Jon -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Problems with Telstra Cable - Solved
For anyone who is interested or has the same problem in the future I found an option that works, no matter how obscure and unintuitive that it is. By using the -I option on dhcpcd and specifying a different MAC address it seemed to trick the server into giving me the ip back. I still have the same IP but it works now. Paul - Original Message - From: Paul Robinson To: [EMAIL PROTECTED] Sent: Sunday, May 05, 2002 9:20 AM Subject: [SLUG] Problems with Telstra Cable that have been happening over the last 3 days Hi Sluggers, I was wondering if anyone else has been having trouble connecting to Bigpond cable lately. Since about Thursday I've barely been able to connect. I'm running RedHat 7.1 with the default kernel and I've had cable working since January with the service being down only a couple of times during that time and each of those times I've been able to check the web and see that there was a problem with the network. Now though there is no problem with their network and if I use my win2k box to connect with their software everything works fine (hence how I am sending this message). One thing of note, and I believe this may be the problem, is that I have had the same IP address since I joined BPC and set it up for linux. From what I've read about dhcpcd this is entirely possible as it tries to use the same IP in cache whenever it query's the server. With the win2k box though each time I connect I get a new IP and this has been over a period of the 4 days of no Linux. I've tried getting dhcpcd to get a new ip by using the -k option to get it to release the current ip and start it up with the -n option but all it does is make the current ip work for maybe 6hrs then the whole thing dies again. It says it's receiving heartbeats too quickly and that it's discarding and then directly after that it says it's receiving a bandly structured packet and discarding that. At this point, if I was connected, I no longer am and I'm cannot get back on for up to 12 hrs. I have all my services blocked from the outside yet I still notice multiple attempts to port 80 by telstra cable ip's. n.b. icmp is still allowed since that would muck up heartbeats. The only port allowed to connect from outside is the ip of my dce-server on port 5050 to any port on my box. Of note though, even if I shut down the firewall completely nothing changes. So after explaining my plight, 2 questions. 1) Is anyone else having issues with bpalogin and telstra cable or is it just me. 2) Is there any way to force dhcpcd to get a new IP? I have read the man page for it and the -k -n two options seem to be the only way but that doesn't work for me. Any help is greatly appreciated. Cheers, Paul
[SLUG] Want a 2nd opinion on this plan to upgrade hdd
Hi guys, Applogies for the mail client but once this question is answered I should be able to return to something Linux based :) ). I need to upgrade my hard disks in my main server from the 2gig drives it currently has to a couple of 6 gig drives that I have spare (the 2's are almost full). What I was planning to do was install the new drives and mount them as /mnt/temp and /mnt/temp2 for example and then run cp -a / /mnt/temp so as to copy everything form the root structure across.. but I got to thinking.. wouldn't it eventually try to copy the /mnt/temp content into itself and start a really bad loop? What is the best way to upgrade hard drives in a Linux box? Is there any software which will just write out the contents of an actual partition to another? ie copy /dev/hda1 to /dev/hdc1 or something like that.. ignoring the mount points etc. I also realise I'm going to need to make a boot disk and boot off that the first time to run lilo to write to the boot sector of the new hard disk when it is moved to /. TIA (I can always rebuild it but there were alot of things like snort etc that were configured as well as demarc which requires a decent amount of config time and I'd rather avoid that if possible) Paul
[SLUG] BIND / Network connection
Hi Sluggers, Firstly, appologies for mail client, I'm currently without a Linux Desktop. I was wondering if anyone knows how to bind a program to a particular IP for outgoing communications? Specifically I am setting up Bind as a secondary DNS and it's grabbing zone info from a master server.. The master is a Win2k box that is set to accept zone request info from domain only. For each of the 3 domains he's set the ns2 (the linux box) to be a different ip so that when reverse lookups are set up it will only show the relevant domain). I've scoured the web and I've found doco's on how to run multiple instances of bind and to set each to listen to a certain ip. This is all great but it doesn't set the src ip of any requests it makes to be the ip it listens to. So what happens is that although the linux box has eth0 and 18 aliased ip's on eth0 (ie eth0:0 - eth0:17) whenever it tries to grab the zone info from ns1 all the win2k box see's is the eth0 ip. I hope this makes sense as I'm not 100% sure if this is the most easily understandable explaination.. I guess essentially what I'm trying to acheive is to spoof the ip address like nmap can do.. I was wondering if ipchains might have been the answer.. because the ns1 for each domain has a different ip and I was wondering if there is a rewrite ip header ability where if dest ip = ns1.domain1 then rewrite src ip to ns2.domain1. Is any of this possible or am Iasking for things that shouldn't be? I'd prefer it if there is an ipchains/ tables solution rather than a multiple instance of bind solution as that way there's just 1 instance of bind running and hence there aren't the performance overheads to contend with. Thanks in advance. Paul
Re: [SLUG] IP Accounting
Hi Jeff, That was the package I suggested when I mentioned ipaccounting so I guess it's a configuration thing. To be specific, I've installed ipac-ng-1.21 and I'm running 2.4.18 kernel with all the network trimmings during kernel compilation. An example of what I'm trying for a config file is: incoming all |in|eth0:0|all|| also tried incoming all |in|aaa.bbb.ccc.ddd|all|| (where aaa.bbb.ccc.ddd is the ip address of the aliased interface) When I run fetchipac -S for either config it says : Warning: weird character in interface `eth0:0' (No aliases, :, ! or *). I'm guessing I'm stuffing something up with the interface section but I can't find many examples of it on the web :( Can you write out a few lines (with fake ip's if you want) of how to use ip's or interface aliases please. Thanks, Paul - Original Message - From: Jeff Waugh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 10, 2002 2:22 AM Subject: Re: [SLUG] IP Accounting quote who=Paul Robinson Can anyone suggest any software that they know will do the job of tracking traffic on an ip or aliased interface basis (eg eth0:1 etc)? ipac-ng for 2.4 kernels. Throws rules into iptables and runs checks on them via cron. As it happens, I set it up for some friends last week, and it worked very well (even on a firewalling ethernet bridge setup). The ipac-ng package for Debian is very nicely set up, btw. - Jeff -- Basically my philosophy on release management is that it should be like police brutality. - Maciej Stachowiak -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] perl programming course??
Hi Alister, I'm not 100% possible if you can enrol in this course as a non award student but you could try enrolling in COMP227 at Macquarie Uni. Depending on who takes the course it's networking component either focuses on perl or C++. Even then it is only 1/2 the semester so prepare to upskill rather quickly in it. Like I said though, not sure if it's offered as perl this year or if you can enrol in it as a non award student (I haven't been there in over a year), but it's worth enquiring about. Or you could always buy an O'reily's Introduction to Perl and/or Perl in a nutshell. Anyways, just a couple of options, not sure if any suit you. Cheers, Paul - Original Message - From: Alister Waller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 2:32 PM Subject: [SLUG] perl programming course?? Hi, Does anyone know of a perl programming course available via tafe or similar? Has to be in the Sydney area (I am in west ryde). preferably either a part time at night or a week long course. I had a bit of a look around and can't find anything. regards Alister PS: Its all Linux based so excuse me if you think this is on the wrong list. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] own domainname with non-permanent connection?
This might be ugly.. well actually it would be way ugly but it's an answer from left field. how about setting up a (free) dynamic dns account (http://www.dyndns.org) and point your mail to that which in turn points to your ip (there are scripts u can download and run which update the dns automatically when you connect to the net (run script from /etc/ppp/ip-up). I don't know how well this would work in practice, but I use them for a domain and used to get email sent to it until my uni blocked smtp at the main connection to the net.. haven't bothered telling everyone to swap back to old email address yet.. but performance wise they are pretty good. 5 min latency max in changing ip addresses. Paul On Sunday 24 June 2001 12:17, enterfornone mumbled something about: The web forwarding is probably ok cos I can permanently forward it to my web space under my isp. But for email I will need it to be either: a) forwarded somewhere and held for my to retrieve later (eg. via pop/fetchmail) That is what I do. Yahoo does it for about $10US a year (as well as handling the web redirect). Obviously you also need a pop3 account somewhere. Check out this howto (it's a bit old, but it should all still apply). http://www.linuxdoc.org/HOWTO/mini/Offline-Mailing.html -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Notification of Internet Violations
From reading their definition of hate literature offenders (ie that one groups views are superior to another) they are in breach of their own guidelines :) (it won't let you add their own email address to the database unfortunately...) Paul On Saturday 23 June 2001 15:16, Dean Hamstead mumbled something about: Is this a joke??? Dean Net Authority Investigations wrote: Dear slug, remove crud -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Proxy blues
On Tuesday 05 June 2001 19:34, Rick Welykochy mumbled something about: Laurie Savage wrote: I cannot get through the Dept of Education Proxy server with Lynx or Konqueror. The general setting given a school's ID is http://pac.xxx.yyy.zzz.au/schools/schoolid-xyzetc.pac My guess: Konqueror (and Lynx) do not accept .pac files. If you can find out the proxy address and port, you can tell Konqueror about it, under Options | Config Browser | Proxy. from a shell try typing the following : telnet to pac.xxx.yyy.zzz.au 80 GET /schools/schoolid-xyzetc.pac This should return the content of the pac file. look for the PROXY www.xxx.yyy.zzz:1234 DIRECT line and that is the proxy address and port number Hope this helps Paul _ Rick Welykochy || Praxis Services Pty Limited This food contains absolutely no DNA - American food product label -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] sh scripting help
Hi Sluggers, Got a problem writing a shell script in sh. What it's supposed to do is look at a base path, get a directory listing and for each directory there it needs to concat the base path with the dir name and run a cat * |grep sometext on each. I can get a directory listing by doing a ls -l |cut -b 47-57 and that gives a list of directories but I cannot get either the path concatination working or the do for each bit working. Are there any sh guru's out there who could point me in the right direction code wise? (nb it has to be /bin/sh as it's the only shell the system uses. otherwise I'd write a little perl script that could do this with ease). Cheers, Paul The generation of random numbers is too important to be left to chance. -- anon. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] (was: snooping / detective work.)
Yeah I guess it would be a waste of resources. It would still prove to be a worthwhile setup to detect any future attempts though wouldn't it? I seem to recall reading on the snort site that the optimum setup is to have 1 snort running outside the firewall and one inside the firewall.. that way you can see who's attempted what and you can also see who got through with what. On a side note I was looking at gateway and dell for potential ready made firewalls. They both seem to offer easily configurable purpose built machines (eg gateways micros server or dell's power web server). Are there any problems with these servers? I am worried that they may not be fully configurable and updatable and was wondering if anyone has had any experience with these sort of servers. Is it better to just get a regular pc and set it all up manually? We kind of need a quick solution as productivity is suffering due to the effect that the compromise has had (DOS effects when the person assumes the identity of another machine on our network) Again, thanks in advance, Paul At 01:32 PM 6/05/2001 +1000, Del wrote: What I'd like to be able to do before I set up said firewall is set up a sort of packet sniffer box in between the internet and one of the servers that this person is using. Hopefully to find out who they are and what they are doing. Right answer, wrong problem. Who they are is a relayed attack through some other compromised machine somewhere else, probably in Brazil, Pakistan, Greece, or Saudi Arabia. That compromised machine is probably relaying data from a third machine which in turn relays from a fourth ... etc. You may have to involve Interpol in a search for the real hacker, or at least CERT. What are they doing? Probably going around the internet seeing how many m4ch1n3s th3y can 0wn3d l1k3 y00r s0rry 4rs3 b3cuz th3y 4r3 1337 d00d! If you're really lucky they might actually do something useful with your machine, like D0S M1cr0s0ft!!! It's not worth your trouble. Besides, who cares? Find out how they got in. My guess: Because you didn't have a firewall. End of answer. Once you have that answer, find out how to keep them out. I think you can guess the answer to that one. Believe me, tracking hackers back to home base is just not worth it. Besides, once your hacker is kicked out of his dial-up account for h4x0ring your b0x, they'll just use one of the other 500 or so accounts they managed to get off the phreakers mailing lists. If it's really important that you track the guy down because there's some kind of industrial espionage issue going on and you want to prosecute, then call in the experts to do it. Del -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] I need to do some snooping / detective work.
Hi Sluggers, Can I have some feedback on whether the following is on the right track/ wrong/ completely not worth the effort. The place where I work has been compromised mainly due to the fact they are primarily a M$ shop and so they have no firewall currently (that is now going to change thankfully so our no. of linux boxes will be on the increase). They also have each individual workstation / server / printer given a internet ip address (This is also going to change once said firewall is set up) which was just asking for trouble. What I'd like to be able to do before I set up said firewall is set up a sort of packet sniffer box in between the internet and one of the servers that this person is using. Hopefully to find out who they are and what they are doing. I was currently working on setting up a linux box to install that netsaint package that I asked about a few weeks back. So currently we have a Slackware 4.0 (2.2.6 kernel) box which has the default setup + latest apache php 4 and mysql. I can add a second nic and turn off all services and use this box. It will have to fit in seamlessly and both my work colleagues and the intruder must not suspect any change. I was thinking that it would be something like below (excuse the crudeness of my diagram I don't draw them that often. Basic idea would have the packet sniffer similar to a firewall setup. INTERNET --- - Server | | (non real IP) | | Packet sniffer (2 x nic's server orig IP The Packet Sniffer box would IP MASQ (or IPchains Forward perhaps?) all packets onto the compromised server. It would also have to log all suspect connections. I was thinking of using snort for this as I've heard it's pretty rcomprehensive and I've seen the ruleset generation page and think it's quite a snazzy feature. Thanks in advance, Paul (who is now out to spec up a firewall box and re-read the firewall howto) The generation of random numbers is too important to be left to chance. -- anon. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Remote Service checker for linux - Thanks
ok, the VRML network view was truly the icing on the cake :) I'm quite impressed with it, downloaded it and will give it a go asap. Thanks to everyone who gave suggestions, but it looks like netsaint best meets our needs (and it has that kewl visualisation stuff) Cheers, Paul At 12:25 PM 23/04/2001 -0400, you wrote: http://netsaint.org You'll like it. A lot. - Jon - Original Message - From: Paul Robinson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 9:41 AM Subject: [SLUG] Remote Service checker for linux Hi Guys, We've developed a need at work for a package that can check a whole bunch of servers and see which services are up and running (not to mention checking if our dns (telstra) is up or not. Does anyone currently use anything on linux like this? I know we could write one however it would be preferable if there is something already written (why re-invent the wheel) that will do the job for us. It would be preferable if it had a web front end (so cgi or php or something). Does anyone know of anything that might suit? I've already googled as well as checking a few other search sites. Haven't come up with anything that close.. Cheers, Paul The generation of random numbers is too important to be left to chance. -- anon. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Remote Service checker for linux
Hi Guys, We've developed a need at work for a package that can check a whole bunch of servers and see which services are up and running (not to mention checking if our dns (telstra) is up or not. Does anyone currently use anything on linux like this? I know we could write one however it would be preferable if there is something already written (why re-invent the wheel) that will do the job for us. It would be preferable if it had a web front end (so cgi or php or something). Does anyone know of anything that might suit? I've already googled as well as checking a few other search sites. Haven't come up with anything that close.. Cheers, Paul The generation of random numbers is too important to be left to chance. -- anon. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] ipfwadm
Thanks Marty, When you said it was really easy I thought "sure sure" but that was amazingly easy to setup and write out rules for, installed and configured in about 3 mins and that's including downloading and reading the README and man file. From reading through the man file, and could not find any mention of how it interacts with other software such as ipfwadm or ipchains. What happens if you deny something in one program and then allow it in the other? Does it let it through or does the program that is denying the particular connection stop it when it is it's turn to filter the packets? I only ask because easy to install usually means easy to circumvent. Terry, I'd checked the slug archives already and couldn't find any articles that addressed this problem (just lots of hits on articles saying "you could use ipfwadm"). Thanks anyway. Paul At 12:36 AM 20/02/2001 +1100, you wrote: Hi Paul, Have you met rinetd? Its a really easy way of portforwarding without using ipfw or ipchains. I have a copy available for download at www.netwaynetworks.com.au/files/linux/rinetd_tar.tar Cheers, Marty On Monday, February 19, 2001 10:48 PM, Paul Robinson [SMTP:[EMAIL PROTECTED]] wrote: Hi guys, I've been trying to get my head around some old rulesets for ipfwadm as I want to add the feature of forwarding everything sent to say 8088 on my firewall to a particular machine inside my network 192.168.0.2 What I've tried so far is the following: #Forward Web connections to your web server /sbin/ipfwadm -F -a accept -b -P tcp -S 0.0.0.0/0 8088 -D 192.168.0.2 80 #Forward Web Connections to outside Web Server /sbin/ipfwadm -F -a accept -b -P tcp -S 192.168.0.2 80 -D 0.0.0.0/0 1024:65535 I've also tried it with mas in place of accept to no avail. It's been close to 2 years since I've had to mess with this and the tucows howto's (what used to be linux-HOWTO) don't seem to have the howto for it anymore. can anyone write out the rules required for this action or point me in the direction of any good faq's/howto's. nb. I'd rather not install ipchains atm as it would mean rewriting all my current rules (unless it's a snap on a 2.0.36 kernel) Thanks, Paul -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] ppp dialup
I have a script which auto-redials if it can't find a ppp0 connection in ifconfig. (checks every 2 mins) Whenever it dials into my isp I get it to write into a seperate log file (ie just echo the date dial attempt to the file). Then if I want to see when I last dialed in I just tail the file. (which happens to say the 17th of December atm). But this just happens to suit my needs. The lock file suggestion would probably be best for you (Although this really does provide a nice concise list of dial attemps which you can check against your telco's phone bill) Paul At 07:15 PM 6/01/01 +1100, Dave Kempe wrote: If you are using a modem on a tty ls -al /var/lock will tell you when the last lock file was created, which is the date and time you probably last dialed. dave On Sunday 07 January 2001 06:09, Peter Vogel wrote: How do I find out how long my ppp connection has been up? (or when was the last dialin) without looking backwards through the messages file? Thanks Peter -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Getting my linux box to print to a windoze machine.
There's nothing out of the ordinary in the log files. I got tcpdump running on the eth0 interface and tried printing to lp and the closest that I could find to anything referring to the machine with the printer (hilly) is below. 19:13:46.179207 arp who-has ace.starbug tell hilly.starbug 19:13:46.179321 arp reply ace.starbug is-at 0:0:c0:61:5b:96 19:13:46.179835 hilly.starbug.netbios-ns ace.starbug.netbios-ns: udp 62 19:13:58.458908 0:48:45:80:66:e1 Broadcast sap e0 ui/C len=43 0022 0011 0452 0048 4580 66e1 403c 0001 0004 2020 2020 2020 2020 20 I can sort of make sense of it but I couldn't see anything refering to say port 139 or there abouts for netbios ports. Does it make any sense to you Rodos? Thanks, Paul On Wed, 18 Oct 2000, Paul Robinson wrote: Any ideas as to what could be going wrong? I've had the same problem at work (as have other people who have tried to get mandrake 7.0 to print to a win98 shared laser printer), could there have been a problem with the samba used in 7.0 that was fixed by 7.1? Anything in the samba log files? Can you increase any log levels or debugging to see how far the printing is going? Can you do a tcpdump on data between the two addresses and see if the data is getting off the Linux box onto the windows machine. If you can start eliminating where the problem lies it might make it easier. Rodos P.S. You might have already tried these already, just mentioning them in case. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Getting my linux box to print to a windoze machine.
137, 139.. I was close :) I have both holly and hilly.. (from the first time we see the female Holly her name was actually Hilly so Hilly was talking to Holly. Holly is the main gateway which will explain the pop3 lines. Ok the extended version is as follows if it's of any use. I'll try going through it again, but I've done this once before when I first installed Mandrake on here.. I did once get printing to a win98 machine to work (it was on a redhat machine, not mandrake (although they are pretty much the same)) but I lost the .conf file. If no one has any idea for an easy solution I'll stop buggin ya all and leave it alone until I've got real time to try and get it working in December. Thanks anyway, Paul (extended tcpdump below) 19:13:46.178556 ace.starbug.netbios-ns 192.168.0.255.netbios-ns: udp 50 19:13:46.179207 arp who-has ace.starbug tell hilly.starbug 19:13:46.179321 arp reply ace.starbug is-at 0:0:c0:61:5b:96 19:13:46.179835 hilly.starbug.netbios-ns ace.starbug.netbios-ns: udp 62 19:13:58.458908 0:48:45:80:66:e1 Broadcast sap e0 ui/C len=43 0022 0011 0452 0048 4580 66e1 403c 0001 0004 2020 2020 2020 2020 20 19:13:58.711362 arp who-has ace.starbug tell holly.starbug 19:13:58.711487 arp reply ace.starbug is-at 0:0:c0:61:5b:96 19:14:08.211537 ace.starbug.netbios-dgm 192.168.1.255.netbios-dgm: udp 213 19:14:08.211870 ace.starbug.netbios-dgm 192.168.2.44.netbios-dgm: udp 213 19:14:31.108441 ace.starbug.1209 fes-d009.icq.aol.com.4000: udp 28 19:14:31.650590 fes-d009.icq.aol.com.4000 ace.starbug.1209: udp 21 (DF) 19:14:32.713067 ace.starbug.1370 holly.starbug.pop3: S 1913135015:1913135015 ) win 32120 mss 1460,sackOK,timestamp 199031368[|tcp] (DF) 19:14:32.713789 holly.starbug.pop3 ace.starbug.1370: S 4092798902:4092798902 ) ack 1913135016 win 32736 mss 1460 19:14:32.713943 ace.starbug.1370 holly.starbug.pop3: . ack 1 win 32120 (DF) 19:14:32.725086 holly.starbug.6179 ace.starbug.auth: S 1090543869:1090543869 ) win 512 mss 1460 19:14:32.725274 ace.starbug.auth holly.starbug.6179: S 1914960813:1914960813 ) ack 1090543870 win 32120 mss 1460 (DF) 19:14:32.725781 holly.starbug.6179 ace.starbug.auth: . ack 1 win 32120 (DF) 19:14:32.726042 holly.starbug.6179 ace.starbug.auth: P 1:11(10) ack 1 win 32 0 (DF) 19:14:32.726137 ace.starbug.auth holly.starbug.6179: . ack 11 win 32120 (DF) 19:14:33.086915 ace.starbug.auth holly.starbug.6179: P 1:36(35) ack 11 win 3 20 (DF) 19:14:33.088259 holly.starbug.6179 ace.starbug.auth: F 11:11(0) ack 36 win 3 20 19:14:33.088372 ace.starbug.auth holly.starbug.6179: F 36:36(0) ack 11 win 3 20 (DF) 19:14:33.088527 ace.starbug.auth holly.starbug.6179: . ack 12 win 32120 (DF) 19:14:33.088971 holly.starbug.6179 ace.starbug.auth: . ack 37 win 32120 (DF) 19:14:33.199199 holly.starbug.pop3 ace.starbug.1370: P 1:77(76) ack 1 win 32 6 (DF) 19:14:33.199443 ace.starbug.1370 holly.starbug.pop3: . ack 77 win 32120 (DF) 19:14:33.201127 ace.starbug.1370 holly.starbug.pop3: P 1:12(11) ack 77 win 3 20 (DF) 19:14:33.201881 holly.starbug.pop3 ace.starbug.1370: P 77:107(30) ack 12 win 2736 (DF) 19:14:33.203636 ace.starbug.1370 holly.starbug.pop3: P 12:26(14) ack 107 win 2120 (DF) 19:14:33.220398 holly.starbug.pop3 ace.starbug.1370: . ack 26 win 32736 (DF) 19:14:33.235785 holly.starbug.pop3 ace.starbug.1370: P 107:162(55) ack 26 wi 32736 (DF) 19:14:33.236249 ace.starbug.1370 holly.starbug.pop3: P 26:32(6) ack 162 win 120 (DF) 19:14:33.250390 holly.starbug.pop3 ace.starbug.1370: . ack 32 win 32730 (DF) 19:14:33.336194 holly.starbug.pop3 ace.starbug.1370: P 162:171(9) ack 32 win -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Getting my linux box to print to a windoze machine.
Howdy all, I have been trying for quite a while to get my mandrake 7.0 box to print to a laserjet attached to a win98 machine. Try as I may (including following a set of "fool proof" instructions in the last issue of APCmag) I cannot get it to print. my /etc/printcap is as follows : lp:\ :sd=/var/spool/lpd/lp:\ :sh:\ :lp=/dev/null:\ :if=/usr/bin/smbprint: The original set of instructions had what is above, except for the :lp=/dev/null:\ line. I added that after trying to fix the problem that occurs if I use it without that line. If I use it without the /dev/null line it just sits in the queue as active and it doesn't do anything. If I have the /dev/null (or /dev/lp or /usr/bin/sbmprint) as an lp= entry then it behaves as normal where it sits in the queue for a bit then has supposedly finished. I check the printer, nothing there. I also have the .config file setup that they said to use with proper details about the netbios name, printer name and password etc. I tried RTFM before looking at the apcmag and I've also tried using the GUI in the control-panel / drakeconf to give it the details. All of which produce the same effect, print jobs supposedly being completed and nothing comming out of the printer. Any help on this would be greatly appreciated. Setting this up in reverse was a snap when the linux box had control of the printer, it's just the reverse that's proving to be a pain. Many thanks, Paul -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Getting my linux box to print to a windoze machine.
Well the configuration that you have written is the same as the one the control panel's print setup produced. I've cut n pasted your two scripts and modified share to match mine and restarted both lpd and samba (yes I am using samba) and it still did not work. I'm certain I have samba working as other machines can see the linux machine on their workgroup and the linux machine can see (and mount shares) from other computers. I did notice, flicking t hrough smb.conf again, that it loads the printers from printcap (as per normal in smb) so it h as a share which is the printer as well, I tried printing from one windows machine through the linux share, to the other windows machine and that still didn't work either. Get's to the linux machine and disapears (into /dev/null presumably). Any ideas as to what could be going wrong? I've had the same problem at work (as have other people who have tried to get mandrake 7.0 to print to a win98 shared laser printer), could there have been a problem with the samba used in 7.0 that was fixed by 7.1? Thanks, Paul Howard Lowndes wrote: Well, this is the entry out of my /etc/printcap using Mandrake 7.1 to a 'doze printer: ##PRINTTOOL3## SMB ljet2p 300x300 a4 {} LaserJet2p Default 1 lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :lp=/dev/null:\ :af=/var/spool/lpd/lp/acct:\ :if=/var/spool/lpd/lp/filter: and this is out of /var/spool/lpd/lp/.config share='\\scribe\star' hostip= user='' password='' workgroup='' Needless to say, I am running Samba, are you? HTH -- Howard. __ LANNet Computing Associates http://www.lannet.com.au On Tue, 17 Oct 2000, Paul Robinson wrote: Howdy all, I have been trying for quite a while to get my mandrake 7.0 box to print to a laserjet attached to a win98 machine. Try as I may (including following a set of "fool proof" instructions in the last issue of APCmag) I cannot get it to print. my /etc/printcap is as follows : lp:\ :sd=/var/spool/lpd/lp:\ :sh:\ :lp=/dev/null:\ :if=/usr/bin/smbprint: -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] MS Linux gets closer
A "no source code" version of linux or of the ".NET" applications? Doesn't products like Vmware already do this? All I've ever seen on the Vmware site is binaries. Correct me if I'm wrong (cos I've never actually read the GPL, just got the general jist of it) doesn't the GPL only apply if you have used source code from a GPL program in your own program that you are then obliged to release your program under the GPL as well? So long as VMware hasn't used a single line of GPL code (and alternately Corel when they port the m$ .NET crud) then they are ok to give you just binaries, aren't they? Or is one of the .NET programs going to be a MS Linux? My understanding of the article was that they were going to port MS applications to linux, not redesign linux such that it works with the applications (Although that would probably be SOP for MS.) Paul Howard Lowndes wrote: My concern here is that M$ might use its clout to challenge the GPL and try to distribute its own "no source code" version. -- Howard. __ LANNet Computing Associates http://www.lannet.com.au On Tue, 17 Oct 2000 [EMAIL PROTECTED] wrote: Whilst not directly releasing its own distribution Microsoft may use its recent deal with Corel to "ease itself into the open source community" according this article by the National Post Online http://www.nationalpost.com/search/story.html?f=/stories/20001012/426367.html -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Slow initial telnet.
George Vieira wrote: Hi all, I know this is an oldie question but my initial telnet connections take forever to connect. It connects and then you wait for a minute before getting the logon message. I know the oldie answer was to remove `named` as the server was trying to resolve the IP address but named isn't running on this system. Also adding the names to the host file works but isn't the answer for me as this server is going to a site which will have remote WAN connections. When you say adding the names to the host file do you mean just /etc/host or the whole set including hosts.allow and hosts.deny. Surely you'd just blank out hosts.deny and put ALL: ALL (or just in.telnetd: ALL) into hosts.allow? Then it allows everyone to connect to telnet. If this is what you meant by adding the names to the host file then ignore this, but I had this problem once before and this solved it. Come to think of it. Another problem I had was with an old version of Slackware where it seemed to have some sort of corruption in the telnet daemon. It would also do the same thing as if you had a dodgy hosts.allow/.deny set but it would actually zombie the telnet processes and you could not get rid of them with any kill option. You actually had to reboot the machine to get it to connect again. This was from Slakware 3.4(or 3 if there was one.. old one anyway). A quick download and install of an updated version of the daemon and things were fine. Paul There is no /etc/resolv.conf as it's an isolated database server and has no connections to any other server.. Is there a way to get the TCP wrapper or whatever it is that's trying to resolve these machines to ignore resolving and just allow the connection quickly..? thanks, George Vieira Network Administrator http://www.citadelcomputer.com.au PGP Fingerprint : 43DC 92AC 1A82 27B2 E97B 52F1 B60F 301A 38A9 A10C PGP KeyID: 0x38A9A10C -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- --- Paul Robinson Web Developer / Programmer Centre for Flexible Learning Macquarie University NSW 2109, Australia Voice: +61 2 9850 8424 Email: [EMAIL PROTECTED] --- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] ozemail problems.
Rick Welykochy wrote: OutLook Express is not a connection protocol - it's an application. This is a Linux User's Group List - contact Micro$oft for this kind of help, or join a Microsoft Users Group. Yes, the Sydney Microsoft Users Group (SMUG) :) Paul -- Rick Welykochy || Praxis Services -- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Re: Still is??: Re: linux jobs ##
At 02:31 PM 9/09/00 +1100, Angus Lees wrote: On Sat, Sep 09, 2000 at 11:40:14AM +1100, Matt Allen wrote: On the programming side of things, This is what *i* mostly do and all I think uni would have done for me is put me back 3-4 years. The question I ask is "Could uni have taught me how to write PHP and HTML". I guess sort of, maybe in the basics but it still would have taken 3-4 years :) snip As someone completing their final semester of a BSc Comp. Sci. I have to agree with Angus. Uni aims to teach you general techniques and concepts as opposed to specific languages. From my experience, Macquarie Uni doesn't have the "packer" problem. Over the years (and I've been there for a fair few now) I have seen the tools change, but the ideas stay the same. From my first year programming experience of Pascal mSQL when I was still aiming for a degree in Chemistry to when I decided to pursue a Comp Sci Degree and found the later part of the 1st year component changed from Pascal to Eiffel in an attempt to introduce OO from early on. They were still teaching you the general concepts, ADT's, recursion etc etc (you all know the stuff so I won't rattle it all off). During my time working my way towards a degree we used languages such as the ones mentioned above, as well as moving to a unix environment from 2nd year onwards with languages such as C++, Oracle, DLX (to learn assembly), Prolog Java. But they were just that.. tools. The concepts I've learnt turn learning a new language into a simple case of flicking through the appropriate O'reily's to learn the syntax and within a few days you are writing code fairly proficiently (ie without having to constantly refer to the book) for which ever language you need. I've done that now with perl, PHP and VBscript (for ASP's)(yes I know, blurgh yukky MS code but it got me web dev exp.) for my job working for the uni. I'm not saying university is the only way to "get it" but it certainly provides a structured way of learning how to "get it" and it has worked for me. Others prefer different approaches to learning the same things I'm sure. I certainly believe that if the person has the potential to "get it" they just have to find the right method for them. The added bonus of a Uni is that often they have job vacancies on campus that help you gain job related experience (mainly in IT though) to get the groundwork that Gus was talking about. I'll leave out the blatant "I'll be graduating and finishing my current job in Feb and will have 1yrs exp under my belt if anyone needs a worker" spiel out for now :) Paul we all know that there are those who "get it", and those that don't. if someone "gets it" they don't learn *a* language, they learn the general techniques (/idioms) and concepts appropriate to a particular style of language. learning a new language then becomes flicking to the appendix on syntax at the back of the relevant o'reilly. of course a uni course wouldn't (or shouldn't) teach you "how to write PHP and HTML". thats not what uni is for. unfortunately uni's are now filled with packers, since they are by far the majority. the curricula and funding are controlled by packers who want to "see results" and don't understand that someone who comes out of a uni course *shouldn't* know how to do anything specific. if you still want a "classical" education, you have to go to a uni and look for it. they are still there if you find the right group of people, the right subjects and keep yourself suitably distanced from the actual details of the material being presented. regular conversations with groups of like-minded people, prompted by the opinion and explanation of an "expert", is by far the fastest way to truly learn. i've worked with a few, and its a very sad thing to meet someone who "gets it", but hasn't been given the groundwork they need meet their potential. don't go to uni to prepare for a job. if that is your expectation, a short course at TAFE will save you money, time and frustration. and hire someone who "gets it" over someone who doesn't every single time. regardless of paper qualifications. /esoteric -- - Gus ("Free software meets Buddhist enlightenment" religion anyone?) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug --- Paul Robinson Web Developer / Programmer Centre for Flexible Learning Macquarie University NSW 2109, Australia Voice: +61 2 9850 8424 Email: [EMAIL PROTECTED] --- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] OT NT on train timetable screens vs indicator boards
At 10:32 PM 31/08/00 +1100, Jason Rennie wrote: Windows has detected that a new carriage has been connected. Please restart the engine for the new settings to be propagated. Be careful you'll get a fatal exception in passenger.dll Jason Be a real bugger if you don't have the right drivers... (Keep them corny train jokes commin :) ) Paul -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Keep alive tool
# fetchmail -d 120 or a cron job to ping ur isp every few mins perhaps? Works for me anyway.. Paul At 08:10 AM 28/08/00 +1000, Bernhard Lüder wrote: Hi, Can anyone recommend a keep alive tool for my dialup connections, please? Bernhard -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug