Re: [SLUG] Performance issues with new linux system.
On Mon, 17 Sep 2001 13:54, [EMAIL PROTECTED] wrote: > The system hardware is as follows: > 64 Meg GeForce2 MX > 1024 MB RAM > ASUS A7V133 Motherboard > Athlon 1.2 Ghz CPU > Pioneer DVD > SB Live! Soundcard > NetGear Ethernet (National Semiconductors Chipset) > 40 Gig IBM 7200rpm IDE HDD > > All the hardware is up and working all OK, but i am having a fairly > large performance issue which I cannot seem to work my way through > Whenever i am downloading files of about 40meg or higher or putting a > medium to high load on the system , the machine becomes extremely slow > and sometimes borderline on unresponsive. > > I have done some investigation work on the problem and found (from > running top) that when the system does slow down the process 'kupdated' > starts chewing alot of CPU resources. > (I have noticed that linux is not using the full 1024 megs of RAM that i > have which i am about to rectify shortly, i am unaware of this would be > responsible somehow for this issue, but i doubt it..) You should at least sort this out first, to eliminate it as a possibility. How about booting with something like the following, as a temporary measure:- mem=512M(where label is what you'd normally type to enter linux from the bootprompt. presuming LILO as bootloader) I guess another place to start looking would be resource conflicts. I know my motherboard manual tells me which slots have conflicts with which, and what setups work and which dont. I have a similar system, although only 640M RAM running same kernel. This is why i suggest at least eliminating the RAM possibility, as mine runs fine. For conflicts, you can probably cat /proc/interrupts etc. Maybe none of this helps, just thoughts ;-) Cheers, Grant -- Kaufman's First Law of Party Physics: Population density is inversely proportional to the square of the distance from the keg. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] RARPD
Daron Barndon was once rumoured to have said: > So the rarp command doesnt work anymore? I'm sorry if I have made a silly > mistake but when I try to rarp -a it complains about no rarp in kernel. Yes, this is because `rarp' as a utility is depricated. rarp -a has no real significance elsewhere because the kernel doesn't need to maintain a RARP table since the RARP data is never needed for IP transmission. Since you're almost certainly using this to net-boot a device of some sort, my advice is to fire up tcpdump, and then try to boot the device and watch what happens using tcpdump or ethereal. Also, if you can find one, a rarp client will help you debug the rarpd if its not working. 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://lists.slug.org.au/listinfo/slug
RE: [SLUG] Remote X login on RH 7.1 - followup
Thanks, I have tried the files from a RH6.0 installation I still have (I never had 6.2 here at work so I can't try that one), also someone sent me another xterm file which I tried too. Neither were satisfactory, making me think that it's not the XTerm file which is causing the problem, rather than something wrong with the way terminfo is being used. BTW I said the problem was "Solved" by hacking around with the X server (PC) but this is only satisfactory for comman line work; it makes vi and emacs fail miserably. Here is stty -a (on RH7.1 machine via hummingbird xterminal): speed 38400 baud; rows 36; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke And here is is again (on Sun Solaris 7 machine with the same xterminal) speed 9600 baud; rows = 24 columns = 80; ypixels = 316 xpixels = 499 intr = ^c; quit = ^|; erase = ^h; kill = ^u; eof = ^d; eol = ; eol2 = ; swtch = ; start = ^q; stop = ^s; susp = ^z; dsusp = ^y; rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v; parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -parext -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff -imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel Now ^h does in fact perform a backspace erase on both. But the backspace key only erases on the Sun and not on the Linux system. By the way, if I telnet to the Linux system, backspace/erase works fine. Any more ideas? Regards, Jill. -- Jill Rowling, Snr Des. Eng. & Unix System Administrator Eng. Systems Dept, Aristocrat Technologies Australia 3rd Floor, 77 Dunning Ave Rosebery NSW 2018 Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: [EMAIL PROTECTED] > -Original Message- > From: Ian Ward [mailto:[EMAIL PROTECTED]] > Sent: Monday, 17 September 2001 12:47 > To: Ian Ward; Jill Rowling > Cc: slug > Subject: Re: [SLUG] Remote X login on RH 7.1 - followup > > > OOPs, you have to go back to RH 6.2 > > I don't have the time or inclination to find out exactly what the > differences are. > > > - Original Message - > From: "Ian Ward" <[EMAIL PROTECTED]> > To: "Ian Ward" <[EMAIL PROTECTED]>; "Jill Rowling" > <[EMAIL PROTECTED]> > Cc: "slug" <[EMAIL PROTECTED]> > Sent: Monday, September 17, 2001 12:34 PM > Subject: Re: [SLUG] Remote X login on RH 7.1 - followup > > > > - Original Message - > > From: "Ian Ward" <[EMAIL PROTECTED]> > > To: "Jill Rowling" <[EMAIL PROTECTED]>; "'Slug (E-mail)'" > > <[EMAIL PROTECTED]> > > Sent: Friday, August 31, 2001 1:53 PM > > Subject: Re: [SLUG] Remote X login on RH 7.1 -- solved! > > > > > > Hi Jill, some time ago we were both looking at why backspace was not > > functioning in rsh after RH7.1 upgrade > > > > Grab the following files from your RH 7.0 Backups > > ./usr/X11R6/lib/X11/app-defaults/XTerm > > ./usr/X11R6/lib/X11/app-defaults/XTerm-color > > > > > > > > > > > > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug > -- CONFIDENTIALITY NOTICE -- This email is intended only to be read or used by the addressee. The information contained in this e-mail message may be confidential information. If you are not the intended recipient, any use, interference with, distribution, disclosure or copying of this material is unauthorised and prohibited. Confidentiality attached to this communication is not waived or lost by reason of the mistaken delivery to you. If you have received this message in error, please delete it and notify us by return e-mail or telephone Aristocrat Technologies Australia Pty Limited on +61 2 9413 6300. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] RARPD
So the rarp command doesnt work anymore? I'm sorry if I have made a silly mistake but when I try to rarp -a it complains about no rarp in kernel. I tried running rarpd as well... -Original Message- From: Crossfire [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 September 2001 4:19 PM To: Daron Barndon Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] RARPD Daron Barndon was once rumoured to have said: > Correct - but the kernel still doesnt support RARP (AFAIK). This is the > problem. I believe RARP support was removed sometime during the 2.3.x > kernels. Why should the kernel need to support it when the daemon does that for you? *sigh* The kernel support was just an in-kernel implementation of the RARP server. When using the 2.2 kernel support you'd use `rarp' to initialise the address table. You don't use `rarp' with 2.4, you use `rarpd' instead which implements the RARP server in userspace. 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://lists.slug.org.au/listinfo/slug
Re: [SLUG] RARPD
Daron Barndon was once rumoured to have said: > Correct - but the kernel still doesnt support RARP (AFAIK). This is the > problem. I believe RARP support was removed sometime during the 2.3.x > kernels. Why should the kernel need to support it when the daemon does that for you? *sigh* The kernel support was just an in-kernel implementation of the RARP server. When using the 2.2 kernel support you'd use `rarp' to initialise the address table. You don't use `rarp' with 2.4, you use `rarpd' instead which implements the RARP server in userspace. 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://lists.slug.org.au/listinfo/slug
RE: [SLUG] RARPD
Correct - but the kernel still doesnt support RARP (AFAIK). This is the problem. I believe RARP support was removed sometime during the 2.3.x kernels. Thanks anyway :-) -Original Message- From: Crossfire [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 September 2001 3:52 PM To: Daron Barndon Cc: [EMAIL PROTECTED] Subject: Re: [SLUG] RARPD Daron Barndon was once rumoured to have said: > Does anyone know how to get RARP working under the 2.4.x kernel? I have > installed RARPD but when I try "rarp -a" it tells me there is no support in > the kernel. According to doco found on the web it was removed since 2.3.x... > :-( read `man rarpd'. rarpd uses the /etc/ethers file to get the mappings. 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://lists.slug.org.au/listinfo/slug
Re: [SLUG] RARPD
Daron Barndon was once rumoured to have said: > Does anyone know how to get RARP working under the 2.4.x kernel? I have > installed RARPD but when I try "rarp -a" it tells me there is no support in > the kernel. According to doco found on the web it was removed since 2.3.x... > :-( read `man rarpd'. rarpd uses the /etc/ethers file to get the mappings. 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://lists.slug.org.au/listinfo/slug
Re: [SLUG] Kernel
On Mon, Sep 17, 2001 at 03:12:37PM +1100, Adam Vaughan wrote: > We have our own software that uses TCP/IP communications. Certain > parameters in Redhat 7 have had to be set/changed for this software to > work. For example? Your question if extremely broad, probably too broad to be answered as asked. What things needed to be changed? > Now Redhat 7.1 does not work. What are the differences in the TCP/IP > implelentation between Redhat 7 and Redhat 7.1? Well, I guess you mean the differences between the TCP/IP stack in the kernel versions and possibly the various tools that work with the stack (e.g. libpcap). Unfortunately, I can't remember the two kernel versions that were standard with those distros (although 2.2.15 for 7.0 sounds familiar). If one is 2.2.x and one is 2.4.x, then there were definitely some changes. You can find these in the kernel ChangeLogs a bit, but most of the details are in the code and not of relevance in day-to-day use. The Linux kernel IP stacks strive to be RFC compliant as much as possible, so nothing major changed. > Any help or even an e-mail address for someone who can help me > you be greatly appericated. You could try browsing the linux kernel-traffic archives (http://kt.zork.net) for any major network stack changes. I couldn't fashion a reliable and tight Google search for this area, but, again, it's pretty broad and I probably didn't try hard enough. Cheers, Malcolm -- A conclusion is the place where you got tired of thinking. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Kernel
Hi, We have our own software that uses TCP/IP communications. Certain parameters in Redhat 7 have had to be set/changed for this software to work. Now Redhat 7.1 does not work. What are the differences in the TCP/IP implelentation between Redhat 7 and Redhat 7.1? Any help or even an e-mail address for someone who can help me you be greatly appericated. Regards, Adam. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] apache: mixing access methods "AuthUserFile" & "allow from"
On Mon, Sep 17, 2001 at 01:10:56PM +1000, Ian Ward wrote: > # Special dealer support area > > Options Indexes FollowSymLinks > AllowOverride Limit > AuthNamedealer > AuthTypeBasic > AuthUserFile/etc/httpd/security/dealer.passwd > AuthGroupFile /etc/httpd/security/dealer.group > > require valid-user > > > > I don't seem to be able to mix access methods, I would like the intranet > people from the 192.168.0.0/8 to have access without being prompted for a > username password. Here's an example: SetHandler server-status Order deny,allow Deny from all Allow from .vastsystems.com.au Allow from localhost AuthType Basic AuthName serverstatus AuthGroupFile /etc/httpd/auth/apache.groups AuthUserFile /etc/httpd/auth/apache.users require group vast satisfy any Anyone connecting from *.vastsystems.com.au or localhost isn't prompted for a password; those connecting from elsewhere need to provide a username and password. Cheers, John -- whois [EMAIL PROTECTED] GPG key id: 0xD59C360F -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Performance issues with new linux system.
Hi, This is actually my first post to the SLUG mailing list, so please bare with me... About 3 weeks ago i purchased a new x86 system for my home workstation, It is currently dual booting Win2k Pro and RedHat Linux 7.1 with Linux being the primary Operating system used on the machine. Upon install of linux i upgraded my kernel to 2.4.8 via the official source, downloaded from kernel.org. (I have attatched my .config) The system hardware is as follows: 64 Meg GeForce2 MX 1024 MB RAM ASUS A7V133 Motherboard Athlon 1.2 Ghz CPU Pioneer DVD SB Live! Soundcard NetGear Ethernet (National Semiconductors Chipset) 40 Gig IBM 7200rpm IDE HDD All the hardware is up and working all OK, but i am having a fairly large performance issue which I cannot seem to work my way through Whenever i am downloading files of about 40meg or higher or putting a medium to high load on the system , the machine becomes extremely slow and sometimes borderline on unresponsive. I have done some investigation work on the problem and found (from running top) that when the system does slow down the process 'kupdated' starts chewing alot of CPU resources. I have asked a few people on IRC and via mail about the problem and they have not heard of anything similar or are unaware of any good documentation on the kupdated daemon. I have read through the kernel documentation on the /Proc Filesystem which was advised to me by a friend but had no luck there either. What i am asking is if anyone has seen any problems like this or could help me possibly diagnose the problem as the current lag on the system is making my older PII-400 Mhz system look like a better performer :( Below is my current dmesg for reference. Linux version 2.4.8 (root@Mortesia) (gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-81)) #2 Sun Sep 16 23:55:01 EST 2001 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 3ffec000 (usable) BIOS-e820: 3ffec000 - 3ffef000 (ACPI data) BIOS-e820: 3ffef000 - 3000 (reserved) BIOS-e820: 3000 - 4000 (ACPI NVS) BIOS-e820: - 0001 (reserved) Warning only 896MB will be used. Use a HIGHMEM enabled kernel. On node 0 totalpages: 229376 zone(0): 4096 pages. zone(1): 225280 pages. zone(2): 0 pages. Kernel command line: BOOT_IMAGE=newkernel ro root=305 BOOT_FILE=/boot/newkern2 Initializing CPU#0 Detected 1208.770 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 2411.72 BogoMIPS Memory: 899248k/917504k available (1560k kernel code, 17868k reserved, 595k data, 208k init, 0k highmem) Dentry-cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) CPU: Before vendor init, caps: 0183f9ff c1c7f9ff , vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183f9ff c1c7f9ff CPU: After generic, caps: 0183f9ff c1c7f9ff CPU: Common caps: 0183f9ff c1c7f9ff CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX PCI: PCI BIOS revision 2.10 entry at 0xf1150, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware Unknown bridge resource 0: assuming transparent PCI: Using IRQ router VIA [1106/0686] at 00:04.0 Applying VIA southbridge workaround. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Starting kswapd v1.8 NTFS version 1.1.15 pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A block: 128 slots per queue, batch=16 Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 21 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio hda: IC35L040AVER07-0, ATA DISK drive hdc: Pioneer DVD-ROM ATAPIModel DVD-116 0107, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63 hdc: ATAPI 40X DVD-ROM drive, 256kB Cache, UD
[SLUG] RARPD
Does anyone know how to get RARP working under the 2.4.x kernel? I have installed RARPD but when I try "rarp -a" it tells me there is no support in the kernel. According to doco found on the web it was removed since 2.3.x... :-( I am trying to boot a java station with linux... Thanks Daron Barndon Senior Network Engineer Smart Communications Group Australia Pty Ltd Phone: +61(0)282587769 Fax:+61(0)282587790 Mobile: +61(0)416041017 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] apache: mixing access methods "AuthUserFile" & "allowfrom"
On Mon, 17 Sep 2001, Ian Ward wrote: > # Special dealer support area > > Options Indexes FollowSymLinks > AllowOverride Limit > AuthNamedealer > AuthTypeBasic > AuthUserFile/etc/httpd/security/dealer.passwd > AuthGroupFile /etc/httpd/security/dealer.group > > require valid-user > > > > I don't seem to be able to mix access methods, I would like the intranet > people from the 192.168.0.0/8 to have access without being prompted for a > username password. > > How can I mix the above method with the more common method of: How about making a symlink from /support/dealer to another directory, and then specify the different access control for the symlink? _ Rick Welykochy || Praxis Services Pty Limited "If every copy sold of Windows 95 crashes an average of once per day, and Bill Gates Gates were charged $1 per crash, his fortune would last less than a year." -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] apache: mixing access methods "AuthUserFile" & "allow from"
Hi all, I'm using authentication for an area on an apache web site with the following directives: # Special dealer support area Options Indexes FollowSymLinks AllowOverride Limit AuthNamedealer AuthTypeBasic AuthUserFile/etc/httpd/security/dealer.passwd AuthGroupFile /etc/httpd/security/dealer.group require valid-user I don't seem to be able to mix access methods, I would like the intranet people from the 192.168.0.0/8 to have access without being prompted for a username password. How can I mix the above method with the more common method of: # Allow access to WEB statistics from local network Alias /useage /home/webalizer/www.xxx order deny,allow deny from all allow from 127.0.0.1 192.168. Options Indexes Is the answer virtual hosts? one for each interface internal/external ? tia Ian -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Remote X login on RH 7.1 - followup
OOPs, you have to go back to RH 6.2 I don't have the time or inclination to find out exactly what the differences are. - Original Message - From: "Ian Ward" <[EMAIL PROTECTED]> To: "Ian Ward" <[EMAIL PROTECTED]>; "Jill Rowling" <[EMAIL PROTECTED]> Cc: "slug" <[EMAIL PROTECTED]> Sent: Monday, September 17, 2001 12:34 PM Subject: Re: [SLUG] Remote X login on RH 7.1 - followup > - Original Message - > From: "Ian Ward" <[EMAIL PROTECTED]> > To: "Jill Rowling" <[EMAIL PROTECTED]>; "'Slug (E-mail)'" > <[EMAIL PROTECTED]> > Sent: Friday, August 31, 2001 1:53 PM > Subject: Re: [SLUG] Remote X login on RH 7.1 -- solved! > > > Hi Jill, some time ago we were both looking at why backspace was not > functioning in rsh after RH7.1 upgrade > > Grab the following files from your RH 7.0 Backups > ./usr/X11R6/lib/X11/app-defaults/XTerm > ./usr/X11R6/lib/X11/app-defaults/XTerm-color > > > > > -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Remote X login on RH 7.1 - followup
- Original Message - From: "Ian Ward" <[EMAIL PROTECTED]> To: "Jill Rowling" <[EMAIL PROTECTED]>; "'Slug (E-mail)'" <[EMAIL PROTECTED]> Sent: Friday, August 31, 2001 1:53 PM Subject: Re: [SLUG] Remote X login on RH 7.1 -- solved! Hi Jill, some time ago we were both looking at why backspace was not functioning in rsh after RH7.1 upgrade Grab the following files from your RH 7.0 Backups ./usr/X11R6/lib/X11/app-defaults/XTerm ./usr/X11R6/lib/X11/app-defaults/XTerm-color -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Perl IP's etc
On Mon, Sep 17, 2001 at 09:25:07AM +1000, Crossfire wrote: > my @splitline = split /\s+/, $line; > my @ipaddr = (); > foreach $i (@splitline) { > if ($i =~ m/^\d+\.\d+\.\d+\.\d+$/) { > push @ipaddr, $i; > } > } > if ($i =~ m/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/) ... Yuck :) my @ips = grep { /^(\d{1,3}\.){3}\d{1,3}$/ } split /\s+/, $line; m. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Bandwith problems or server load
On Sat, 15 Sep 2001, Antony Clarke wrote: > On that fatefull day in the USA, www.cnn.com and most other news sites were > unreachable for a few hours even to american users with leased lines. Does I was able to reach CNN a few hours after it started. A bit slow and some timeouts, but semi-usable. BBC and slashdot were fine, so the backbone was OK. This was via optusnet. > anyone know if this was due to bandwith availability or load on the servers? > Can a connection timeout be caused by more than a bandwith problem? I think you just answered that - server overload for dynamically generated pages. Unfortunately, they didnt seem to have an automatic mechanism for switching to static, low-graphics pages. -- Mike Holland <[EMAIL PROTECTED]> --==-- "Everybody is talking about the weather but nobody does anything about it." -- Mark Twain -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] JTAG programming thingy?
Does anybody know where I can get a JTAG programming thingy and how much it might cost? I think I managed to fry the flash on my CerfCube (which was running Linux, so this /is/ on topic, dammit), and there doesn't seem to be any other way to fix it. There's also http://www.lart.tudelft.nl/projects/jtag/, but the only thing that I know how to do with a soldering iron is to burn myself (but just in case, where does one go to shop for a 74AHC541?). m. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] compiling gcc 3.01 on RH 7.1
Did anyone else have trouble with "make bootstrap" on RH 7.1? Mine died with: sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /usr/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h > i686-pc-linux-gnu/bits/gthr.h /bin/sh: /usr/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h: No such file or directory make[4]: *** [i686-pc-linux-gnu/bits/gthr.h] Error 1 make[4]: Leaving directory `/usr/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/include' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3' make[2]: *** [all-recursive-am] Error 2 make[2]: Leaving directory `/usr/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/src/gcc-3.0.1' make: *** [bootstrap] Error 2 Im sure I could get it to compile, needs an extra "../", but I expected 3.02 to get released cause everyone was going to have trouble. It seems it's just me. BB -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Perl IP's etc
peterw was once rumoured to have said: > Scott Howard wrote: > > > > On Sun, Sep 16, 2001 at 11:39:33PM +1000, peterw wrote: > > > Given an alpha numeric string of vaying length that contains 0 or more > > > valid IP numbers(dotted quad decimal)and each IP(if there is one) is > > > seperated form the next IP or other text by one or more spaces how can I > > > use Perl to retrieve thes IP's into an array ? > > > > Presuming the string is in $_ > > @IP = split; > > > > Scott. > > Sorry should have explained better. String can have one or more groups > of alpha numeric characters. Each group of chracters is seperated by one > or more spaces. Each group can have one or more charcters. Zero or more > of these groups may be a valid IP. The IP 's can occur anywhere in the > string. The IP's may or may not be consecutive. > > If I use split how do I know which array elements are the IP's ? Assuming $line has your line in it, you should be able to use something like: my @splitline = split /\s+/, $line; my @ipaddr = (); foreach $i (@splitline) { if ($i =~ m/^\d+\.\d+\.\d+\.\d+$/) { push @ipaddr, $i; } } @ipaddr will then contain all the ip-like data. the looser form regexp is preferred since dotted quad is a fairly loosely defined structure. If you're paranoid, you can use: if ($i =~ m/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/) ... then perform a secondary test on $1, $2, $3 and $4 to make sure they're numerically between 0 and 255 (inclusively). 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://lists.slug.org.au/listinfo/slug
[SLUG] Subversion M3
So, Subversion has reached milestone 3, which means that it's hosting itself. All Subversion development is now done against a Subversion repository. This is way cool. It's a replacement for CVS, based on WebDAV and Apache 2.0, and will hopefully get rid of all those annoying things you've come to hate about CVS. (I've even heard a whisper that GNOME may migrate to it fairly soon.) You can read about it here: http://subversion.tigris.org/ - Jeff -- GDK (acronym): GNU's Not Unix Image Manipulation Program Tool-Kit Drawing-Kit. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] (no subject)
begin Jon Biddell quotation: > Yes, correct... And also correct about tar, which is a pain > > Although I have a script (from Anthony Rumble) that seems to build a list > of files and then back them up - you might modify that. There's a collection of such scripts in ftp://metalab.unc.edu/pub/Linux/system/backup/ , and I have an archive of tools and information about Linux-based backup here: http://linuxmafia.com/pub/linux/backup/ I hope they're useful to someone. -- Cheers,My pid is Inigo Montoya. You kill -9 Rick Moen my parent process. Prepare to vi. [EMAIL PROTECTED] -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Perl IP's etc
Scott Howard wrote: > > On Sun, Sep 16, 2001 at 11:39:33PM +1000, peterw wrote: > > Given an alpha numeric string of vaying length that contains 0 or more > > valid IP numbers(dotted quad decimal)and each IP(if there is one) is > > seperated form the next IP or other text by one or more spaces how can I > > use Perl to retrieve thes IP's into an array ? > > Presuming the string is in $_ > @IP = split; > > Scott. Sorry should have explained better. String can have one or more groups of alpha numeric characters. Each group of chracters is seperated by one or more spaces. Each group can have one or more charcters. Zero or more of these groups may be a valid IP. The IP 's can occur anywhere in the string. The IP's may or may not be consecutive. If I use split how do I know which array elements are the IP's ? Peter -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Perl IP's etc
On Sun, Sep 16, 2001 at 11:39:33PM +1000, peterw wrote: > Given an alpha numeric string of vaying length that contains 0 or more > valid IP numbers(dotted quad decimal)and each IP(if there is one) is > seperated form the next IP or other text by one or more spaces how can I > use Perl to retrieve thes IP's into an array ? the following lil script will print out every single IP address found in a file: #!/usr/local/bin/perl -w $ip_regex = qr/([01]?\d\d|2[0-4]\d|25[0-5])\.([01]?\d\d|2[0-4]\d|25[0-5])\. ([01]?\d\d|2[0-4]\d|25[0-5])\.([01]?\d\d|2[0-4]\d|25[0-5])/x; while (<>) { while (/$ip_regex/g) { print "found IP $1.$2.$3.$4\n"; } } adjust as needed. -- #ozone/algorithm <[EMAIL PROTECTED]> - trust.in.love.to.save -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Perl IP's etc
On Sun, Sep 16, 2001 at 11:39:33PM +1000, peterw wrote: > Given an alpha numeric string of vaying length that contains 0 or more > valid IP numbers(dotted quad decimal)and each IP(if there is one) is > seperated form the next IP or other text by one or more spaces how can I > use Perl to retrieve thes IP's into an array ? Presuming the string is in $_ @IP = split; Scott. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Perl IP's etc
Given an alpha numeric string of vaying length that contains 0 or more valid IP numbers(dotted quad decimal)and each IP(if there is one) is seperated form the next IP or other text by one or more spaces how can I use Perl to retrieve thes IP's into an array ? Ta Peter -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] x-Fnord
On Sun, 16 Sep 2001, Doug Stalker wrote: > > So this x-fnord thingie is designed to cause mischief, > > a bit like a virus really. > > To find out all about fnords, read the Illuminatus! trilogy by Robert Shea > and Robert Anton Wilson. > And have a look at the church of the sub-genius on the net while you're at it. Fnord, Fnord, fnord ;) rachel -- Rachel PolanskisOptus/Excite@Home UNIX Administrator 100 Harris Street IT Operations Pyrmont, Sydney NSW [EMAIL PROTECTED]Ph: (+61 2) 900 51144 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
On Sun, Sep 16, 2001 at 09:44:15PM +1000, getadog wrote: > On Sun, Sep 16, 2001 at 06:10:09PM +1000, Doug Stalker wrote: > > This used to work many years ago in the days of dialup BBSes. I suspect > > that it won't do anything at all now, as the modem will only accept the > > escape sequence from the local side to avoid a potential DOS attack. > > You're right, but there are two modems in a dialup link. > > [PC]-DTE---[Modem1]---Line---[Modem2]---DTE-[Router]--(internet) > > (The DTE is the local side) > > If someone from the internet sends the PC the magic + + + sequence, > (in the right to left direction) Modem1 won't act on it because it > receives it from the line (as stated above), but Modem2 receives it > from the DTE (the local side), so it can potentially act on it. > (assuming Modem2 is a standalone modem that hasn't been configured > properly and without the guard time) Which there are very (very) few of. Very few ISPs still use standalone modems, and even for those that do they are generally using better quality modems which do support the "guard time" and thus are not vulnerable to this problem, and/or they are running their modems in "dumb" mode where they do not accept +++ or AT commands anyway. > I've been told I'm wrong because the + + + wasn't issued locally > (what ever that means). Am I wrong? Please educate me. You're only wrong in the sense that the chances of the above being a problem is next to zero. The normal way that this problem is exploited is using a ping packet TO the host with the faulty modem. The ping packet goes from right to left in your diagram, and is received by your PC, which then sends a return ping packet back containing the data sent to it in the original ping packet! ie, if someone sends you a ping with the relevant text in it, then you will send the exact same text back to them. As the text is now going left to right in your diagram, your modem will hangup if it's vulnerable. Scott -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] eth0 kernel message?
This one time, at band camp, David wrote: >Suspect short first fragment. >eth0 PROTO=6 208.159.245.1:0 203.23.36.1:0 L=20 S=0x00 I=7444 F=0x4000 >T=116 (#0) >First, what does it mean? A suspected short TCP packet came in on eth0, using from no particular port on 208.159.245.1, destined for no particular port on 203.23.36.1, with a bunch of flags. It was caught by the 0th rule in your firewalling scripts. >Second, how would I find out what this or any other such message means >without having to ask the erudite denizens of SLUG? /etc/protocols holds the list of protocol numbers from the PROTO= field, #0 refers to the ipchains rule that triggered the log message, the IP:port notation should be obvious. For the rest, I'd suggest looking at the Firewalling HOWTO, IIRC there was a section that spelt out what the log messages meant. -- [EMAIL PROTECTED]http://spacepants.org/jaq.gpg This port may thing it's fortified, butt I seem to be mounting a pretty good assault -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
> > I suspect that the mail client doesn't have to be "broken" as the modem > > will see the escape sequence before any running program(the mail client) > > gets it. So if you are using a modem out of the box and your connection > > software doesn't reprogram it before it dials up, there is a good chance > > that the modem will hang up regardless of what mail client you are > > using. On Sun, Sep 16, 2001 at 06:10:09PM +1000, Doug Stalker wrote: > This used to work many years ago in the days of dialup BBSes. I suspect > that it won't do anything at all now, as the modem will only accept the > escape sequence from the local side to avoid a potential DOS attack. You're right, but there are two modems in a dialup link. [PC]-DTE---[Modem1]---Line---[Modem2]---DTE-[Router]--(internet) (The DTE is the local side) If someone from the internet sends the PC the magic + + + sequence, (in the right to left direction) Modem1 won't act on it because it receives it from the line (as stated above), but Modem2 receives it from the DTE (the local side), so it can potentially act on it. (assuming Modem2 is a standalone modem that hasn't been configured properly and without the guard time) I've been told I'm wrong because the + + + wasn't issued locally (what ever that means). Am I wrong? Please educate me. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] (no subject)
> > > The advantage doing a differential, rather than incremental, is that a file > > > modified on Monday is also backed up on Tuesday, Wednesday and Thursday. > > > With an INCREMENTAL, the Monday file will only be on the Monday tape, as > > > the archive bit is reset after backup. > > > >Thus requiring only 2 tapes for a full restore at any time. > > Yes, correct... And also correct about tar, which is a pain > > Although I have a script (from Anthony Rumble) that seems to build a list > of files and then back them up - you might modify that. I think you can use the -d option for tar, to create a list of differences since the last full backup, for the daily backups. I'm currently using the same backup scheme you are on a home network, except I do incremental daily backups over NFS and full backups each Friday to DDS-2, keeping the last Friday backup of every month. Works out to be 22 or 23 tapes per machine per year. Less if each tape set backs up multiple machines. I only worry about stuff on the lappy and webserver :) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] (no subject)
t 18:56 16/09/01 +1000, you wrote: >Jon Biddell wrote: > > > Monthly backups are archived permenantly, weekly tapes re-cycle every 4 > weeks. > > > > The advantage doing a differential, rather than incremental, is that a file > > modified on Monday is also backed up on Tuesday, Wednesday and Thursday. > > With an INCREMENTAL, the Monday file will only be on the Monday tape, as > > the archive bit is reset after backup. > >Thus requiring only 2 tapes for a full restore at any time. Yes, correct... And also correct about tar, which is a pain Although I have a script (from Anthony Rumble) that seems to build a list of files and then back them up - you might modify that. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] eth0 kernel message?
before logging in just now, i found this as well as two other similar looking nasty message: Suspect short first fragment. eth0 PROTO=6 208.159.245.1:0 203.23.36.1:0 L=20 S=0x00 I=7444 F=0x4000 T=116 (#0) two questions arise: First, what does it mean? Second, how would I find out what this or any other such message means without having to ask the erudite denizens of SLUG? -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
Jeff Waugh wrote: > > > > > Erik de Castro Lopo wrote: > > Peter -> it looks like you've replied to the list from Erik's private mail. > That's generally regarded as impolite. :) > Yes. My fault. Didn't look properly before replying. Apologies. Peter -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Backup rotation schemes
Jon Biddell wrote: > Monthly backups are archived permenantly, weekly tapes re-cycle every 4 weeks. > > The advantage doing a differential, rather than incremental, is that a file > modified on Monday is also backed up on Tuesday, Wednesday and Thursday. > With an INCREMENTAL, the Monday file will only be on the Monday tape, as > the archive bit is reset after backup. Thus requiring only 2 tapes for a full restore at any time. All this requires the backup program to change and track the file attributes right ? which tar & dump don't do. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
On Sun, 16 Sep 2001 18:16:09 +1000 Jeff Waugh <[EMAIL PROTECTED]> wrote: > > > > Erik de Castro Lopo wrote: > > Peter -> it looks like you've replied to the list from Erik's private mail. > That's generally regarded as impolite. :) Not when I meant to send it to the list its not :-). > > > So this x-fnord thingie is designed to cause mischief, a > > bit like a virus really. I searched for this on google and couldn't find any hint that it may actully have the intended (mischivious) intent. Erik -- - Erik de Castro Lopo [EMAIL PROTECTED] (Yes its valid) - "Don't be fooled by NT/Exchange propaganda. M$ Exchange is just plain broken and NT cannot handle the sustained load of a high-volume remote mail server" -- Eric S. Raymond in the Fetchmail FAQ -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [SLUG] x-Fnord
> > > > > So, what is the x-Fnord mail header for ?? and why do people embed the > > > modem escape and hangup cmd sequence in it ?? > > On sufficiently broken mail clients, the client wil actually send the > > modem escape sequence tothe modem. > > > > I suspect that the mail client doesn't have to be "broken" as the modem > will see the escape sequence before any running program(the mail client) > gets it. So if you are using a modem out of the box and your connection > software doesn't reprogram it before it dials up, there is a good chance > that the modem will hang up regardless of what mail client you are > using. This used to work many years ago in the days of dialup BBSes. I suspect that it won't do anything at all now, as the modem will only accept the escape sequence from the local side to avoid a potential DOS attack. > So this x-fnord thingie is designed to cause mischief, > a bit like a virus really. To find out all about fnords, read the Illuminatus! trilogy by Robert Shea and Robert Anton Wilson. - Doug Remember: If you cant see the fnords, they can't eat you. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
> Erik de Castro Lopo wrote: Peter -> it looks like you've replied to the list from Erik's private mail. That's generally regarded as impolite. :) > So this x-fnord thingie is designed to cause mischief, a > bit like a virus really. Why understanding and following standards is important: http://www.rodos.net/outlook/ - Jeff -- ... *bounce*bounce*bounce* -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] x-Fnord
Erik de Castro Lopo wrote: > > On Sun, 16 Sep 2001 14:03:53 +1000 > peterw <[EMAIL PROTECTED]> wrote: > > > So, what is the x-Fnord mail header for ?? and why do people embed the > > modem escape and hangup cmd sequence in it ?? > > To screw up people who have broken mail clients like Outlook. > > On sufficiently broken mail clients, the client wil actually send the > modem escape sequence tothe modem. > I suspect that the mail client doesn't have to be "broken" as the modem will see the escape sequence before any running program(the mail client) gets it. So if you are using a modem out of the box and your connection software doesn't reprogram it before it dials up, there is a good chance that the modem will hang up regardless of what mail client you are using. So this x-fnord thingie is designed to cause mischief, a bit like a virus really. Peter -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Bandwith problems or server load
> It was interesting to note that only recently CNN canceled its subscription > to Akamai's services which are designed to help major websites handle the > load of providing full graphical and audio-visual content. Strangely, Google seems to have rolled back their cache to sometime in July/August for many websites (it was previously updating the cache for many sites daily). -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Bandwith problems or server load
$author = "Andrew Bennetts" ; > > It was interesting to note the page they reverted to using -- it was > simple HTML, with only two graphics (a CNN logo and a photo of the > burning WTC). This suggests that bandwidth and/or the number of > connections made to their servers to serve images was part of the > problem. I didn't check at the time if they disabled their > session-tracking cookies, though I suspect they did. It was interesting to note that only recently CNN canceled its subscription to Akamai's services which are designed to help major websites handle the load of providing full graphical and audio-visual content. By tuesday afternoon CNN had signed back up again and Akamai was working to make all the content available. Akamai works to by transparently retrieving images and other high bandwidth material from mirrors strategically placed on major ISP networks around the world (the only one I know of in Aus is on iiNet, but i am sure some if not all of the major ISPs [eg Bigpond, Optus, Connect, AARNET] have a mirror farm as well) Tragically, one of the founders of Akamai died in one of the planes that hit the WTC... marty "i'm not here. this isn't happening." how to disappear completely. radiohead. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Linux Distro for iBook?
begin Luke Cole quotation: > Any recommendations on a suitable Linux distro for the new Apple iBook? What model of iBook? You are perhaps aware that there have been several. You might mean the iBook2, but might not. Here are your (possible) options, and links to whatever information seems best for each, in the way of hardware-support information: LinuxPPC: http://linuxppc.org/hardware/apple/ Yellow Dog: http://www.yellowdoglinux.com/support/hardware/breakdown/ibook.shtml Debian: http://www.debian.org/ports/powerpc/inst/install RockLinux: http://www1.rocklinux.org/projects/powerpc/powerpc.html Linux from Scratch (no hardware compatibility guide known to me): http://www.linuxfromscratch.com/ Linux-Mandrake 8.0: http://www.linux-mandrake.com/en/hardware.php3 SuSE: http://www.suse.de/en/produkte/susesoft/ppc/systemvor.html MkLinux "R1" candidates (no hardware compatibility guide): http://ptf.com/ptf/products/MKLP/ TurboLinux (no hardware compatibility guide): ftp://ftp.turbolinux.com/pub/product/ppc/turbolinux-ppc/ (NetBSD and OpenBSD might also serve.) -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug