[SLUG] Su Problems

2002-09-03 Thread Richard Luckhurst

Hi list

I am using Redhat 7.2 for a client and today noticed a problem I've
not seen before. I went to become root as I always have, with su, 
and instead of being asked for the root password and becoming root
I got asked for the password and then got an error about not being able to
change groups. I have checked that no one has been playing around with
the group and passwd files and they are untouched as are the permissions
on /bin/su. Has anyone got any idea why I might now be getting this
error?

Thanks a lot 

Richard



Richard Luckhurst

Manager / Engineer
Sound Advice
P.O. Box 104
Narrabri NSW 2390 Australia

Ph / Fax +61 2 6792 6060

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



[SLUG] Su Problems

2002-09-03 Thread Richard Luckhurst

Hi list

I am using Redhat 7.2 for a client and today noticed a problem I've
not seen before. I went to become root as I always have, with su, 
and instead of being asked for the root password and becoming root
I got asked for the password and then got an error about not being able to
change groups. I have checked that no one has been playing around with
the group and passwd files and they are untouched as are the permissions
on /bin/su. Has anyone got any idea why I might now be getting this
error?

Thanks a lot 

Richard


Richard Luckhurst

Manager / Engineer
Sound Advice
P.O. Box 104
Narrabri NSW 2390 Australia

Ph / Fax +61 2 6792 6060

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



[SLUG] SU Problems

2002-09-03 Thread Richard Luckhurst

Hi list

I am using Redhat 7.2 for a client and today noticed a problem I've
not seen before. I went to become root as I always have, with su, 
and instead of being asked for the root password and becoming root
I got asked for the password and then got an error about not being able to
change groups. I have checked that no one has been playing around with
the group and passwd files and they are untouched as are the permissions
on /bin/su. Has anyone got any idea why I might now be getting this
error?

Thanks a lot 

Richard



Richard Luckhurst

Manager / Engineer
Sound Advice
P.O. Box 104
Narrabri NSW 2390 Australia

Ph / Fax +61 2 6792 6060

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



[SLUG] Starting programs on console

2002-09-03 Thread Matthew Clark

just wondering about how one would  go about starting an application on a
local console. for instance something like mysqlclient or mutella etc. so
that you could access it by hitting ctrl-alt-f9 for instance (no login
prompt, instead application prompt).

i would assume that this would be done through inittab, but don't know
exactly how to link it to the console.

i realise the security implications involved with this, i was just wanting to
have a bit of a play. on that, would the security implications run much
further then having an application running as root accessible to anyone
physically at the computer (which i am sure you could subvert with an su),
or having a process respawning that someone might keep killing (but init will
stop respawning it for periods of time if this keeps occurring)?

would there be any problems with applications requiring shell variables, then
again this could be circumvented by running a script that calls bash (for
example) followed by the application to run, couldn't it?

anyway any thoughts greatly appreciated,
matt.

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



Re: [SLUG] RPM complaints while trying to install XFree86 4.2.0

2002-09-03 Thread lukekendall

On  3 Sep, James Gregory wrote:
  On Mon, 2002-09-02 at 22:38, [EMAIL PROTECTED] wrote:
  On  2 Sep, To: Martin wrote:
We'll see how I go. 
  
  Well, I tried a semi-tentative install:
  
  rpm -i --nodeps --replacefiles XF* font* free*
  
  Now I seem to have parts of both 4.1.0 and 4.2.0, though everything
  seems to be working.  Any suggestion on the safest way to get rid of
  the older rpms without disturbing the new?  Is it as simple as
  rpm -e XFree86-4.1.0-25, etc?  (And try to find 4.2.0 versions of the
  missing pieces?)
  
  If you're going to do that you're much better off asking rpm to upgrade
  rather than install. Grab your rpms and do
  
  rpm -UVh --force XF* font* free*
  
  then if there's an old version on the system it will be replaced by the
  new one.

Sounds good.  After beating my head against rpm's terrible error
messages, I realise that the -V option doesn't go with -U.

There appears to be no way to get rpm to tell you what version it is,
so all I can say is that it's whatever version comes with RH 7.2.

[root@posh X]# ls
fontconfig-0.0.1.020826.1330-3.i386.rpm  XFree86-devel-4.2.0-8.i386.rpm
freetype-2.1.2-7.i386.rpmXFree86-libs-4.2.0-52.01.i386.rpm
XFree86-100dpi-fonts-4.2.0-8.i386.rpmXFree86-tools-4.2.0-8.i386.rpm
XFree86-4.2.0-52.01.i386.rpm XFree86-twm-4.2.0-8.i386.rpm
XFree86-75dpi-fonts-4.2.0-8.i386.rpm XFree86-xdm-4.2.0-8.i386.rpm
XFree86-base-fonts-4.2.0-52.01.i386.rpm  XFree86-xfs-4.2.0-52.01.i386.rpm
[root@posh X]# rpm -UVh --force XF* font* free*
--upgrade: unknown option



[root@posh X]# rpm -U XF* font* free*
error: failed dependencies:
/usr/X11R6/bin/mkfontdir   is needed by XFree86-100dpi-fonts-4.2.0-8
/usr/X11R6/bin/xauth is needed by XFree86-4.2.0-52.01
Glide3 = 20010520 is needed by XFree86-4.2.0-52.01
kernel-drm = 4.2.0 is needed by XFree86-4.2.0-52.01
/usr/X11R6/bin/mkfontdir   is needed by XFree86-4.2.0-52.01
/usr/X11R6/bin/mkfontdir   is needed by XFree86-75dpi-fonts-4.2.0-8
/usr/X11R6/bin/mkfontdir   is needed by XFree86-base-fonts-4.2.0-52.01
/usr/X11R6/bin/mkfontdir   is needed by XFree86-xfs-4.2.0-52.01
/usr/bin/ttmkfdir   is needed by XFree86-xfs-4.2.0-52.01
freetype = 2.0.3-7 is needed by freetype-devel-2.0.3-7
/usr/X11R6/bin/mkfontdir   is needed by kappa20-0.3-7
/usr/X11R6/bin/mkfontdir   is needed by 
XFree86-ISO8859-15-100dpi-fonts-4.1.0-25
/usr/X11R6/bin/mkfontdir   is needed by xawtv-3.54-5
/usr/X11R6/bin/mkfontdir   is needed by XFree86-ISO8859-15-75dpi-fonts-4.1.0-25
/usr/X11R6/bin/mkfontdir   is needed by knm_new-1.1-5
/usr/X11R6/bin/xauth is needed by mkxauth-1.7-16

None of this makes any sense to me, since all the dependencies that it's
complaining about are provided by the packages I'm trying to install!

Further reading of the badly written rpm man page shows that the -v
option is apparently allowed with -U.

One of the warnings made sense - the freetype-devel one - so I've also
downloaded the 4.2.0 package for that too.

I wasn't quite game to use --force, so I tried this, below, and at least
the system hasn't crashed:

[root@posh X]# rpm -Uh --nodeps --replacefiles XF* font* free*
### [100%]
package XFree86-base-fonts-4.2.0-52.01 is already installed
package fontconfig-0.0.1.020826.1330-3 is already installed
[root@posh X]# which mkfontdir
/usr/X11R6/bin/mkfontdir
[root@posh X]# which ttmkfdir
/usr/bin/ttmkfdir

However, things still appear to be doubly installed:

[root@posh X]# rpm -qa | grep XFree86 | sort 
XFree86-100dpi-fonts-4.1.0-25
XFree86-4.1.0-25
XFree86-4.2.0-52.01
XFree86-75dpi-fonts-4.1.0-25
XFree86-base-fonts-4.2.0-52.01
XFree86-compat-libs-4.0.3-2
XFree86-devel-4.1.0-25
XFree86-ISO8859-15-100dpi-fonts-4.1.0-25
XFree86-ISO8859-15-75dpi-fonts-4.1.0-25
XFree86-jpfonts-2.1-24
XFree86-libs-4.1.0-25
XFree86-libs-4.2.0-52.01
XFree86-tools-4.1.0-25
XFree86-twm-4.1.0-25
XFree86-xdm-4.1.0-25
XFree86-xfs-4.1.0-25
XFree86-xfs-4.2.0-52.01

