Re: [SLUG] HP laptop chipsets and OpenCL

2011-08-01 Thread Tony Sceats
Hi Jim, I am looking at Sandy Bridge CPUs for unrelated reasons, but just saw this and it reminded me of your post so I thought you'd find it useful http://www.fudzilla.com/processors/item/20203-sandy-bridge-gpu-gets-disabled-with-discrete-gpu Although it doesn't look like good news for you.

Re: [SLUG] Finding modules..

2011-02-14 Thread Tony Sceats
I know you found the answer already but ethtool -i interface can also work and is very simple Just thought I'd throw that in :) On 14/02/2011, at 1:12 PM, DaZZa dagi...@gmail.com wrote: On Mon, Feb 14, 2011 at 11:57 AM, Peter Hardy pe...@hardy.dropbear.id.au wrote: And in case this hasn't

Re: [SLUG] Federal Gov Open Source Policy

2011-02-05 Thread Tony Sceats
imho, I would have thought that Open Standards are for more critical for a government to require the use and enforcement of.. But even this would be a great win for open source in general as this would also force big companies to support properly open standards in their own products, which then

Re: [SLUG] Shell math/BASH question

2010-10-18 Thread Tony Sceats
I think you want to use bc to calculate the percentage. the lines free_var=${free%.*}; total_var=${total%.*}; are removing everything after the decimal point, which leaves 2/2 * 100 which is of course 100% I presume it does this so that bash can then perform the arithmetic evaluation

Re: [SLUG] Shell math/BASH question

2010-10-18 Thread Tony Sceats
err, sorry, missed a closing quote per=`echo ($free/$total) * 100 | bc -l` On Tue, Oct 19, 2010 at 9:34 AM, Tony Sceats t...@fatuous.org wrote: I think you want to use bc to calculate the percentage. the lines free_var=${free%.*}; total_var=${total%.*}; are removing everything after

Re: [SLUG] enabling snmp on NIC ?

2010-09-15 Thread Tony Sceats
you definitely need to setup snmpd.conf, although I'd be surprised if decent defaults weren't already there snmpwalk is a useful utility for debugging this stuff - you should basically get every snmp metric available by pointing this at your monitored machine, using the right snmp version and

Re: [SLUG] enabling snmp on NIC ?

2010-09-15 Thread Tony Sceats
by default rpm -ql net-snmp On Thu, Sep 16, 2010 at 9:00 AM, Voytek Eymont li...@sbt.net.au wrote: On Thu, September 16, 2010 8:45 am, Tony Sceats wrote: you definitely need to setup snmpd.conf, although I'd be surprised if decent defaults weren't already there snmpwalk is a useful utility

Re: [SLUG] High I/O file systems

2010-08-31 Thread Tony Sceats
I've found XFS to be good for databases. MySQL, for example, keeps separate tables as files, so you can get some very large files, which is in XFS's favour Although I've not tried any Oracle fs, and otherwise not sure which file systems you're referring to, but interested to know? On Tue, Aug

Re: [SLUG] Perl Regular expression help

2010-07-13 Thread Tony Sceats
how about using a slightly different approach with split @input = split /\/; $input[0] should now be pg=something, $input[1] will be the args=somthingelse so you can trivially match, modify and print this to your output, whether or not it has extra arguments. On Wed, Jul 14, 2010 at 11:24

Re: [SLUG] LVM

2010-06-15 Thread Tony Sceats
not really on topic, but a fun little site detailing some disk vibrating issues http://blogs.sun.com/brendan/entry/unusual_disk_latency On Tue, Jun 15, 2010 at 3:10 PM, james j...@tigger.ws wrote: On Tuesday 15 June 2010 12:15:52 you wrote: On Tue, Jun 15, 2010 at 11:14:38AM +0800, james

Re: [SLUG] RAID and LVM

2010-02-18 Thread Tony Sceats
Slower, though ... is a bit of a strange claim. Not because it is false, but because the answer is complex: you can, for example, double read speed and halve write speed, using a two disk RAID 1 array ... in the ideal case. I must say I'm curious about this, because I have always assumed

Re: [SLUG] Replicate Production to DR file system with rsync

