Re: FreeS/WAN on PPPOE

2003-02-26 Thread Angus D Madden
Curtis Vaughan, Wed, Feb 26, 2003 at 10:49:49AM -0800: 
> Has anyone had similar problems?
> 
> Out DSL connection is through a PPPOE connect, unfortunately. Although 
> setting up multiple VPNs has generally been no problem, this time for 
> this office it has been a pain. The only reason we can think of now is 
> because this is first time we've dealt with a PPPOE connection. Has 
> anyone experienced similar problems? If so, were you able to overcome 
> it? Or, perhaps this isn't the problem at all.
> 

Two possibilities:

1.  Firewall/Gateway does not support VPN-passthru.  Some older models of
home routers can have problems.

2.  The MTU is set to high for PPPOE.  The MTU for PPPOE is less than
1500, which is the default MTU for most connections.  Change the MTU on
the server side to 1400 and see if that works.

What type of VPN are you using?

g



pgp0.pgp
Description: PGP signature


Re: Which release

2003-09-09 Thread Angus D Madden
Mario Vukelic, Sat, Sep 06, 2003 at 01:20:42AM +0200: 
> I'v run stable, testing and unstable. In you case, I would start with
> stable. Most software in Linux is so mature these days that it doesn't
> really matter if it's all that recent for the most part. Desktop
> environments (Gnome, KDE) are an exception, but you can get good
> (unofficial) backports to stable at http://www.apt-get.org
> 
> You should also consider Libranet, it's a commercial distro based on
> Debian, with a friendlier installer and more recent packages than
> stable.
> 
> Avoid testing!! Testing is for testing /the distribution/ and is quite
> fd most of the time, as packages trickle in from unstable in a quite
> random manner. E.g., Gnome in testing is severely broekn, since some
> packages of 2.2 are in testing, but other important packages are helb ub
> by bugs.
> 
> Unstable is ok, it's not so much the packages that are unstable, but the
> package list changes frequently. It has mostly very recent packages that
> are considered stable by upstream. However, be prepared that it does
> impose quite much qork on the admin: config files have to be updated
> frequently, since every time new package version come in. Also, you
> should have a working bootdisk and be able to fix a system you can't
> boot or log into by normal means. It happens very seldom, but it may.
> You can avoid that by reading the debian-devel mailing list /before/ you
> do an "apt-get update; update upgrade". Problems are reported there very
> quickly.
> 

Another option if you are running a largish site: run stable and compile
any packages that you need a more recent version of.

apt-get build-dep foo && apt-get source foo --compile 

will work for most packages.  If it doesn't you can make any changes
needed and use dpkg-buildpackage or debian/rules (the package makefile).

[ assumes your sources.list has deb-src entries for unstable/testing ]

After a while you'll have enough packages that building a local archive
will make your life easier (see apt-ftparchive or dpkg-scanpackages ).

Note: this really doesn't apply to the original question, I just wanted
to point out that there is another options beside doing the unstable
tango.

g




pgp0.pgp
Description: PGP signature


Re: reuse apt-get cache

2003-09-23 Thread Angus D Madden
Benedict Verheyen, Tue, Sep 23, 2003 at 02:00:50PM +: 
> Hi,
> 
> i have a server and it has a quite extensive sources.list. Now i would 
> like to make a cron job that does "apt-get update" every so often and 
> then use that cache for my connected client so i don't have to download 
> the packages list again and thus use unnecessary bandwidth.
> 
> Ideally this would mean removing the entries in my local clients 
> sourceslist and have just 1 entry that points to my server's cached 
> packages list.
> Is this possible and how can i do that?

apt-cache show apt-proxy

> 
> In the future i plan to make packages of my own scripts. Can i combine
> those? I mean putting my packages in the cache of packages on the server
> and thus also have them available for the pc's connected to my LAN?
> 

Create an archive of your packages with dpkg-scanpackages or
apt-ftparchive and add the archive to the clients sources.list

g





pgp0.pgp
Description: PGP signature


Re: ls: filename: Input/output error

2003-09-24 Thread Angus D Madden
Simon Tneoh Chee-Boon, Wed, Sep 24, 2003 at 06:41:11PM +0800: 
> Hello all,
>Thanks in advance for any helps.
>When I list the content of a directory, I can't see the file.
>But when I execute "ls -al filename", I got "Input/output error".
>I just wonder, can I remove this file by using commands like
> "debugfs"?
>If yes, can I do it without shutting down my server, because it's a
> live environment?
>If no, what is the right way to remove this file? Or maybe fix it?
>Thanks.
> 

The Input/output error may mean that your drive is failing.  Check your
syslog for more detailed messages.

g






pgp0.pgp
Description: PGP signature


Re: rpm -qa vs apt/dselect/etc

2003-09-30 Thread Angus D Madden
shorton, Tue, Sep 30, 2003 at 10:23:14AM -0500: 
> 
> Can someone tell me the equivilant these commands, and/or what to run
> to get the desired result:
> 
> rpm -qa = show all packages installed?

Use one of:

dpkg -l
dpkg --get-selections

> 
> rpm -q --whatprovides  = tell me what package provided program
> x

If the package is installed:

dpkg -S 

If the package is not installed, you can grab the Contents-$arch.gz file
from one of the debian servers and use zgrep to see what package owns
what file.

g



pgp0.pgp
Description: PGP signature


Re: installing oracle9i

2003-10-08 Thread Angus D Madden
Louie Miranda, Wed, Oct 08, 2003 at 11:54:49AM +0800: 
> hey guys,
> 
> i just downloaded Oracle9i Database Release 2 on oracle.com its composed of
> 3huge 500mb+ files. I transfferred it to my shell only server. and did the
> instructions as told on the website of oracle.
> 
> but, when i tried running ./runInstaller on Disk1 it ask me for a DISPLAY so
> i just export a setting. And found out that Oracle must be run on a GUI?.
> 
> Hm, is there other solutions here?
> 

DB2 is the same.  You can install xlibs on the server and use X
forwarding over ssh to run the GUI tools.

g



pgp0.pgp
Description: PGP signature


Re: Remote Filesystem Administration

2003-08-14 Thread Angus D Madden
Todd Cole, Tue, Aug 12, 2003 at 10:58:06AM -0400: 
> 
> I have a Debian machine that is only accessible remotely via SSH (no
> keyboard or monitor attached).  In order to perform filesystem maintenance
> with e2fsck, I believe I need to put the machine into single-user mode, but
> with SSH running.  (Currently when I try to run e2fsck in run level 2 I
> receive messages that the "device is busy.")
> 
> It would seem that the best way to do this would be to remove the K20ssh
> script from /etc/rc1.d and replace it with the S20ssh script from run level
> 2.  When I tried this, however, I still lost my ssh connection and had to
> (shutter) reboot the machine via power-cycle.
> 

If you have physical access to the machine you can set up a serial
console.  Uncomment one of the examples in /etc/inittab and configure
lilo to use a serial console.  If your motherboard supports console
redirection you can even see the POST remotely.

g





pgp0.pgp
Description: PGP signature


Re: what to do after apt-get source libpcap?

2003-08-21 Thread Angus D Madden
Mihalis I. Tsoukalos, Thu, Aug 21, 2003 at 10:57:34AM +0300: 
> I have successfully downloaded the source for libpcap.
> 
> What to do next in order to compile it the Debian way?
> 

sudo apt-get build-dep libpcap
apt-get source libpcap --compile

In the best case, that will just work, and you'll have your new deb.

Otherwise, wipe that directory out and do the following:

apt-get source libpcap
cd {libpcap directory}
head debian/changelog # to find current version and revision
dch -v {incremented revision} # add comments for changes you've made
dpkg-buildpackage -rfakeroot -uc

That should work for you.  Look at the debian/rules file in the
subdirectory of the source package - that's the Makefile for the deb.

Also read http://www.debian.org/doc/manuals/maint-guide/

g




pgp0.pgp
Description: PGP signature


Re: sparc stability

2003-04-02 Thread Angus D Madden
Warwick Brown, Wed, Apr 02, 2003 at 02:30:12AM +0100: 
> 
> p.s. what uptimes do fellow sparc'ers get?
> 
> 

:!500:?0:[EMAIL PROTECTED]:~$ uptime
 07:46:46 up 71 days, 23:35,  3 users,  load average: 1.44, 0.73, 0.51
:!501:?0:[EMAIL PROTECTED]:~$ cat /proc/cpuinfo 
cpu : TI UltraSparc IIi
fpu : UltraSparc IIi integrated FPU
promlib : Version 3 Revision 19
prom: 3.19.4
type: sun4u
ncpus probed: 1
ncpus active: 1
Cpu0Bogo: 878.18
Cpu0ClkTck  : 1a39de00
MMU Type: Spitfire
:!502:?0:[EMAIL PROTECTED]:~$ uname -a
Linux noba 2.4.18 #2 Sat Apr 6 19:21:38 EST 2002 sparc64 unknown


The load average there is failry constant 24x7.  The only problem I have
with the machine is OpenBoot hangs for some reason when a serial console
is attached.  Doesn't happen on my other Suns.

g



pgp0.pgp
Description: PGP signature


Re: gnome-terminal fonts

2001-06-30 Thread Angus D Madden
On Sat, Jun 30, 2001 at 11:32:03PM +1000, Jonathan David Wheelhouse wrote:
> 
> Could somebody please tell me what their font setting is please?
>

Well, i think the default is clean, but i use:

-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-1

it's small, but i can fit 6 terminals usably on my 1280x1024 monitor

g



pgp6COY4NZV7Z.pgp
Description: PGP signature


Re: Digital camera and Linux

2001-07-09 Thread Angus D Madden
On Fri, Jul 06, 2001 at 10:39:20AM -0400, Peter S Galbraith wrote:
> 
> This made me think the floppy thing was not viable.  How does it
> work out for you?
>

I'll put in another recommendation for the Mavica.  I bought an ancient
Sony Mavica FD-73 about a month ago and it does exactly what I need.
The standard resolution is 640x480 and I get anywhere from 25-40 pics
per floppy.  There are a few things that I really dig about this:

+ I can send the picture of in an email without having to edit or crop
or scale it (the cropping process is why i never used my scanner).
Also, I have gotten too many 3 MB bitmap attachment from digicam newbies
lately.

+ I can view the floppies on any machine anywhere - whether it is at
home, on my laptop, in a netcafe, or someone else's office.

+ I can use the floppies as an archive method and only store the choice
photos on my machine.  After I come back from a trip, I save the good
pics to a directory on my hard drive and send them out to everyone by
email, and then I just label the floppies and stick them in a drawer.

Of course, it helps that I have about 300 used floppies lying around.
The only major drawbacks to this camera:

- I am obviously not going to be taking print-quality photos

- It's a brick.  The floppy drive doesn't really help the form factor.

If you are looking for a camera to get quick photos and publish them to
the web or send them in email, the Mavica is the camera.

g



pgpbyMHuZsSIB.pgp
Description: PGP signature


Re: creating a local mirror

2001-07-09 Thread Angus D Madden
On Sat, Jul 07, 2001 at 09:06:51PM +0200, Martin F. Krafft wrote:
> we are using a local debian mirror for several reasons. we let rsync
> run on one of the official servers once a week over the weekend, and
> still have security.debian.org in the sources.list files on all
> workstations. however, due to the nature of rsync, whenever packages
> on the server are updated, they are first removed locally (i have to
> use the --delete option since we only have a 40Gb drive for the
> mirror), before everything is rsync'd. usually this works quite well,
> but there are times when the connection is so bad that on monday
> morning not all packages have been rsync'd so that Packages.gz says
> they are there, but they aren't quite yet.
> 
> any ideas on how to improve this?
> 

We have the same problem.  Our nightly cron jobs have a tendency to fail
as well as some of the rsync servers that http.us.debian.org points to
return only error messages.  We tried mirroring off a leaf mirror that
was closer (and faster), but that plan went haywire when the leaf mirror
got corrupt and trashed our mirror in turn.

I would try the following:  run your update script without --delete,
and when that rsync process has completed, run the same script with
--delete.  Everything should be updated in the first run so the second
run would only retreive the file list and delete the expired debs.  If
you have space considerations just exclude some of the architechtures.

Just might work.

g



pgpAvfuWwoCpp.pgp
Description: PGP signature


Re: Cable Modem/NIC cards

2001-08-14 Thread Angus D Madden
On Tue, Aug 14, 2001 at 09:21:47AM -0500, T.Phan wrote:
>   Is there a way to soft reset the cable modem and the NIC on
>   a Debian/Linux box?
> 
>   The AT&T Cable Modem some time loses connection, sometime it
>   resets itself.  Afterward, the Debian box will no longer be
>   able to establish the connection until the debian box and
>   the cable modem are shutdown and reboot.
> 
>   Any suggestion on how to avoid the shutdown/reboot ? Thank
>   in advance!

have you tried:

/etc/init.d/networking restart

that should reconfigure the network interfaces.  if that doesn't work,
the cable modem may have picked up new routes and i'm not sure how to
clear those.  i'm sure it's possible though.

g



pgpdfmhPdfhfx.pgp
Description: PGP signature


Re: mod-ssl vs apache-ssl

2001-08-28 Thread Angus D Madden
On Sun, Aug 26, 2001 at 01:18:03PM -0700, Bill Wohler wrote:
>   A little while ago, Hans (obviously from Northern Germany--moin
>   moin!) asked whether it was "better" to use mod-ssl or apache-ssl.
>   That question wasn't really answered.
> 
>   Are there any advantages of apache-ssl over apache + mod-ssl?
>

In terms of performance/stability I can't really answer because I haven't used 
apache-ssl extensively.  I prefer mod-ssl becuase it gives me an apache with 
one configuration file.  Also, When I configure other mods (mod_php, mod_gzip) 
I only have to add them to apache and not to another daemon as well.

my $0.02

g



pgp5d5i2TlU5J.pgp
Description: PGP signature


Re: Apache fails to ExecCGI properly

2002-02-28 Thread Angus D Madden
Daniel Whelan, Thu, Feb 28, 2002 at 03:43:00PM -0500: 
> Hey...On an a Apache (1.3.23-1) system, ExecCGIs are failing under all
> circumstances. mod_perl, mod_php, mod_jk are functioning properly.
> Similarly configured machines seem to work proplerly as well, and I've
> read over the config file several times and cannot find the problem.
> Here are some clips of interest from the config:
> 
> AddHandler cgi-script .cgi .sh
> 
>   ServerName www.csit.fsu.edu
>   DocumentRoot /home/www/csit
>   
>   Options FollowSymLinks ExecCGI Includes
>   AllowOverride All
>   Order Allow,Deny
>   Allow From All
>   
>   ErrorLog /var/log/apache/sites/www/error.log
>   CustomLog /var/log/apache/sites/www/access.log combined
> 
> 

Looks like you need a ScriptAlias for the Directory where ExecCGI is
set.  maybe?

g




pgp5hMpCVjZOL.pgp
Description: PGP signature


Re: Printing question

2002-03-01 Thread Angus D Madden
Alan & Kerry Shrimpton, Fri, Mar 01, 2002 at 10:58:46PM +1300: 
> Hi,
> 
> I know most people have their Linux box connected to the net.  I have my
> windows machine.
> 
> I know most people probably have their printers connected to their Linux
> machine.  I have it connected to my windows machine.
> 
> 1.  How the heck do I see my windows machine on my Linux machine?

Assuming that:

1.  you have a hub/switch
2.  you have a NIC in your linux machine
3.  you have 2 NICs in your win machine
4.  you have eveything cabled
5.  you have your interfaces configured correctly


then the easiest way to "see" your windows machine (with the exception of
ping) is to install linneighborhood, which will give you a network
browser similar to "Network Neighborhood" on windows.

