Re: [SLUG] Macs/Linux comaptibility

2008-01-03 Thread Gottfried Szing



Chris Allen wrote:

I notice when when I look at boxes for new hardware ( some software) it
often says it will run a PC or MAC with rarely a mention of Linux.  I
presume that means under M$ systems for the PC.

For the MAC, I understand the standard operating system is bases on Unix
(or Linux).  Does this imply that if it runs for a MAC, it will also run
on a Linux PC?


mac os x is based on darwin [1] and this has nothing to with linux - 
except that is a *nix-like. so, even if it is mentioned that certain 
hardware works under linux or windows, this does NOT mean that it works 
with mac or vice versa.


br, gottfried

[1] http://en.wikipedia.org/wiki/Darwin_%28operating_system%29
--
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] batch rename

2007-11-03 Thread Gottfried Szing


Kevin Shackleton wrote:
 suggestions to rename multiple files in a single directory to individual
 shorter names?
 eg
   proj1file1
   proj1file2
   . . .
 to
   file1
   file2
   . . .

all you need is http://packages.debian.org/etch/mmv

br, goofy
-- 
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] Vista preview on Seven Sunrise

2007-01-28 Thread Gottfried Szing
hi

 So, get to Hardly Normal at midnight and shell out your $199 for the
 upgrade - what version upgrade is that?  ...and keep a spare grand or so
 handy when you find it won't run on your current hardware.


what version? thats easy :)

http://joyoftech.com/joyoftech/joyarchives/915.html

cu
-- 
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] subversion

2006-08-03 Thread Gottfried Szing



Peter Miller wrote:

I'm trying to get a

svn commit --non-interactive

command to work automatically in the background from a script.  But svn
barfs, saying

svn: Commit failed (details follow):
svn: Can't get password

It doesn't fail when I run the script in the foreground.
What is the correct way to do this?



thats really strange, but have you tried to supply the username/password 
at the command line? there is an parameter for each of them and this 
should work.


svn uses an authentication cache stored in the subdir 
~/.subversion/auth/ in the users homedir. is there a corresponding cache 
file (usually in the dir svn.simple)?


br, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] shared internet folders

2006-07-05 Thread Gottfried Szing

hi,

i hope someone has an solution. i am traveling a lot and i also have 
many workplaces, because usually i have more than one contract a time. 
this means, that i have

* a desktop at home (linux)
* a laptop (ie powerbook) for meetings and journeys
* a desktop (linux or win xp) at each workplace and
* a server with full access and internet access with linux on it.

note: usually i have full access to the computers (admin, root) and the 
connection to my server is limited to SSH/HTTP/IMAPS.


what i am looking for is an easy way to sync the most important files 
between this computers (about 500 MB) and optionally to make them 
accessible via a web-interface (just in case that i cannot sync the 
disks, eg internetcafe).


my first approach was subversion. this worked as long as i don't the 
explorer/finder/...-stuff to move and create directories with a file 
manager. because moving a directory with a file manager also copies the 
hidden .svn-dir which caused my a lot of troubles and confusion in the 
svn-repository.


second approach: rsync. this was nice, but there is the problem, that i 
have to install rsync and ssh onto the computers. ok, this is most of 
the time possible, but the it was unhandy to call rsync each time 
(command line params, ...).


third approach: http://www.ifolder.com - this seemed to be the right 
solution (shared folders on the internet), but: it requires mono/.net. 
and i don't assume that mone for linux/mac is stable enough, i am not 
going to use it.


so, now i have reached the end of the road. i have no idea where to look 
for a solution or how a solution could look like. i hope that there is a 
solution for this scenario *crossing fingers*


cu, gottfried

PS: apples .mac-disk is not a possibilty because of the mix of computers.
--
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] shared internet folders

2006-07-05 Thread Gottfried Szing




Have you considered sshfs?

http://fuse.sourceforge.net/sshfs.html



yep, i took a look at it and this would work for linux-only, but there 
are no precompiled packages for mac (fink) or win (cygwin). i assume 
that compiling the package on make would work, but on win?


and since sshfs is based on fuse which requires linux or freebsd. at 
least these OS are mentioned on the list of supported OS at


http://fuse.sourceforge.net/wiki/index.php/OperatingSystems

cu
--
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] shared internet folders

2006-07-05 Thread Gottfried Szing



O Plameras wrote:

David Kempe wrote:

O Plameras wrote:

http://www.openafs.org

 O Plameras

ROFL!

dave


What's ROFL about OpenAFS ?


thats a good question because at the first glance it looks almost 
perfect. support for linux, mac, and windows. and this does not seem to 
be a beta-version or just a proof-of-concept.



--
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] Splitting MySQL dump

2006-05-10 Thread Gottfried Szing



Rob Sharp wrote:

Sluggers,

I've got a large (2.6G) MySQL dump containing extended SQL inserts which
I need to import onto a server.

Normally, I'd import using something like:

sudo nice mysql itm_integ  sqldump.sql

but in this case it grinds the server into the ground, presumably
because it loads the file into memory/swap as it imports.

I'm thinking I somehow need to split this file into manageable chunks to
import it, but the script I coded in PHP can't handle files of that size.

Anyone have any pointers on how I can split the file based on the string
'CREATE TABLE' or something like that? A file per table would be fine to
import.


there could be various reasons for this. e.g. if there are indexes in 
the table-structure, you could speed up the the insert with dropping the 
indexes first, importing the data and create the indexes after insert 
again. this is because ususally autocommit is turned on and the indexes 
are updated after each commit. and recalculation of indexes for a bunch 
of rows is much faster than for each row.


if you are creating the dump by yourself, you could use the -T option 
of the mysqldump-tool. this will create separated files for data and 
create. check also load data for how to import the files generated.


how about splitting an sql into smaller chunks, sorry, i have no idea.
--
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] File format...

2006-05-06 Thread Gottfried Szing