2010-02-12 Thread Tony Sceats
I may have missed something, or maybe someone else has suggested this already, but why not pull instead of push? ie, from the machine that is the backup, connect to the master server and rsync that way - this will mean that anything that's world readable but only writable by root wont be a

Re: [SLUG] Replicate Production to DR file system with rsync

2010-02-12 Thread Tony Sceats
, Tony Sceats wrote: I may have missed something, or maybe someone else has suggested this already, but why not pull instead of push? ie, from the machine that is the backup, connect to the master server and rsync that way - this will mean that anything that's world readable but only

Re: [SLUG] Replicate Production to DR file system with rsync

2010-02-12 Thread Tony Sceats
...@gray.net.au wrote: On 12/02/2010, at 7:38 PM, Tony Sceats wrote: I may have missed something, or maybe someone else has suggested this already, but why not pull instead of push? ie, from the machine that is the backup, connect to the master server and rsync that way - this will mean

Re: [SLUG] Australian government to censor your internets

2009-12-17 Thread Tony Sceats
simply put, they can't really do it. All of the proposed solutions are HTTP based only and have a variety of workarounds associated with them anyway. It could stop a kid I'm sure, but maybe not a determined one. On Thu, Dec 17, 2009 at 10:49 PM, Kevin Shackleton kev...@reachnet.com.auwrote: I'm

Re: [SLUG] Penetration Test

2009-11-01 Thread Tony Sceats
IMHO something like this is best done by hiring professionals, as some random person may or may not have the experience and skills they may or may not suggest, giving you a false sense of security in their findings. Anyway, having said that, having a poke around yourself is always fun and

Re: [SLUG] Advice Request for moving a Ubuntu installation to a larger disk and 4Gb RAM

2009-10-27 Thread Tony Sceats
AIUI you can however run a 32 bit userspace on a 64-bit kernel - but I've not done this so can't offer advise ;). I do this all the time and it works, however the most common problem is not having all the 32 bit libraries installed, eg, glibc, where you will have the 64 bit equivalents

Re: [SLUG] setting up squid proxy

2009-08-18 Thread Tony Sceats
what you're trying to do is usually referred to as a transparent reverse proxy.. you should be able to find heaps of info on this google gives this as first hit http://www.visolve.com/squid/whitepapers/reverseproxy.php I briefly scanned it, it looks about right On Tue, Aug 18, 2009 at 5:00 PM,

Re: [SLUG] setting up squid proxy

2009-08-18 Thread Tony Sceats
On Tue, Aug 18, 2009 at 6:47 PM, Robert Collins robe...@robertcollins.netwrote: On Tue, 2009-08-18 at 18:38 +1000, Amos Shapira wrote: 2009/8/18 Tony Sceats tony.sce...@gmail.com: what you're trying to do is usually referred to as a transparent reverse proxy.. you should be able to find

[SLUG] iptables DNAT broadcast packets

2009-08-13 Thread Tony Sceats
Hi Sluggers, I have a strange requirement to redirect UDP packets sent to 255.255.255.255, forwarding them to another machine in a remote network... yes, this is borked - there is an application sending data to 255.255.255.255, not multicast or unicast, but broadcasting UPD packets, and I'm in no

Re: [SLUG] wget a flash site ?

2009-06-10 Thread Tony Sceats
that sounds like a very useful tip, and whilst you've got wireshark open you can check if the flash file does any extra data transfers like Daniel suggested could be the case. but even more interesting is that if you have the capture running when you browse to the website and load the flash file,

Re: [SLUG] security monitor with webcam

2009-05-18 Thread Tony Sceats
Not a great help because I can't remember any product names, but there is all sorts of 'home security cam' software that only records movement in the frame - I think they are taking advantage of some aspects of MPEG encoding to acheive this so you can end up with an MPEG that only includes the

Re: [SLUG] hot swapping hard drives

2009-05-16 Thread Tony Sceats
The CLI command umount does this within the Linux / Unix OS. That should have the filesystem flush data, but doesn't actually push out dirty pages for the device — if you accessed it raw at any point this will not be sufficient. (Also, lower layers such as LVM, software RAID, etc, might