I see that it appears not to have installed any of the
-4.2.0-8.i386.rpm files, either: XFree86-100dpi-fonts
XFree86-75dpi-fonts XFree86-devel XFree86-tools
XFree86-twm XFree86-xdm

Any idea why that would be?

Oh, and after upgrading to kernel 2.4.19 and installing the X stuff
last night, I tried a severe test: 1600x1200 mode, netscape ... and the
system crashed (black screen of death).  I then tried 1280x1200 mode
and netscape.  Seemed to work for a while - then froze.  So I seem to be
back where I started.  My 1 year old Linux box has now had between 5 to
10 times as many crashes as my wife's 5 year old Windows 95 PC.  :-(

luke

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



Re: [SLUG] RedHat 7.3

2002-09-03 Thread Richard Neal

Konqueror that comes with KDE 3.0 is not stable Im using KDE 3.03 and
its stable as hell (even has the ssl patch)

Mon, 2002-09-02 at 09:07, Matthew Hannigan wrote:
 ron fisk wrote:
  Is 7.4 anybetter as i am finding konquer crashing fairly often i have 
  never had this trouble with linux before
 
 dunno, sorry, I don't tend to use konquer(er)?
 
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
-- 

* Hey if you're going to get mad at me every time I do something   *
* stupid, then I guess I'll just have to stop doing stupid things! *
  

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



[SLUG] Has anyone *upgraded* from RH 7.2 to RH 7.3?

2002-09-03 Thread lukekendall

If you have, was it smooth sailing or tricky?  Did it wipe out all your
local configuration (/etc stuff), or preserve it?  (Guess it depends on
what RH considers upgrade to mean.)

I have /home and /usr/local on a separate partition from /.

I think I'm beating my head against a brick wall trying to stop X
locking up my system by upgrading to XFree86 4.2.0 from RH 7.3.  Maybe
it's easier to upgrade the whole system?

Or even, to wait a little longer till 7.4 is released.

But it really rankles that my Linux machine crashes quite reliably, and
my wife's old Windows 95 system is *in comparison* quite robust.

luke

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



[SLUG] OEOne Home Base

2002-09-03 Thread Paul Copeland

Hi All,

I finally managed to get OEOne Home Base installed on top of Red Hat 7.1 on 
my work computer.  For those unaware of what OEone Home Base is, it is a 
Mozilla based desktop environment, and one of the first desktops to not 
have a desktop as such but a home page.  Each program opens like a web 
page, not a window.

First impressions are alright, it is a fundamental change from what i am 
used to.  It is a good interface but most hard core computer settings 
cannot be changed in Home Base, the user has to log out and then into KDE 
or GNOME.  As I play more I will keep you updated.

Anyone with Red Hat 7.1 or 7.2 who wants to try it can go to www.oeone.com

The download for me was 131 MB which was very slow on dial up.

All the best
Paul

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



[SLUG] Geforce2 MX400 and Linux (reviews ?)

2002-09-03 Thread Ramon Buckland

Hi peoples,

Anyone here used a Geforce2 MX400 and Linux.
Looks like a bottom of the range card to me, got enough memory
for what I want and is cheap, anyone here had some scars 
and stories with it, or will it be good 

(the nVidia drivers look fairly stabe in Xfree86 support for it.)

(www.umart.com.au has them for $80)

- ramon.



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



Re: [SLUG] Mandrake 8.1 and the internet

2002-09-03 Thread Richard Neal

I had the same problem with 8.1

1. run kppp as root
2. setup your firewall with the mandrake firewall tool default it block
all services.I also found using firestarter is a great little tool to
refine the firewall on the run.