Peter Chubb wrote:
 
 I have some old files, that are either encrypted or compressed or
 both...  But I can't remember what command I used to create them (it
 was more than five years ago).
 
 file just says they're data; but all have the first eight bytes as:
  0x37 0xe4 0x53 0x96 0xc9 0xdb 0xd6 0x07
 after that they differ.
 
 Does anyone out there recognise this `magic number' ?

try the file-command. this will hopefully give you some information
about the format.

$ file xyz



signature.asc
Description: OpenPGP digital signature
-- 
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] File format...

2006-05-06 Thread Gottfried Szing


Peter Chubb wrote:
 Gottfried == Gottfried Szing [EMAIL PROTECTED] writes:
 
 Gottfried Peter Chubb wrote:
  I have some old files, that are either encrypted or compressed or
 both...  But I can't remember what command I used to create them
 (it was more than five years ago).

 file just says they're data; but all have the first eight bytes as:
 
 Gottfried try the file-command. this will hopefully give you some
 Gottfried information about the format.
 
 I repeat:  file just says they're data.


oh, sorry. its too early in the afternoon to think clearly. :)


but googling for the exact string returns

https://openib.org/svn/tags/infinicon-latest-pre2.6/ALL_HOST/MakeTools/zisofs-tools/iso9660.c

that leads me to the conclusion that it is possibly a zisofs-image.

br, gottfried



signature.asc
Description: OpenPGP digital signature
-- 
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] SSH/Bash journal

2006-03-01 Thread Gottfried Szing


Bruce Badger wrote:
 In the days of teletypes you had a hard-copy record of everything that
 happend in a shell session - the paper teletype roll.
 
 Is there a way to get a journal (electronic is fine, no need for the
 roll :-)) produced for SSH/Bash sessions?

take a look at http://ttyrpld.sourceforge.net/ - i have tried this a few
weeks ago. the only drawback: the kernel has to be patched.

cu, gottfried



signature.asc
Description: OpenPGP digital signature
-- 
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] how to clear sockets in httpd dead but subsys locked ?

2006-01-25 Thread Gottfried Szing
hi

 I just tried to restart Apache, but get:
 
 # service httpd status
[...]
 but, every time I tried to start it, it would go back to 
 'httpd dead but subsys locked'

if the service-command is a bash-script, use the x option to debug it.

$ bash -x `which service` httpd start

 ps -ax |grep httpd showed nothing

$ ps -axww | grep apache

try to grep for apache instead for httpd. on my machine (debian) the
process is called apache.

 netstat | grep http showed a number of opened sockets

as root try to use a netstat -anp | grep -i LISTEN. this command shows
you all processes that have an open port and the corresponding process
and PID.

hth, gottfried



signature.asc
Description: OpenPGP digital signature
-- 
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] Public Holiday Calendars

2006-01-21 Thread Gottfried Szing


Howard Lowndes wrote:
 Does anyone know of a source for public holiday calendar dates for
 Australia (all states) that looks forward, say 2 years.  I know that
 some states don't gazette their holiday dates until the last minute, but
 I need to be able to regularly refresh a listing I will be using in a
 database.
 
 Some are fixed (AU day, ANZAC day, Christmas, etc), some are calculable
 (Queen's bday, Labour day, Melb Cup day, etc), others are
 pseudo-astronomic (Easter - yes I do know the church works it out),
 others are local (Albury Cup half day, I give up there), so a calendar
 of dates is the best way to go.
 
 XML or plain text format would be best as I don't want to have to scrape
 a visual web site to get the data.

you can try one of the calendars you can find at
http://icalshare.com/index.php?topic=holidays - this is in the
well-documented ical-format and can be imported in a lot of
applications. ok, its not XML but it is still plaintext.

i havent tried them the last 2-3 months, so i dont know how up-to-date
the cals are.

br, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
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] Unzip and install

2006-01-18 Thread Gottfried Szing


john gibbons wrote:
 I have installed Fedora 4 and have an application vym-1.7.0.tar.gz on my
 desktop. Would appreciate advice on what I type into the terminal to
 unzip it and then get it running.

to unpack (not to unzip because thats a geziiped tar-ball) use
$ tar xvzf vym-1.7.0.tar.gz

or alternatively to unpack the file to e.g. /tmp

$ tar xvzf vym-1.7.0.tar.gz -C /tmp/

during unpacking the tar-ball you can see a list of files. what to do
next depends on the content of the file. usually there is some txt-file
(e.g. install.txt, readme.txt, ...) with additional information.
worst-case is that you have to compile the application.

but maybe there is an rpm for fedora or better way to install vym on fedora.

br, gottfried



signature.asc
Description: OpenPGP digital signature
-- 
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] FireFox 'open with' csv excel

2005-11-24 Thread Gottfried Szing
hi

 For example, if your application is a cgi, eg 
 http://somehost.com/sendsomecsv.php?param1=value1, try adding a csv filename 
 after the script name, eg 
 http://somehost.com/sendsomecsv.php/export.csv?param1=value1

instead of hardcoding the filename in the url you can also try to use
the following response header (i am not so sure if this is the correct
syntax, so try to find the description in the RFC first):

Content-Disposition: attachment; filename=abc.csv

usually this header is used when the user is asked for saving the file.

hth, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
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] Thunderbird

2005-11-22 Thread Gottfried Szing

hi


This morning I have tried to open Thunderbird only to find it won't open. I
click on Thunderbird, and my desktop thinks about it, but somehow won't load up
my default profile.

I have important e-mails that I can't afford to lose. Anyone please?


maybe one of there answers helps:

1. check if there is already a thunderbird running. but use tools like 
ps or top to check for a running thunderbird (never trust the GUI :))). 
if there is one, kill it. thunderbird wont start a second instance and 
only tries to bring the already running tb to front.


2. play around with command line options. eg safe-mode (prevents 
thunderbird from loading of extensions) or console.


http://kb.mozillazine.org/Command_Line_Arguments#For_Linux_and_Mac_OS_X_users

3. use strace -f thunderbird to follow the system calls. maybe there 
is a lockfile somewhere. at least you can see what is going on.


4. move your thunderbird-profile to a safe location (not tmp!) and try 
to start TB with a brand-new profile dir. if this works, you could copy 
the old mails, addressbook,... into the new profile dir.


so, no worries about the mails. they should be still somewhere in the 
profile-dir. no matter if TB is starting or not :)


hth, gottfried
--
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] Install

2005-11-03 Thread Gottfried Szing


john gibbons wrote:
 I downloaded Java Runtime and have it sitting on my desktop. Now I do
 not know how to get it up and running. Would kind person email the
 command line entry needed? I am running Ubuntu.
 
 The file is
 home/john/Desktop/j2re-1_3_1_16-linux-i586.bin

usually this is an executable

first make it executable

$ chmod +x home/john/Desktop/j2re-1_3_1_16-linux-i586.bin

and afterwards start it and follow the instructions

$ ./home/john/Desktop/j2re-1_3_1_16-linux-i586.bin

this should work.

but because ubuntu is based on debian, you could use the debian way to
install java (checkout package java-package). but i am not so sure if
this works on ubuntu.

hth, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
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] Install

2005-11-03 Thread Gottfried Szing


john gibbons wrote:
 I downloaded Java Runtime and have it sitting on my desktop. Now I do
 not know how to get it up and running. Would kind person email the
 command line entry needed? I am running Ubuntu.
 
 The file is
 home/john/Desktop/j2re-1_3_1_16-linux-i586.bin

i have found some nice doc about this on the ubuntu page if you really
want to do it the ubuntu way:

https://wiki.ubuntu.com/JavaPackageBuildNewVersions

cu


signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] triple j audiostream

2005-10-24 Thread Gottfried Szing
hi guys,

has someone ever tried to use the triple-j life-stream available at
http://www.abc.com.au/triplej/ ?

i have a problem with the quality of the stream. under win2k i have a
downloadrate of about 80kb/sec. no matter if i use the realplayer or the
WMP. under linux and also with mac os x i have a download rate of about
20kb/sec. the sound under win2k is also clearer.

i have tried: windows media 9 for mac and win2k and the real player for
win/linux/mac os x. same settings (especially network settings,
bandwidth, ...) for all players.

does anyone know if there is difference between the win2k-versions and
the mac/linux-versions?

thanks, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
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] Your top-ten linux desktop apps

2005-09-27 Thread Gottfried Szing

hi

F-Spot rocks when it comes to photo management. Almost as good as 
Google's picasa. :-)


does someone can suggest a good and fast(!) image browser for linux? sth 
like acdsee for windows?


i cannot try f-spot because my debian box cannot resolve some depencies.

br, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] usb audio device for kernel 2.4

2005-09-25 Thread Gottfried Szing


Peter Hardy wrote:
 On Wed, 2005-09-21 at 17:41 +0200, Gottfried Szing wrote:
 
i have checked the support for external storage of linux and this works 
fine, but i havent seen a list of supported usb-audio-devices. on the 
web are hosts of pages that describe sometimes that usb-audio is no 
problem, sometimes that it is not working with all devices - always the 
same when i am looking for a new hardware for linux :)
 
 
 The Linux-USB guys maintain a fairly large list of compatible devices at
 http://www.qbik.ch/usb/devices/ .

this list is absolutely perfect. thanks for the link.

br, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] usb audio device for kernel 2.4

2005-09-21 Thread Gottfried Szing

hi slugs,

today my asus wifi router has arrived and i am going to play around with 
it this weekend. so i will try to install openwrt. because it has 2x usb 
 ports, having a standalone mp3-player with an external harddisk seems 
to be possible.


i have checked the support for external storage of linux and this works 
fine, but i havent seen a list of supported usb-audio-devices. on the 
web are hosts of pages that describe sometimes that usb-audio is no 
problem, sometimes that it is not working with all devices - always the 
same when i am looking for a new hardware for linux :)


so, has someone a usb-audio device in use?

requirements:
- linux 2.4 support (because openwrt uses this version)
- headphone mini jack. i want to connect it to my amplifier

br, gottfried
--
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] wifi router

2005-09-19 Thread Gottfried Szing



Julio Cesar Ody wrote:

WRT54G+OpenWRT is probably not the best solution if all you want is a
router+dhcp server, dns and firewall. The out-of-the-box solution will
do it. Unless of course you want to do it yourself...


this is not my intention right now, because having wifi up and running 
again has top priority for me. but maybe sometimes in the near future i 
will have enough time and costumizing the wifi router will be a nice 
pastime.


i have checked a lot of routers in the last time and i have also found 
the asus wl500g(d) that has usb support. this would make it a lot easier 
to build an standalone mp3 player (usb sound device and storage), to set 
up a simple webserver or even an ssh-server if this is possible.


anyway, i think i will pick the asus wl500gd.

cu, gottfried

--
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] wifi router

2005-09-19 Thread Gottfried Szing

Hi again


The good thing about OpenWRT is that you can install it and use the
hardware for something else than the factory programmed
functionalities. I recently installed Asterisk PBX on it. It's a quite
sweet device. For good or bad, it could run Apache as well (lacks
persistant memory space though).


i forgot to ask in the last mail: have you used the packages that are 
availble via ipkg or a different piece of software? is this software 
stable enough for home-usage?


br, gottfried
--
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] Debian 3.1

2005-09-18 Thread Gottfried Szing


Paul Maloney wrote:
 Hi all,
 Well I have waited a long time to get my hands on a copy of Debian 3.1
 and finally got it. Now my problem is that it gets as far as loading the
 installer and it has trouble reading the data. Does anyone have any
 ideas as I have emailed Debian and as yet got no reply.

would you mind to specify trouble reading the data? is the cdrom not
supported or an error in loading some packages or ...? how far does the
installation go without an error?

is this an original cd or a downloaded image burned on the cd? have
checked if you can read the cd on another system? md5 of the packages is
ok? you can also download a minimal install image (business card release
with about 40mb or netinst with 180meg) and try these.

so, you see there are many open questions :)

cu


signature.asc
Description: OpenPGP digital signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] wifi router

2005-09-18 Thread Gottfried Szing
hi,

i am currently looking for a wifi router that will replace current linux
box (it died this week after a long life full of work - RIP). but i dont
want to replace the box with a new linux box because the new hardware i
will get in shops will be an absolute overkill.

i am looking for router which can act like linux as a full-featured
router (sharing via wifi/lan, dhcp-server, dns-server, firewall,
wep/wap, nat, ...) .

last time i have read an article about openwrt and i would like to have
a router that is supported by this project. but the list of supported
hardware is overwhelming. i have seen a lot of people using the linksys
WRT54G.

could someone share some experiences with this piece or with openwrt? is
it really that easy to use the linksys with openwrt and are there any
tradeoffs using linux instead of the original firmware?

thanks, gottfried


signature.asc
Description: OpenPGP digital signature
-- 
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] network restart drops eth0 connection :(

2005-09-16 Thread Gottfried Szing



David wrote:
I'm just building a brand new Ubuntu server box. Unfortunately I put in 
the wrong address for the nameserver so I changed it manually (edited 
/etc/resolv.conf and /etc/network/interfaces) and now if I restart 
networking I lose the eth0 connection completely! ie, ifconfig only shows 
loopback.


If I completely reboot the machine, eth0 comes back and works fine until 
the next time I restart networking :(


Can anyone suggest what I'm doing wrong? 


disclaimer: AFAIK is ubuntu very similar to debian, so this suggestions 
might not work if the differences between debian and ubuntu are to big.


the network scripts utilizes the commands ifup and ifdown (located in 
/sbin). so you can try to call the commands ifup/ifdown directly and to 
turn on the verbose-mode.


e.g. as root

$ ifdown -v eth0
$ ifup -v eth0

because the network-script does more than just bringing up the 
interfaces, you could also run the network script in debug mode and 
check the output for possible error messages.


$ bash -x /etc/init.d/network restart

hth, gottfried
--
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] Konqueror Browser identification

2005-09-15 Thread Gottfried Szing

hi


I've installed Konqueror and it's being blocked by a Squid rule

 acl ie_browser browser ^Mozilla/4\.0 .compatible; MSIE
 http_access deny ie_browser



Does anyone know if:

a) there is a difference between Konqueror and MSIE so that the squid 
pattern can be refined.


what do you mean with difference between konqueror and MSIE exactly? 
you mean the identification sent or differences in javascript, activex, 
rendering, security, ...?


for a list of agent strings you can consult the page
http://www.zytrax.com/tech/web/browser_ids.htm


b) you can change the way Konqueror identifies itself.


start konqueror - settings - configure konqueror - browser 
identification.



hth, goofy
--
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] Cheap wireless card for Ubuntu

2005-09-12 Thread Gottfried Szing

hi


Is there wireless card that works automagically with Ubuntu?

Cheap would be nice but if not which cards work well using the
ndiswrapper?

Any recommendations / thoughts would be good.


my experience with kubuntu (based on hoary 5.04 AFAIR), which is the 
same as ubuntu, but instead of gnome as window manager kde is used. i 
have a netgear pci-card (54mbit) with an  orinoco-chip on it and it 
works almost automagically.


using tools provided by KDE works as long no encryption (WEP) is used. 
if i turn on WEP on the AP (dlink AP router with dhcpd,...), i was not 
able to use the kde-tools any longer. i had to use console progs like 
iwconfig and dhclient to join the network and to request an IP from the AP.


i dont know if ubuntu provides better tools for joining a WEP-secured 
wifi-lan.


br, gottfried
--
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] Manageable Linux Bittorrent Client?

2005-09-01 Thread Gottfried Szing


Terry Collins wrote:
 Is there a Linux bittorrent client that provides
 a) download queueing?
 b) download capping?
 c) upload capping?
 
 I've rolled out the Debian bittorrent  bittorrent-gui debs and whilst
 I'm prepared to devote a whole machine to this purpose I am not prepared
 to allow it to clog up my internet link. So I really need something that
 provides the above features.

my favorite for download on linux is still the btdownloadcurses, because
it is very handy and can be run in headless-mode (nice if the prog is
run on a server).

maybe the options max_upload_rate and max_download_rate solves problem b
and c.

hth, goofy
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux

2005-06-26 Thread Gottfried Szing

hi sam

My name is Sam Mclean, I live in NSW and I’m in the process of 
customizing Linux on my computer. As you can imagine, I run into quite a 
few problems doing this and it’s annoying waiting 72 hours for a reply 
on a forum. Can you recommend someone(s) I can email for support with 
Linux related problems?


you have already found the best way to get - sometimes fast, sometimes 
slower - email support: just mail to the list. everyone on the list who 
is able to help will reply.


i think this is the idea behind such a mailing-list. ;)

cu, gottfried
--
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] Is Linux for losers?

2005-06-22 Thread Gottfried Szing



Carlo Sogono wrote:


Interesting article here.
 
http://www.forbes.com/technology/2005/06/16/linux-bsd-unix-cz_dl_0616theo.html 

 
Your thoughts?


despite the fact that linux-kernel's drivers are sometimes buggy, 
especially during the first stages of development (i can remember that i 
had to boot win95 and start the wintv-application provided by hauppage 
before i was able to use linux-hauppage-drivers and xawtv) and maybe the 
 quality of the kernel-code is not always at level that someone expects 
to be for an OS, linux is really stable and provides for me a lot more 
features and a better hardware support than any BSD.


furthermore, the distributions a'la debian, redhat, mandrino (?), ... 
provides loads of packages ready to install as a binary. ok, its nice 
that *bsd comes with all the tools needed, but from my experience most 
of the tools are not as powerful as the gnu or other opensource-versions.


personally, i like bsd-like operating systems for servers and the 
company i am working for runs linux, solaris, and bsd. the only OSes for 
 desktops for me are linux and mac os x. maybe also win2k (sorry, it is 
company-policy).


the real problem - from a java-developers view - is the support for java 
5 and the certification of some companies like bea or oracle to get 
support for bsd. so, as long there is no commercial support from these 
companies, bsd is not of any interest for me.


so, as a user of linux, i dont feel as a loser.

anyway, whatever some guys says about linux and also about bsd, win, ... 
  i will use the OS that fits the criteria best, regardles the FUD of a 
de radt or a ballmer or a bill gates.


just my 2 euro-cents, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] converting .ics calendar files

2005-06-20 Thread Gottfried Szing

hi,

does someone of you now a way to convert a ics-calendar-file (published 
by firefox/thunderbird) to an HTML-file (or php, ...)? the idea is to 
make my personal calendar available to others via apache without 
allowing them to access the ics-file directly.


thanks, gottfried
--
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] converting .ics calendar files

2005-06-20 Thread Gottfried Szing



Roger Barnes wrote:

I tried phpicalendar on my site, it looks nice, works well for what it is and 
sounds like a good fit for your needs.

Unfortunately, the project may now be defunct, but the latest release can be 
obtained from

http://sourceforge.net/projects/phpicalendar/


oh, this one is very nive. worked out of the box on my debian-powered 
server. absolutly perfect.


thanks, gottfried
--
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] Perl script

2005-06-17 Thread Gottfried Szing



Kazik Malenczak wrote:
i have a big hard drive on my debian box where i store mainly software and a 
few tunes. what i would like to do is create an index.html file for each 
directory and subdirectory. What I dont have is the scripting skills to do 
this. I reckon theres probably a Perl script (Id like to do it with Perl so 
I can learn a bit about it) to do this somewhere out there already. Can 
someone point me in the right direction or, even better donate some time to 
holding my hand as I learn to do it myself (which might take a while as the 
last time I did any programming was way back in the late 80s with Pascal and 
Basic)   ;s 


just in case you want to make the directories available via apache, you 
can achieve this with mod_autoindex.


see http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html

this module generates the directory listings on the fly and you dont 
have to update the static html-files every time you add a file/dir.


br, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] bugtracking tool

2005-05-25 Thread Gottfried Szing

hi guys,

does somebody know a nive OS-bugtracking tool for linux with an 
webinterface that is not so bloated like bugzilla but more powerfull 
than a spreadsheet? a spreadsheet cannot handle a history for a bug 
and bugzilla is to powerful.


it would be enough to submit a bug, to maintain a history of the bug 
(comments, ...) and to categorize a product into components to which a 
bug can be assigned to. optionally attachments and notification of the 
bugsumitter and coder would be nice.


the users are technicians and developers.

any ideas?

thanks, gottfried
--
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] bugtracking tool

2005-05-25 Thread Gottfried Szing



Chris Collins wrote:

I'd have to recommend Mantis Bug Tracker (http://www.mantisbt.org/).

It's a web based bug tracking tool based on MySQL and PHP.

It's most prominent features include ease of use, email notifications, 
audit trails etc.  More details and a demo server are available at the 
homepage above.


this tools looks very promising. easy userinterface and easy 
installation (with debian).


have you ever tried the CVS integration? i have used similar integration 
of subversion into trac (http://www.edgewall.com/trac/) and this was 
very helpful.


anyway, i will gice mantis a try.

br, gottfried
--
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] setting system binaries to 0700 ?

2005-05-23 Thread Gottfried Szing



If you did 'yum update ' regularly (every day, at the very least))
you most likely would not have been hit by this exploit.

That is the best way/ path of least pain.


Is it? In a production environment?


another question: is it really necessary to have executables like 
wget/curl/lwp installed on a prod-system? as far as i have seen 
installed servers in a prod-env, i have never seen wget/curl/... other 
download-tools installed.


why? 1. because the prod-servers have been behind a firewall with no 
direct access to the internet (except for the traffic allowed) and 2. 
because downloading and compilation of the executables were done on a 
machine with direct internet-access and installed compilers a.s.o. and 
the binary has been transfered via scp from the download-machine to the 
servers - after a lot of checks for vulns and possible side-effects with 
already installed versions.


of course it make sometimes sense to have download-tools on a server, 
but not for servers in a professional-env.


just my 2-euro-cents, gottfried
--
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] Compilation of driver

2005-05-19 Thread Gottfried Szing
hi
Would anyone be willing to glance at the written instructions and then 
answer questions I have about them via either email or telephone (I'm in 
Sydney) ? If so, I'd be very grateful.
if his first language is german i could be able to help you with the 
translation and with questions.

br
--
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] Group Calendaring Application

2005-04-21 Thread Gottfried Szing
 I was just looking into this a bit more, and discovered that this is
 based on an OSS project called Open X-Change
 (http://mirror.open-xchange.org/ox/EN/product/)
 The community version can be seen here
 (http://mirror.open-xchange.org/ox/EN/community/)
 Could be a less costly alternative, although I haven't quite confirmed
 whether it's GPL'd FOSS.


just my experiences with this open xchange: installation on debian was not
really easy and took me about a day to get everything running (postgresql,
ldap, apache, tomcat, ...) and setting up the right permissions for
everything on the system. be aware to spend maybe more than a day if you
dont have sound java-knowledge and no experience with apache/tomcat/ldap
because sometimes it is necessary to change java-classes.

but afterwards the web interface worked fine and the webmail is really
amazing.

i have tried to sync with ical and iaddressbook from apple, but to no
avail. events added on the powerbook were not replicated to open xchange
and vice versa. this was really frustrating because after spending a day
in front of the computer instead of sitting in the park the most important
things didnt work.

and be careful with updating the system because on apt-get upgrade
caused a lot of troubles with the ldapd.

cu, gottfried

-- 
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] ssh scan and iptables

2005-04-21 Thread Gottfried Szing
 does somebody of you have a better idea for this? maybe calling an
 script which adds an iptables rule with an expiration?

 I have done something on the simplier side, scan the syslog on the hour
 and find these attempts and then find their ip address (using awk  grep
 - you could probably extend this to say allow for 2-3 attempts instead of
 one) then I have a iptables chain called blocked which tarpits all ip
 address in the list, this chain is called as the first line of INPUT,
 FORWARD.  This way bad address stay on the blocked list for about 24
 hours.

there is already a tool which helps to solve this in this way, but this
solution is not realtime. ie the logs are scanned every hour and IPs are
blocked after the scan (when everything is over).

it would be nice to configure sshd/pam/... to call a script after a
certain number of failed logins within a small period (eg 3 attempts with
1 minute) from the same IP and the script adds the necessary iptables
entries to block this IP (removal can be done by another script called by
cron).

about snort: i have snort running and i have added the bleeding edge
rules to my configuration. these rules contains lines for ssh scan
detection, but this does not work. even failed logins by ssh are not
really recognized by snort.

anyway, i will take a closer look at snort. this seems to be the best
approach.

thanks for the answers.

cu, gottfried

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ssh scan and iptables

2005-04-19 Thread Gottfried Szing
hi guys,

last week was a discussion on this list about ssh scans and almost
everyone (including me) is ignoring the script kiddies.

but i was thinking about this problem and came up with the (not new, i
know) idea to block IPs from which subsequent failed login attempts came
for about an hour or so. i played around with several tools but none of
them did exactly what i wanted.

what i want to achieve is to detect failed logins via SSH (e.g. with a
limit of 3 attempts within one minute) and to drop/deny packages from the
source IP via iptables for about one hour.

because i dont start sshd via a tcp-wrapper (various reasons for this) and
my sshd ignores the hosts.deny/hosts.allow files, i cannot add the source
IPs which i want to block into one of these files. this also wouldnt solve
the problem with the expiration of the rules.

does somebody of you have a better idea for this? maybe calling an script
which adds an iptables rule with an expiration?

thanks, gottfried

-- 
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] GCC question

2005-04-18 Thread Gottfried Szing
hi guys

while( *strptr)
{
 char foo=*strptr;
 printf(%c, ++foo);
 ++strptr;
}

isn't the ++ before the foo-var wrong? AFAIR this increments the value
before it is supplied tot the printf-function, isnt it? shouldnt be just
the unmodified foo supplied?

cu


-- 
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] finding a file

2005-04-15 Thread Gottfried Szing

 # cd /proc
   ^^^

 # ls -l kc*
 -r1 root root 948887552 Apr 15 18:41 kcore

 what is it and do I need it ..?

 It's a core dump of memory.  Do: size core

 and it will tell you what program dumped it, and then think back to what
 you were doing with that proggy at 18:41 on 15 Apr and think what might
 have gone wrong; otherwise rm -f kcore

i think you haved missed that the file is in the proc-directory and
therefore it is not a real file with that size. the files in the proc-fs
are just snapshots of kernel-internal datastructures and other stuff like
configuration and statistics. so removing the file should not be possible
(i have never tried it).

from my kernel doc (/usr/src/linux/Documentation/filesystems/proc.txt)

=
 kcore   Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
=

so, never worry about files in the /proc because they do not use real
hard disk space.

cu

-- 
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] Someone's bruteforcing my debian box...should I worry?

2005-04-12 Thread Gottfried Szing
hi

 Has anyone else experienced this?

now and time, but i am not really concerned about it.

 Also, are they likely to try more cunning techniques (ie. exploits) if
 this yeilds no results for them? Is there a way I can find the person
 behind this?

i dont think that you can track the user back with the ip address logged
(dial in, zombies,...).

what i have done is some debian hardening [1] and make always sure that
the box is always up2date.

this makes me sleep very well even i know that there are some bad guys in
the world (or should i say script kiddies?).

hth, gottfried

[1] http://www.debian.org/doc/manuals/securing-debian-howto/

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] mono on debian

2005-04-11 Thread Gottfried Szing
hi,

does anyone know if there is a deb-repository that contains packages for
mono? i have tried some of the repositories listed in apt-get.org, but
there is always a problem with some depencies (eg gtk-sharp is missing,
missing reference to /usr/share/dotnet/monodoc/browser.exe, ...).

and http://pkg-mono.alioth.debian.org/ contains only packages for unstable
(i am currently running testing).

any ideas where to find packages for debian?

thanks, gottfried

-- 
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] How to use wget when username contains a @

2005-04-07 Thread Gottfried Szing

Michael Kraus wrote:
G'day...
 
I'm wanting to retrieve some files of a web server using wget.
 
Unfortunately though the username contains a @ symbol, and the man for
wget indicates that the way to do what I want would be to:
 
wget -r ftp://username:[EMAIL PROTECTED]/dir/file 

However, the username contains a @
How do I work around this?
in this cases i use curl (just another download tool), because this 
allows me to specify the username and password in the netrc-file in the 
user's home directory. this is the work around for me. i think wget also 
supports this way of authentication.

i suggest to use a different tool like ncftpget for ftp transfer.
cu
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: FW: [SLUG] Possible hacker Attempt

2005-04-07 Thread Gottfried Szing

Phill wrote:
What is AFAIR
AFAIK this means As Far As I Remember ;)
cu, gottfried
--
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: Speaking of wireless...

2005-04-07 Thread Gottfried Szing
 Yep I will vouch for that. Last night I was on a 1/2hr train ride with
 my lappy open, and came across hundreds of APs, over half of them open.

 It's quite fun to just sit and watch them roll by the screen as the
 train goes past.

i was for one year travelling through parts of asia, australia, NZ, USA,
canada, and parts of europe and for the whole year i havnt paid a cent for
internet access. even in the smallest villages (like wagga wagga or in
condingup in WA) i was able to find an AP without protection. pretty easy
to join the AP and to use the internet access.

funny thing: in victor harbour (SA) was a AP that opened me access to a
company network with access to printers and other windows shares. and one
server of the network was packed with install cds, movies, and mp3s.

just my 2 euro-cents, gottfried

-- 
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] Possible hacker Attempt

2005-04-06 Thread Gottfried Szing
hi

 GET /default.ida?X...(lots of X's)...X
 %u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%u
 9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u%u00=a HTTP/1.0
 404 300 - -

isn't that the code red worm? still in the wild?

 SEARCH /\x90\x02\xb1\.. (x02\xb1\ repeats hundreds of times)
 .\ x02\xb1\x90\...(repeats hundreds of
 times)...\x90\x90\x90\x90\x90\x90 414 341 - -

AFAIR this is an request that uses an exploit of the IIS and webdav
component (unchecked buffer).

but as long as you don't have IIS and windows running, nothing to fear
about. both attacks works with IIS only and can be ignored on apache. they
are just annoying (messing up the logs) but they cannot compromise the
system.

cu

-- 
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] anti virus

2005-03-22 Thread Gottfried Szing
 clamav

i am using exim4 + clamavd (virus) + spam assassin in combination and this
works really create. no problems with this configuration for more than one
year. (note: on a debian system and not on fedora).

cu

-- 
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] anti virus

2005-03-22 Thread Gottfried Szing
hi

 we turn away more mail than we recieve. and plenty of spam still gets
 through. but no virii.

i am really curious, but is someone using SPF or similiar techniques to
reduce the amount of spam? there are lot of rumors about the success of
SPF-like methods, but the rumors range from yeah, great success to hm,
not really useful and doesnt not work at all.

has someone real-world-experience?

cu

-- 
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] anti virus

2005-03-22 Thread Gottfried Szing
 This one time, at band camp, Gottfried Szing wrote:

 i am really curious, but is someone using SPF or similiar techniques to
 reduce the amount of spam? there are lot of rumors about the success
 of SPF-like methods, but the rumors range from yeah, great success to
 hm, not really useful and doesnt not work at all.

 Skin Protection Factor?  Spam Protection Factor?  I'll take 30+ please!

OT
but be carefull: dont buy a 30+ in europe because here in europe a 30+ is
like a 1- in australia!
/OT

sender policy framework - http://spf.pobox.com/

hth

-- 
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] wiki choice

2005-02-12 Thread Gottfried Szing
hi
I am a big fan of moin, and it does all of these. It is simple,
easy to hack on, has a good security record, and generally rocks.
MediaWiki is also a good choice.

I just install moin and the README has a task that says to warn when 
upgrading because the wiki does not always work properly when
upgraded. This is a serious concern, data preservation is all
important.
to jeff: this was one of the reasons why we have decided to use a wiki 
which uses a db as backend.

another reason was that IMHO it is easier to move the db to another 
hardware (separation of frontend and backend) or a new server. if the 
server that is containing the data runs out of space, moving all the 
data to a new server and just changing the db-connection settings is 
easier to do than moving a whole filesystem and mounting via NFS or SMB 
or sth else.

btw: i wouldnt use a filesystem mounted from a remote server as 
datastorage with excesive data access (like a wiki usually does).

and IMHO using a DB as backend is not a bad idea in the first place: 
AFAIK wikipedia.org uses also a DB as a backend and there it seems to work.

cu, gottfried
--
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] wiki choice

2005-02-12 Thread Gottfried Szing
hi
I am a big fan of moin, and it does all of these. It is simple,
easy to hack on, has a good security record, and generally rocks.
MediaWiki is also a good choice.

I just install moin and the README has a task that says to warn when 
upgrading because the wiki does not always work properly when
upgraded. This is a serious concern, data preservation is all
important.
to keep the discussion on-topic: has someone tried to use one of the 
wikis listed here:

http://en.wikipedia.org/wiki/UseModWiki
cya
--
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] wiki choice

2005-02-11 Thread Gottfried Szing
hi

 I want to set up a really simple wiki for internal use and I looked at
 the debian archives and there are a huge number of wiki's.  The thing is
 which should I use?

 Requirements are:

beside the list of requirements of ken, maybe someone can point me to
a wiki which is fast. most of the wikis i have tried so far are incredible
slow. and with slow i mean really user-get-bored slow during browsing the
wiki and in the end noone uses it.

TIA, gottfried

-- 
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] wiki choice

2005-02-11 Thread Gottfried Szing
 beside the list of requirements of ken, maybe someone can point me to a
  wiki which is fast. most of the wikis i have tried so far are
 incredible slow. and with slow i mean really user-get-bored slow during
  browsing the wiki and in the end noone uses it.

 I suppose this begs the questions:

you are right, i should have provided all these. i hope my - still bad -
hangover from yesterday excuses this at least a little bit :)

 Which ones did you use?

we have tried several wikis and after some testing we have chosen the
fastest one with an mysql backend. i am sorry, but this lies a year back
and i cannot remember the name of the actual wiki.

during the tests we had no real problem with the performance. everything
was fine until the number of users increased (caused by the popularity of
the tool, which at least showed that we have made at least the right
decision for a useful wiki :))).

we have used several tools for sql-monitoring and with the help of the
tool we found out that the wiki makes a huge number of sql-selects and in
combination with a bad db-design (no/wrong index and much more like this)
the load of the server was always at the ceiling and above.

tuning mysql didnt help and separating the wiki-server from mysql-server
just moved the load to the mysql-server. at this time the rdbms supported
were mysql and postgresql, but none of them were fastenough to handle the
sql-requests.

from my point there was no way to improve the performance of the wiki and
in the end the wiki-project was stopped.

 What sort of hardware were you using?

the hardware was a typical for a server for a small company an x86 with
2mhz, 1 gig ram. because the server was already in the company, some guys
brought up the idea to setup a wiki for team-communication and as a kind
of FAQ.

the server was IMHO fast enough to handle the small load and the server is
AFAIK (i have left the company about 1,5 years ago) still in use and
provides now services like proxy, webmail, and much more.

so maybe someone knows a wiki (preferable with db-backend and not a
file-system based on) that is faster and can handle more than only 2
concurrent users.

br, gottfried



-- 
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] diffstat, Ctrl-R, pushd/popd

2005-02-09 Thread Gottfried Szing
 1/ Ctrl-R history searching

 When using the shell you pretty quickly work out that pressing up will
 search backwards through you history, however it tooks me ages to find
 out that you could search backs through the history by typing Ctrl-R
 and a search string.

 One of my favourite is M-.  (thats alt or maybe windows key and
 full-stop)

 That will cycle through the last word on the last commands.

for those who are using the bash a nice list of shortcuts:

http://hajek.stat.ubc.ca/~harry/local/bash.html

cu

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [chat] Re: Gmail invites off-topic on SLUG (Re: [SLUG] Gmail)

2005-01-04 Thread Gottfried Szing
hi guys

  I still have 2 more Gmail invites, if anyone is interested

 Can Gmail invites go either to [EMAIL PROTECTED], or better yet, to
 the Gmail Invite Spooler at http://isnoop.net/gmailomatic.php please?
 It's off-topic and it frustrates people a little because many technical
 mailing lists have been flooded with Pssst, want some Gmail, leetle
 boy? messages over the last six months.

i have tried to open the url and to find a way to send them my
spare invites, but i cannot open the homepage (timeout after a long
time). is this a problem with my connection or is the server s
busy? does anyone know how to send without having to wait years
for a response by the server?

TIA, gottfried

-- 
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] perl script execution without 'perl script'

2005-01-01 Thread Gottfried Szing
# ./pflogmail
bash: ./pflogmail: /usr/bin/perl: bad interpreter: Text file busy
# perl pflogmail
can you make sure that the file is not a file in dos-mode (additional
control-M as line break). its a good idea to check this.
HTH
--
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] Evolution Importing Netscape Mail

2004-03-25 Thread Gottfried Szing


Terry Collins wrote:

Okay, for the umpteeth time I'me trying to give Evolution a run.

The problem is whenever I start it new and it goes to import the old
mail from Netscape, the import dies with Too many open files.
It there someway I can get around this?
what i have done a long time ago was to install a local imap server and 
to use the server as a intermediate storage for the mails. i have copied 
them to the imap and evolution used imap to access the mails. very easy 
and straight forward. also possible to use tools imapsync or similar to 
synchronize. this works of course in both directions.

cya, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] security problems and next steps

2004-03-16 Thread Gottfried Szing
hi guys,

if someone finds a security hole in a web application and wants to 
notifiy the admin of the page, what do you suggest are the next steps wo 
be taken to ensure that the admin takes the report seriously?

i mean, just sending the report without description about further steps 
(publication after some time, ...) is not really helpful. most of the 
reports will be ignored or simply forgotten.

does someone have a link to a page or can give me some suggestions?

cya, gottfried
--
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] security problems and next steps

2004-03-16 Thread Gottfried Szing
hi slugs

if someone finds a security hole in a web application and wants to 
notifiy the admin of the page, what do you suggest are the next steps wo 
be taken to ensure that the admin takes the report seriously?


Make a phone call if you can. For a start, it's more personable, and the
admin on the other end of the line may have an easier time understanding
that you're trying to help. Somewhat cynically, you haven't written it down,
so it can't be used as evidence against you, and you can more easily control
the flow of information about yourself.
but i think that hiding all the information from the other side can 
cause 2 problems:

1. spoken information is never as accurate as written information. i 
mean that describing in words a problem can lead to missunderstandings 
(wrong ports, no basic understanding, ...).

2. control of information flow: this is just an illusion, because after 
calling them, i have lost control.

but i agree to the part about no evidence against you. :)

after some searching in the web i have found 2 interessting pages at 
cert. http://www.cert.org/tech_tips/incident_reporting.html - this is 
about the way, how a report should be constructed, to whom it should go, 
and much more. http://www.cert.org/kb/vul_disclosure.html is the way how 
cert handles reports and the most interessting thing (for me) is, that 
they wait 45 days before disclosure.

i will see how long it takes till the admin of the site responds. i have 
already sent a report to the office address (the only email address 
listed in the contact page) and they forwarded the report to the admin.

thanks, gottfried
--
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] security problems and next steps

2004-03-16 Thread Gottfried Szing


Mary Gardiner wrote:
On Wed, Mar 17, 2004, [EMAIL PROTECTED] wrote:

If the bug is in an opensource web app post it to the app's bugzilla
list to resolve it. ;-)
Is this good etiquette in the case of serious security breaches? It
potentially alerts the entire web-using world to the existence of the
problem. If the fix is difficult or complex, this potentially allows
exploits to be developed before fixes, which is what you try and avoid
when you're reporting a security problem.
I would tend to leave the decision to the developers about whether to
post the bug in any publicly accessible place. Of course, the real
problem is when the developers are unresponsive.
and this describes the two pages of the cert very well. report the 
incident and wait a certain time. and if nothing happens or no respond 
is received, undisclose the bug (via bugtracking tool, bugtraq, ...). 
but this depends always on the severity of the problem. in any case 
someone should give the responsible person the time to understand, to 
analyse and to respond to the problem. and of course the other party 
should have the time to fix the problem without introducing new problems.

cya
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] temporary email addresses

2004-03-12 Thread Gottfried Szing
or: email addresses with an expiry date.

hi slugs,

is there a way to generate email addresses, which have an expiry date. 
what i want to achieve is to use these email addresses for posting in 
news groups and for site registration.

typical usecase:

1. want to register at a specific page, post in a newsgroup, ...
2. generate for this purpose an email address (web, console,...)
3. enter the address in the register form, from field, ...
so, now there are two scenarios: in the case my mailserver receives a 
mail before the expiry date:

4a. my mail server (exim4) receives the email and forwards them to my 
local mail account.

and after the expiry date:

4b. my mail server discard the messages or does not accept the mail 
(with a user unknown or like this).

my current system uses (again thanks to the help of the list) exim4, 
amavis, procmail, and spam assassin (called by procmail). any 
suggestions for an tool which allows an easy integration into the system 
without changing the system too much? the email addresses dont have to 
be human readable, because i would use the just for site registration 
and stuff.

TIA, gottfried
--
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] temporary email addresses

2004-03-12 Thread Gottfried Szing
hi

is there a way to generate email addresses, which have an expiry date. 
what i want to achieve is to use these email addresses for posting in 
news groups and for site registration.
I know of a couple of qmail solutions that should be generalisable to
other environments + toolchains:
  http://jclement.ca/software/datedmail.py/
  http://www.palomine.net/qdated/
i think it should be possible to use qdated with my current procmail 
configuration. changing the exim4 config is not really something i do 
every day. and when i touch something, it also took me days to put it 
straight. basically it should be possible to call the qdated-check from 
procmail and check the exit code, which should be 100 if the mail is 
outdated.

but: there is still the problem that exim has to accept email addresses 
like realuser[EMAIL PROTECTED], which means it has to do a 
wildcard lookup. i hope i can figure out how this can be configured, but 
till now no idea.

thanks for the ideas, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] imap sync

2004-03-05 Thread Gottfried Szing
hi slugs

i am using mozilla with imap, but the support of imap is not really 
usable if there is a slow dial up connection. mozilla first downloads 
the headers, afterwards the message body and when i move the message 
into a local folder, it downloads the message body again. and this is 
really boring with large messages and dial up connections.

is there a way to sync imap folders with the local mozilla mail folders 
without restarting mozilla? til now i have used scp to copy the whole 
inbox to a specific position in the local mail storage folder, but 
afterwards i had to restart mozilla.

any hints are welcome, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] exim4 and amavisd

2004-02-08 Thread Gottfried Szing
hi slugs,

i have tried to setup amavisd-new + exim4 + clamavd. so, this seems to
work to a certain degree :(( clamavd is running and is working. also
exim4 as a stand-alone mail server (no amavisd integration).
but the problem is, that when i try to follow the instructions posted on

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228717

the mails are no longer delivered. exim accepts the messages via port 25
or the command line mail tool and thats all. no further processing is done.
the mainlog of exim4 shows the following line ([EMAIL PROTECTED] is a
placeholder, not the actual value):
004-02-09 03:00:50 1Aq0aV-r8-MK == [EMAIL PROTECTED] R=amavis T=amavis
defer (-53): retry time not reached for any host
exim is not forwarding the mails to the amavis daemon. i can turn of
amavisd and there is no error message about a rerfused connection in the
exim log.  when i remove the amavis config files mentioned in the bug
report above from the exim-config-dirs, evrything is working fine.
amavisd and clamavd dont write anything into there logs - except the
startup messages.
so any ideas?

TIA, gottfried

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] anti virus tool

2004-02-06 Thread Gottfried Szing
hi,

i am sure that there is someone who is using debian. has someone a 
suggestion for an antivirus package, which is free (for personal use 
only), comes as a debian package (for automatic update of the virus 
database), and cooperates with amavisd (nice to have as long as it could 
be used in a procmail script)?

any suggestions before i have to study all newsgroups of the past 2 
years to find the best solution ;)

TIA, gottfried
--
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] powerbook and linux

2004-02-02 Thread Gottfried Szing
hi craige

yes and no. i guess, i am currently in the situation that most windows 
users are. i want to see if everything of the hardware is working. i 
know that the powerpook is supported well, but can i connect my canon 
ixus to the system and does it work? can i connect the mem-card-reader 
and can i use it? is the performance acceptable (i think yes)? and how 
about the monitor, wifi card, usb, ?


Come to this months DebSIG (to be announced shortly) and have a poke
around the various powerbooks that will be there. It's starting to feel
that to attend DebSIG you must be running Debian on a Mac :)
regarding to the slug-homepage the debsig is on feb 18th. and i am sorry 
that after the 14th i am somewhere between sydney - melbourne - tassi - 
adelaide. maybe i should change my travel plans and leave sydney later. 
:) i hope i can manage to attend to the meeting in march - hope so.

thanks, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] powerbook and linux

2004-01-30 Thread Gottfried Szing
hi slugs,

today at the [EMAIL PROTECTED] i have seen a couple of powerbooks and at least 
one ibook with linux on it. so i am sure that someone could help me. i 
am also a proud powerbook user, but i dont want to change the 
configuration of it. no, repartitioning of the hd is not possible. need 
the machine 24x7.

but: is there a way to boot a linux from cd - and just from cd? sth like 
a gentoo, knoppix, ...? any ideas? of course with the latest/the best 
software like gnome aso :)))

any suggestions?

cya, gottfried
--
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] powerbook and linux

2004-01-30 Thread Gottfried Szing
hi

first the answer to chris' mail: i cannot access the mirror 'cause using 
a prepaid telpaficic dialup.

today at the [EMAIL PROTECTED] i have seen a couple of powerbooks and at least 
one ibook with linux on it. 
The iBook might have been me. It runs Linux 99.9% of the time because
I find OSX a PITA.
osx is really nice and has many nice features. ok, it is not linux und 
and not another bsd. and thats the reason. i miss to work on a system 
with full unix support. yeah, i know. osx is based on blabla and it is 
a bsdbased and 

but it is not the same. i mean i have to use fink *yieks* to get the 
full power of the system. the tools delivered by apple are not the good 
and much tools are missing.

but: is there a way to boot a linux from cd - and just from cd? sth like 
a gentoo, knoppix, ...? any ideas? of course with the latest/the best 
software like gnome aso :)))
Could you live with doing all your work on an external USB harddrive? That
might be possibility.
yes and no. i guess, i am currently in the situation that most windows 
users are. i want to see if everything of the hardware is working. i 
know that the powerpook is supported well, but can i connect my canon 
ixus to the system and does it work? can i connect the mem-card-reader 
and can i use it? is the performance acceptable (i think yes)? and how 
about the monitor, wifi card, usb, ?

so, before i screw my whole system up, i want to see, if everything is 
working fine and everything is supported. and i think the best way is cd 
to boot linux from and to see, what happens - without changing the 
system. :)

you know: insert cd, boot the system, mess around and reboot a fully 
functioning system.

cya
--
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] Shell test for pure existence of file?

2004-01-23 Thread Gottfried Szing


Harry Ohlsen wrote:
Is there a way in sh or bash to check purely whether a file exists?  All 
of the tests I can find do things like does it exist *and* is it a 
normal file or ... *and* is it a directory or ... *and* is it a 
character special file etc.

What I'm looking for is the equivalent of the C expression

   access(path, 0) == 0

Thanks in advance,
man test on command line will help you,

cya
--
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] Java debugger

2004-01-22 Thread Gottfried Szing


andrew wrote:

I'm trying to run the java debugger on my Mandrake  9.0 machine,
and for some reason, when I try to use the java debugger, either using ddd
or the command (for example) % jdb Look locsS.txt and then 
[snipp]

/usr/local/j2sdk1.4.2/jre/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,address=pc162159.napier.ac.uk:33006,suspend=y 
Look locsS.txt
have you ever tried to run the command above without the JDB? jdb is in 
your case doing nothing else than starting a jvm in debug mode (line 
above) and to attach to it - all in one step, nice, hugh? :)

so, what you can do is to run (replaced the hostname with localhost)

$ /usr/local/j2sdk1.4.2/jre/bin/java -Xdebug -Xnoagent \
   -Djava.compiler=NONE \
   -Xrunjdwp:transport=dt_socket,address=localhost:33006,suspend=y \
   Look locsS.txt
and after startup to run

$ jdb -attach localhost:33006 

AFAIR there was also a dbgtrace command line option for jdb. try this 
too. i am sorry, but i cannot check the correct syntax. currently i dont 
have a system with an installed java.

cya, gottfried
--
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] Java debugger

2004-01-22 Thread Gottfried Szing


andrew wrote:
I'm trying to run the java debugger on my Mandrake  9.0 machine,
and for some reason, when I try to use the java debugger, either using ddd
or the command (for example) 
i forgot to ask in the last mail: besides the troubles with JDB, why 
dont you use a fullpowered IDE like intellij's idea or eclipse. makes 
live easier than this jdb-tool for hardcore-java-freaking-OO-hacker :))

cya, gottfried
--
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: [chat] ot: win98 firewall, what to use ?

2004-01-20 Thread Gottfried Szing
hi

[reformatted mail because of time travel - answer was before question in 
the mail :)) ]

I need to setup a win98 on a cable modem, what's a good firewall to 
 use with win98 ?

Knoppix? ;-)
dont be so restrictive: use any *nix. ok, preferred any linux, but bsd 
is also quiet fine. i think the mail is now very OT.

and now i am playing the ignorant linux user who cannot accept that 
someone is using windows (thats in real not the case, really!): is this 
a really good idea to install win98 now. i think the facts that support 
will stop within a short time (a year or so). not only from MS, i reckon 
also all other vendors will stop to support there products for a dead 
product!

wouldnt be moving on to a win2k or win *tele tubby land* xp a better and 
more secure?

gottfried

--
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] file transfer with speed limit

2004-01-18 Thread Gottfried Szing


Alexander Samad wrote:

Why not use tc

and traffic shape the modem connection ?
the problem in my case is, that the client is a powerbook with the 
original mac os x and not a debian or other linux on it.

cya

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] file transfer with speed limit

2004-01-17 Thread Gottfried Szing
hi,

maybe to pick up the discussion about the favorite tool in use, which 
has appeared two weeks ago on this list.

does someone know a tool for file transfer which offers a way to limit 
the traffic speed? the problem is that i am using a dial up connection 
and during the download everything responds in slow motion. :(( so, my 
idea is to limit the download speed, eg 50% of the whole bandwidth, and 
the rest is dedicated for surfing and reading mails.

protocol (scp, http, ftp, ...) does not matter, because i want to 
download the files from my on server. and i dont like to install with 
QOS and stuff like this. dont want to change my kernel config for this.

TIA, gottfried
--
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] ssh with packet loss

2004-01-14 Thread Gottfried Szing
hi

does any of your gurus here have an idea to make the recovery of the 
ssh-session faster?
nfi about how to make ssh recover faster, if it's at all possible, but
have you looked at using mtr to show you if it's packetloss and/or
latency?
mtr rocks for network probs :)
yep, but it only confirms my first guess. it is the high packet loss on
the wifi-segment. but after some investigation on the net i have not
found a solution for my problems.
it is also very interessting, that most of the time the packet needs to 
flow around is on a connection from sydney to san francisco (i guess the 
abbreviation stood for san francisco, because hop after was definitely 
chicago).

thanks for the help, gottfried



--
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] ssh with packet loss

2004-01-14 Thread Gottfried Szing
hi

if it's definitely packet loss then there's nothing ssh can do about
it.. maybe get a wireless sniffer to examine the signal strength - check
you have good reception.. 

also, i had a wireless AP that the signal strength continually dropped
to 0, causing dropouts of various connections for some people, and also
meant that my laptop effectively couldn't join the network at all :(
yep, that is axactly the problems i have. on some spots in the building 
the connection drops sporadically to zero and causes a packet loss and 
because DHCP is in use also a loss of the assigned ip, because the wifi 
connection has been closed.

yeh, you can see some strange routes sometimes.. i've seen Sydney to
Melbourne via Brisbane and even routes between 2 data centres in Sydney
going through San Fran.. usually when there's big outage somewhere
though and BGP goes wild :)
hehe, the same in vienna/austria. there is a great provider that 
routes packages from one district via the USA and back - very fast when 
you try to VOIP with a study-mate and he is living in the neighbour street.

anyway, thanks for all, gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] ssh with packet loss

2004-01-13 Thread Gottfried Szing
hi slugs,

to reach non-public services (eg imap and pop) on my server, i am using 
ssh for forwarding ports over a secure connection to this server. i 
think this is a common procedure, nothing new to you.

but my problem is that i sometimes use wlan to connect to the network 
and under some circustances the packet loss is very high, caused by a 
low link quality (e.g. neighbours start a machine, to far away from the 
accesspoint, ...).

most of the time the link is fine and the connection is running without 
a problem, but sometimes the ssh connection (the whole connection, not 
only the forwarded ones) stops responding and it hangs for several 
minutes until it resumes. and during this time nothing works. i reckon 
this is caused by the lost packages.

i have tried to turn the verbose mode of ssh on, but this does not help. 
nothing shown. my guess: a problem/feature/config on the tcp-layer below.

does any of your gurus here have an idea to make the recovery of the 
ssh-session faster?

TIA, gottfried

--
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] ssh over ADSL weeirdness

2004-01-05 Thread Gottfried Szing
hi,

Also... what if there's a multi-path route and the packets are going both 
ways, one might be delayed sufficiently to not be picked up as a 
duplicate... but then again the TCP protocols should take care of this ... 
that's what sequence numbers are for.
and thats also confusing me. but if (just a stupid and assumption, that 
this does not work) the tcp is not handling the duplicates which can be 
cause by retransmissions aso, should not the SSH protocol take care of 
the integrity of the data flow? SSH is standing for secure, but shouldnt 
it also check if the data is correct?

another idea: have you tried to scp a file and to check the integrity of 
the file? eg with md5sum? is there also a problem?

cya, gottfried
--
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] Copy Controlled CDs

2004-01-01 Thread Gottfried Szing
Richard Neal wrote:

What I do is ask the shopkeeper Is this a AUDIO CD, if they say yes
and its one of those broken copy protected heaps of shite CD's, then
complain to everyone you can think of because its ILLEGAL to sell copy
protected CD's as AUDIO CD'S because Philips have defined the format as
NOT being copy protected CD's.
maybe i am wrong, and frequently i am i have to admit. but i think the 
problem with the CDs is not the copy protection (or the idea behind) 
itself. i think the real problem philips sees is that the copy-protected 
CDs are violating the CD standard and therefore the MI is not allowed to 
print the cd-label on the cover.

In Europe this created such a stink the CD's has to be removed of the
shelves and clearly re-labelled. This reminds me of iTunes songs and how
i can just describe the situation in austria: there is not really a law 
that you have to label the CDs or to inform the customer that he is 
going to buy crap (i dont mean the music itself :)) ). you have the 
rigth to give the CD back, but doing this is really a pain. it is really 
difficult to go to a big music store like virgin to get your money back. 
and removing from the shelves? never seen this in austria. as long as 
there is no law to force the MI or the music shops, this wont happen.

some buyers are now realising they now have worthless files with a
limited life license. Many people rip out the DRM stuff but they don't
realise that it's illegal to do so and nulls their original license
making them no better than the people using p2p as far as music Nazi's
are concerned.
yep, itunes is - like all the other online stores - a nice and at the 
first look a cheap alternativ. but for is the price for 
limited-use-digital-copy to high. i have to pay for the song, for the 
internet and for the mac and than i have just a copy of bytes, with 
which i cannot do much.

so, cya and happy new year to all, gottfried
--
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] Apache Q

2003-12-26 Thread Gottfried Szing
hi

Directory /usr/share/doc/libhtml-embperl-perl/
[schnipp]
But this did not work

I had to use this
Location /doc/libhtml-embperl-perl/
[schnapp]

I can understand why the second works, my question is why did the first
one not work
it could be a problem with the way apache reads the configuration. i 
have had the same problem with another tool (not perl) and the problem 
in my case was the precedence for the configs.

based on the doc found at [1] you will find out, that the apache 
Location sections are processed in the order they appear in the 
configuration file, after the Directory sections and .htaccess files 
are read, and after the Files sections.

so this could mean that locations are processed at the very end of the 
config-chain. maybe thats the problem.

Plus can any one tell me where I can find the difference between 
just my understanding of the 2 modules

PerlHandler Apache::Registry
runs perl scripts and nothing else. i mean pure perlscripts without any 
html code.

PerlHandler HTML::Embperl
allows you two embed perl code into html code. like PHP or ASP.

HTH, goofy

[1] http://httpd.apache.org/docs/mod/core.html#location
--
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] Programming Book, for Open Source.

2003-12-22 Thread Gottfried Szing
hi edd

what language?

From what I can gather, most projects are either C or Python (correct 
me if 
I'm wrong), so these 2.
i think most of the code has been written in C/C++. python? hm, i think 
this is just for some install/setup tools. applications written in 
python is very rare. i havent seen them in the wild :)

i have no idea what language is used most of the time, but my guess is 
(as noted above) C/C++.

what experience do you have?
Programing at Uni. Mostly in OO using C++, Java, VB, Delphi and Eiffel. 
A little bit of procedural stuff in C and Basic, and a little Unix 
scripting.
my suggestion to start programming and to contribute: use your apps as 
usuall and if you have an idea to improve an app (eg missing feature or 
problem which can be tracked down), feel free to change/enhance the code 
and send a patch. this will help u to get a feeling how the community 
works.

and a suggestion for a book: i have no definitive answer because i 
learned C with KH and C++ with the stroustrup (is this correct?! 
difficult name!). but this is ages ago. so there is - i am sure - a 
better way to learn C, C++, and python.

HTH a little bit, goofy
--
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] Programming Book, for Open Source.

2003-12-22 Thread Gottfried Szing
Erik de Castro Lopo wrote:


Sketch? Zope? Mailman?
woops

i have no idea what language is used most of the time, but my guess is 
(as noted above) C/C++.


Please, there is no such language as C/C++; there are two languages C 
and C++. C++ and Java have more in common than C and C++ and you don't
hear of people talking about C++/Java as if they were the same lanugage.
ok, i was not as accurate as necessary. you are completely right, but i 
think for a rough (very rough) classification the term C/C++ is correct.

i think as long as C is viewed as a subset of the language C++ (or C++ 
as an OO extension of C), the term is not as wrong as C++/java. and 
learning C first, and then C++ is IMHO the best way. because learning 
C++ without understanding the basics  (hear C) does not make sense.

what i forgot in my last mail: the linux doc project has many guides 
about programming. e.g. shell scripting, kernel hacking, and much more. 
the link is http://www.tldp.org/

gottfried
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] web-script

2003-12-22 Thread Gottfried Szing
Kevin Saenz wrote:

Trevor,
Sorry for responding late how are you going to start a network
connection from a web page when you need network connection to access
the web port?
Wouldn't you prefer /etc/init.d/network restart?
under debian the restart does nothing else than a ifdown followed by 
an ifup, ie reconfiguration of the network interfaces. a stop and 
start does more like mounting devices. so it in some cases it makes 
senses to stop and start again instead of a simple restart.

sorry for sounding stupid. Could I ask what that type of script would be
useful for?
good question :)

cya
--
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] Programming Book, for Open Source.

2003-12-22 Thread Gottfried Szing
hi

Which lang' is used most in open source Linux application projects, is
it C or C++?
I'm not sure why it matters, it's probably best to find a project you're
interested in, and go from there, but this might help:
http://freshmeat.net/browse/160/?topic_id=160

sourceforge might be another place to check.
http://sourceforge.net/softwaremap/trove_list.php?form_cat=160

this was my idea and the comparison of both sites is very interessting. 
when you take the numbers and take from both sides the top5, the picture 
is completely different.

freshmeat   sourceforge FM+SF
C   5799C   12377   C   18176
Perl2852C++ 12251   C++ 14891
C++ 2640Java10670   Java13269
Java2599PHP 8073Perl10280
PHP 2207Perl5159PHP 8011
ok, the set of the languages is the same. but the distribution is 
differs. note: this should encourage someone to pick a particular 
language! here are some additional stats:
 FMSF
  languages listet   5343
  projects total (based on lang cat)  20538 64399
  prjects total   31215 73370
  reg'ed site-users  236908758281

does anyone have links to other software repositories? maybe to make a 
more complete comparison of distribution of languages.

anyway, the number of projects is really impressive.

cya
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] linux firewalls doc

2003-12-21 Thread Gottfried Szing
hi sluggers,

not a question, but something to read if the weather is not fine. brr, 
hope its hot on wednesday. first xmas in summer and i hope it will have 
35 degrees and more. :)

Securing Linux Systems With Host-Based Firewalls: Implemented With Linux 
iptables -by Ge' Weijers

This article provides information and recommendations for securing Linux 
operating systems with host-based firewalls. This article aims to 
provide readers with a template for constructing a host-based firewall 
that provides a useful layer of protection against the risks of exposing 
a system to internal and/or external users. Additionally, readers can 
gain an understanding of construction methods for host-based firewalls 
in general and Linux-based firewalls in particular. This article targets 
an intermediate audience.

http://www.sun.com/blueprints/1103/817-4403.pdf

cya
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] web-script

2003-12-21 Thread Gottfried Szing
hi all

what i would like is a start / stop link on a web page to run sat the
following
eg../etc/rc.d/init.d/network start


Look at the shell_exec() function in php.
There is probably a similar function like this in perl (Gus!) or you
could use CGI with an interpreter like /bin/sh.
i think it is also necessary to switch the user to root to restart the 
network. and therefor it will be necessary to have a set-suid-wrapper 
which starts a shell for execution. calling the script without root 
permission wont work. except you run the apache or what else as root (i 
hope not  :))) )

cya
--
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] Programming Book, for Open Source.

2003-12-21 Thread Gottfried Szing

I'd like to get back into programming, to read (and possibly modify) 
open source code for Linux.
Any book suggestions?
hm, many open queastions.

what language?
what kind of programming?
kernel or application development?
what experience do you have?
i think it would be helpful to give more information. without the info i 
can just refere to http://www.oreilly.com/ . :)

cya, goofy
--
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] off topic: transferring W2K to a new system

2003-12-17 Thread Gottfried Szing
Simon Males wrote:

Eddie F wrote:

If the hardware isn't too different there may not be a problem, and it 
maybe just find all the hardware... I've found it's usually only a 
problem when moving between single and multi proccessor systems... 
ghost the disk first though, just in case.


In my experience W2k cannot handle being away from its orginial system. 
Ie moving a hard drive into a completly new system. Similar hardware 
seems logical, I think mobo is the big one.
its the chipset. i have tried to replace the my old desktop with a newer 
one and win2k paniced after booting. the problem is that win2k cannot 
find the driver for the chipset and therefore cannot find a boot device.

the time i checked this (12 month ago) the problem was an official 
unresolvable bug.

cu, gottfried
--
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] off topic: transferring W2K to a new system

2003-12-17 Thread Gottfried Szing
hi slugs

the time i checked this (12 month ago) the problem was an official 
unresolvable bug.
its just a matter of loading the target chipset driver first.
sysprep with its pnpscan might help too, but you might loose something 
you didn't want.
I believe that if the HAL is ok (ACPI or noACPI) then you just have to 
have the chipset drivers in the right places.
looks like that the sysprep is a possible solution. here is the link 
about the tool and a corresponding error:

http://support.microsoft.com/default.aspx?scid=kb;en-us;257813

but all the maybes and error codes in the article are not very 
convincing to me. but thanks for the hint. maybe the next i will not 
replace the win2k with debian because installing linux is much 
easier/faster than a comparable win2k.

cya
--
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] Mac + Win Sharing via Linux

2003-12-14 Thread Gottfried Szing
hi tom

Then I spent several hours trying to get WinXP Pro to see Samba shares.
WinXP now has the distinction of being the only OS that has ever
caused me to seriously consider physical violence towards a computer.
that is something that every win-version is causing me. it is not only a 
feature of winxp. :)

needed here. I've got a Win98 CD somewhere around, I might get rid of
XP. I seem to remember that 98 was quite easy to setup with Samba.
i dont think that this is a good idea. AFAIK is win98 and win95 facing 
the end of their life and therefore the will be no longer patches 
(except some security patches) made available by MS. despite this all 
other patches will be removed from the support side. i think the 
announced date for this is the 23rd dec of this year.

what about replacing the win-machine with something more usefull. lets 
say e.g. linux? ;) i mean: is there really a need for the win-machine?

cya, goofy

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] ftp timeout, where ?

2003-12-13 Thread Gottfried Szing
Voytek wrote:

where do I alter FTPd (ProFTPd) timeout logout ?

I wen through all /etc/proftpd.conf settings, and, webmin's ProFTPd
settings, but, can't find it, and, 15min just seems too short
maybe this helps. i am using proftpd, but i have never changed the setting.

http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_TimeoutIdle.html

HTH, gottfried
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug