Re: [SLUG] Tape Drive Reset
On Mon, Apr 30, 2001 at 04:41:56PM +1000, Michael Lake wrote: > Sean Carmody wrote: > > happens, the tape drive decides it's busy (any attempts > > to access it with mt, for example, respond with "Device > > or resource busy") and taper does into an uninterruptable > I used to use Taper with my Colorado IDE drive. Ditch it. Taper may have its problems (I've never used it), but it's not the cause of Sean's problem. I have the same problem at home with a SCSI tape drive using tar. After upgrading my machine at work to RH7.0, I found this in /etc/rc.d/rc.sysint: # If a SCSI tape has been detected, load the st module unconditionally # since many SCSI tapes don't deal well with st being loaded and unloaded if [ -f /proc/scsi/scsi ] && grep -q 'Type: Sequential-Access' /proc/scsi/scsi 2>/dev/null ; then if grep -qv ' 9 st' /proc/devices ; then if [ -n "$USEMODULES" ] ; then # Try to load the module. If it fails, ignore it... insmod -p st >/dev/null 2>&1 && modprobe st >/dev/null 2>&1 fi fi fi So I'm going to try having the st module loaded permanently and see if that makes a difference. Your tape drive may suffer from a similar problem, so try loading the appropriate module(s) at boot time and leaving them loaded. Cheers, John -- whois [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Tape Drive Reset
Sean Carmody wrote: > I do regular backups to tape on an internal IDE drive using > taper (vers 6.9b). Although it usually behaves OK, every > now and then it spits the dummy. Unfortunately when this > happens, the tape drive decides it's busy (any attempts > to access it with mt, for example, respond with "Device > or resource busy") and taper does into an uninterruptable > sleep (presumably because the tape drive is no longer > responding). Rebooting cures everything, but is pretty > brutal. Does anyone know how to reset the tape drive without > rebooting? I used to use Taper with my Colorado IDE drive. Ditch it. It never did work properly for me either. It needs taper to restore as well. Mike -- Michael Lake University of Technology, Sydney Email: mailto:[EMAIL PROTECTED] Ph: 02 9514 1724 Fx: 02 9514 1628 URL: http://www.science.uts.edu.au/~michael-lake/ Linux enthusiast, active caver and interested in anything technical. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] Tape Drive Reset
Just to clarify--that's an internal IDE _tape_ drive! > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Sean Carmody > Sent: Monday, 30 April 2001 4:17 PM > To: [EMAIL PROTECTED] > Subject: [SLUG] Tape Drive Reset > > > I do regular backups to tape on an internal IDE drive using > taper (vers 6.9b). Although it usually behaves OK, every > now and then it spits the dummy. Unfortunately when this > happens, the tape drive decides it's busy (any attempts > to access it with mt, for example, respond with "Device > or resource busy") and taper does into an uninterruptable > sleep (presumably because the tape drive is no longer > responding). Rebooting cures everything, but is pretty > brutal. Does anyone know how to reset the tape drive without > rebooting? > > Regards, > Sean. > > -- > 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] Tape Drive Reset
I do regular backups to tape on an internal IDE drive using taper (vers 6.9b). Although it usually behaves OK, every now and then it spits the dummy. Unfortunately when this happens, the tape drive decides it's busy (any attempts to access it with mt, for example, respond with "Device or resource busy") and taper does into an uninterruptable sleep (presumably because the tape drive is no longer responding). Rebooting cures everything, but is pretty brutal. Does anyone know how to reset the tape drive without rebooting? Regards, Sean. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] problems detecting scsi on compaq proliant 380dl with smart2 controller
* This one time, at band camp, Bevan Broun said: > Scsi Support: > scsi support > scsi hard drive > scsi tape drive > Maybe way off here - but I had problems with SCSI tapes a while (years) back on Redhat. Ended up having to enable scsi generic in the kernel too - maybe its worth trying. TG -- Greeno <[EMAIL PROTECTED]> GnuPG Key : 1024D/B5657C8B Key fingerprint = 9ED8 59CC C161 B857 462E 51E6 7DFB 465B B565 7C8B You mentioned your name as if I should recognize it, but beyond the obvious facts that you are a bachelor, a solicitor, a freemason, and an asthmatic, I know nothing whatever about you. -- Sherlock Holmes, "The Norwood Builder" PGP signature
[SLUG] problems detecting scsi on compaq proliant 380dl with smart2 controller
We have a compaq proliant dl380 with an Integrated smart array controller and a compaq DDS tape drive (compaq std-9000) and Im having trouble getting linux to recognise the scsi bus and tape drive. Infact we have 4 of these machines and two of them are running NT 4.0 so I can get some data from these. I have installed a Redhat 7.0 system with a 2.2.19 kernel that was compiled on the machine by myself. Note that the 2.2.16 kernel that came with the system did not detect the scsi adaptor or dds drive either. I ran "smartstart" before installing as recommended on compaq's website - this seems to have made no difference. On boot the bios shows the DDS drive on "Port 1, ID6". Our NT systems have the dds drive on target 0, scsi port 1, bus number 2. When compiling the 2.2.19 kernel I said yes to: Block devices: Compaq SMART2 support (detected and working) Scsi Support: scsi support scsi hard drive scsi tape drive Module support for Low level Scsi drivers: AIC7xxx generic NCR 5380/5380/53c400 simple 53c710 NCR53C8xx NCR53C8xx SYM53C8XX Ive tried to load the modules with insmod and depmod with no sucess. Upgrading to RH-7.1 is not an option at the moment. Any hints for this please. TIA Bevan Broun -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
On Mon, 30 Apr 2001 11:49p, Jamie Honan wrote: > > BTW, also look at evas. (search on freshmeat) This has a nice > canvas model, which, surprisingly looks like the primatives that > Tk relies on. > > For complete GUI toolkits, there are also Qt and Gtk. These more > directly C++/C based (with other language bindings). I'm glad someone has mentioned using a toolkit :) I was going to suggest Gtk if it has to be C. If it doesn't have to be C, then Qt would be a good choice, or even Java might be a good bridge to eventually learn C++ (and C) -- Regards John -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Bandwidth monitor for Optus@home
This one time, at band camp, Andrew Bennetts said: >On Mon, Apr 30, 2001 at 10:21:52AM +1000, James Wilkinson wrote: >> >I am looking for a bandwidth monitor for my >> >optus@home packet pushing gateway, I would >> >like it to log the data to a file so that I >> >can write programs to analyse it. >> >> Search google for MTRG. > >I think you mean MRTG. Yes ;) -- jamesw Always two there are; a Bastard, and a PFY. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
Secret Squirrel was once rumoured to have said: > Thanks for that very comprehensive introduction Crossfire, I noticed > that you mentioned "event system", I wasn't really expecting to > "interact" with the window through mouse clicks, movements etc. is > this what you're referring to ? I haven't really considered using > the mouse but it would be a nice thing if it's so accessable. Events are any form of input from the windowing system + some. Resize, Expose (redraw), Mousedown, Keydown, etc events feed into your application via a queue. In Xlib programming you *MUST* service the event queue, since it tells you when you are able to render your view, and when you need to redraw parts of it. > So let's say that I use XLIB - what will actually happen ? > ./myprogram will open a black X by Y window somewhere on the screen > (not in the xterm) and draw a line in that box as I want it ? I > really don't know what's "normal" in Linux. For example I was > suprised when I found out I could run Quake 3 AND run it in full > screen mode - I just didn't ever see it before so I didn't expect > that it could do it, strange I know. your program will connect to the X server, get the default screen, and create a parent window. You then map/show the parent window, and it the Window Manager then displays it somewhere. Your window then recieves an expose event, and the rest is up to you. > So is this what happens Crossfire ? Or will it open > in a "generic" application window with a border, > close window button etc ? There is no "generic" application window stuff in XLib - XLib is VERY low level, and can be extremely fast. Its also the best place to write simple graphics code. with the exception of OpenGL. And even with OpenGL, you still need to write some XLib calls to initialise your window. > I'm in a pretty bad position here since I don't think I know what I > really want (from the Operating System) need and what to expect. I > do know i'd like to program in C and keep it entertaining for myself > by "having a play" and experimenting with it by drawing graphics and > creating simple games, Pong ! Asteroids ! > > Following these guidelines perhaps you could suggest something ? Use X + OpenGL, since the buffering extensions will help you out here for simple games, as well as the translation and other nifty-keen OpenGL features. Just be warned that the OpenGL Reference is a fairly daunting document - just for 2d work, you only use a TINY fraction of it. C. -- --==-- Crossfire | This email was brought to you [EMAIL PROTECTED] | on 100% Recycled Electrons --==-- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
Thanks for that very comprehensive introduction Crossfire, I noticed that you mentioned "event system", I wasn't really expecting to "interact" with the window through mouse clicks, movements etc. is this what you're referring to ? I haven't really considered using the mouse but it would be a nice thing if it's so accessable. So let's say that I use XLIB - what will actually happen ? ./myprogram will open a black X by Y window somewhere on the screen (not in the xterm) and draw a line in that box as I want it ? I really don't know what's "normal" in Linux. For example I was suprised when I found out I could run Quake 3 AND run it in full screen mode - I just didn't ever see it before so I didn't expect that it could do it, strange I know. So is this what happens Crossfire ? Or will it open in a "generic" application window with a border, close window button etc ? I'm in a pretty bad position here since I don't think I know what I really want (from the Operating System) need and what to expect. I do know i'd like to program in C and keep it entertaining for myself by "having a play" and experimenting with it by drawing graphics and creating simple games, Pong ! Asteroids ! Following these guidelines perhaps you could suggest something ? -- Secret Squirrel > >Secret Squirrel was once rumoured to have said: > > Hello, > > > Would draw a nice line across the screen for me, what could be > > simpler ? With this I spend hours creating little solutions to > > problems, such as simulating the swinging of a clocks pendulum with > > a bunch of white and black lines along with a mathematical > > function. This taught me a lot about programming, i'm wondering if C > > under Linux has the same capabilities. I trust it won't be as easy > > as the one liner mentioned above, I don't even know if I can draw > > lines across a console as you can in QBASIC. What does it take to > > draw simple QBASIC style graphics with C under Linux ? > >C is ultimately more flexible than QBasic ever was. This works both >ways however. Some APIs are also far more complicated. > >For graphics, you have 5 main choices: > > Xlib. This is all nice and fine until you start handling colour. > X11 also has a fairly sane event system. > > svgalib. Old. Decrepit. Forgetit. However, it does draw straight > against the console, IFF your video card is supported. > > ggi. svgalib's sucessor. Privatives shouldn't be too painful. > Interfaces with many rendering systems, so you should be able to > use it most anywhere. > > fbdev. Linux has a framebuffer console option in the kernel which > will let you mmap /dev/fb0, and acquire a direct memorymap of your > framebuffer's video memory. You have to do all the hardwork of > linedrawing yourself in this circumstance. I think ggi can > interface directly with fbdev. > > OpenGL. Don't Laugh. :) X+GLX isn't actually that hard to program, > and OpenGL has Line and Polygon primitives standard. Colour > handling is also much simpler than standard X. Oh, and your > OpenGL calls are moderately portable - only your X and GLX related > calls will need to be changed to run on another platform. > >Personally, I'd stick with Xlib or OpenGL. >-- >--==-- > Crossfire | This email was brought to you > [EMAIL PROTECTED] | on 100% Recycled Electrons >--==-- _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] MP3 Web Server
- Original Message - From: "John Ryland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 27, 2001 1:28 PM Subject: [SLUG] MP3 Web Server > > At work I want to setup a web based playlist editor as an MP3 server. > I checked out freshmeat and found andromeda but I don't think it's quite what > I'm after. ---SNIP > Can it be done? > > The Andromeda php script is very neat and lets you search the mp3 collection, > it would be good if this searching is still possible. > Are there any solutions that do this? Maybe mod_mp3 (http://www.tangent.org/mod_mp3/) woud be of some help to you. Gareth Walters -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] FYI - Net Banking on Linux - Not St George
If you are considering net banking under linux, avoid St George. Now forcing people to upgrade previously working versions of browsers. -- Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861 email: [EMAIL PROTECTED] www: http://www.woa.com.au WOA Computer Services "People without trees are like fish without clean water" -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Apache question: phantom porn site?
On Mon, 30 Apr 2001, Peter Vogel wrote: > A strange thing has happened to my previously sleepy Apache server. > Until this month, I would get a few hundred hits a month, now suddenly > my log says 80,000 hits. Looking at the URLs requested, none of them > relate to my site. Somehow my server is being asked to serve pages that Are you using mod_proxy? Perhaps your server is an open web proxy. Alexander -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
On Mon, 30 Apr 2001, Secret Squirrel wrote: > Thanks for your suggestion Jamie, I > really wouldn't know where to begin with > drawing graphics on a Linux system. > > I will definately add TCL/Tk to my list > of "things to look out for" but I > actually want to learn the C language > and draw graphics at the same time so > I can learn C by drawing graphs and > math curves. > > However some day I may want to draw a > simple graph for example and not "code" > it in C, perhaps this is where TCL/Tk > will be suitable. Right now I don't > think i'll be able to find the time > to learn a new scripting language Ah, but the beauty of Tcl/Tk is it's integration with C. One of the annoying things about GUIs/drawing in C is the shear amount of code you have to write to do basic things. I sympathise with your desire to not have to learn a new language, but any drawing toolkit will likely have a large API that needs to be mastered, even before you can do something simple like draw a line. BTW, also look at evas. (search on freshmeat) This has a nice canvas model, which, surprisingly looks like the primatives that Tk relies on. For complete GUI toolkits, there are also Qt and Gtk. These more directly C++/C based (with other language bindings). Good luck Jamie -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Bandwidth monitor for Optus@home
On Mon, Apr 30, 2001 at 10:21:52AM +1000, James Wilkinson wrote: > >I am looking for a bandwidth monitor for my > >optus@home packet pushing gateway, I would > >like it to log the data to a file so that I > >can write programs to analyse it. > > Search google for MTRG. I think you mean MRTG. -Andrew. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] /var/log/XFree86.0.log
Hi Sluggers, I got into work this morning to discover my /var partition completely full. The culprit was /var/log/XFree86.0.log which had grown to over 250MB in five days. 99.99% of the content was these two lines repeated: GetModeLine - scrn: 0 clock: 108000 GetModeLine - hdsp: 1152 hbeg: 1216 hend: 1344 httl: 1600 vdsp: 864 vbeg: 865 vend: 868 vttl: 900 flags: 5 Anyone know how to either stop X from creating this file or reduce the amount of junk it writes to the log? I'm running XFree86 4.0.1. Thanks, John P.S. Apologies to the list admins who would have received a heap of "Message undelivered after 4 hours" messages because of this. I'll have myself taken out and shot later. -- whois [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
Thanks for your suggestion Jamie, I really wouldn't know where to begin with drawing graphics on a Linux system. I will definately add TCL/Tk to my list of "things to look out for" but I actually want to learn the C language and draw graphics at the same time so I can learn C by drawing graphs and math curves. However some day I may want to draw a simple graph for example and not "code" it in C, perhaps this is where TCL/Tk will be suitable. Right now I don't think i'll be able to find the time to learn a new scripting language -- Matt > >Doubtless others will tell you to follow the gourd instead >of the heathenistic sandal, but a scripting language >is probably a better bet, and for drawing, gui controls >etc., I really like TCL/Tk. > >Take this example: from http://mini.net/cgi-bin/wikit/1359.html > > >>> >"[Richard Suchenwirth] - This weekend fun project varies the theme of >[Model railroading with Tcl] and takes a windshield perspective. Imagine >you're standing at a railroad crossing, red lights are flashing... >and then the train runs by - an armour yellow F7A, boxcars, gondola, >trailer on flat car.. and finally, the caboose. That's what the >following piece shows on a Tk canvas. You can control train speed with >left (faster), middle (emergency stop), and right (slower, or back) >mouse buttons." > >Richard then proceeds to do so in 700 odd lines of code. You run >"wish" (right there, on your system) and feed it those lines >of code and share the magic moment. > >The tinkering then proceeds for the rest of your life. > >(See also Richards postcard from Switzerland at the same place). > >BTW Secret, we are more akin to Possums round here. > >Jamie > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Bandwidth monitor for Optus@home
This one time, at band camp, Secret Squirrel said: >Hello, Shh! Secret Squirrel! >I am looking for a bandwidth monitor for my >optus@home packet pushing gateway, I would >like it to log the data to a file so that I >can write programs to analyse it. Search google for MTRG. You mentioned e-smith, I'm not an expert with that distro but something is telling me that MTRG is packaged with e-smith. -- jamesw Always two there are; a Bastard, and a PFY. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
Secret, > line (12,32)-(23,54),0 > > Would draw a nice line across the screen for me, > what could be simpler ? With this I spend hours > creating little solutions to problems, such as > simulating the swinging of a clocks pendulum with ... > Would it be easier to draw graphics in a console > or in X Windows ? Doubtless others will tell you to follow the gourd instead of the heathenistic sandal, but a scripting language is probably a better bet, and for drawing, gui controls etc., I really like TCL/Tk. Take this example: from http://mini.net/cgi-bin/wikit/1359.html >>> "[Richard Suchenwirth] - This weekend fun project varies the theme of [Model railroading with Tcl] and takes a windshield perspective. Imagine you're standing at a railroad crossing, red lights are flashing... and then the train runs by - an armour yellow F7A, boxcars, gondola, trailer on flat car.. and finally, the caboose. That's what the following piece shows on a Tk canvas. You can control train speed with left (faster), middle (emergency stop), and right (slower, or back) mouse buttons." Richard then proceeds to do so in 700 odd lines of code. You run "wish" (right there, on your system) and feed it those lines of code and share the magic moment. The tinkering then proceeds for the rest of your life. (See also Richards postcard from Switzerland at the same place). BTW Secret, we are more akin to Possums round here. Jamie -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: Dinner place (again) was: [SLUG] Meeting Report - Friday, 27th April, 2001
Steve Kowalik wrote: > On Mon, Apr 30, 2001 at 12:28:34AM +1000, Anand Kumria uttered: > > Would anyone else like to move to another place? A change would be nice. And especially if we can get back < $20 > Hell, yes! > azaming. Mama's Kitchen wasn't too bad, but that was unplanned, and rather They can't even cook pasta. Mine was so stodgy I left it. The Gelato was OK as it was made by some one else. Mike -- --- Michael Lake University of Technology, Sydney Ph: 9514 1724 Fx: 9514 1628 email: [EMAIL PROTECTED] Web: http://www.science.uts.edu.au/~mikel --- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Mail question
Did that and Ihave to send a HELO as well as the EHLO, which I seem to be doing to other servers. At 15:22 27/04/2001, Steve Kowalik wrote: >On Fri, Apr 27, 2001 at 11:49:35AM +1000, Simon Bryan uttered: > > Hi, > > Whenever I try to send something to a friend I get the following returned. > > However no-one else I know has the same problem so assume it is something > > in my setup. > > > > ... while talking to gw1.sesahs.nsw.gov.au.: > > >>> MAIL From:<[EMAIL PROTECTED]> > > <<< 503 please introduce yourself, first > > >Errr, that shouldn't happen. >a '50x' error means "Your client needs to be taken out and shot - we can't >understand each other" >It probably means your client isn't sending a EHLO or HELO command first. >Try telnet'ing to gw1.sesahs.nsw.gov.au on port 25 and doing: >(waiting for a reponse each time) >EHLO mail2.optusnet.com.au >MAIL From: <[EMAIL PROTECTED]> >RCPT To: <[EMAIL PROTECTED]> >DATA >(Enter your data here, with a '.' on a blank line to finish) >QUIT > >Here is a paste showing that: :-) >Connected to slinky.wedontsleep.org. >Escape character is '^]'. >220 slinky.wedontsleep.org (qmail) ESMTP >EHLO broken.wedontsleep.org >250-slinky.wedontsleep.org (qmail) >250-PIPELINING >250 8BITMIME >MAIL From: Steve Kowalik <[EMAIL PROTECTED]> >250 ok >RCPT To: [EMAIL PROTECTED] >250 ok >DATA >354 go ahead >This is a test message. >. >250 ok 988348874 qp 4775 >quit >221 slinky.wedontsleep.org (qmail) > > > > > > > > > > > > > > Simon Bryan > > > > IT Manager > > OLMC Parramatta > > http://www.olmc.nsw.edu.au > > > > > > > > -- > > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > > More Info: http://slug.org.au/lists/listinfo/slug > > > >-- > Steve > "I'm a sysadmin because I couldn't beat a blind monkey in a coding > contest." > --Me > >-- >SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ >More Info: http://slug.org.au/lists/listinfo/slug Simon Bryan IT Manager OLMC Parramatta http://www.olmc.nsw.edu.au -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Mail question
At 19:15 27/04/2001, you wrote: >On 27 Apr 01, at 11:49, Simon Bryan wrote: > > > Hi, > > Whenever I try to send something to a friend I get the following returned. > > However no-one else I know has the same problem so assume it is > something in my > > setup. > >EHLO you.domain.here Seems it wants an HELO here, I have not been able to 'sniff' this, but I had some mail stuck in my queue which I sent by flushing the queue and watching the output and my system does seem to send the EHLO and the HELO >MAIL FROM: [EMAIL PROTECTED] >RCPT TO: <[EMAIL PROTECTED]> >RCPT TO: <[EMAIL PROTECTED]> >DATA > >This is my silly email. >. > >You ARE using the above commands in sequence, right? > > > ... while talking to gw1.sesahs.nsw.gov.au.: > > >>> MAIL From:<[EMAIL PROTECTED]> > > <<< 503 please introduce yourself, first > > > > > > > > > > > > > > Simon Bryan > > > > IT Manager > > OLMC Parramatta > > http://www.olmc.nsw.edu.au > > > > > > > > -- > > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > > More Info: http://slug.org.au/lists/listinfo/slug > > > >PGP Key Block available at: >http://aussie.mine.nu/aussie/pgp_key.txt > >-- >SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ >More Info: http://slug.org.au/lists/listinfo/slug Simon Bryan IT Manager OLMC Parramatta http://www.olmc.nsw.edu.au -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] FW: Kill all the China! 1i0n Crew
About a month or so ago, I was hit by what I now assume to be the Lion exploit of bind. I believe a few other people on the list were hit as well. Painful though it was, I did the right thing, pulled the plug, rebuilt the machine, got a newer version of bind and did a long overdue tightening of my security (improved the pretty gappy ipchains set-up I'd originally put in, installed tripwire, etc.) Today I received the email below. Since the web-site www.cnhonker.com corresponding to the sender's domain seems to be in Chinese, I can't make out what it's all about, but I assume it's related to the original hack. Did anyone else receive something similar, or know what it's all about? Regards, Sean. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, 27 April 2001 11:24 AM To: [EMAIL PROTECTED] Subject: Kill all the China! 1i0n Crew The next time i Kill YOU! -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Apache question: phantom porn site?
A strange thing has happened to my previously sleepy Apache server. Until this month, I would get a few hundred hits a month, now suddenly my log says 80,000 hits. Looking at the URLs requested, none of them relate to my site. Somehow my server is being asked to serve pages that have no relationship to me. The other thing that I don;t understand is that the response code in the log is generally 200 "OK" and 302 "FOUND" Typical extract from my log: 212.10.6.22 - - [14/Apr/2001:06:43:39 +1000] "GET http://www.tjenester.dk/banner/blueestate/blueestate_ban01_468_60.gif HTTP/1.0" 200 11371 61.10.96.54 - - [14/Apr/2001:06:44:28 +1000] "GET http://leader.linkexchange.com/1/X1477645/showiframe? HTTP/1.0" 200 204 24.202.176.63 - - [14/Apr/2001:06:44:35 +1000] "GET http://www.teenagerwhore.com/join/?c=leegoon HTTP/1.0" 302 0 24.202.176.63 - - [14/Apr/2001:06:44:38 +1000] "GET http://www.teenagerwhore.com/ HTTP/1.0" 200 1423 24.202.176.63 - - [14/Apr/2001:06:44:41 +1000] "GET http://www.teenagerwhore.com/join/2.clk?url=../join.html HTTP/1.0" 302 0 24.42.207.68 - - [14/Apr/2001:06:44:47 +1000] "GET http://service.bfast.com/bfast/serve?bfmid=23276761&siteid=38142702&bfpage=superpagesauto HTTP/1.0" 200 43 24.202.176.63 - - [14/Apr/2001:06:44:47 +1000] "GET http://www.teenagerwhore.com/join.html HTTP/1.0" 200 1903 24.40.77.244 - - [14/Apr/2001:06:46:34 +1000] "GET http://service.bfast.com/bfast/serve?bfmid=253985&bfsiteid=38139564&bfpage=sibstc08 HTTP/1.0" 200 43 195.19.45.144 - - [14/Apr/2001:06:47:09 +1000] "GET http://ad.ir.ru/bb.cgi?cmd=ad&pubid=920802&pg=1&vbn=10001&num=1&w=468&h=60&nocache=4821991 HTTP/1.0" 302 0 61.139.199.119 - - [14/Apr/2001:06:47:13 +1000] "GET http://service.bfast.com/bfast/serve?bfmid=253985&bfsiteid=38248077&bfpage=homelink3 HTTP/1.0" 200 43 I presume this is something to do with serach engine spidering, but I don't really understand. Can someone tell me what's going on? Thanks! -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Simple Graphics with C
Secret Squirrel was once rumoured to have said: > Hello, > Would draw a nice line across the screen for me, what could be > simpler ? With this I spend hours creating little solutions to > problems, such as simulating the swinging of a clocks pendulum with > a bunch of white and black lines along with a mathematical > function. This taught me a lot about programming, i'm wondering if C > under Linux has the same capabilities. I trust it won't be as easy > as the one liner mentioned above, I don't even know if I can draw > lines across a console as you can in QBASIC. What does it take to > draw simple QBASIC style graphics with C under Linux ? C is ultimately more flexible than QBasic ever was. This works both ways however. Some APIs are also far more complicated. For graphics, you have 5 main choices: Xlib. This is all nice and fine until you start handling colour. X11 also has a fairly sane event system. svgalib. Old. Decrepit. Forgetit. However, it does draw straight against the console, IFF your video card is supported. ggi. svgalib's sucessor. Privatives shouldn't be too painful. Interfaces with many rendering systems, so you should be able to use it most anywhere. fbdev. Linux has a framebuffer console option in the kernel which will let you mmap /dev/fb0, and acquire a direct memorymap of your framebuffer's video memory. You have to do all the hardwork of linedrawing yourself in this circumstance. I think ggi can interface directly with fbdev. OpenGL. Don't Laugh. :) X+GLX isn't actually that hard to program, and OpenGL has Line and Polygon primitives standard. Colour handling is also much simpler than standard X. Oh, and your OpenGL calls are moderately portable - only your X and GLX related calls will need to be changed to run on another platform. Personally, I'd stick with Xlib or OpenGL. -- --==-- Crossfire | This email was brought to you [EMAIL PROTECTED] | on 100% Recycled Electrons --==-- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Simple Graphics with C
Hello, I think I owe the fun I had with programming when I was a little younger to QBASIC's graphics abilities, something along the lines of: line (12,32)-(23,54),0 Would draw a nice line across the screen for me, what could be simpler ? With this I spend hours creating little solutions to problems, such as simulating the swinging of a clocks pendulum with a bunch of white and black lines along with a mathematical function. This taught me a lot about programming, i'm wondering if C under Linux has the same capabilities. I trust it won't be as easy as the one liner mentioned above, I don't even know if I can draw lines across a console as you can in QBASIC. What does it take to draw simple QBASIC style graphics with C under Linux ? Would it be easier to draw graphics in a console or in X Windows ? Thanks ! -- SecretSquirrel _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] Bandwidth monitor for Optus@home
Hello, I am looking for a bandwidth monitor for my optus@home packet pushing gateway, I would like it to log the data to a file so that I can write programs to analyse it. Firstly, I would like it to be able to a global upload/download as the cable modem sees it. Like so: "I shared 38mb up and 230mb down today, but I dont care who I shared it to" Then, if it's not too hard i'd like to monitor the amount of data going to each machine - so I can analyse that too, like this: I shared 38mb up and 230mb down today: 12mb up and 120mb down to 192.168.1.100 18mb up and 110mb down to 192.168.1.150 What kind of program will do this kind of bandwidth monitoring for me ? Oh yeh, i'm using E-Smith Linux (I HIGHLY recommend it if you want a quick way to share an internet connection with Linux, you'll be up and sharing with Samba, Squid, Apache etc on a < 600mb HD and 50 minutes of your time .. superb !) - SecretSquirrel _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: Dinner place (again) was: [SLUG] Meeting Report - Friday, 27th April, 2001
On Mon, Apr 30, 2001 at 12:28:34AM +1000, Anand Kumria uttered: > > I'd much rather we went for Pizza (or had them delivered), or pasta > or even some other Asian restaurant. The price they are now charging > ($20) isn't even that cheap anymore. > > Would anyone else like to move to another place? > Hell, yes! The banquet menu is quite good, and the Boiled TV Entrails aren't even that azaming. Mama's Kitchen wasn't too bad, but that was unplanned, and rather spontaneous. I say we vote on what to do, but I daresay that someone will step forward and say, "I know this place with a good banquet menu for under $20." Not knowing the city well at all (which some SLUGers can attest to - me pretty much blindly following them and ending up a pub rather than the train station - ohh well, it was all good fun anyway), I can't really throw any suggestions up at all, but I'll like it if the food is good, served on time, and is fairly cheap. > Anand > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > More Info: http://slug.org.au/lists/listinfo/slug > -- Steve "I'm a sysadmin because I couldn't beat a blind monkey in a coding contest." --Me -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Name of program for process causing disk activity
On Sat, Apr 28, 2001 at 06:12:33PM +1000, Andy Eager wrote: > > According to the man page sar(1) > > > > " Collect, report, or save system activity information " > > > > I'm not sure what you needed reminding of since you have the > > names of the three programs I mentioned. > > > > Regards, > > Anand > > Regarding sar: > > I've got RH6.2 and I don't have it. After a look at the RH site, I found > it came in the sysstat pkg which looks like only came into existance in > RH7.0 and above. > > Is this right ? Quite possibly that is when it was packaged by Redhat, yes. I'm sure sysstat has been around longer than RH7.0+ though. On Sat, Apr 28, 2001 at 10:11:38PM +1000, Mehmet Ozdemir wrote: > Anand Kumria wrote: > > > > > > sar ??? > > > > > > Anand or Anthony can remind me what this program was again. > > > > According to the man page sar(1) > > > > " Collect, report, or save system activity information " > > > > I'm not sure what you needed reminding of since you have the > > names of the three programs I mentioned. > > > I thought is was sar, it doesn't seem o be installed on rh6.2 (my > desktop pc), i had a look at freshmeat could find anything there, just > wanted to double check that I a had the name right. I'll contine looking > for it. It is pretty scary that *neither* of you typed in sysstat into Google. The very first link that came back when I just did it was: http://perso.wanadoo.fr/sebastien.godard/> Lo! Behold it even has RPMs you can download. Anand -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Dinner place (again) was: [SLUG] Meeting Report - Friday, 27th April, 2001
On Sat, Apr 28, 2001 at 04:43:44PM +1000, Jeff Waugh wrote: >Meeting Report - Friday, 27th April, 2001 > Thanks for the report, Jeff. > Dinner & BR111 > >Again, dinner at The Amazing* House of Boiled Television Entrails! >Somehow the two tables managed to be positioned at opposite ends >of the restaurant, which made meme propagation difficult. Worse still although we arrived between 21:00 and 21:15 it appears that no one was actually served untl about 21:50. That'd be completely understandable if we didn't have a booking - but we do, always. I'd much rather we went for Pizza (or had them delivered), or pasta or even some other Asian restaurant. The price they are now charging ($20) isn't even that cheap anymore. Would anyone else like to move to another place? Anand -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] Meeting Report - Friday, 27th April, 2001
On Sat, Apr 28, 2001 at 04:43:44PM +1000, Jeff Waugh wrote: >Meeting Report - Friday, 27th April, 2001 > > The Usual Suspects > >Kicking off the meeting earlier seemed to work, although those who >weren't incredibly early managed to miss Craige's, ah, special >video screening. During Q&A, we: > * discovered the differences between Red Hat and Mandrake... >Mostly "Red Hat sucks!" and "No, Mandrake sucks!" Mandrake is >obviously built for bleeding-edge desktop users and certainly >not servers, whilst no one could really fathom what Red Hat >was built for. > * allowed Conrad to set off a number of seizures in the audience >as he showed off his non-OpenGL SpeedWorm and SpeedMine hacks >for xscreensaver. You really have to read the man pages. > * discussed the finer points of fork() and clone(), and not >using shared memory to, well, share memory between user space >processes. > * thanked Anand greatly for telling us all about the 'x' option >to ps. Err, no. The 'f' option. Anand -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
RE: [SLUG] httpd (apache)
Phillip, Why not try to be a little more specific, What distro are your running, did you compile apache yourself, what version of apache are you running, and what version of PHP? I mean I don't know allot about it, but you could try a search on www.google.com and see if others had the same problem. I found 5 pages of stuff just adding in the search line: "httpd dead but subsys locked" Have a look. Regards, Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Phillip Sent: Sunday, 29 April 2001 8:53 PM To: [EMAIL PROTECTED] Subject: [SLUG] httpd (apache) my httpd worked fine at the startup. After that I type (in the terminal): /etc/rc.d/init.d/httpd stop Stopping httpd:[FAILED] /etc/rc.d/init.d/httpd status httpd dead but subsys locked /etc/rc.d/init.d/httpd start Starting httpd: [OK] /etc/rc.d/init.d/httpd status httpd (pid 1233) running... /etc/rc.d/init.d/httpd stop Stopping httpd:[FAILED] /etc/rc.d/init.d/httpd status httpd dead but subsys locked Anyone know what's going on in my Box? Please reply ASAP Thank You, Phillipus. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
Re: [SLUG] SAMBA - ls not working
At 13:29 29/04/2001, Harry Ohlsen wrote: >I'm running RedHat 7.0 on a number of Linux boxes. I wanted to get access >to some stuff that's sitting on a Windows 2000 box, so I set up SAMBA as >best I know how. > >I've shared a directory on the W2K box and can mount it from a Linux box, >can create files and can cat those files. However, for some reason, if I >do an ls of the mount point on the Linux box, none of the files show up. > >Has anyone seen this before or could point me at a URL that might explain >what's going on? I would say that this is permissions problem. Does the user that Samba is using to do the mount have the correct permissions over on the W2K Box. The files you are creating will be owned by the Samba user so you will be able to see them. As an experiment recently I tried this. I mounted the root directory of all our user directories on the NT server as a Domain Admin user and had access to all the directories and files. My Workstation is running W2K. >I'm also having problems getting the W2K box to connect to a share I've >set up on one Linux boxes, even though I can SMB mount it happily from >another box, but I'm less worried about that, because sure that will be a >simple configuration issue. However, if anyone knows a reason why the W2K >box might say it the network path was not found, any suggestions would be >appreciated. > >Thanks in advance, > >Harry O. > > >-- >SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ >More Info: http://slug.org.au/lists/listinfo/slug Simon Bryan -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] httpd (apache)
my httpd worked fine at the startup. After that I type (in the terminal): /etc/rc.d/init.d/httpd stop Stopping httpd: [FAILED] /etc/rc.d/init.d/httpd status httpd dead but subsys locked /etc/rc.d/init.d/httpd start Starting httpd: [OK] /etc/rc.d/init.d/httpd status httpd (pid 1233) running... /etc/rc.d/init.d/httpd stop Stopping httpd: [FAILED] /etc/rc.d/init.d/httpd status httpd dead but subsys locked Anyone know what's going on in my Box? Please reply ASAP Thank You, Phillipus.