On Tue, 2002-09-03 at 12:29, Tom Massey wrote:
 * Ashley Lynn [EMAIL PROTECTED] [2002-09-03 12:18]:
  I decided to try Mandrake since I had 8.1 here. All works well EXCEPT I cannot
  browse the internet or collect email.
  When I dial (wvdial) the system logs on and IFCONFIG tells me the address I
  have been assigne and the p-t-p address.
  I can ping the p-t-p address and all seems well.
  The browser has the same proxy settings as before (I never reformat /home) and
  the SMTP and POP settings are correct but no matter which browser I try I get
  a long timeout period and then cannot find server and check address errors
  and kmail says it can't find the server. 
  Any clues appreciated.
 
 Sounds like a DNS issue. Have you put your name servers into
 /etc/resolv.conf?
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
-- 

* Hey if you're going to get mad at me every time I do something   *
* stupid, then I guess I'll just have to stop doing stupid things! *
  

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



Re: [SLUG] SU Problems

2002-09-03 Thread Richard Neal

You might want to check that su hasn't been replaced with a rootkit su.

On Tue, 2002-09-03 at 17:47, Richard Luckhurst wrote:
 Hi list
 
 I am using Redhat 7.2 for a client and today noticed a problem I've
 not seen before. I went to become root as I always have, with su, 
 and instead of being asked for the root password and becoming root
 I got asked for the password and then got an error about not being able to
 change groups. I have checked that no one has been playing around with
 the group and passwd files and they are untouched as are the permissions
 on /bin/su. Has anyone got any idea why I might now be getting this
 error?
 
 Thanks a lot 
 
 Richard
 
 
 
 Richard Luckhurst
 
 Manager / Engineer
 Sound Advice
 P.O. Box 104
 Narrabri NSW 2390 Australia
 
 Ph / Fax +61 2 6792 6060
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
-- 

* Hey if you're going to get mad at me every time I do something   *
* stupid, then I guess I'll just have to stop doing stupid things! *
  

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



[SLUG] Virtual Terminal Number

2002-09-03 Thread Peter Rundle

Sluggers,

I'm running two X sessions on my 'puter using this entry in gdm.conf

   [servers]
   0=/usr/bin/X11/X vt7
   1=/usr/bin/X11/X vt8

I toggle between them using ctrl-alt-F7/F8.

My question is, does anyone know if it is possible to show which virtual 
terminal I'm about to log into in the gdm login dialog? And maybe on the
desktop as well. (I loose track of which terminal I'm currently on).

The welcome message in gdm is set using the following line in gdm.conf,

   Welcome=Welcome to %n

Does anyone know if the virtual terminal is in a variable somewhere that 
could be displayed in this message? something like

Welcome to %n (%vt)

I know that with Debian and multiple mingetty text consoles it shows 
which console you are about to login to as part of the login
prompt / welcome message. RedHat doesn't, does anyone knows how to fix
that?

TIA's

Pete

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



Re: [SLUG] Geforce2 MX400 and Linux (reviews ?)

2002-09-03 Thread kevin

No But I have a a Geforce4 MX440 I got it new for $110  zip computers
It flies under X also if you install Nvidia drivers you will notice the
difference.
 Hi peoples,
 
 Anyone here used a Geforce2 MX400 and Linux.
 Looks like a bottom of the range card to me, got enough memory
 for what I want and is cheap, anyone here had some scars 
 and stories with it, or will it be good 
 
 (the nVidia drivers look fairly stabe in Xfree86 support for it.)
 
 (www.umart.com.au has them for $80)
 
 - ramon.
 
 
 
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 




-
This mail sent through IMP: http://horde.org/imp/
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] RPM complaints while trying to install XFree86 4.2.0

2002-09-03 Thread Peter Rundle

 There appears to be no way to get rpm to tell you what version it is,


  # rpm -q -a | grep rpm
  rpm-4.0.3-1.03

  # rpm -q -i rpm-4.0.3-1.03



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



fwd: Re: [SLUG] apache and apache-ssl

2002-09-03 Thread Zhasper

- Forwarded message from James Polley [EMAIL PROTECTED] -

Date: Wed, 4 Sep 2002 09:42:12 +1000
From: James Polley [EMAIL PROTECTED]
To: David Fitch [EMAIL PROTECTED]
Subject: Re: [SLUG] apache and apache-ssl
User-Agent: Mutt/1.4i
X-Operating-System: Linux 2.4.19-k7 i686
X-Uptime: 09:34:03 up 2 days,  8:01,  3 users,  load average: 0.18, 0.17, 0.13