Setting up your printer after that is pretty easy (see dman's response).

I have no idea how to proxy/masquerade network connections on windows
boxes.  

g





pgpXLXxMakkQ3.pgp
Description: PGP signature


Re: Java not working in Galeon/Mozilla

2002-03-02 Thread Angus D Madden
Patrick Kirk, Sat, Mar 02, 2002 at 10:05:58PM +: 
> What ? Does this mean I need to reboot into Windows to run Java apps? 
> Please say not - my wife's laptop has died.  The icq is for her.  So far
> over the past week, she has moved from her Windows laptop to my XFCE
> desktop with no comments or complaints.  But if I can't get her ICQ
> working, then we're regressing instead of advancing.
> 
> Surely there is some other Linux jvm that doesn't die upon contact with
> Java? 
> 

OK, it IS possible to get Java running, as it works on mine and the ICQ
applet came up with no problems.  I am running:

ii  mozilla-browse 0.9.8-2Mozilla Web Browser - core and browser
ii  mozilla-psm0.9.8-2Mozilla Web Browser - Personal Securit

IIRC, this is how i got it to install:

1.  Start browser as root (need to be root to use the XUL(?) install
stuff, and there are no userspace plugins in mozilla).  Trying to
install is guaranteed failure.

2.  go to java.sun.com.  a dialog should pop up asking if you want to
install a java plugin. Follow the instructions to install the plugin.
Pretty much automatic.

3.  exit browser. start as normal user.

The pluign will be installed to /usr/lib/mozilla, and as I was writing
this I notice a java control panel applet at:

file:///usr/lib/mozilla/plugins/java2/ControlPanel.html


The java support in mozilla is way better than it was in 4.77.  I never
used to run java becuase it almost always crashed my browser.  Now, the
worst that happens is that the applet does nothing, but most applets
work.

g





pgpzzkSORH636.pgp
Description: PGP signature


Re: suggestion

2002-03-02 Thread Angus D Madden
Hans Ekbrand, Sat, Mar 02, 2002 at 09:48:12PM +0100: 
> On Sat, Mar 02, 2002 at 11:52:31AM -0600, will trillich wrote:
> > short version:
> > why not have your .signature reflect which debian you're using?
> 
> As you can see, I liked your suggestion.
> 

Agreed. 

g


-- 
Couldn't get by without Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpa87t7Le389.pgp
Description: PGP signature


Re: Java not working in Galeon/Mozilla

2002-03-03 Thread Angus D Madden
Patrick Kirk, Sun, Mar 03, 2002 at 12:06:30PM +: 
> Removed the sdk and reinstalled the "official" mozilla plugin.
> 
> Found this error message when I start Moz or Galeon:
> 
> phasar:~# mozilla
> LoadPlugin: failed to initialize shared library
> /usr/lib/mozilla/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so
> [libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file
> or directory]
> 
> This would imply that something in the jvm config files has looked for
> [libstdc++-libc6.1-1.so.2 (whatever that may be) in the wrong place.

yup.

> 
> Or perhaps it would be wiser to ask - does anyone recognise this message
> and know how to set about remedying it?
> 

It means you are missing libstdc++-libc6.1-1.so.2, so the trick is to
figure out if there is a package which supplies it.  Use dpkg -S

$ dpkg -S libstdc++-libc6.1-1.so.2
libstdc++2.9-glibc2.1: /usr/lib/libstdc++-libc6.1-1.so.2

good, it's there.

$ apt-get install libstdc++2.9-glibc2.1

should do it for you.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpF6NZ7iRF44.pgp
Description: PGP signature


graphical file managers (gmc vs. nautilus)

2002-03-03 Thread Angus D Madden
I need to find a good graphical file manager for my family pc.  I am
aware of two choices: gmc and nautilus.

Right now they are using gmc.  I like it because it is simple and
straightforward.  The only problem is that I have not been able to
associate mime-types with applications.  Say, for example, that I want
.doc and .sxw files to open with StarOffice when they are clicked.  I
have tried to do it in the gnome control center and also by editing 
mc.keys directly.  I have googled and searched the entire gnome site, and
got the impression that people are aware of this problem, but not
dealing with it because gnome is standardizing on nautilus.

I have tried nautilus.  It worked quite well, with one exception.  I use
autofs to handle mounting of the cdrom, floppy, and flash.  Autofs works
by by detecting when a user tries to chdir to a certainf mount point
(eg. /var/autofs/flash/flash).  Thing is, if the contents of
/var/autofs/flash are listed before the flash is mounted, the directory
shows nothing.

Now, I don't expect my family members to memorize the
/var/autofs/flash/flash mountpoint, and since the directory shows
nothing before it is listed, they can't graphically navigate there.  My
solution to this was to put symlinks in their home directories, ie.

ln -s /var/autofs/flash/flash ~/Flash

With gmc, this works great.  They click on the link in their home
directory and the media is mounted.  I can put icons on the desktop as
well.

With nautilus, it doesn't work.  When the link is clicked, nautilus
reports an error and asks if the link should be removed.  It then
proceeds to remove the link, even if the link is owned by another user.

Is this a nautilus problem, an autofs problem or both?  I'm not sure
where to report the bug.

Also, if anyone has a better way to set up autofs and get it to work
with nautilus, please let me know.

g

$ dpkg -l | egrep '(gmc|nautilus|autofs)'
ii  autofs 3.9.99-4.0.0pr A kernel-based automounter for Linux.
ii  gmc4.5.55-1.1 Midnight Commander - A powerful file 
ii  libnautilus0   1.0.6-2Shared libraries that part of Nautilus
ii  mc-common  4.5.55-1.1 Common files for mc and gmc
rc  nautilus   1.0.6-2file manager and graphical shell
$ uname -a
Linux briarhill 2.4.17 #1 SMP Tue Jan 15 18:05:28 EST 2002 i686 unknown




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpDYTqGoHkao.pgp
Description: PGP signature


Re: graphical file managers (gmc vs. nautilus)

2002-03-03 Thread Angus D Madden
Timo Benk, Sun, Mar 03, 2002 at 07:23:11PM +0100: 
> 
> My solution in using Mime types with mc is the following
> section in /etc/mc.ext:
> 
> --
> ### Default ###   
>   
>   
>   
> # Default target for anything not described above 
>   
> default/* 
>   
> Open=see %d/%p
>   
> Title=%p  
>   
> --
> 
> I also removed any application specific stuff out of /etc/mc.ext.
> 

Thanks, I'll check this out.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpJC7TXEoDX9.pgp
Description: PGP signature


Re: graphical file managers (gmc vs. nautilus)

2002-03-03 Thread Angus D Madden
Timothy R. Butler, Sun, Mar 03, 2002 at 01:23:39PM -0600: 
>   
>   I'm not sure if you are looking for other options, but if you are have you 
> taken a look at Konqueror? It can handle mounting by itself, can follow 
> symlinks, has an easy-to-use mime-type editor, provides most of the bells and 
> whistles of Nautilus, and also happens to be a very nice web browser (and 
> Konqi 3.0 Beta 2 is IMO faster than Mozilla).
> 

I tried KDE about six months ago and I went back to gnome because I like
the ability to configure everything to the pixel (enlightenment) and I
couldn't get KDE to display icons (some pixmap problem).

I put debian on the family computer becuase I was tired of fixing things
that I didn't know how to fix (or were unfixable, like winME).  I'm
already used to gnome, so that's what I put on their machine.  Now that 
the family is used to the interface I am hesitant to change it.  I'm also 
hesitant to install all the kde libs just so they can use Konq, because I 
always try to keep a minimal amount of packages installed.

Thanks for the suggestion, though.  Maybe it's time to try KDE again.

g


--
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpHufZrZpGDf.pgp
Description: PGP signature


Re: Java not working in Galeon/Mozilla FIXED

2002-03-03 Thread Angus D Madden
Patrick Kirk, Sun, Mar 03, 2002 at 08:57:59PM +: 
> 
> Interestingly she and my 8 year old son have moved from windows to Linux
> without complaint.  Linux on the desktop has come a long long way in the
> last 2 years!
> 

I just moved the family pc to linux as well.  Only major gripes are
about fonts (somehow get broken on every upgrade), autocomplete of
form elements in mozilla, and a good file manager.

Other than that, everything has worked great, the machine has not had a
signle problem, they can't hurt it, and a 3-hour scan disk is a thing of
the past.

g






-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpFZdOtbOJMG.pgp
Description: PGP signature


Re: graphical file managers (gmc vs. nautilus)

2002-03-03 Thread Angus D Madden
Timothy R. Butler, Sun, Mar 03, 2002 at 06:27:20PM -0600: 
> > Thanks for the suggestion, though.  Maybe it's time to try KDE again.
> 
>   You might find it worth while. Really, you could make it look virtually 
> like unthemed Gnome using the QT-Motif widget style (or most other GTK-looks, 
> KDE can even import some GTK themes), and since KDE has IceWM theme 
> compatiblity plugin, you could use one of the E-like IceWM themes for your 
> window decorations if you wished. Although IMO, KDE themed with Liquid (sorta 
> like Aqua is nicer looking). You can see 
> http://www.uninetsolutions.com/tbutler/linux/ss1.html for screenshots of both 
> a Motif and Liquid-themed KDE.

I'm getting a 404 from your link.

Is there any way in KDE to do a borderless window?  The last time I
tried I couldn't figure out how to do it.  I like to put borderless
windows at a few points on my desktop (one tails syslog, one monitors
eth0, another eth1).  You can see an example at

http://ekilat.com/images/screenshots/20020303.png (310KB)

My family PC doesn't need functionality like this, but I prefer to
standardize my brain on one desktop.

Have you tried Konq with autofs?

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpKdJd9WemOM.pgp
Description: PGP signature


testing symbolic links

2002-03-03 Thread Angus D Madden
Does anyone know a of utility to check if a symbolic link is valid?

I used a program called vpopbull (part of vpopmail package) to send a
notice to a bunch of users.  To my surprise, vpopbull ignored the
complete path I gave it and created links to a message that doesn't
exist.  Now, when users try to open the message, it gives them an error.

If there's a utitlity I can use with find to test the validity of links
I could clear the problem up right away.

Thanks.

g




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp1QazIQVN1C.pgp
Description: PGP signature


Re: testing symbolic links

2002-03-03 Thread Angus D Madden
Ren Weili, Mon, Mar 04, 2002 at 11:19:55AM +0800: 
> for bash try:
>   [ -f  foo ]
> 

Thanks.  duh.

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpPJxNCDqgAR.pgp
Description: PGP signature


Re: testing symbolic links

2002-03-03 Thread Angus D Madden
Harry Putnam, Sun, Mar 03, 2002 at 07:50:02PM -0800: 
> 
> I'm new here so not sure if there is a deb package but there is a
> program called symlinks.  It does exactly what you want to do.  You
> just aim it at a directory and it recurses thru and gives various
> reports depending on the flags you give it.  Probably easy to find out
> if there is a debian package but I didn't know the technique yet.

$ apt-cache search symlinks (or look at packages.debian.org)

> 
> That aside you can use the -type l flag to find for this too.
> 
>  find /path/to/tree -type l -exec ls -l {} \;

yup, what i need is

find /path/ -type l -exec /bin/bash -c "[ -f '{}' ] ||  rm '{}'" \;

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpKdi3Pefqub.pgp
Description: PGP signature


Re: graphical file managers (gmc vs. nautilus)

2002-03-03 Thread Angus D Madden
Timothy R. Butler, Sun, Mar 03, 2002 at 09:32:37PM -0600: 
>   Oops, sorry - here we go: 
> http://www.uninetsolutions.com/tbutler/linux/ss-1.html .
> 

doeslook nice

> > Is there any way in KDE to do a borderless window?  The last time I
> > tried I couldn't figure out how to do it.  I like to put borderless
> > windows at a few points on my desktop (one tails syslog, one monitors
> > eth0, another eth1).  You can see an example at
> 
>Try this: kstart --type Dock [commandname] . That should do the trick for 
> you.
> 

i'll give it a shot the next time I try KDE.  Thanks.

> > Have you tried Konq with autofs?
> 
>   No, I have not. However, I would imagine it would work with it (I've been 
> trying to get it setup to give it a run, but no luck thus far... if you'd 
> send me a config, I'd be happy to test it for you). 

The default debian autofs config should be good enough for testing
purposes.  Note that you have to have autofs support compiled into your
kernel (I don't think it works as a module, at least it didn't for me).

> 
>   Anyway, for basic mounting, you can do without autofs all together - 
> Putting a disk icon on the desktop causes KDE to "automount" it when you 
> click the icon. However, Konqi handles some symlinks and the like very well, 
> so I suspect autofs should work. 
> 

gnome has the mountable icons on the desktop as well, but they don't
help if someone is trying to access a floppy from inside an application.
Sometimes it's easier to retrain the computer than to retrain the users.

If you get autofs working let me know how Kong handles it.  Thanks.

g




pgpgxqdguWCWs.pgp
Description: PGP signature


Re: graphical file managers (gmc vs. nautilus)

2002-03-04 Thread Angus D Madden
Sam, Mon, Mar 04, 2002 at 02:13:47AM -0800: 
> Hi,
> I saw the screenshot that you mentioned. It's really nice. Can you tell
> me how you get borderless windows in gnome? Also, which mail client do
> you use and how do you get those colors in vi/vim while writing mail?
> Also please point me to some website that has info on configuring Gnome
> with enlightenment, if you know of any.
> Thanx,
> Sam
> 

Need enlightenment for borderless windows.
Alt+RightClick > Set Border Style > Borderless
Alt+RightClick > Remember

I use mutt for mail.  It sucks less ;)

For syntax highlighting in vim, edit /etc/vim/vimrc
   if has("syntax") && &t_Co > 2
   syntax on
 endif
 
In my .vimrc I add the lines
   hi comment ctermfg=lightblue
 set pastetoggle=

Changing the comment color to lightblue is necessary if you use black
backgrounds in your terminals.

For configuring Gnome with enlightenment, just right-click on your
desktop and you will get a settings menu.  From there, all you need to
do is try everything.

g




pgpqvNKLwi7lt.pgp
Description: PGP signature


Re: suggestion

2002-03-04 Thread Angus D Madden
Dave Sherohman, Mon, Mar 04, 2002 at 12:15:41PM -0600: 
> On Sat, Mar 02, 2002 at 11:52:31AM -0600, will trillich wrote:
> > then you can do whatever you think is pertinent in in your
> > ~/.signature-debian script. for example:
> > 
> > #!/bin/bash
> > echo -n "Note that I use Debian version "
> > cat /etc/debian_version
> 
> Because /etc/debian_version (on the machine I'm sitting at) contains
> 
> ---
> 2.2
> ---
> 
> instead of
> 
> ---
> a system with roughly 2/3s stable and 1/3 testing packages installed
> whose current package listing contains packages from:
> 

ok, how about this:

#!/bin/bash
echo "I am using the following:"
dpkg -l


just kidding.  ;)

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpR1wW2xciew.pgp
Description: PGP signature


Re: fork: Resource temporarily unavailable

2002-03-04 Thread Angus D Madden
Karsten M. Self, Mon, Mar 04, 2002 at 11:28:18AM -0800: 
> 
> For a fork, I'd suspect you're out of user processes, though checking
> other resource limits (generally memory and filehandles) is adviseable.
> 
> There are hard-compiled limits of 256 user, and 512 system, processes,
> in the 2.2.x kernels. These limits are raised in the 2.4 kernels, though
> I don't know the values offhand.

IIRC, the 2.4 limits can be configured at runtime.  I think it's in
/etc/security/limits.conf. 

> 
> The value can be raised, but you have to edit sources to do so at least
> through 2.2.x -- there is _no_ configuration option for this value.

NR_TASKS in include/linux/tasks.h

> 
> I ran into similar issues with exim, procmail, and spam-filtering
> software a few weeks ago.  I tuned my mail configuration to keep from
> launching a large number of exim processes and the problem went away.
> Multi-threaded applications are particularly prone to this issue.
> 

I use ulimit to do this in init.d startup scripts.  Works pretty good.

g




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpoTEl4UGDbj.pgp
Description: PGP signature


Re: need help setting up SAMBA

2002-03-04 Thread Angus D Madden
will trillich, Mon, Mar 04, 2002 at 01:27:04PM -0600: 
> i've got SWAT installed in the hopes that it'll help me get
> samba doing what i want it to do, without drowing in the dark
> swamp of samba documentation and configuration syntax rules.
> with zero luck. grab the clue stick, i need it real bad! :(
> 

What do you want samba to do?  Act as a client or server?  If you want
to mount shares from windows machines, try linneighborhood - makes samba
configuration trivial.  May not be available in potato.

g





pgpq1BqGSZf9q.pgp
Description: PGP signature


Re: HOWTO? Fix a term that has "space junk"

2001-04-22 Thread Angus D Madden
On Sun, Apr 22, 2001 at 10:47:22PM -0400, Mark Hurley wrote:
> 
>   cat *somebinaryfile*
> 
> My term displays irregular ansi characters.  (I've called space junk)
> I realize the correct information is being displayed, just sort of
> encrypted.  ;)
> 
> Without exiting the term how do you fix this?
> 

reset

(took me year to figure that one out ;)

g



pgpaN1Kwreggc.pgp
Description: PGP signature


Re: SMS-Mailing

2001-04-25 Thread Angus D Madden
On Wed, Apr 25, 2001 at 12:42:41PM +0200, [EMAIL PROTECTED] wrote:
> 
> Is there any possibility to install a tool on my HD which i can use to
> send SMS'es directly fom my machine by using my ISP?

you'll need a GSM modem to connect to the GSM network.  remember, GSM
networks bill by the minute/message, so there are not many free services which
provide that.  

> 
> If yes please tell me! I use Woody. Is there any package?

If you have the hardware, there are several software packages -
searching freshmeat for sms will list them.

As a workaround, email to sms (eXcell) gateways do exist.  you could
write a script which just sent an email to one of those gateways.

g



pgpv3b1pr2suh.pgp
Description: PGP signature


Re: Realplayer in stable

2001-04-25 Thread Angus D Madden
On Wed, Apr 25, 2001 at 09:29:14AM -0700, Jim McCloskey wrote:
> 
> Does anyone know what has happened to the realplayer installer package
> in stable?
> 
> I believe it's supposed to be in /contrib/net/ and the package search
> engine at the debian site says it exists:
> 
>Package: realplayer 7.0.2.2 [contrib] 
>

couple things about that package -

1. the version (7) of realplayer was unsupported by real player.  To get the
rpm required by the realplayer deb, you had to figure out the url of
where to download the rpm from real because it was no longer available
on their website.

2. if you were able to dig the version 7 rpm out of the real download
site, it would install fine, but as soon as you started realplayer a
dialog would anounce that the version had expired and the realplayer
would exit.  of course, if you right-clicked to kill the dialog, you
could still use the player.  i think that the format for real
audio/video has changed though, because i couldn't find any audio or
video that would run on it (may have been because i was behind a proxy
and screwed up teh settings).

they may have just removed the deb because it wasn't working any more.
unfortunately, the version 8 deb needs X 4.0, and i'm not as brave as i
used to be about unstable.

g



pgpygvJ27UX3H.pgp
Description: PGP signature


Re: Good mail management techniques?

2001-09-07 Thread Angus D Madden
> On (02/09/01 15:32), Andrew Pollock wrote:
> 
> > The main problem I have is that each mailbox/folder/whatever you
> > want to call it, grows without bounds. I wouldn't mind something to
> > automatically shoved mail in a folder for each month or something like
> > that, but I don't think that IMAP/Pine etc support multilevel folders,
> > or do they?
>

I don't sort into folders.  It's too time consuming to set up a new 
folder/rule for each topic and my mailer already
handles sorting by threads/sender/subject anyway - plus i can just grep
content if necessary.

I do archive read messages every week.  I have attached the perl and bash 
scripts I wrote to do that.  Either script works by itself, but the bash
script will choke if your maildirs are big.

Note that I am not a perl hacker so take the code with a grain of salt.
The scripts are made for Maildir style mailboxes.  If anyone has
anything for mbox I could use it  (I guess you could just archive
the whole mbox and start afresh, but that would archive unread messages
as well).

g

#!/usr/bin/perl -w
# small script to archive maildirs
# may be some tricks.  [EMAIL PROTECTED] 20010809

use strict;
use File::Copy;

my $maildir = "/home/ii/Maildir";
my $archive = "/home/ii/Maildir/old";

# make new maildir
my (undef, undef, undef, $mday, $mon, $year, undef, undef, undef) = localtime;
my $map = sprintf "%4d%02d%02d", $year+1900, $mon+1, $mday;

print "Making archive ".$map." ...\n";

my $box = $archive."/".$map;

(-d $box) or `maildirmake $box`;

# move message to new maildir change to mv after testing
foreach (glob $maildir."/cur/*") 
{
#print $_."\n";
move($_, $box."/cur/") or die "could not move $_\n" ;
}

# tarball archive
print "tarring archive ".$box." ...\n";
chdir $archive or die "Could not chdir to $archive\n";
`tar -cvzf $map.tar.gz $map`;

# remove maildir
print "removing maildir ...\n";
`rm -r $box`;


0;
#!/bin/bash
# small script to archive maildirs
# may be some tricks.  [EMAIL PROTECTED] 20010809
# bash version

MAILDIR="/home/ii/Maildir";
ARCHIVE="/home/ii/Maildir/old";

# make new maildir
DATE=`date +%Y%m%d`
echo making archive $DATE ...

BOX="$ARCHIVE/$DATE";
[ -d $BOX ] || maildirmake $BOX

# move message to new maildir # change to mv after testing ...

echo copying messages ...
mv $MAILDIR/cur/* $BOX/cur/

# tarball archive

echo tarring maildir ...
cd $ARCHIVE
tar -cvzf $DATE.tar.gz $DATE

# remove archive

echo removing maildir ...
rm -r $BOX


echo done


pgpqWur9YWQVg.pgp
Description: PGP signature


Re: Urgent: VALinux kernel recompile questions

2001-09-09 Thread Angus D Madden

On Sat, Sep 08, 2001 at 01:13:14AM +0100, Rory Campbell-Lange wrote:
> Tomorrow I aim to recompile the kernel for a VALinux 2250 Raided server box
> running Debian 2.2 if at all possible. I need to recompile the kernel
> because of some really odd network interface problems (the two interfaces
> on the dual NIC always resolve against the motherboard NIC, eth0) and our
> file serving software - Ethershare for Mac file serving - needs a higher
> kernel than the current 2.2.14 we are running. 
>

I can't help you with the recompile, but I can tell you that the potato compact
install floppies saw everything on an old VA 2200 series I bought.  The
box had the DAC960 RAID and the onboard NIC. Everything came up fine.

g



pgpMNReUfNeic.pgp
Description: PGP signature


Re: kylix compatibility

2001-09-09 Thread Angus D Madden
On Sat, Sep 08, 2001 at 09:43:27AM -0600, G. Grimestad wrote:
> Is the current version of Debian compatible with Borland's Kylix?
> 
>

To run lylix_oe on potato, you need a patched version of libc6.  I think 
you can find that by searching this mailing list, or running alien on the rpm
provided by Borland.  I got it to work without a problem, but I can;t
remember exactly how.

Also, you'll need to add 'export LC_ALL=en_US' (or another appropriate
value) to the start of the startkylix script.

g



pgpmFUgTrXWeT.pgp
Description: PGP signature


Re: web stat software

2001-09-10 Thread Angus D Madden
On Sun, Sep 09, 2001 at 02:44:27PM -0500, Ian Marlier wrote:
> Anyone have positive experience with web stat software?  I'm running 
> a website and need a way to crunch the apache logs into something 
> useful...
>

i like http-analyze [non-free].  does everything you need in a nice
format.

g



pgpbH0buXRvZ3.pgp
Description: PGP signature


Re: virtual hosting in apache and file locations

2001-10-02 Thread Angus D Madden
On Tue, Oct 02, 2001 at 10:27:49AM +0200, martin f krafft wrote:
> 
> why is debian apache making /var/www be the main directory, and why is
> debian apache not providing an easily extensible location for virtual
> domain data?
> 

I think it's because TIMTOWTDI, and everyone has their own 
preference.  It'd be nice if the example virtual host in the default
httpd.conf supplied by debian suggested some locations, but the fact
that it doesn't may be intentional.

FWIW, this is what I do:

I create a new user (no password and login diabled) for each virtual host.
I find that having a distinct user makes it easier to manage tasks for each
virtual host (e.g. cron jobs + mail) and i can also have the files 
owned by that distinct user.  I can also tarball the user's home 
directory and move the entire site to another location easily.  Is 
there any reason not to do it this way?  I have a script that adds 
the user and each virtual host automagically.

my VirtualHost's then look like this:


ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/USERNAME/htdocs
ServerName DOMAIN
ServerAlias *.DOMAIN
ErrorLog /home/USERNAME/www-logs/DOMAIN-error.log
CustomLog /home/USERNAME/www-logs/DOMAIN-access.log combined

Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all

# Update the cgi settings if necessary and update
# you'll have to create /home/USERNAME/htdocs/cgi-bin/
# ScriptAlias /cgi-bin/ /home/USERNAME/htdocs/cgi-bin/
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
# 

AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all



g


pgpY5ZwJb10FJ.pgp
Description: PGP signature


Re: Printing in Linux

2001-10-03 Thread Angus D Madden
On Wed, Oct 03, 2001 at 10:30:25AM +0200, Erlend Bj?rnson Barkbu wrote:
> I've got a Hp Laserjet 5 in my network, it is shared on a printserver to all 
> the windows-machines on the network by its WINS-name 
> (//server/printer-of-some-sort) .
> 
> How can I use this printer?
> 
> I've tried to use samba, but I cant get it right
> 
> Does anyone have a suggestion?
>

apt-get install printtool is a good start.  it's a piece of software
from redhat which should do most everything for you.

g



pgpZD0KpS434I.pgp
Description: PGP signature


Re: Apache Out of Memory

2001-10-05 Thread Angus D Madden
On Fri, Oct 05, 2001 at 04:15:24PM -0400, Thomas R. Shemanske wrote:
> The largest demand on the server comes from a web-based homework system 
> which uses a cgi interface.  We have 600 students using the system
> (dual 550MHz Pentium III with 256M RAM)
> 
> Two days ago, I received a message from the Apache Error Logs that said:
> [Wed Oct  3 20:10:55 2001] [error] server reached MaxClients setting, 
> consider raising the MaxClients setting
> 
> so I raised the limits from 250 to 512 (the compiled max).
> 

Note that the max number or procs in the default i386 kernel is 512, so
you may reach that limit before the Apache MaxClients limit.

> QUESTION 1:  How can one determine the number of active clients at a 
> given time?  I would like to monitor this.

you could try a number of ways:

'ps aux | grep -c apache' will let you know approximately how many 
servers are running.

netstat -vatn | grep 'my.ip.addr.ess:80' | grep -c ESTABLISHED

will let you know how many connections are established to port 80 on
your box.

> 
> The next night with the increased MaxClients setting, the CPU load 
> suddenly shot to 50, effectively closing off most services.  The load 
> went from 1 to 50 and back down in the space of approximately 30 
> minutes, and while the load was very high, the Apache error logs kept 
> posting "Out of Memory Messages"

swapping?  dunno.  In any case, I would reduce MaxClients so that you
don;t get this problem again.  It's better to lock a few users out than
to make the system unusable for everyone.

> 
> My guess is that this was a real memory allocation problem (i.e. kernel 
> based).  I have only seen such loads about a year ago when we had random
> VM problems, but since I compiled a 2.2.19 kernel, virtual memory has 
> been rock solid.
> 
> QUESTION 2:  Could the cgi scripts be responsible for this? I am 
> guessing this is the case, but I have no idea how to gather evidence.
> They are in use at many institutions, so things are not so clear.  Any 
> ideas on how to track the source of this problem down would be appreciated.
>

Just looking at your setup I would say to add memory.  (fast and cheap,
but perhaps not diligent).

It's hard to know anything else without knowing what the cgi does.  If
they are in use in many institutions I would recommend contacting some
other users and seeing if they have experienced the same problem.

g



pgppaoEeNotx0.pgp
Description: PGP signature


Re: Gateway Configuration

2002-01-10 Thread Angus D Madden
On Thu, Jan 10, 2002 at 09:50:42AM -0500, Bob Underwood wrote:
> 
> auto eth1
> iface eth1 inet dhcp
>   hostname:  what @ home gave me
> 
> 
> There is no gateway in the routing table.  How do I get one?
> 
>

if you are using pump, try: pump -i eth1 --status

g




pgpI0mBEjbNo0.pgp
Description: PGP signature


Re: Is anyone using woody in a production environment?

2002-01-10 Thread Angus D Madden
On Fri, Jan 11, 2002 at 12:42:20PM +1000, john wrote:
> We have come to a point where we would like to use some software that is
> currently in woody on a production server that is currently running
> potato.
> 
> Now we have a few approaches as I see it:
> 
> 1) We install the packages from upstream source into /usr/local/

I only do this when the debs aren't available or they don't work
together nicely (eg vpopmail + courier-imap).  Also when I need a
compile option that isn't in the deb.  Last resort.

> 
> 
> 2) We upgrade to testing.
> 

We have at least 10 machines running testing in a production
environment.  Provided you handle things carefully, it is definitely
workable.  Here's what I recommend:

0.  Be conservative.  Only upgrade when you absolutely positively have
to.

1.  Do all your upgrades on a test box first.  Very important.  If you
run them blindly on a production server it feels like diving off a 10
meter platform - you have a moment of concious fear before you hit the
water.

2.  Keep everything in your /var/cache/apt/archives/.  Being able to
rollback to an earlier version is important.

3.  If you are upgrading or installign a single package and apt gives
you a long laundry list of packages.  Think real long and hard before
choosing Y.  In my experience, 

[ probability of meltdown ] ~= [ number of packages to be upgraded ]^2

4.  When you casually ignore recommendations 1-4, and the machine gets
into an unworkable state (like the time when dpkg erased the link at
/usr/bin/perl) don't panic.  Go through your usual troublshooting
routine (google, lists.debian.org, man, HOWTO, mailing list, irc,
repeat).  The answer will come.  Hopefully it will come before people
start to wake up and log into the machine.

5.  Test everything throughly after the upgrade is completed - there may
be subtle problems which only affect your custom application of the
server and don't show up on the test box.


> 
> 3) We build the Debian packages from testing on stable.
>

I think this is definitely workable if you have an in-depth knowledge of
how debs are made.  If you have the time and the knowledge, it might be
the best solution.  You could also look for unofficial debs which have 
already been put together by other debian users.

my $0.02

g




pgpkJrYRIyw6s.pgp
Description: PGP signature


Re: Apache virtualhosts with different user

2002-01-11 Thread Angus D Madden
On Fri, Jan 11, 2002 at 05:36:45AM +0100, Dries Kimpe wrote:
> 
> As the php-scripts will be parsed by the php-program (which is a regular
> CGI for apache). And here's the problem: I'm not sure
> if the cgi will
> run as the owner of the cgi-file, or as the owner of the php file. 
> Maybe the php version can be configured to switch to the owner of the file
> it's executing. I think it supports that, but am not sure...
>

At one of my old hosts (pair.com) they did it by having each user
install a php cgi binary in the user's cgi-bin.  After that, cgiwrap can
be used as it would be on a normal cgi program.

I can dig up the exact config if anyone's interested.  It's not overly
complicated, IIRC.

g



pgpD6ER3igrb3.pgp
Description: PGP signature


Re: Is anyone using woody in a production environment?

2002-01-11 Thread Angus D Madden
On Fri, Jan 11, 2002 at 02:32:49AM -0500, Roderick Cummings wrote:
> 
> Only that the new 2.4 kernel-image wont mount my root partition:
> 
> request_module[block-major-3]: Root fs not mounted
> VFS: Cannot open root device "303" or 03:03
> Please append a correct "root=" boot option
> Kernenl Panic: VFS Unable to mount root fs on 03:03
> 
> Even though lilo.conf specifies the correct root= option, and fstab is 
> correct as well.
>

I experienced the same problem repeatedly on every box I tried to
install the 2.4 kernel-image debs.  Other people I talked to didn't have
the same problem.  It's because the new kernels are initrd.

Rather than read up on mkinitrd, I think it's easier to just download
the kernel source and compile your own kernel.  But that's just me.

g



pgpu5JzxPqcED.pgp
Description: PGP signature


Re: gphoto2 with USB digital camera problem

2002-01-11 Thread Angus D Madden
On Fri, Jan 11, 2002 at 12:08:37AM -0800, Craig Dickson wrote:
> I bought a digital still-image camera today (Canon PowerShot G2) and I
> want my Linux machine to talk to it. So far, after a few hours of trying
> to get it to work, and searching docs and the net for information, I'm
> not having much luck.
> 
> I have the gphoto2 package installed. gphoto2 complains that it can't
> find the device:
> 
> $gphoto2 --camera "Canon PowerShot G2" --port usb: --get-all-images
> gPhoto2 reported the error 'Could not find the requested device on the USB 
> port'
>

I went through the same with a Canon Powershot s100.  I used
 as a reference.  I
stopped when I couldn't find a gphoto2 gui deb (gtkam, gnocam).

I'm waiting for the USBAT-02 driver, so i can mount the efilm reader-2
directly.  See 

g






pgpWxy2IqLkqq.pgp
Description: PGP signature


Re: gphoto2 with USB digital camera problem

2002-01-11 Thread Angus D Madden
On Fri, Jan 11, 2002 at 11:43:25AM -0500, mikepolniak wrote:
 > 
> > I went through the same with a Canon Powershot s100.  I used
> >  as a reference.  I
> > stopped when I couldn't find a gphoto2 gui deb (gtkam, gnocam).
> > 
> > I'm waiting for the USBAT-02 driver, so i can mount the efilm reader-2
> > directly.  See 
> 
> You can also use a stand alone usb compact flash reader. I use the San Disk-31
> which is compatible with the linux usb mass storage driver. Just add usb
> support to your kernel and plug in the SanDisk.
> 
> Also has the advantage of saving your batteries and loading faster.
> 

Thanks for the tip.  My folks had already bought the eFilm Reader-2,
which needs the USBAT-02 driver (in development).  Now I know I can 
buy a San Disk-31 and not have to mount the flash off a windows share 
anymore!

g




pgp6WZaGfvbEZ.pgp
Description: PGP signature


Re: gphoto2 with USB digital camera problem

2002-01-11 Thread Angus D Madden
On Fri, Jan 11, 2002 at 12:15:08PM -0600, Thomas Hallaran wrote:
> did you make sure that whatever usb chipset module you need is insmoded
> and did you add "none /proc/bus/usb usbdevfs defaults 0 0" to your fstab
> file and mount. My coolpix 990 wokrs great. 
> 
 
Actually, I was trying to mount the CF reader and not the camera.  The
driver for that particular CF reader does not exist yet.  I could get
the reader to mount as "none /proc/bus/usb usbdevfs defaults 0 0" but
all i got were some binary ?files? names 001,002,003 etc, which I
couldn't read as a filesystem.

I'm probably going to buy a new flash reader so I can treat the CF card
as a disk.

g


pgp0rmjpufI4r.pgp
Description: PGP signature


3c905c arp/configuration problems

2002-01-14 Thread Angus D Madden

I have a small (2 machine) home network.  The gateway is
running 2.4.16 with Debian Woody. Both of the NICs on the gateway 
are 3c905C's and are up and running with no problems.

The client box also has a 3c905C. It was initially running WindowsME
with dhcp used to configure the network interface.  Everything was
working fine, network wise.

Repeated problems with the Widnows and an eventual disk failure have
prompted me to install Debian on the client box.

I could not get the network interface to function after I
installed Debian (from potato rev 2 install disks 2.2.17 kernel).  
The 3x59x module inserts cleanly, I can bring the interface up, but I 
can't get anywhere on the network.

I know that the cards autonegotiate cleanly because the right lights
come up on the switch (100 Mbps, Full Duplex).

When I ping from the client box to the gateway, I can see the traffic on
the switch, and I can see the echo request reach the gateway.  The
gateway then tries to send an echo-reply.  First, it tries to determine
the ethernet address of the client box - unsuccessfully.  Using tcpdump
I can see that the arp request get sent by the gateway but not received
by the client.

Likewise, when arp requests are sent from the client to the gateway, I
can see them on the gateway.  The gateway sends the is-at
reply, but this is never seen by the client.

After the pinging process, the arp caches on both machines show
(incomplete) for a HWaddress.  I have tried to manually set the
HWaddress for both machines, but that has been unsuccessful (it gets
erased whenever one of the cards talks to the network).

I have booted the client with a Widnows rescue disk in order to use the
3com dos utilities and everything looked fine.  I can follow with the
vortex debug output and vortex-diag output if necessary.

Here is a sample from the vortex debug in syslog (abbreviated):

eth0: Trying to send a packet, Tx index 3
eth0: interrupt, status e201, latency 1 ticks
eth0: In interrupt loop, status e201
eth0: exiting interrupt, status e201

ifconfig on the client machine shows plenty of Tx packets but zero Rx
packets.

I think I can rule out hardware problems because everything worked when
the client was windows.

Can anyone give me a pointer on resolving this?  I've been googling and
rtfming all day and I can't get my head around it.

Thanks.

Angus D Madden



pgpUGdzbaw7vm.pgp
Description: PGP signature


Re: 3c905c arp/configuration problems

2002-01-14 Thread Angus D Madden
On Mon, Jan 14, 2002 at 10:06:36PM -0600, Lonnie Mullenix wrote:
> Just a shot in the dark, but have you had to change any on the wiring during 
> this process?  It almost sounds like you may have a broken wire in one of the 
> patch cables.
> 
> My first try would be to plug a different cable into the NIC and see if you 
> get the same results or not. Possibly just re-plugging the cables might give 
> you an answer.
> 
> 

I've tried with two different cables and several diiferent ports on the
switch with no luck.  The actual card could be broken but I was working
yesterday and I don't think that's it.

g



pgpVDf224uIEm.pgp
Description: PGP signature


Re: 3c905c arp/configuration problems

2002-01-14 Thread Angus D Madden
On Tue, Jan 15, 2002 at 12:26:44PM +0800, [EMAIL PROTECTED] wrote:
 
> Does the connect light come up on the NIC in the client? The NIC in the 
> gateway?
> 

all lights are on, including the lights on the switch.

 
> Thus traffic send from gateway to client doesnot get through.
> 

yes.

 
> Because the who-has, is-at handshake fails.
> 
> Most probably I would pin this down to a broken cable line between the 
> gateway and the client somewhere. Either a broken twisted pair in one of your 
> cat-5 cables, a broken pin in one of your NICS or a dry solder joint creating 
> a broken connection in a NIC. I've had this *exact* connundrum before and it 
> turned out to be hardware (in my case it was the port I was using on the 
> switch which was dead, and another port worked fine). Basically all the 
> traffic is one way. The client can talk to the gateway but the gateway cant 
> talk to the client.
> 
> It maybe the vortex, because they've had lots of problems with HP changing 
> the spec's on them and breaking the OSS drivers. Theres a page by the guy 
> that wrote the original driver explaining the hassles.
> 

I have tried two different cables and all the ports on the switch.  The
only thing left would be the NIC itself, which was working fienn
yesterday.  If all else fails I'll buy a new NIC.


 
> First time I had this prob it took me weeks. Then when I changed the switch 
> port and it all worked I spent a week banging my head against my desk :)
> 
> Kind Regards
> Crispin Wellington
>

thanks.  my head is fully prepared for banging.

g




pgpydMhsgXOuu.pgp
Description: PGP signature


Re: 3c905c arp/configuration problems

2002-01-14 Thread Angus D Madden
On Mon, Jan 14, 2002 at 10:08:04PM -0600, Nathan E Norman wrote:
 
> The 3c905c is not supported by the kernel available on the 2.2r2
> install disks.  You need a newer set of install disks, or a newer
> kernel.
> 
> If I were you I'd compile a kernel on your other box and transfer it
> over via sneakernet :)
> 

ahhh.  I think I have had this problem before.

I'm off to download the compact install floppies.  Thanks for the info.
Hopefully it will work out.

g





pgp39wYCmCWuv.pgp
Description: PGP signature


Re: 3c905c arp/configuration problems

2002-01-14 Thread Angus D Madden
On Mon, Jan 14, 2002 at 10:08:04PM -0600, Nathan E Norman wrote:
 
> The 3c905c is not supported by the kernel available on the 2.2r2
> install disks.  You need a newer set of install disks, or a newer
> kernel.
> 
> If I were you I'd compile a kernel on your other box and transfer it
> over via sneakernet :)
> 

Problem Solved!  The latest woody compact floppies brought it right up.
Thanks.  Time to finally throw away the potato install disks.

g





pgpuDNS9vSBvy.pgp
Description: PGP signature


gmc + staroffice

2002-01-29 Thread Angus D Madden

I've recently converted grandma's pc and everything has been a big
success.  The only issue I can't solve is getting a double click in gmc
to open applicable documents with staroffice.

running woody, 2.4.17.

I have tried the following:

1.  adding appropriate lines in .mailcap and /etc/mailcap.  Apparently
gmc pays no attention to these.

2.  adding appropriate lines to /usr/share/mime-info/mc.keys.  No luck
there.

3.  using gnome control center -> document handlers -> file types and
programs.  Using this I can get gmc to display the correct icons, but
using a command like '/usr/local/staroffice6.0/program/soffice %f' fails
because gmc only passes the filename and staroffice expects the full
path.

If I am missing something obvious please let me know.  Otherwise, the
only way to get it to work may be edit the soffice launching script so
that it doesn't change the working directory.  

g



pgpw811zx1sFO.pgp
Description: PGP signature


Re: Screen Dump Util

2002-01-30 Thread Angus D Madden
On Tue, Jan 29, 2002 at 02:49:27PM -0800, Harris, Jason wrote:
 
> /usr/bin/X11/import -window root dump.bmp
> 
> I've always wanted to do a date command, perl it up and make the filename of
> the import results datestamped like dump29012002_143900.bmp.  Is there
> anyone out there that can do that in a perl-one-liner ?
> 

why not:

/usr/bin/X11/import -window root "dump-$USER-`date +%d%m%Y_%H%M%S`.bmp"

g



pgp4Ip1p7j9Su.pgp
Description: PGP signature


Re: COM21 is killing me with ARP

2001-06-13 Thread Angus D Madden
On Wed, Jun 13, 2001 at 12:01:23PM +0200, Sebastiaan wrote:
> a couple of days ago I installed a COM21 cable modem. Although I can
> internet without problems, the modem itself is sending me endless ARP
> requests, while my computer does not answer them. I analysed the data with

I have a COM21 and I have the same problem.  You'll notice that the TX
light on your NIC will never stop.  It never used to be a major problem
with my ne2k-pci NIC (until the NIC got toasted for one reason or
another).  After that I switched to a 3c905*, which seemed to work great
but would go dead after about 15 minutes (presumably because of the arp
bombardment).

My solution was to reset with interface with a cron job every 15
minutes.  It's a total rat-fsck solution, but it works.

> 
> This makes me nervous. 212.127.*.* is my ISP cable modem network. What is
> this, can I stop it?
> 

I'm not sure it comes from one source.  If I tcp dump I see many 'arp
who has xxx.xxx.xxx.xxx tell xxx.xxx.xxx.xxx' and the ip addresses jump
around all over the place.  Not sure how to stop it.

g



pgpVQsnal7i8Q.pgp
Description: PGP signature


Re: Howto? ATI Radeon on Sarge

2003-12-24 Thread Angus D Madden
hanasaki, Tue, Dec 23, 2003 at 08:08:28PM -0600: 
> Any thoughts on how to use a ATI Radeon (probably 9000 or 9200) sarge? 
> Sarge has XFree4.2x and the xfree86.org web site documents no radeon 
> support until XFree4.3x.  ATI seems to have some drivers on their site 
> but only in RPM format (no .deb)  Also, someone mentioned the VESA 
> driver.  Could this be of any value?
> 
> OS- Debian Sarge
> Kernel- 2.4.24 and 2.6
> 
> Any info would be most appreciated.  100% open source is the goal and 
> NVidia supposedly is not all open source.
> 

I have an ATI Radeon 9200 AGP.

I use woody with a 2.4.22 kernel and xfree86 4.2 from backports.org.  I
used the instructions from http://g-tec.co.at/ati_alt.html; they worked 
like a charm.  All other resolution paths ended in failure.

Although, I'm not sure if the drivers from ati are 100% open source.  The
card works without them, just at an order of magnitude performance
degradation.

g





pgp0.pgp
Description: PGP signature


Re: chroot for packaging

2004-01-04 Thread Angus D Madden
Nano Nano, Sat, Jan 03, 2004 at 06:47:25PM -0800: 
> I'm dumb and lazy: I want a chroot'd woody so I can identify 
> build-depends for my own debian package (basically a GTK 2 app).
> 
> I don't want to create a separate partition: I just want to do it on 
> some spare space on an existing partition.

debootstrap is useful for making chroots.  rootstrap is also worth
looking at, depending on your needs.

g





pgp0.pgp
Description: PGP signature


Re: iptables - ip_conntrack_max

2004-06-15 Thread Angus D Madden
Gilberto Villani Brito, Tue, Jun 15, 2004 at 02:23:22PM -0300: 
> Hi Debian users,
> I read this message:
> http://lists.debian.org/debian-firewall/2003/03/msg00011.html about
> ip_conntrack_max (iptables).  So I would like know how can I do to my
> debian put 5000 in /proc/sys/net/ipv4/ip_conntrack_max in the boot
> without use /etc/rc.boot/ 
> 

add the following to /etc/sysctl.conf:

net/ipv4/ip_conntrack_max=5000


Note the default is 32760, so setting it to 5000 would decrease the max
number of connections.




pgpSvl1S9acIN.pgp
Description: PGP signature


Re: Make vi remember where I was

2004-08-20 Thread Angus D Madden
Jacob Friis Larsen, Fri, Aug 20, 2004 at 03:29:43PM +0200: 
> How do I make vi remember where I was and start at that position?
> 

from /usr/share/vim/vim60/macros/vimrc on a RHEL box:

" Only do this part when compiled with support for autocommands
if has("autocmd")
  " When editing a file, always jump to the last cursor position
  autocmd BufReadPost *
  \ if line("'\"") > 0 && line ("'\"") <= line("$") |
  \   exe "normal g'\"" |
  \ endif
endif




pgpKwPnr97yTa.pgp
Description: PGP signature


Re: Debian / NFS

2004-03-01 Thread Angus D Madden
Devin Atencio, Mon, Mar 01, 2004 at 01:58:07PM -0700: 
> 
> 
> I currently have a NAS server running Debian Linux with kernel 2.4.22
> with XFS filesystem.  The NAS currently has 1.5 gigs of Memory and is a
> Dual Pentium III 1.4 gigahertz machine.  I have 4 machines that mount

What kind of storage does it have?

> this NAS for e-mail/pop services. The mail servers are normally under
> very heavy loads and I notice that the load on the NAS skyrockets
> causing lots of issues with pop3. I am almost positive it is NFS issues
> and am trying to figure out how to better tune the NFS on my NAS so i
> have less issues.
> 
> I am using the nfs-kernel-server and I have in my
> /etc/defaults/nfs-kernel-server
> 
> # Number of servers to start up RPCNFSDCOUNT=300
> 
> My /proc/net/rpc/nfsd shows: th 300 6328317 437895.770 181412.220
> 96134.190 58149.750 38388.700 27054.990 20005.880 15421.700 12464.920
> 21369.570

We have seens similar problems before and eventually concluded that it was
a disk bandwidth problem rather than an nfs problem.  What does the load
look like on the nfs server?  What does iostat show you?

What does the retrans parameter in `nfsstat -c' show on the clients?

g




pgp0.pgp
Description: PGP signature


Re: recommended reading?

2004-02-08 Thread Angus D Madden
Steve Hargreaves, Sun, Feb 08, 2004 at 02:54:53AM +: 
> 
> What would people recommend I start with (assume I'm a complete novice) that 
> will guide me through the basics of Linux (and more specifically, debian) 
> that I can get without trawling the web and spending several pound on printer 
> ink and paper to get (and if my local library can get hold of it - even 
> better).
> 

Unix Power Tools by O'Reilly et al which teach you what you need to know,
starting with shell and vi.  It will give you a good grounding in the
big picture and the philosophy of unix.

g





pgp0.pgp
Description: PGP signature


Re: keep x session open

2004-02-11 Thread Angus D Madden
techlists, Mon, Feb 09, 2004 at 11:20:55PM -0600: 
> I am running Sid with KDE, and was wondering if I am logged in and have
> some programs running, is there a way for someone else to log into x on
> the same terminal, without shutting down the programs I have running?
> that way when they are finished, I can re-log in and continue where I
> left with the programs that I originally had still open and running.
> 

With GNOME you can use gdmflexiserver (it's called "New Login" in the
GNOME application menu, iirc).

I don't know what the kde equivalent is.

If you are going to need this all the time you can configure your display
manager (kdm?) to launch a second login window on vt8 by default.

g




pgp0.pgp
Description: PGP signature


Re: what *nix magazines do you read?

2004-05-02 Thread Angus D Madden
Randy W. Sims, Sat, May 01, 2004 at 02:55:34AM -0400: 
> What magazines (online & print) do you read to keep up with 
> linux/networking/administration, etc. ??? I'm wondering if I'm missing 
> any good sources.
> 
> others?
> 

I read ;login: (http://www.usenix.org/publications/login/), it is
generally interesting and the conference reports are a good window into
the state of the art.

g





pgp0.pgp
Description: PGP signature


Re: Debian install for beginners?

2002-03-08 Thread Angus D Madden
Karl E. Jorgensen, Fri, Mar 08, 2002 at 02:57:58PM +: 
> Hi
> 
> Has anybody else had experience with setting up a Debian GNU/Linux box
> for friends who wants to get started with computers? If so then I'd
> appreciate your comments/input.

Have done this as well for family.  It really saves time on maintenance.

> 
> I plan to use:
> - Debian GNU/Linux (off course!)
> install minimal potato, set up apt to point to woody (with
> preferences for security updates from potato). I've most most
> packages in my apt-proxy cache anyway.

I don't think potato security updates apply to woody systems.

> - hand-rolled 2.4.17 kernel 
> Basically a kernel-package job, probably with tmpfs for /tmp and
> /var/run

Don't forget autofs!  You'll need that to automagically mount floppies
and cdroms.  Very useful tool and easy to configure.

> - XFree 4.1.0
> - xdm (anything small will do)
> - Icewm - not gnome. (it seems lightweight) Alternatives welcome.
> - Mail client - sylpheed? (there was a discussion on debian-user about
>   this recently. I need to read up on that)

mozilla-mail?  Works ok.

> - Gnumeric
> - Abiword: I think staroffice will be too much for the machine. Any
>   alternatives?
> - Browser? Will mozilla be too heavyweight? I like mozilla myself...

I like mozilla as well.

> - Any progs/applets available for controlling pppd?

I think there are some in gnome-applets.

> - Some games
> That's probably what they will mostly use the machine for.
> ace-of-penguins looks nice.
> gotta have tetris too.
> Ideas?

gnome-games.

> - Gimp

try gthumb or gqview to browse images. eeyes is a good simple image
viewer.

> - FreeAmp

xmms.

> - mgetty so I can dial in if needed. Should also be usable for fax.
> 
> I'd like to install gtcd as well (part of the gnome-media package), so
> they can turn CDs into MP3s, but that will pull in most of the gnome 
> libraries. I fear that the memory usage may cause the machine to collapse.
> 
> Somebody else must have done this before - any ideas/concerns will be
> appreciated.
> 

Note that you can also install yahoo messenger or aim.  Agsatellite is
also available, although you have to tie it to some buttons on the
panel.

I used gnome and elightenment and made it look like to the win32
that had died on the same box.  The only trouble I am having is finding
a graphical file manager that can open files in SO when clicked (gmc
can't) or works well with autofs (nautilus doesn't).  Other than that,
the only real issue is managing fonts - the fonts always seem to get
screwy after an upgrade.  Haven't figured out why.

Also, remember that most people don't like really high resolutions.
1024x768 or less should be ok.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpFaYnfo82kI.pgp
Description: PGP signature


Re: CUPS auto-banner

2002-03-12 Thread Angus D Madden
David Wright, Sun, Mar 10, 2002 at 06:20:34PM -0800: 
> 
> Forgive my density, but the CUPS manuals are singularly impenetratable.
> 
> How to I confiure a CUPS server to automatically print a banner with 
> every job?
> 
> Just to be clear, I don't want my users to have to type
>   -o job-sheets=standard
> each time.
> 
> 

I think this can be done from the web interface
http://localhost:631/printers . Select "Configure Printer" for the
printer in question and there will be a "Banners" section at the bottom
of the page.

The existing banners can be found in /usr/share/cups/banners

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpBYeQqddnNm.pgp
Description: PGP signature


Re: A couple of general Debian questions

2002-03-14 Thread Angus D Madden
Paul F. Pearson, Wed, Mar 13, 2002 at 06:54:49PM -0600: 
> 2) I want to install Woody on my PC at home (I currently have Potato at 
> home, Woody for PPC at work). My home computer's access to the net is at 
> approx. 30Kb/sec - not a good option for doing an internet install. I 
> don't see any iso's of Woody (b/c it's not released yet) out for me to 
> download and burn to take home. What are my options? 
> 

I would install the base system from potato, and not install any other
packages from potato when prompted to by dselect or task-select.  After
rebooting the system, point your sources.list at woody and apt-get
dist-upgrade.  sleep.

As an alternative, there are woody CD's available for purchase, but I
have never tried them.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpEnI4RpsGG1.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-15 Thread Angus D Madden
Dave Scott, Fri, Mar 15, 2002 at 12:45:18PM -0800: 
> Anyone have any ideas on what is the best Web Based email application.
> 
> I was using Neomail, but it's just too plain, is there anything with
> more options, etc, something more like Outlook Web Access 2000 in an
> open source alternative.
> 


I highly recommend SquirrelMail.  There is a deb in woody/sid, but I
usually just download and install it directly, as it is simple to
install and configure.  

SquirrelMail is very full featured and development is open and active.
There was an imap bug which caused apache procs to hang on high load
servers but that seems to have been fixed in the latest release.  

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpg8MQPfw9R1.pgp
Description: PGP signature


Re: apache restart

2002-03-16 Thread Angus D Madden
timothy bauscher, Fri, Mar 15, 2002 at 05:23:54PM -0500: 
> Strange apache behavior:
> 
> I modified the DirectoryIndex variable to
> include index.php and index.cgi.
> 
> Then i entered "apache restart" at the command
> line. It seemed to restart, but the change didn't
> take affect. I also tried using "apache stop;
> apache start". I ended up having to reboot the
> server for this simple change to take affect.
> 


You want to use 'apachectl', not 'apache', i.e.:

apachectl (start|stop|restart|graceful)

or 

/etc/init.d/apache (start|stop|restart)


g




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpsbXTpXGGSd.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-16 Thread Angus D Madden
Dave Scott, Sat, Mar 16, 2002 at 10:58:55AM -0800: 
> Ok, I tried to install SquirrelMail but didn't have too much luck.
> 
> All I got were failed dependencies left and right.  I had to manually
> download a bunch of them.
> 
> I am stuck now with SquirrelMail telling me that I don't have Perl
> installed, even though I do.  I'm guessing I need the newer version of
> Perl though since I am using the .deb version of SquirrelMail.
> 
> I try to install Perl 5.6.1-7 but get all kinds of conflicts with Perl
> 5.005
> 
> Plus it tells me I need the Libc6, the newer one and that gives me a
> full page of conflicts.
> 
> Anyone know what I should do to get out of this mess.
> 
> Is it normal to have to update half of your packages to Testing packages
> to get SquirrelMail installed?
> 

Your best bet would to complete the upgrade to testing or downgrade to
stable (if possible) and just install the SquirrelMail tar.gz

In my experience, having mixed stable and testing packages is not
advisable when they require a different libc6 verson.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpAIu9bogvFX.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-16 Thread Angus D Madden
Jerome Acks Jr, Sat, Mar 16, 2002 at 04:13:56PM -0500: 
> Looking at squirrelmail dependencies, I don't see a lot of testing
> version numbers listed. You could try installing squirrelmail source
> and compiling it yourself.   

SquirrelMail depends on php4, perl, and debconf.  Their dependencies are
causing his problems.

BTW, SquirrelMail is a PHP app, so no compilation is necessary. It
requires perl because the configuration script uses perl - but any
version of perl should work fine.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpAbsrMjnIsp.pgp
Description: PGP signature


Re: How to use SquirrelMail?

2002-03-16 Thread Angus D Madden
Rick Macdonald, Sat, Mar 16, 2002 at 03:05:45PM -0700: 
> 
> Here's what I do now:
> 
> - run fetchmail to grab mail from a few different mail servers for deposit
>   locally for a few different users.
> - some local users running Windows/Netscape get their mail from my
>   machine; I run qpopper for this.
> - For one of the users (me) procmail sorts the mail into various mail
>   files.
> - I read my mail with pine, usually.
> 
> When I'm away from home, I want to access my mail remotely, using web
> access. People seem to like SquirrelMail. I have apache and SM installed,
> but that's as far as I've gone.
> 
> I can't figure out if SquirrelMail will use the existing mail folders that
> pine sees or not. I don't want SquirrelMail to fetch mail from anywhere to
> move anywhere else.
> 
> I don't understand if IMAPs role is simply to serve up the mail to the
> remote client and allow deleting, moving to other folders, etc, or if it
> will want to replace my existing steps of fetchmail/procmail.
> 
> Which IMAP package should I use?
> 

Which IMAP server you choose will most likely be related to which SMTP
server you are using.  I qmail, so the IMAP server of choice is
courier-imap, as it supports maildirs.  The cyrus IMAP server seems to
be part of a larger package, but I've never used it.  Other choices are
wu-imapd and imap.

Each IMAP server has it's own format for specifying subfolders and the
like - I'm not sure how easy it is to make it read folders that are
outside that scope.  It might be easier to install it and create some
folders, then map your procmail scripts to those folders.

Also, if you are just looking for remote access to mail, why don't you
ssh into your home box and just use pine?  It's easy to get an ssh
client on most machines (use PuTTY.exe is you are stuck on a windows
box).

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp8AzyyRuCgH.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-18 Thread Angus D Madden
Rick Macdonald, Sat, Mar 16, 2002 at 02:39:02PM -0700: 
> 
> I installed squirrelmail, but which IMAP should I use?
> 
> Can I still keep running qpopper to provide POP3 for users on my lan (wife
> and kids)? Or does IMAP conflict somehow?
> 

What SMTP server are you using?  If you are using qmail, then use
courier-imap.

AFAIK, You can still use qpopper to provide pop3 - there is not
conflict.  But when you use IMAP, they key is to keep your mail on the
server and not on the client - the idea is that you can get to it from
anywhere.

As long as one account consistently uses one or the other (pop3 or
imap), there should not be a problem.

g




-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpO3tdKYdbmK.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-18 Thread Angus D Madden
Dave Scott, Sun, Mar 17, 2002 at 12:04:17PM -0800: 
> I'm going to try the manual install today.
> 

Very straightforward.  There are some changes I make to the default
install (don't like db passwords in the DocumentRoot) but the
installation and configuration process is a snap.

> I'll let you know what I come up with.
> 
> I think my main problem was I couldn't find any version of squirrelmail
> up on debian's site, except for in testing, so I tried the testing
> version, opps.

Very bad idea to mix stable and testing/unstable.  It might work today, but
future upgrades and installations are guaranteed to be hairy.

> 
> Maybe my sources.list needs to be updated, but with what reference?
> 
> What I didn't understand was Squirrelmail said you need Perl, but is
> there a specific version of Perl it requires.  Me thinks that the
> Squirrelmail version I tried to install requires Perl 5.6, hence it kept
> telling me Perl wasn't installed when I know it was.

SquirrelMail's configuration utility uses Perl.  The config utility is
great and doesn't need Perl 5.6.

The dependency problem:
squirrelmail -> apache and php4
apache and php4 -> libc6 2.2.4-4

The version of libc6 in potato is 2.1.3-19.  Pretty much everything
depends on libc6, so if you upgrade libc6 you are making major changes
to you system.  Basically, libc6 is the reason why it's difficult to mix
releases.  Even if potato/woody had the same version of libc6, it would
be sure to change down the road, and when it did you would have to
choose one or the other.

> 
> Anyway, I'll try the source and see what happens, I already installed
> the box at the customers premise so I need to be careful what I do now,
> but I can do all the testing on my box at home though first.
> 

Good luck.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgps7FHzF6XFT.pgp
Description: PGP signature


Re: Best Email Web Application

2002-03-18 Thread Angus D Madden
Dave Scott, Mon, Mar 18, 2002 at 09:12:44AM -0800: 
> Yeah, I definitely have Libc6 2.2.5-3 in my system somehow and my relese
> is Potato, so I did a big no no I guess.   And the part that sucks is
> that I upgraded to get squirrelmail on.  
> 

I wonder if there is an exisitng document/policy anywhere on the
advantages/dangers of mixing releases?  If so, there should probably be
one in a easily accesible location.  Maybe at the top of the default
source.list?

> 
> Might be best just to leave it be, since everything appears to work at
> present?

It might be a good idea to reboot the system and see if everything comes
up ok.  Some errors might not be immediately noticble, though.  So much
code links to libc6 that is is probably the most critical package in the
system.

If the machine is not in production, has no special hardware
requirements that require special configuration, and is physically
accessible, I recommend completing the upgrade to woody.  You might want
to tie the output so you can catch any problems.

> 
> Sucks, for a newb like me, there just isn't enough stuff in Stable to
> get me going, all the cool stuff I need is in Testing, if I would have
> known what I know now I would have started with Woody to avoid this
> mess, oh well, I'm learning a lot.

That is the fun part!

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpU4WytqyHh6.pgp
Description: PGP signature


Re: command line php

2002-03-18 Thread Angus D Madden
Erik van der Meulen, Mon, Mar 18, 2002 at 08:47:30PM +0100: 
> Hi Listpeople - I would like to execute a php script from crontab.
> Some Suse users told me they have a /usr/bin/php which allows for
> just that.
> I have tried to find a package in Debian which brings this, but
> have not been able to locate it.
> 

apt-get install php4-cgi

use '#!/usr/bin/php4 -q' as a shebang

you'll still need  tags

might want to turn set html_errors = Off in /etc/php4/cgi/php.ini


g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp2hAy2raA0a.pgp
Description: PGP signature


Re: bash scripting question (variables and spaces)

2002-03-19 Thread Angus D Madden
Karsten Heymann, Tue, Mar 19, 2002 at 08:35:53PM +0100: 
> Hi,
> 
> I have once again come upon bash problem I can't solve. I'm writing a
> little bash frontend and one of the programs expects a option that includes
> spaces and is composed from two other shell var's. Example:
> 
> #!/bin/bash
> A="Hello"
> B="Karsten"
> C=$A $B 
> someprog --greeting $C
> 
> Whatever I do now, --greeting receices only the "Hello" part. I've
> tried some other variants too:
> 
> C="$A $B"
> C=\"$A $a\B"
> C='$A $B'
> C=$A\ $B
> C=`echo $A $B`
> 
> What works is 
> someprog --greeting "Hello Karsten"
> but that's no solution.
> 

Try this:

#!/bin/bash
A="Hello"
B="World"
C="$A $B"

someprog --greeting "$C"


That should do it for you.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp6BtsJUqm3M.pgp
Description: PGP signature


Re: X doesn't redisplay on return from console

2002-03-20 Thread Angus D Madden
Derek Loree, Tue, Mar 19, 2002 at 02:50:49PM -0800: 
> Hi all,
> 
> I just got my Gforce2 going (Tux Racer is awesome!), and I have the same
> problem.  If I switch consoles (ctrl-alt-f[1-6]), then switch back to X
> (ctrl-alt-f7)  the display, keyboard and mouse stop responding (never 
> displaying
> the X console).  I can ssh into the machine, kill -9 XFree86 and the display, 
> kb
> and mouse start working again.
> 

I have experienced the same problem, but it has not been reproducable.
I am running a woody system.

ii  xserver-xfree8 4.1.0-13   the XFree86 X server

NVIDIA_GLX-1.0-2313 and NVIDIA_kernel-1.0-2314 are installed.


g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpp9JSR0QlIG.pgp
Description: PGP signature


Re: Debian and PDAs.

2002-03-20 Thread Angus D Madden
Erin Lewy, Wed, Mar 20, 2002 at 05:46:05AM -0500: 
> 
> So-- does anyone here have a PDA and if so what kind and how has your 
> luck been as far as being able to synch it and whatnot?  
> 

Erin,

I have been looking for the ultimate cell/pda combination for a while.
the answer depends on where you are and what networks are available.
Personally, I think the following requirments would rock:

1.  PDA and Cell Phone Should be same device.
2.  Need access to a packet-switched cell network (limited in most
places).
3.  Must have keyboard.  Stylus bad.
4.  Must fit in pocket or have belt-clip.
5.  Must have ssh client.
6.  Must have reasonably good phone book.  Nokia good.  Motorola bad.

That's about it.  I don't care about syncing or any application support
because I would prefer to ssh to my home/office machine and just use
console apps.  

Anyhoo, I've been looking for a while and some possible candidates are
the Nokia Communicator and the Handspring Treo.  If anyone knows of
other devices with the required functionality please let me know.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpHYCpo5p2Zo.pgp
Description: PGP signature


Re: Galeon PSM

2002-03-20 Thread Angus D Madden
Michael Montagne, Wed, Mar 20, 2002 at 08:32:11AM -0800: 
> What is PSM for Galeon (mozilla?)?
> When trying to reach a secure sight I'm informed that this must be
> installed.  The download is a whole bunch of files tarred together.  I'm
> unsure how to proceed.  Should I just copy the whole tree I downloaded
> into my mozilla tree (the directories and file names seem to match so
> there will be much overwriting)?  I've installed everything else with
> apt-get so I'd like to stay within the system.  Can I install PSM with
> apt-get?
> 
> 

apt-get install mozilla-psm


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpfGd21LCpwi.pgp
Description: PGP signature


Re: kernel config file (was Re: Upgrade to kernel 2.4.* on woody - easy?)

2002-03-20 Thread Angus D Madden
Christoffer Quest, Wed, Mar 20, 2002 at 07:19:27PM +0100: 
> 
> Could you tell me where I find the config file for the kernel-image? I also 
> want to compile my own custom kernel for debugging proposes, but don't want 
> to configure it totally myself.
> 

IIRC it's included in the kernel-image* debs.  usually as
boot/config-X.Y.Z

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpqV5g5M6YpH.pgp
Description: PGP signature


Re: SquirrelMail help

2002-03-21 Thread Angus D Madden
Kurt Lieber, Wed, Mar 20, 2002 at 10:01:13PM -0500: 
> On Wednesday 20 March 2002 07:54 pm, Jonas Bj?rck wrote:
> > Fatal error: Maximum execution time of 30 seconds exceeded in
> > /usr/share/squirrelmail/functions/imap_general.php on line 87
> 
> That's actually most likely a php problem, not a squirrelmail problem.  I'm 
> guessing you have a lot of mail or subfolders and squirrelmail can't read 
> them all before the script times out.
> 
> Assuming you have control over your server (i.e. it's not hosted on an ISP's 
> server) check the max_execution_time value in your php.ini file.  
> (/etc/php4/apache/php.ini by default in debian)  You can increase that to 60 
> or even higher to see if that helps.
> 
> If it doesn't, then I'd recommend posing this question on one of the 
> squirrelmail mailing lists (www.squirrelmail.org)  I've always had great luck 
> in getting fast responses there.
> 

Also make sure you are running the latest version of SquirrelMail
(1.2.5).  Versions before that had a wierd IMAP bug which could hang
apache procs.  I haven't had any problems with the latest version.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpSGCx5LVQ9D.pgp
Description: PGP signature


Re: Gnome menus, where is config stored?

2002-03-21 Thread Angus D Madden
stan, Thu, Mar 21, 2002 at 07:06:48PM -0500: 
> I have a woody machine that no longer offers me the choice of adding the
> gdict applet to my panles.
> 
> I've deleted and readded the gdict package, but that did not fix it.
> 
> So, I thought I'd go take a look at the configs, mmyself. Where are they
> stored? In what format? 
> 

System-wide GNOME menus are stored in /usr/share/gnome/apps.  The format
is .desktop, transparent and open to inspection.

User GNOME menus are stored in ~/.gnome/apps/

Debian menus are stored in /usr/lib/menu

> And BTW what's the name of the gdict applet?
> 

'apt-cache search gdict' gives 
gnome-utils - Gnome Utilities (gtt, gsearchtool, and more)
gdict - small GTK app to retrieve definitions from MIT's dictionary
server

gnome-utils is in stable/testing/unstable, gdict is in stable.

On my system the gdict applet is located at Applet->Utility->GDict

The relevant menu file is usr/share/applets/Utility/gdict.desktop

g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpUiyWKov74s.pgp
Description: PGP signature


Re: Installation of JDK

2002-03-21 Thread Angus D Madden
Lawrence, Gareth, Fri, Mar 22, 2002 at 01:25:28PM +1200: 
> Greetings All,
> 
> having major troubles installing JDK on Debian - any suggestions would be
> appreciated.  
> 
> The error message I get is
> 
> "Error: failed /usr/java/j2sdk1.4.0/jre/lib/i386/client/libjvm.so, because
> libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or
> directory"
> 
> I used alien to concert the jdk1.4 file to deb and then used the depackage
> function so all should be well - let me know if you need more information.
> I also apt-get installed libstdc and libc6 and that didn't help.  
> 

$ dpkg -S libstdc++-libc6.1-1.so.2
libstdc++2.9-glibc2.1: /usr/lib/libstdc++-libc6.1-1.so.2

apt-get install libstdc++2.9-glibc2.1


g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpCMsiRGnWVT.pgp
Description: PGP signature


Re: Installation notes - Debian 2.2

2002-03-22 Thread Angus D Madden
Peter Whysall, Fri, Mar 22, 2002 at 05:33:35PM +: 
> [Now that I'm subscribed on d-u, I'm reposting this as I'd really like
> feedback that I can reply to - I might have made some bonehead remarks
> here :-)]
> 
> Symlinking /dev/mouse to /dev/psaux wouldn't hurt THAT much, would it?

Depends on wether or not you use gpm.

> 
> Networking configuration. Or the complete and utter absence thereof. For
> a distro that wants to install off the internet, not detecting,
> configuring and using an absolutely bog-standard 3Com 3C590 10MBit card
> is a bit heinous. I had to edit /etc/network/interfaces myself, and the
> card never did get its module loaded automatically and interface started
> until I had created a 2.4.18 kernel package. When this was installed, it
> all Just Worked.

Debian doesn't do autodetection, yet.  Someone should have warned you to
open you box and note what was inside before procedding with the
install.  The lack of auto-detection isn't that big a deal with the
network card, but is _really_ felt during the X configuration process.

If you had loaded the module for the network card the installer would
have prompted you for the information to configure
/etc/network/interfaces

> 
> As I've pointed out to Karsten (and others) in the past, FreeBSD has
> this down pat - two floppies and you're away - in stark contrast to the
> 13-17 floppies you need for Debian, and networking config is a solved
> problem. OK, FreeBSD sucks rocks once it's installed, but you get the
> idea :)

Debian - Difficult to Install, Easy to Maintain

> 
> Sound? Well, I've got the best sound card that never ruled the world -
> the Aureal SonicVortex2, based on the AU8830 chipset. As Creative Labs
> bought Aureal to save their blushes (Aureal's A3D surround sound kicked
> Creative's EAX all over the shop, and Aureal had the misfortune to go
> bust at the wrong time) and promptly killed it, the drivers are in legal
> limbo. However, http://www.braincells.com/debian/sid/au88xx/ to the
> rescue! Apart from a totally horked genchanges.sh script (pgp
> shenanigans), this worked fine and didn't mean I had to step outside the
> packaging system to get this going. Slight problems - the module doesn't
> get loaded at boot time and /dev/mixer and /dev/dsp had 0660
> permissions, which meant mere mortals couldn't access them.

Add yourself to the audio group rather than change permissions.

> 
> Other random thoughts:
> 
> Some wrapper script to jiggle /etc/apt/sources.list to enable easy
> switching between testing and stable, and also mirror selection.
> ftp.uk.debian.org started going hella slow last night at about 8PM, and
> switching to ftp.de.debian.org fixed it - but I had to edit the file to
> make this happen.

You can always put multiple sources in the same sources.list. When you
do an apt-get update, the source which downloads its Packages files
first will have a higher preference in the database.  I'm not sure
whether the ability to add mutiple sources for the same packages is 
planned or not.

> 
> Hell, *I* might write this :)
> 
> There needs to be apt tasks for GNOME and KDE. If there are, I can't see
> them. Not that I want to install KDE, mind, but a simple method of
> zapping it when I find it would be nice :)

good point.

> 
> Aptitude and apt-utils should be part of the base install. Too useful
> not to have.

useful but not necessary.  

> 
> All in all, though, a rewarding experience. At the end of the evening I
> had a fully functional Linux system running GNOME, with Evo and Galeon
> in place and working. No user data was ever lost and my Windows
> partition (gotta play games, dontcha know) was unaffected.

Debian really grows on you the more you use it. ;)

Oh, yeah.  Play Urban Terror (a quake3 mod) on Linux and you won;t need
that win32 partition anymore.

g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpEfB7qcQ2sm.pgp
Description: PGP signature


Re: network configuration??

2002-03-22 Thread Angus D Madden
Michael Griffis, Fri, Mar 22, 2002 at 10:39:01AM -0700: 
> I am new to linux and rather ambitiously installed Woody on my Fujitsu
> laptop with good results.
> 
> However every time I reboot I am asked to choose a network environment
> and the only option is to set a new environment and enter a new IP.  I
> use DHCP so I don't enter an IP and everything seems to work fine.  
> 
> Is this a network configuration problem?  Is there anyway to avoid this
> extra step?
> 

Does the screen look like this:
http://netenv.sourceforge.net/netenv.gif ?

If so, you have netenv installed on your laptop.  'apt-get remove
netenv' should take care of it.

Make sure your /etc/network/interfaces file is configured for dhcp and
you should be ready to go.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp9QbkySjP6e.pgp
Description: PGP signature


Re: Setting up virtual users on Courier IMAP?

2002-03-27 Thread Angus D Madden
jennyw, Wed, Mar 27, 2002 at 09:42:21AM -0800: 
> 
> Has anyone tried setting up virtual users with courier? I thought it was a 
> fairly popular IMAP server ...
> 
> Any suggestions would be really appreciated!
> 

courier-imap is an IMAP server with maildir support, so it's best used
with qmail.  You can use maildirs with postfix, but I have no experience
with that.

I use qmail, courier-imap and vpopmail to host virtual users.  vpopmail
is a great peice of software and works well.  Unfortunately, the
version of vpopmail-bin in unstable does not work with the courier-imap
package so if you want to go that route your best bet is to compile from
source.

You can always check the documentation at http://www.courier-mta.org/ .
A quick RTFG gives a HOWTO at http://howtos.eoutfitters.net/email/ that
explains step-by-step what you need to do.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpOGB8tAVwNB.pgp
Description: PGP signature


Re: fun with printers

2002-03-27 Thread Angus D Madden
Paul Mackinney, Wed, Mar 27, 2002 at 11:02:22AM -0800: 
> I have an Epson Stylus Color IIs. I have done exactly as you describe,
> and it prints beautiful test pages.
> 
> I can print text from emacs, but when I print from Abiword or Mozilla, 
> it spews page after page of what I assume is raw postscript code. I 
> haven't found anything in the CUPS docs that covers this. Where to I 
> start troubleshooting?
> 

You might want to install cupsys-driver-gimpprint, dpkg-reconfigure
cupsys, and modify your printer.  I find that the gimpprint drivers work
great, especially for my Epson Stylus 740.

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpQZVveXLg6V.pgp
Description: PGP signature


Re: Mozilla issues

2002-03-27 Thread Angus D Madden
curtis, Wed, Mar 27, 2002 at 12:32:22PM -0800: 
> One problem that bothers me with mozilla is printing.  I can't seem to 
> figure out how to add a printer to Mozilla, which might resolve this 
> situation.  

If you click on Properties... in the print dialog you can see that it
uses the environmental variable MOZ_PRINTER_NAME if set, and the default
printer otherwise.

> 
> Otherwise, my default printer is listed as "PostScript/default" and the 
> print command under properties is for lprng (I use cups).  So, basically 
> everytime I print I open the properties and enter just "lp".  Then I can 
> print.  There has to be a way to permanently edit the print command and 
> to add printers. Could someone help me on this?

apt-get install cupsys-bsd will give you the lpr client.  Might as well
use that as almost every application defaults to lpr and not lp.

> 
> Today, I noticed, however, that from some Internet sites it will print 
> only the first page, while from others it prints all pages.  Why would 
> that be?

Mystery.  And very annoying.  It also has problems when trying to print
a selection and/or distinct pages.


g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpQQJV89OeRb.pgp
Description: PGP signature


Re: Galeon/Mozilla Java Plugin Problems (woody)

2002-03-30 Thread Angus D Madden
Crispin Wellington, Sat, Mar 30, 2002 at 10:08:19PM +0800: 
> 
> Has anyone managed to install a working java plugin into the woody
> packages? If so, how?
> 

Start mozilla as root.  Go to http://java.sun.com/ .  Mozilla
should pop up a window asking if you want to install the required
plugin.  Follow the instructions, and mozilla will download and install 
the plugin automatically.  Restart the browser and revisit java.sun.com
to make sure it is working.

I don't know of a debianized way to do it.  You need to be root as it
installs files under the /usr/lib/mozilla directory.  

g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgp6Ghr7uRfcx.pgp
Description: PGP signature


Re: Debain admin book?

2002-04-03 Thread Angus D Madden
Grant Edwards, Mon, Apr 01, 2002 at 08:56:26PM -0600: 
> 
> I'm looking for a good source of info that's specific to Debian
> systems.  Something I can hand to an experienced Unix/Linux
> administrator who hasn't done Debian stuff before.
> 

How about "Linux Administration Handbook" by Evi Nemeth.  I haven't read
it,  but seems to be right along the lines of Nemeth Purple, except that
it has specifics for RH, SuSE, and Debian.

Might be a good thing to put in the hands of someone coming over from
another distribution. 

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpt1uruUiwCS.pgp
Description: PGP signature


Re: ssh and remote X apps syntax question

2002-04-06 Thread Angus D Madden
Patrick Kirk, Sat, Apr 06, 2002 at 03:12:43PM +0100: 
> Its for my wife and ideally I'd like to have a little script that I can
> give an icon to and put it on the Gnome taskbar.  Having the aterm open
> works but it is ugly.  
> 

Why not just add a launcher to the panel?  

Panel Menu > Add to panel > Launcher

Add appropriate Name and Comment.
Use the following for command:

   ssh -X -c blowfish target.host evolution

Select run in terminal if you want it to run in a terminal for
debugging or password dialog.  

g


-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpEtdPm7cYah.pgp
Description: PGP signature


Re: vchkpw debian help request

2002-04-24 Thread Angus D Madden
justin cunningham, Tue, Apr 23, 2002 at 01:24:35PM -0700: 
> Hi, here is a long thread [sorry] between me and ken at inter7.com.  I'm
> trying to get the debian qmail working but I don't think I have vchkpw
> working properly with vpopmail.  I can send mail ok but on receiving I
> believe the trouble is vchkpw is not working with vpopmail to
> authenticate passwords for test users.  Ken suggests I compile the new
> version from source but that's just not the debian way so... if anyone
> can give advice on this I'm eager to listen.  Best, Justin 
> 

The vpopmail packages in debian are quite out of date, and don't work
together with the courier-imap packages in debian.

That said, you have two choices:

1.  Compile from source (what I do)
2.  Fix the debian packages

The debian qmail works fine.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpgeLQGWx5zk.pgp
Description: PGP signature


bash, Meta-., Windows Key

2002-04-24 Thread Angus D Madden

Hello,

I am trying to get M-. working in my bash shell.  It works on all of my
machines except one.  I think it is because I chose the wrong keyboard
type during installation.  My X configuration is the same across all my
machines.

The first option in the debian install is "Configure the Keyboard".
What file is this configuration stored in, and how do I reproduce that
dialog?  I have tried `dpkg-reconfigure console-common` but that doesn't
do it.  I've also RTFM'd, RTFG'd and searched the debian lists, but I
can't seem to put the right search terms together.

Thanks.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpBFgzUEmb5D.pgp
Description: PGP signature


Re: bash, Meta-., Windows Key

2002-04-24 Thread Angus D Madden
craigw, Wed, Apr 24, 2002 at 06:52:04PM -0700: 
> On Wed Apr 24, 2002 at 09:40:19PM -0400, Angus D Madden wrote:
> > The first option in the debian install is "Configure the Keyboard".
> > What file is this configuration stored in, and how do I reproduce that
> > dialog?  I have tried `dpkg-reconfigure console-common` but that doesn't
> > do it.  I've also RTFM'd, RTFG'd and searched the debian lists, but I
> > can't seem to put the right search terms together.
> > 
> 
> The solution I found was to put this in ~/.inputrc:
> 
> set convert-meta off
> set input-meta on
> set output-meta on
> 
> 

That didn't do it for me.  If I log into the machine remotely from a
machine that is configured correctly, M-. works.  That makes me believe
that the problem is tied to the keyboard on this machine.

g

-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpwpTlpfBhSo.pgp
Description: PGP signature


Re: 1:1 mirror for an entire hd

2002-05-22 Thread Angus D Madden
Karsten M. Self, Mon, May 20, 2002 at 02:09:32AM -0700: 
> on Mon, May 20, 2002, R. Lockhart ([EMAIL PROTECTED]) wrote:
> > I need to transfer all my data, os, partitions, formatting, to a new
> > hard drive. I got a lemon hd (still perfect electronicly but making
> > ugly noises). A replacement is on the way from the manufacturer but
> > I'm not sure about the best way to mirror a-b.
> 
> 
>$ mkdir /mnt/oldhd
>$ mkdri /mnt/newhd
>$ mount /dev/hda /mnt/oldhd
>$ mount /dev/hdb /mnt/newhd
>$ cd /mnt/oldhd
>$ tar cvf - . | ( cd /mnt/newhd; tar xf - )
> 
> (rsync, or cp -padR are other alternatives).
> 

Also, you'll need to install a new boot block (MBR) or the new disk
won't boot.  The LILO mini-howto explains how to do that:

http://www.tldp.org/HOWTO/mini/LILO-4.html

You can use fdisk -l /dev/hda to get the parition table of the old disk.

g



-- 
Brought to you by Debian 3.0
Linux took 2.4.16 #1 SMP Sat Jan 5 12:52:24 EST 2002 i686 unknown


pgpBwTfGlHClU.pgp
Description: PGP signature