Re: [SLUG] hot swapping hard drives

2009-05-16 Thread Tony Sceats
On Sat, May 16, 2009 at 6:19 PM, Daniel Pittman dan...@rimspace.net wrote: Tony Sceats tony.sce...@gmail.com writes: The CLI command umount does this within the Linux / Unix OS. That should have the filesystem flush data, but doesn't actually push out dirty pages for the device — if you

Re: [SLUG] recovering xfs

2009-05-13 Thread Tony Sceats
I'm actually not sure I'm reading this right, but I don't think you want to dd to an NFS share? Maybe you meant XFS should match correctly? If you're trying to do it over a network, I would have thought you'd have more luck by piping dd through an nc connection, then dd back to a disk on the

Re: [SLUG] recovering xfs

2009-05-13 Thread Tony Sceats
there is no obvious conflict here.I don't care whether it is fast, it is a recovery operation not a prime server. Ta Ken On Wed, 2009-05-13 at 21:10 +1000, Tony Sceats wrote: I'm actually not sure I'm reading this right, but I don't think you want to dd to an NFS share? Maybe you meant XFS

Re: [SLUG] network manager files

2009-04-12 Thread Tony Sceats
I would guess IP addresses in decimal form, and a netmask in CIDR Unsure about the negative one though - I suppose an IP could turn out negative with signed integrers, not sure though On Sun, Apr 12, 2009 at 1:57 PM, david da...@kenpro.com.au wrote: I'm trying to debug a networkmanager problem.

Re: [SLUG] [Fwd: Re: Computers software for schools]

2009-04-03 Thread Tony Sceats
The lack of attention to detail, and it has been published for two days now, doesn't give one any confidence that the Premier's Department understands how to effectively communicate using the intarwebs. and you're surprised? IMHO the NSW government is like the Old Boys Club, effectively

Re: [SLUG] Defining Mainsteam

2009-04-03 Thread Tony Sceats
Yo. I'm with you man! What I meant was the way some confs etc are done in /etc. I've been using freebsd (just learning) and the /etc/ssh/sshd_config was done slightly differently and looked like it was taken from the project/openbsd with some modifications (I don't know for sure but it sort

Re: [SLUG] Lenovo wins $150m NSW schools deal or April Fools joke?

2009-04-01 Thread Tony Sceats
I agree that Neooffice also was quite stinky when I used (some time ago I must admit), but now OO.o works really well on the Mac as of version 3 - it's come a long way since Version 2 which I found had all sorts of issues, the best build that I had also had all the UI icons upside down, but

Re: [SLUG] Lightweight Distro For Aging Laptop?

2009-03-25 Thread Tony Sceats
Maybe you could cut down on the requirements by only running a console and writing the jpg to the framebuffer? http://en.wikipedia.org/wiki/DirectFB not sure how'd you go from there, but this sort of thing should get rid of the X overhead, pretty sure you'd be able to get some utilities to write

Re: [SLUG] virtualisation solutions?

2009-03-18 Thread Tony Sceats
with VirtualBox 2.1.4 you don't have to setup any bridging, at least not to be on the same LAN (ie, my VirtualBox machine is on the same subnet as my the physical machine) basically you just say use eth0 (or whatever) in the Virtual Machine config, and it doesn't setup any bridge interfaces very

Re: [SLUG] virtualisation solutions?

2009-03-18 Thread Tony Sceats
do it but I thought OSE couldn't (yet). 2009/3/19 Tony Sceats tony.sce...@gmail.com with VirtualBox 2.1.4 you don't have to setup any bridging, at least not to be on the same LAN (ie, my VirtualBox machine is on the same subnet as my the physical machine) basically you just say use eth0

Re: [SLUG] virtualisation solutions?

2009-03-18 Thread Tony Sceats
Actually I guess not - I just noticed the window title of my virtual machine, and it's xVM.. On Thu, Mar 19, 2009 at 4:41 PM, Tony Sceats tony.sce...@gmail.com wrote: erm, I thought it was, but the 'About VirtualBox' doesn't say so - I got it from the VirtualBox website as a binary

Re: [SLUG] Need a lesson in routing [WAS: memory]

2009-02-19 Thread Tony Sceats
maybe you should check your interfaces for half/full duplex and if there's errors or collisions... otherwise have a play with vmstat, iostat, mpstat etc - they could point you in a direction to look further, at least it will give you hints to see if the box is actively swapping (have swapped out

Re: [SLUG] useful bash tricks thread

2009-02-07 Thread Tony Sceats
hey that's a good one, it even works with quotes :) On Sat, Feb 7, 2009 at 1:06 AM, Michael Chesterton che...@chesterton.id.auwrote: On 06/02/2009, at 9:06 PM, Tony Sceats wrote: It's been a while since there's been a thread like this, so I thought it would be fun :) Here's quickie

Re: [SLUG] Re: useful bash tricks thread

2009-02-07 Thread Tony Sceats
On Sat, Feb 7, 2009 at 11:58 PM, Daniel Bush dlb.id...@gmail.com wrote: On Feb 6, 9:06 pm, Tony Sceats t...@fatuous.org wrote: It's been a while since there's been a thread like this, so I thought it would be fun :) so, have you got any? I've got 2 to share today: alt