quote who=David Fitch

 On Mon, 2002-09-02 at 23:22, Jeff Waugh wrote:
  quote who=David Fitch
   what's the deal with apache and apache-ssl in debian woody?  are you
   supposed to install and run both versions of apache?  seems a bit odd to
   mewhy not one listening on both ports and if it's port 443 do the ssl
   stuff??
  
  apache-ssl is the one with mod_ssl compiled in. I usually use apache and
  libapache-mod-ssl rather than apache-ssl.
 
 this sounds like the go.  I almost had is working (thanks Jan)
 but prefer this method so removed apache-ssl and installed
 libapache-mod-ssl but now how do I get it to listen on two
 ports?  (80 and 443)
 

Do the debian-correct thing, and read /usr/share/doc/libapache-mod-ssl

you have to read the README.Debian.gz, which tells you what you need to do
to get ssl working - there's inserting a few lines into httpd.conf involved,
as well as copying a file into /etc/apache, and...

 (PS. why is there no docs on https on www.apache.org?)
 
http://httpd.apache.org/docs-2.0/mod/mod_ssl.html

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

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



Re: [SLUG] Starting programs on console

2002-09-03 Thread Matthew Palmer

On Tue, 3 Sep 2002, Matthew Clark wrote:

 just wondering about how one would  go about starting an application on a
 local console. for instance something like mysqlclient or mutella etc. so
 that you could access it by hitting ctrl-alt-f9 for instance (no login
 prompt, instead application prompt).

man openvt

Very useful program.

 would there be any problems with applications requiring shell variables, then
 again this could be circumvented by running a script that calls bash (for
 example) followed by the application to run, couldn't it?

Yes, that would work fine.


-- 
---
#include disclaimer.h
Matthew Palmer, Geek In Residence
http://ieee.uow.edu.au/~mjp16

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



Re: [SLUG] RPM complaints while trying to install XFree86 4.2.0

2002-09-03 Thread Colin Humphreys


On Wed, Sep 04, 2002 at 09:41:47AM +1000, Peter Rundle wrote:
  There appears to be no way to get rpm to tell you what version it is,
 
 
   # rpm -q -a | grep rpm
   rpm-4.0.3-1.03
 
   # rpm -q -i rpm-4.0.3-1.03

I better way might be:

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



Re: [SLUG] Mandrake 8.1 and the internet

2002-09-03 Thread David Fitch

On Wed, Sep 04, 2002 at 09:27:06AM +1000, Peter Rundle wrote:
 DNS is in resolv.conf It just seems to ignore them. 
 
 Have you checked /etc/nsswitch.conf ?
   hosts:  files dns