[SLUG] useful bash tricks thread

2009-02-06 Thread Tony Sceats
It's been a while since there's been a thread like this, so I thought it would be fun :) so, have you got any? I've got 2 to share today: alt and then alt for interactive shells, works kinda like ctrl r or !$ - that is, it searches your history but in a strangely useful but different way

Re: [SLUG] Apps hanging when writing to /dev/log

2009-02-04 Thread Tony Sceats
maybe there's an open write lock on /dev/log that keeps the send() hanging? On Wed, Feb 4, 2009 at 8:39 PM, Jeremy Visser jeremy.vis...@gmail.comwrote: On 02/02/2009, at 11:56 AM, Daniel Pittman wrote: That should let you see which syscalls were delaying the process, and so narrow it down to

Re: [SLUG] ls lists numbers, not owner names

2008-10-23 Thread Tony Sceats
On Thu, Oct 23, 2008 at 10:19 PM, David P [EMAIL PROTECTED] wrote: On Thu, Oct 23, 2008 at 1:18 PM, DaZZa [EMAIL PROTECTED] wrote: useradd -c ClamAV scann user -d /var/clamav -u 104 -s /bin/sh clamav and then passwd clamav I would avoid creating another user in this situation; it

Re: [SLUG] Search engine traffic dominates

2008-10-22 Thread Tony Sceats
Can't you use robots.txt (or the modern equiv, is there anything newer actually?) to stop mass indexing, perhaps point it to pages you want indexed and also tell it to exclude images etc etc? On Thu, Oct 23, 2008 at 10:45 AM, Peter Chubb [EMAIL PROTECTED]wrote: Hi, I'm a little cheesed off.

Re: [SLUG] RE: Fortress .... err Firewall Australia

2008-10-21 Thread Tony Sceats
Okay, okay, okay. But other than that, it's a good idea isn't it, this ISP filtering the 'net for the Govmint man? One problem that arises is that because this is an 'opt-out' strategy, by opting out you may be put onto a list of deviants that could be used in a variety of illegitimate ways

Re: [SLUG] Fortress .... err Firewall Australia

2008-10-21 Thread Tony Sceats
surely? -- 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: splitting mailboxes

2008-10-16 Thread Tony Sceats
On Fri, Oct 17, 2008 at 7:49 AM, Voytek Eymont [EMAIL PROTECTED] wrote: On Thu, October 16, 2008 11:01 pm, Voytek Eymont wrote: I've ended up with 49 files from original 50,000 files, seems pretty not only I've managed to replace last 7 days email, I think I might even know why there were

Re: [SLUG] re: splitting mailboxes

2008-10-15 Thread Tony Sceats
something like ORIG_DATE=`date -d 7 days ago +%s` for mail in `find /path/to/mail/dir -type f` do DATE_STRING=`grep -m1 ^Date $mail | cut -d: -f 2-` MAIL_DATE=`date -d $DATE_STRING +%s` if [ $MAIL_DATE -gt $ORIG_DATE ] then mv $mail /some/path fi done no

Re: [SLUG] Performance Tuning

2008-09-05 Thread Tony Sceats
Performance depends specifically on the job at hand, and whilst short on detail, I would suspect that you want fast file systems and disks optimised for write speed, but that's probably less than half the story, and I'm guessing that whatever the rest of the details are, you will be trying to tune

Re: [SLUG] Performance Tuning

2008-09-05 Thread Tony Sceats
, the precise backup solution/software chosen will drastically change how you tune the server, which is actually what we were both saying, so it's a case in point On Sat, Sep 6, 2008 at 11:03 AM, Daniel Pittman [EMAIL PROTECTED] wrote: Tony Sceats [EMAIL PROTECTED] writes: Performance depends

Re: [SLUG] tuning a maximum load

2008-08-26 Thread Tony Sceats
You should also look to see if the machine is running out of memory. I've had this problem before and it turned out the machine was running out of RAM and also running out of SWAP... If you keep a console open before the problem starts to appear you might be able to see the issue - maybe even

Re: [SLUG] mii-tool or ethtool ?

2008-08-04 Thread Tony Sceats
, it's not a big deal, I no longer get interface errors so the thing that needed fixing was fixed Thanks anyway :) On Mon, Aug 4, 2008 at 5:30 PM, Joel Heenan [EMAIL PROTECTED] wrote: mii-tool does not support gigabit. Joel On Mon, Jul 28, 2008 at 5:34 PM, Tony Sceats [EMAIL PROTECTED] wrote

[SLUG] mii-tool or ethtool ?

2008-07-28 Thread Tony Sceats
Hi Sluggers, Anyone ever had mii-tool and ethtool tell them different things? As you can see the duplex setting is being reported differently (this is a Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02)). Does anyone know of another method to check the Duplex setting so I can

Re: [SLUG] disk partitioning for lamp: tmp on it's own?

2008-07-24 Thread Tony Sceats
The problem of course is that /tmp is a known world-writable location where attackers can upload malicious files (if they find ways to do that). Using a partition gives you a fairly low-level way to stop them from being able to execute those files, so I guess the answer is how paranoid are you

Re: [SLUG] /var/run too small - how do I change it?

2008-07-16 Thread Tony Sceats
I don't think you really want to allocate /var/run a huge amount of dedicated diskspace, it's generally pretty damn small.. perhaps you should remove the mount point so that /var/run is a part of /, and if you're using LVM just throw the other 2Gb back into / as well but the easiest thing is just

Re: [SLUG] /var/run too small - how do I change it?

2008-07-16 Thread Tony Sceats
However, where *do* you specify /var/run? I've never run into this before. do you mean where do you specify the size? You would do this when you partition the disk, usually done at OS install time, and sometimes the installers will recommend some settings for you imho, 2Gb is either way too

Re: [SLUG] /var/run too small - how do I change it?

2008-07-16 Thread Tony Sceats
Ah, now this all depends. If /var/run was a normal disk filesystem under Ubuntu you would be correct. It isn't, though: ] mount | grep /var/run varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) Note 'type tmpfs' there? tmpfs is a swap backed ramdisk, essentially, and

Re: [SLUG] Recommendation for PC dealer/parts supplier

2008-06-24 Thread Tony Sceats
MSY are a handy place to pick stuff up from the Inner West - it's in Ultimo, not too far from Broadway.. The website is truly horrible, and reflects the store somewhat.. still cheap though and parts are parts http://msy.com.au/ and look at staticice.com.au for a good online price comparison

[SLUG] gnome-terminal gestures in ubuntu

2008-06-20 Thread Tony Sceats
There seems to be a (new?) feature in Hardy Heron's gnome-terminal where my tabs are popping out when I do some mouse gesture, and there's also a mouse gesture to open a new terminal.. I find these really annoying, but I can't find where to turn them off - google keeps pointing me to accessibility

Re: [SLUG] Is someone is snooping my wireless?

2008-06-18 Thread Tony Sceats
why not have a little fun instead of locking everything down immediately :) http://ex-parrot.com/~pete/upside-down-ternet.html and anyway, setting up a proxy server, forcing them through it and logging all requests may give you an insight into what they are doing on your network, and maybe who