and once ppp starts you have a default route out ppp0?
(ie. 'defaultroute' option to pppd or else just manually
add it to test if that's the problem)

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



[SLUG] Reduntant links

2002-09-03 Thread Richard Hayes

Dear list,

I am looking at use both cable and ADSL for redundant links.

I would like to use the cable as the preferred route as it cheap.

Any recommendations? 

regards,

Richard Hayes

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



Re: [SLUG] Reduntant links

2002-09-03 Thread Matthew Palmer

On Wed, 4 Sep 2002, Richard Hayes wrote:

 I am looking at use both cable and ADSL for redundant links.
 
 I would like to use the cable as the preferred route as it cheap.

Are you using the links for servicing incoming requests as well as outgoing? 
If that's the case, you'll have to either do some DNS trickery (much evil),
or get yourself an AS and start playing BGP with the big boys.  Unless, of
course, your cable and ADSL are with the same company and they can do the
routing for you.

If it's outgoing traffic only you want, then I've written a script to do
this at work - I wrote it this morning, in fact (spooky).  I'll send it
across if it'll be of any use to you - but it will only work if you only
need outgoing access, and it won't switch existing connections.


-- 
---
#include disclaimer.h
Matthew Palmer, Geek In Residence
http://ieee.uow.edu.au/~mjp16

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



Re: [SLUG] Reduntant links

2002-09-03 Thread Andrew Bennetts

On Wed, Sep 04, 2002 at 11:53:42AM +1000, Matthew Palmer wrote:
 On Wed, 4 Sep 2002, Richard Hayes wrote:
 
  I am looking at use both cable and ADSL for redundant links.
  
  I would like to use the cable as the preferred route as it cheap.
 
 Are you using the links for servicing incoming requests as well as outgoing? 
 If that's the case, you'll have to either do some DNS trickery (much evil),
 or get yourself an AS and start playing BGP with the big boys.  Unless, of
 course, your cable and ADSL are with the same company and they can do the
 routing for you.

Of course, if it's with the same company you're not getting as much
redundancy...

-Andrew.

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



Re: [SLUG] Reduntant links

2002-09-03 Thread Matthew Palmer

On Wed, 4 Sep 2002, Andrew Bennetts wrote:

  or get yourself an AS and start playing BGP with the big boys.  Unless, of
  course, your cable and ADSL are with the same company and they can do the
  routing for you.
 
 Of course, if it's with the same company you're not getting as much
 redundancy...

But of course.

-- 
---
#include disclaimer.h
Matthew Palmer, Geek In Residence
http://ieee.uow.edu.au/~mjp16

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



[SLUG] floppy disks

2002-09-03 Thread Ken Foskey

Why would this be happening on debian:

gandalf: ~
$ mount /floppy/
mount: I could not determine the filesystem type, and none was specified

When I specify everything:

gandalf: ~
$ sudo mount -t vfat /dev/fd0 /floppy
Password:


from fstab:

/dev/fd0/floppy autodefaults,user,noauto0   0



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



RE: [SLUG] Reduntant links

2002-09-03 Thread Marty Richards

Hi Richard,

Presumably you aren't running services on these connections...

If so, you can probably get away with setting duplicate default routes with
different metrics. Something like:

route add default gw cable.gateways.ip.address
route add default gw adsl.gateways.ip.address metric 1

This will break things if you're running services. If so, have a look at the
policy based routing stuff and iproute2 - its not difficult and works
nicely.

Cheers,
Marty

 -Original Message-
 From: Richard Hayes [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 04, 2002 11:56 AM
 To: [EMAIL PROTECTED]
 Subject: [SLUG] Reduntant links
 
 
 Dear list,
 
 I am looking at use both cable and ADSL for redundant links.
 
 I would like to use the cable as the preferred route as it cheap.
 
 Any recommendations? 
 
 regards,
 
 Richard Hayes
 
  
 -- 
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug
 


Netway Networks Pty Ltd 
(T) 8920 8877 
(F) 8920 8866 


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



RE: [SLUG] floppy disks

2002-09-03 Thread Ken Foskey

On Wed, 2002-09-04 at 14:40, Marty Richards wrote:
 Hi Ken,
  
 Does 
 
 mount /dev/fd0
 
 work?

Interesting.  I unmounted it and remounted it and it worked fine both
ways.

I then rmmod vfat and fat and it did not work.

Moral is that file type auto only works on filetypes active in your
kernel at the time.

I have now added fat and vfat to my /etc/modules.

KenF

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



Re: [SLUG] automating a Telnet session using EXPECT

2002-09-03 Thread Angus Lees

At Fri, 30 Aug 2002 17:46:24 +1000, Lucas King wrote:
 As i could not get satisfactory results from Expect i rewrote the entire 
 program in 'C'.  when i tested the code, exactly the same problems as i 
 had in Expect manifested themselves.  i kept getting control codes being 
 displayed to the screen.  after a certain period of time the Telnet 
 session reported that certain variables could not be set and then 
 continued on its merry way.
 
 the control codes were not coming from the remote system.  these are 
 being passed through to the Telnet session OK.  the control codes are 
 being generated by the Telnet session on my local Linux box.  it is 
 trying to query the terminal type on the local system.  but as i had 
 redirected the Telnet input/output (using DUP2) to a pipe to another 
 process so that i could interact with the Telnet session via software, 
 the Telnet session was unable to obtain the values that it needed. 
  Expect, i suspect, does exactly the same thing.  i conclude this only 
 because i am getting exactly the same error messages as it is.

try setting TERM=dumb or something before running the telnet
client. i'd hope that the relevant curses libraries wouldn't attempt
any fanciness with that sort of terminal..

otherwise, iirc expect creates a pty and does the whole terminal thing
itself (i've never actually used expect, so i could be completely
wrong here).  if the other end is expecting something cleverer than a
simple linear stream of bytes for output, then you may find yourself
having to mess with ptys yourself.

(i presume you're running the telnet client executable and messing
with stdin/stdout?  you could even dump that and just talk to the
network port yourself; the telnet protocol isn't too complicated if
you don't want any of the features.  of course, perl has a
Net::Telnet, which would make all of this easy ;)

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



Re: [SLUG] Virtual Terminal Number

2002-09-03 Thread Jeff Waugh

quote who=Peter Rundle

 My question is, does anyone know if it is possible to show which virtual 
 terminal I'm about to log into in the gdm login dialog? And maybe on the
 desktop as well. (I loose track of which terminal I'm currently on).

I do not - you'd have to read the GDM documentation to see if it supported
it. However, have you tried the new GDM flexiserver feature?

In GNOME, run either System Tools  New Login or New Login in a nested
window (command line: gdmflexiserver), and a fresh new X server will start
for you. :-)

Might not be exactly what you want, but it will save starting two X servers
to begin with.

- Jeff

-- 
  I wonder how many bugs have gone unfixed due to misspellings of FIXME.  
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] floppy disks

2002-09-03 Thread Jamie Wilkinson

This one time, at band camp, Ken Foskey wrote:
Moral is that file type auto only works on filetypes active in your
kernel at the time.

I have now added fat and vfat to my /etc/modules.

I believe /etc/filesystems tells the kernel what filesystems you can mount,
so you don't have to load them all into the kernel at boot time.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] floppy disks

2002-09-03 Thread Peter Hardy

On Wed, 2002-09-04 at 15:14, Ken Foskey wrote:
 Interesting.  I unmounted it and remounted it and it worked fine both
 ways.
 
 I then rmmod vfat and fat and it did not work.
 
 Moral is that file type auto only works on filetypes active in your
 kernel at the time.

The man page for mount says that, when the fs type is auto, mount checks
an /etc/filesystems file before looking at the list that the kernel
currently supports in /proc/filesystems.  I haven't had occasion to try
it yet, but it might be worth adding an entry for vfat there first.

FWIW, I just tried changing the fstab entry for my windows partition to
auto, and it mounted just fine.  Weird.

-- 
Pete
[EMAIL PROTECTED]

There are very few starts.  Oh, some things seem to be beginnings.
The curtain goes up, the first pawn moves, the first shot is fired  
(probably at the first pawn) - but that's not the start.
-- (Terry Pratchett, Lords and Ladies)

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



Re: [SLUG] Virtual Terminal Number

2002-09-03 Thread Angus Lees

At Wed, 04 Sep 2002 09:38:28 +1000, Peter Rundle wrote:
 I know that with Debian and multiple mingetty text consoles it shows 
 which console you are about to login to as part of the login
 prompt / welcome message. RedHat doesn't, does anyone knows how to fix
 that?

my /etc/issue looks like this:
 Debian GNU/\s testing/unstable \n \l

my login prompt starts with this:
 Debian GNU/Linux testing/unstable roach tty3

guessing what the \s, \n and \l escape sequences do is left as an
exercise for the reader ;)