[SLUG] Intel Xeon 7350 and x86_64

2008-06-13 Thread Tony Sceats
Has anyone here encountered a problem with the Intel Quad Core Xeon X7350 chips not booting from x86_64 media? I'm trying to install RHEL4.5 on a brand new PowerEdge R900 and the x86_64 media wont boot, however the i386 media will.. I'm sure these are 64bit and the propaganda indicates that at

Re: [SLUG] multiple domain to one web site

2008-04-22 Thread Tony Sceats
From a search engine perspective you're better off only having one domain work properly and having redirects set up to the chosen master domain - this way when people link to your site you don't loose page-ranking as they are more likely to link to the same URLs (thus increasing your page ranking)

[SLUG] Real Time Processes

2008-04-22 Thread Tony Sceats
Hi Slug, Does anyone know how I would force a process into the Real Time scheduling class in Linux? chrt seems to modify RT parameters once the process is in the RT class, but I can't seem to find how to put one in there outside of it being explicitly set within code, which is not an option in

Re: [SLUG] Real Time Processes

2008-04-22 Thread Tony Sceats
ps axl the PRI is -100, perhaps there's a way I can force the PRI value beyond what's allowed by nice? On Wed, Apr 23, 2008 at 1:55 PM, Peter Chubb [EMAIL PROTECTED] wrote: Tony == Tony Sceats [EMAIL PROTECTED] writes: Tony Hi Slug, Does anyone know how I would force a process

Re: [SLUG] Can I be comfortable with this log message

2008-04-17 Thread Tony Sceats
since you've professed a renewed confidence, this may be quite moot, but you can always look at mod_security which will, amongst other things, stop the directory traversal attacks which you have been suffering from. Here's an article you may be interested in

Re: [SLUG] DST changes - my problem is the other way up

2008-03-31 Thread Tony Sceats
you may have UTC wrong try: date -u and make sure it's the correct time in UTC.. you can try zdump -v Australia/Sydney | grep 2008 to check if the dates are correct for the change On 3/31/08, Bruce Bruen [EMAIL PROTECTED] wrote: Greets, env: PCLinuxOS 2007. For some reason that I

Re: [SLUG] motherboard error signals

2008-03-08 Thread Tony Sceats
It's motherboard specific, see if you can find the model number, it is sometimes printed on the board, then search the gigabyte website for the manual On Sun, Mar 9, 2008 at 9:36 AM, Donovan, Jim [EMAIL PROTECTED] wrote: I'm trying to resurrect a Gigabyte motherboard with a handy 2GHz P4 on

Re: [SLUG] motherboard error signals

2008-03-08 Thread Tony Sceats
the Complete Version manual. Jim Donovan -- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Tony Sceats *Sent:* Saturday, March 08, 2008 8:01 PM *To:* Donovan, Jim *Cc:* slug@slug.org.au *Subject:* Re: [SLUG] motherboard error signals It's

Re: [SLUG] Open Source Medical Practice Management Software

2008-03-03 Thread Tony Sceats
Exporting patient files, with the patients details (name, DOB, sex, Medicare number, etc.) from HCN's software is possible as they can be exported from the program as a delimited text file (patients.out), but the patient's billing history, etc. cannot be imported into another medical

Re: [SLUG] measuring traffic

2008-01-08 Thread Tony Sceats
firstly you would run any number of the tools already mentioned on the bridged machine - ntop, ethereal/wireshark, snmp, iptables, use ip accounting etc etc.. hell even tcpdump would be fine, if a little ugly.. for a quick dirty I'd say ntop is your best bet though but really, whilst these are

Re: [SLUG] Help required with internet browser problem.

2007-11-15 Thread Tony Sceats
err, just `route` will actually work, where `route -a` is not sensical.. I was thinking of arp, but you shouldn't have to worry about that yet.. ;) On Nov 15, 2007 10:10 PM, Tony Sceats [EMAIL PROTECTED] wrote: Hi Sharon, Maybe these are stupid questions, but have you checked your DNS

Re: [SLUG] Help required with internet browser problem.

2007-11-15 Thread Tony Sceats
Hi Sharon, Maybe these are stupid questions, but have you checked your DNS settings? And if you're connected to the internet (ie, your IP settings are correct)? try running `ping www.google.com` in a terminal - this will tell you if your connected to the internet and if it's a browser problem

Re: [SLUG] Perl IO::Socket question

2007-10-10 Thread Tony Sceats
I would have thought the following makes more sense if (defined($recv})) { chomp($recv); $client-send(Works! Received: $recv); } where's %commands coming from? On 10/11/07, Shane Anderson [EMAIL PROTECTED] wrote: Hi All, I'm attempting to learn IO::Socket and have hit a snag

Re: [SLUG] Lost directory

2007-10-04 Thread Tony Sceats
Iceweasel. It's overwritten the directory Desktop. Rather naughty - is that something that should be reported to their bugzilla? Kevin. On Thu, 2007-10-04 at 10:20 +1000, Tony Sceats wrote: what sort of file does 'file' say it is? -- SLUG - Sydney Linux User's Group Mailing List - http

Re: [SLUG] unable to delete ftp files after upload?

2007-10-04 Thread Tony Sceats
Depends upon your client, but it looks like you want mdelete *.zip instead of delete - your wildcards are being taken literally On 10/5/07, Voytek Eymont [EMAIL PROTECTED] wrote: I'm having some ftp probs: I've logged on to ftp with xp CLI ftp as user '.com.au' I've made a dir 've',

Re: [SLUG] Lost directory

2007-10-03 Thread Tony Sceats
what sort of file does 'file' say it is? On 10/3/07, Kevin Shackleton [EMAIL PROTECTED] wrote: Ken, The Desktop file does seem to be the ex-Desktop directory. Nothing good in Trash. I'm assuming that my daughter managed to do something in Gnome Browser or suchlike but I've not been able

Re: [SLUG] httpd load: dos attack ?

2007-10-02 Thread Tony Sceats
You should definitely check the logs to see what's being looked at.. depending upon what it is and who it is there's a variety of things you can do - eg change images to a lower res, or put a forbidden rule into your htaccess files for the page being requested, or firewall off offending IPs

Re: [SLUG] Networking problem -- partially solved - help still reqd