(they're all documented in getty(8), which is referred to from
issue(5))

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



Re: [SLUG] floppy disks

2002-09-03 Thread Angus Lees

At 04 Sep 2002 12:41:06 +1000, Ken Foskey wrote:
 Why would this be happening on debian:

because you are typing it at a keyboard connected to a debian system?

(couldn't resist)

 gandalf: ~
 $ mount /floppy/
 mount: I could not determine the filesystem type, and none was specified

 from fstab:
 /dev/fd0/floppy autodefaults,user,noauto0   0

quoting from mount(8):

  -t vfstype

  [...]

  The  type  iso9660 is the default.  If no -t option is given, or
  if the auto type is specified, the superblock is probed for  the
  filesystem  type (adfs, bfs, cramfs, ext, ext2, ext3, hfs, hpfs,
  iso9660, jfs, minix, ntfs, qnx4,  reiserfs,  romfs,  ufs,  vxfs,
  xfs,  xiafs are supported).

note that neither vfat nor msdos are listed.

   If this probe fails, mount will try
  to read the file /etc/filesystems, or, if that does  not  exist,
  /proc/filesystems.   All  of  the  filesystem types listed there
  will be tried, except for those that are labeled nodev  (e.g.,
  devpts, proc and nfs).

/etc/filesystems is probably empty, /proc/filesystems will list all
filesystems that the kernel currently knows about.  if you have vfat
autoloaded (and you probably do), then it probably isn't listed in
/proc/filesystems at the moment, so mount -t auto never knows about
it.

  Note that the auto type may be useful for user-mounted floppies.
  Creating a file /etc/filesystems can be  useful  to  change  the
  probe  order  (e.g.,  to  try vfat before msdos) or if you use a
  kernel module autoloader.  Warning: the probing uses a heuristic
  (the  presence  of appropriate `magic'), and could recognize the
  wrong filesystem type.

as hinted at here, the fix is to simply create an /etc/filesystems
containing something like:
 vfat
 msdos

then they will be attempted regardless of whether the vfat.o kernel
module is currently loaded.

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



Re: [SLUG] Fwd: help needed please

2002-09-03 Thread Angus Lees

At Fri, 30 Aug 2002 20:15:39 +1000, Nathan McKinlay wrote:
 [Tue Aug 30 22:10:20 2050] [error] (2)No such file or directory:
 mod_mime_magic: can't read magic file /etc/apache/share/magic
 
 what's the magic file it keeps saying it can't find?

it looks like a configuration bug in the woody apache packages :(

in /etc/apache/httpd.conf, you'll have a section like the following:
 IfModule mod_mime_magic.c
MIMEMagicFile share/magic
 /IfModule

having just tried to do so here, it seems you can't just point this at
the normal magic file (/usr/share/misc/magic in woody) - since that
uses some fancy syntax features that mod_mime_magic doesn't like.

iirc, there used to be a special apache friendly magic file sitting
in /etc/apache/magic.  its probably moved/gone/a bug :(

you most likely don't need mod_mime_magic anyway, so you can just
comment out the LoadModule mod_mime_magic line to disable it (it
won't be working at the moment anyway).

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



Re: [SLUG] Wine and Pagemaker

2002-09-03 Thread Angus Lees

At Thu, 29 Aug 2002 21:52:08 -0700, Lyle Chapman wrote:
 I am trying to run Adobe Pagemaker in Wine but when I start it, it comes up
 with an error of not finding a register entry. Has anyone found this prob
 before and if so what was the fix for it.

you probably need to create that registry entry..

i presume you installed pagemaker in windows somewhere, and are now
trying to run that already installed installation?

if thats the case, then you haven't installed the relevant registry
keys (into wine's registry) as the pagemaker installation program
does.

if you are *really* lucky, you can run the pagemaker install program
under wine, and just set it up again. all will be well.  if the
installer is the standard windows setup.exe, this won't work - since
that uses some funky COM stuff which wine can't cope with yet :(

in that case, the best bet might be to export a windows registry
somewhere (you get a text file from that, don't you?), and install
pagemaker on that windows machine.  then dump the registry again and
compare.  you will need to duplicate these registry changes in wine,
using regapi setValue.  feel free to ask for more info if you have
to go this route.


having just checked the wine application database for pagemaker
(see http://appdb.winehq.org/appview.php?appId=329versionId=483)
people seem to have had it working fine using windows dlls, and
successfully (but not great) using builtin wine dlls. apparently the
pagemaker installer is similar (ie it actually works under wine).

you might want to have a read of those people's experiences and then
try running the pagemaker installer and properly installing it into
wine.  (having windows dlls available sounds like a plus in this case)

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