2007-09-23 Thread Tony Sceats
On 9/23/07, bill [EMAIL PROTECTED] wrote: Thanks to Alex,Kevin, Amos, and Tony (hope I haven't missed anybody). I've solved the problem with the LAN - there was no hardware problem, just a problem with the newly created account for my wife. It has no network/web access. That's really

Re: [SLUG] Proxy setting for yum in Fedora 7

2007-09-20 Thread Tony Sceats
Hi Lee, Not sure about version 7, but it's usually found in /etc/yum.conf You can add the line like proxy=http://proxy.example.com:3128 Which proxy you should use I guess depends upon what other systems would be using yum and which proxies they use... eg, if there's no other systems going

Re: [SLUG] Networking problem - help pls!

2007-09-19 Thread Tony Sceats
Hi Bill, try running ethtool on the NIC and try to see if there's a link and what mode it's configured in.. you can also try to hard set the link modes with ethtool.. depending upon the switch type you may be able to hard set on it as well # ethtool eth0 Settings for eth0: Supported

Re: [Fwd: Re: [SLUG] xmms won't play for non-root]

2007-09-19 Thread Tony Sceats
This is usually relevant to the permissions on /dev/dsp - usually it's rw for the audio group.. you can modify these as you see fit $ ls -l /dev/dsp crw-rw 1 root audio 14, 3 2007-09-17 14:28 /dev/dsp On 9/20/07, Kevin Shackleton [EMAIL PROTECTED] wrote: Erik, This machine does not

Re: [SLUG] Problems with linux firewall, PPTP, opening ports

2007-08-18 Thread Tony Sceats
acacia IE violation: IN=eth0 OUT=ppp0 MAC=00:a0:cc:3e:22:44:00:16:6f:6c:3d:48:08:00 SRC=10.0.0.52 DST=203.63.234.178 LEN=52 TOS=00 PREC=0x00 TTL=127 ID=9213 This is an example of the log when I try and connect to my work VPN there doesn't seem to be much useful info here - protocol number

Re: [SLUG] I've stuffed up my display

2007-08-09 Thread Tony Sceats
Have you got the video memory set too low maybe? On 8/10/07, Howard Lowndes [EMAIL PROTECTED] wrote: My environment is Fedora 6 with KDE and I went to change the display resolution using system-config-display. The display is set to generic LCD 800x600 but it will only permit 640x480. I've

Re: [SLUG] Injecting information into a bind server

2007-08-08 Thread Tony Sceats
a rather novel and ultimately not recommended for production solution would be to use dns-spoof which is a part of the dsniff package - you can basically give it hosts file format file and a tcpdump regex and it will forge replies for you you would, of course, have to run it on your gateway

Re: [SLUG] Injecting information into a bind server

2007-08-08 Thread Tony Sceats
On 8/9/07, Alex Samad [EMAIL PROTECTED] wrote: On Thu, Aug 09, 2007 at 11:11:37AM +1000, Tony Sceats wrote: a rather novel and ultimately not recommended for production solution would be to use dns-spoof which is a part of the dsniff package - you can basically give it hosts file format

Re: [SLUG] Has anyone any insight as to why RedHat Enterprise Level 5 is broken as far as PXE booting is concerned.

2007-05-29 Thread Tony Sceats
check your xinetd settings in /etc/xinetd.d/tftp, you may have paths setup differently etc also have you tried connecting directly to the tftp server and getting these files? eg, $ tftp localhost tftp verbose tftp get pxelinux.cfg/default etc... On 5/28/07, RgSalisbury [EMAIL PROTECTED]

Re: [SLUG] off topic but urgent hardware problem

2007-04-19 Thread Tony Sceats
You may be able to reset the CMOS - there's usually a jumber or dip switch on the motherboard that will reset all the BIOS settings.. consult your motherboard manual for the precise location On 4/19/07, David [EMAIL PROTECTED] wrote: please excuse the off topic post but the need is urgent.

Re: [SLUG] Oddball memory usage?

2007-02-26 Thread Tony Sceats
Actually, si and so refer to entire processes being swapped, not paging traffic, so they'll never be non-zero on a modern Linux system. I'm not sure what type of Linux system you're using, but this is not true at least for what's in front of me (FC6) $ vmstat 1 1 procs

Re: [SLUG] RAID Performance Oddness

2007-02-23 Thread Tony Sceats
I really wouldn't call myself a RAID expert, however I imagine that on a RAID5 system, random writes are going to have a performance penalty as parities will have to be recalculated based upon the change of, say, 1 out of the 4 blocks already on disk - and to calculate the new parity, the other 3

Re: [SLUG] Fedora access and securtiy

2007-01-26 Thread Tony Sceats
you should start by looking at /etc/init.d/iptables this uses iptables-save and iptables-restore and saves rules in /etc/sysconfig/iptables if you're lucky the sysconfig file is already populated and you can just manipulate it directly, otherwise perhaps the easiest way would be to start the

Re: [SLUG] tail and rotated log files

2007-01-15 Thread Tony Sceats
Hey Peter, sounds like you want tail -F log or tail --follow=name --retry log never used the max-unchanged-stats argument though - maybe it's used to delay the retry? wtf is an iteration in tail anyway? 5 poll's on the file?! On 1/15/07, Peter Hardy [EMAIL PROTECTED] wrote: I have a script

Re: [SLUG] LSOF - is there a real-time GUI?

2006-12-29 Thread Tony Sceats
That (Internet socket) is lsof-specific definition. well, not really - sockets occupy a file descriptor like ordinary files do, so in effect it's seen as a file to a process - have a look in /proc/pid/fd/ to see what file descriptors sockets occupy How are you defining file? Would something

Re: [SLUG] Shell script

2006-12-13 Thread Tony Sceats
It's pretty simple, in bash at least: $ export A=C B=d $ if [[ $A $B ]]; then echo $A is less than $B; fi C is less than d if you want to input them from the keyboard you can use 'read' and probably a whole lot of other ways too :) On 12/13/06, 5h4rk [EMAIL PROTECTED] wrote: Hi, I'm trying