[SLUG] ATI Rage 128, crashes in accelerated mode

2002-09-25 Thread Stalker, Doug
Title: ATI Rage 128, crashes in accelerated mode






I have a RedHat 7.3 system with an ATI Rage 128 AGP video card.  In the defualt (Red-Hat detected) configuration, if I switch from X windows to a console (ctrl-alt-1) and then switch back the screen is corrupted accross the top and the system will not respond to input (including ctrl-alt-backspace) but the mouse cursor can move around.  The machine is still accessable over the network.


Adding the line 
    Option "Accel" "No" 
to /xtc/X11/XF86Confg-4 fixes the problem, but results in slower performance.  


Is there a bug in the driver, or is this a symptom of a faulty graphics card?  Or even better; is there a setting that needs to be changed somwhere that I'm not aware of?

 - Doug






Red Hat 7.3, Kernel 2.4.18-3
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8)



Some bits from /xtc/X11/XF86Confg-4:


Section "Device"
    # no known options
    Identifier   "ATI Rage 128"
    Driver   "r128"
    VendorName   "ATI Rage 128"
    BoardName "ATI Rage 128"
    #BusID
EndSection


Section "Screen"
    Identifier   "Screen0"
    Device   "ATI Rage 128"
    Monitor  "Monitor0"
    DefaultDepth    16
    option "Accel" "no"   <-- this line stops the crashes








RE: [SLUG] Preventing X from starting automatically...

2002-10-02 Thread Stalker, Doug
Title: RE: [SLUG] Preventing X from starting automatically...







-Original Message-
From: Simon Wong [mailto:[EMAIL PROTECTED]] 


> There are key strokes to switch between configured X resolutions and to kill the x-server explicitly.


> Wish I could remember what they were!


> Something like + or -  to change resolutions up/down.



Ctrl-Alt and the +/- keys on the keypad switches resolution, provided your XF86Config is set up with a list of resolutions in the screen section.  IIRC there's some info on this in the man page for XF86Config.

Ctrl-Alt-Backspace kills the Xserver, but gdm will immediately restart it with the same settings; other people have suggested ways around this already.

Ctrl-Alt-[F1->F12] switches ttys... by default, ttys 1-6 have console logins and 7 is where the X-Server runs.  You can also use the other consoles - For example, 'tail -f /var/log/messages > /dev/tty12 &' will watch the messages file on console 12, so you can quickly check what's going on with ctrl-alt-F12.  VMWare uses these additional ttys for virtual machines in full screen mode, and there are probably other uses I haven't though of.

 - Doug





[SLUG] .config file for Debian Kernels... where can I find it?

2002-10-03 Thread Stalker, Doug
Title: .config file for Debian Kernels... where can I find it?






Where can I get hold of the .config used to create the standard Debian kernels? (i.e.:  the one that gets installed when I install Debian 3.0 with the 2.4.18-bf2.4 kernel).  

With Redhat, there is a configs directory in the kernel source tree that holds a collection of their .configs, but I can't find the equivalent for Debian.  The reason I need it is I have a binary module that needs relinking, and it requires the kernel source (easy) and the .config used to build the kernel.

 - Doug





[SLUG] How do I play DVDs under Linux?

2002-10-15 Thread Stalker, Doug
Title: How do I play DVDs under Linux?






Using RedHat 7.3.


I've installed xine and xine-ui 0.9.13 from source tarballs.  I think it's all working now... except all of my DVDs come up with errors about encrypted playback not being allowed, so I can't be sure.

I installed RPMs of libdvdread (0.9.3-ogle1) and libdvdcss (1.2.2-fr1) but still no joy.


I tried using ogle, but whenever I click on a button nothing happens except for 'unhandled dvdctrl event type(X)' appearing in the debug window.


How can I get access to my legitimately bought DVDs using Linux?  I couldn't find an answer in the archives, and I figure I can't be the only person trying to do this.

    - Doug





FW: [SLUG] Optus Cable

2002-10-15 Thread Stalker, Doug
Title: FW: [SLUG] Optus Cable






-Original Message-
From: Simon Bryan [mailto:[EMAIL PROTECTED]] 


> So where does the cable modem connect to?


The one I have has both a USB plug and an RJ45 connector.  Using USB (they insist on setting it up this way) requires special drivers, and apparently it won't work thourgh  a hub.  I havn't tried the USB option under linux.

It can also be connected to a NIC with a crossover cable.  Simple, reliable, should work for any system that can use DHCP. (Definitely works for Windows and Linux)

 - Doug





RE: [SLUG] How do I play DVDs under Linux?

2002-10-15 Thread Stalker, Doug
Title: RE: [SLUG] How do I play DVDs under Linux?







-Original Message-
From: andrew [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 16 October 2002 12:11 PM
To: SLUG
Subject: Re: [SLUG] How do I play DVDs under Linux?


> Check out the website http://www.trylinuxSD.com/dvd/, it seems breakdown how to run 
> DVDs under Linux clearly and with images (the explanation is for Mandrake)


I feel like a fool now.  The "unhandled dvdctrl event type(X)" error in ogle appears because I hadn't selected 'load disc' from the menu.   :-)

 - Doug





RE: [SLUG] gcc-Red Hat 7.3

2002-10-20 Thread Stalker, Doug
Title: RE: [SLUG] gcc-Red Hat 7.3







-Original Message-
From: Bill Taylor [mailto:[EMAIL PROTECTED]] 


>
>>Those packages (and the other tools you will need 
>>to use gcc effectively) are definitely, without a doubt, on the 
>>distribution CDs.


> and obviously not in a standard install!


I think with red-hat gcc is under the 'development' package group during a custom install.  





RE: [SLUG] rsync

2002-10-24 Thread Stalker, Doug
Title: RE: [SLUG] rsync







On 24 Oct 2002, Ken Foskey wrote:


> I have five computers exactly the same and I want to install them 
> exactly alike.  Can someone give me the simple rsync command to 
> install from one computer to another the exact setup of the working 
> machine>


In the past I have done this by placing a disk with the desired configuration onto the second IDE channel and booting off  a floppy disk with tomsrtbt (a tiny linux distribution) 

Then I run 'dd if=/dev/hda of=/dev/hdc bs=8M' to copy the data (Using 8MB blocks seemed to give the best performance, but YMMV)

After this is complete, remove the source hard drive, boot up and change the hostname.


There are probably more elegant solutions that don't involve using a screwdriver, but this one worked for me.



tomsrtbt is available at http://www.toms.net/rb/


 - Doug





[SLUG] Backspaces

2002-10-27 Thread Stalker, Doug
Title: Backspaces






Can anyone point me to a good resource on the different handling of backspaces amoung different *nixs and different apps?  I have encountered a few applications that print ^H instead of deleting if run from a Gnometerm, but work fine under a regular xterm.  I have servers that refuse to acknowledge the backspace and delete keys with some telnet clients and not with others.  I even have a HP-UX box where logging in as a user causes both backspace and delete to act as extra return keys, but logging in as root works fine. (you can then su to another user, but su -l causes the same problem) 

Is there a "Complete Idiots guide to using backspace in UNIX land" anywhere?  Or should I just learn to not make mistakes.  :-)


 - Doug





RE: [SLUG] ADSL speed

2002-11-21 Thread Stalker, Doug
Title: RE: [SLUG] ADSL speed






Back when I used Telstra ADSL , I had a cron job that would ping a remote site every hour and log the results.  This isn't the same as measuring speed, but it was very useful for getting a record of outages and those occasions when my ping would jump to over 4000 for no apparent reason (once I got to 1)



 - Doug




-Original Message-
From: Simon Bryan [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 22 November 2002 12:49 PM
To: Slug
Subject: [SLUG] ADSL speed



Hi all,
Are there any programs around that can automatically monitor the speed of an ADSL connection (say once an hour) and keep the results in a file?

_
Simon Bryan
IT Manager
OLMC Parramata
ICQ#: 137562751
_


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





[SLUG] WU-FTP and chroot

2003-01-01 Thread Stalker, Doug
Does anyone know how I can configure wu-ftpd to chroot all users to a
specified directory?  I would like all users who connect via ftp to see /ftp
as the root directory, but the closest I can get is to have all users
chrooted to their home directories.

(Using RedHat 7.3, Wu-Ftpd 2.6.2)



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



[SLUG] Trouble getting SCSI to work

2003-01-13 Thread Stalker, Doug
I'm trying to get the redhat kernel source to work with Debian Woody.  The
kernel compiles fine, but I'm getting the following error when booting:

kmod: failed to exec /sbin/modprobe -s -k block-major-8


and then the system fails with an unable to find root filesystem error (root
filesystem is on a SCSI disk)  Installing standard RedHat works fine.
Booting using the Debian supplied kernel and running 'modprobe
block-major-8' shows that modprobe doesn't know how to load the required
modules; the same command on RedHat loads scsi_mod and sd_mod.

How can I force the kernel to load the sd_mod and scsi_mod modules when
booting?  I've tried compiling support for the BusLogic controller directly
into the kernel, but that failed with the same error.

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



RE: [SLUG] Trouble getting SCSI to work

2003-01-15 Thread Stalker, Doug


-Original Message-
From: Christopher Samuel [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, 14 January 2003 5:03 PM
To: Stalker, Doug
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Trouble getting SCSI to work



On Tuesday 14 Jan 2003 4:29 pm, Stalker, Doug wrote:
>> How can I force the kernel to load the sd_mod and scsi_mod modules 
>> when booting?

Did you create an initrd file (a RAM disk) for the kernel ?

This looks like a promising lead - I've managed to get debian to boot by
using the initrd file from RedHat 8.0.  I've having all sorts of problems
with driver modules now, but I think I'll be able to work them out with
enough time playing with the configuration.


 - Doug

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



RE: [SLUG] Linux version

2003-01-15 Thread Stalker, Doug



-Original Message-
From: Peter Hewett [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, 15 January 2003 6:12 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] Linux version


> I understand 2.0.35 is the version - but which distribution of Linux ? I'd
also 
> love to know how I tell the hardware config of the machine without pulling
it 
> apart. Anyone spot me a handy unix command for this one ?

lspci will list the PCI devices installed on a system; this is good for
figuring out what drivers you need.

It might be worth upgrading to a more recent distribution of Linux.  That
way you would know exactly what is installed, and have access to more modern
routing utilities like iptables.

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



RE: [SLUG] Trouble getting SCSI to work

2003-01-15 Thread Stalker, Doug


-Original Message-

Subject: Re: [SLUG] Trouble getting SCSI to work
> > Did you create an initrd file (a RAM disk) for the kernel ?

> /sbin/mkinitrd

Thanks all, it's working now.


I still have one question:  if the initial RamDisk image is on a SCSI disk,
and if the SCSI drivers are in the initial ramdisk, how does it get loaded
in the first place?  I assume it's some sort of lilo trick, since adding
initrd=/foo.img to the boot parameters doesn't work but adding
initrd=/foo.img to lilo.conf and running lilo does.  Does lilo copy the
initial ramdisk to the bootsector or some such?

 - Doug



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



RE: [SLUG] Strange thing with /

2003-01-19 Thread Stalker, Doug


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Subject: Re: [SLUG] Strange thing with /

> This is, I presume, for historical compatibility.  Certain versions of 
> Unix, and early network file systems, used paths of the form
//hostname/path 
> to access `path' on server `hostname'. "

It also has the beneficial side effect of not causing shell scripts to fail
if an extra backslash gets put in by accident.

DIR="/usr/bin/"
CMD="echo"
${DIR}/${CMD} "Hello World"


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



[OT] [SLUG] My quote of the day

2003-02-02 Thread Stalker, Doug

Subject: [SLUG] My quote of the day


> Seen on a web forum aimed at helping Solaris users. Such a gem, had to 
> share it:

> > dre1988 (MIS)  Apr 25, 2002
> > I tried a
> >
> > cat /dev/null > /var/adm/wtmpx
> > 
> > This should send the file to /dev/null and create a 0 byte file for 
> > wtmpx. However, the file system is still 100% full. Is there a way to 
> > empty /dev/null? I've done a rebbot already.


The problem here is obvious; the command is backwards.  
He should be using 'cat /var/adm/wtmpx > /dev/null' instead.  :-)



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



[SLUG] Creating hard Links to directories

2003-02-26 Thread Stalker, Doug

How can I create a hardlink to a directory?  ln promises to do it if I use
'--directory' as root, but I get permissions errors.

# ln --directory /tmp /chroot/test2/tmp
ln: creating hard link '/chroot/test2/tmp' to '/tmp': Operation not
permitted

(Using RedHat 8.0)


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


RE: [SLUG] Creating hard Links to directories]

2003-02-26 Thread Stalker, Doug


-Original Message-
From: Crossfire [mailto:[EMAIL PROTECTED] 
Subject: Re: [SLUG] Creating hard Links to directories]


> Patrick Lesslie was once rumoured to have said:
> >  unstable provides coreutils 4.5.7-1, in which it must have been fixed.

> > Perhaps it's out of the manpage until they have finished implementing 
> > it ;-)

> Hopefully they took the idiot who added it in the first place out the back

> and shot him.  It would save the rest of us a lot of pain caused by all
the 
> idiots who used it without realising the consequences.

>It should never be implemented.  Ever.  Its fundamentally wrong.

After reading of the  potential problems, I'm now convinced it's a Very Bad
Idea to hardlink directories.  As a workaround I'll create the directories
manually and hard-link the files in them - that will fix the problem without
causing massive filesystem corruption.

Thanks all.

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


RE: [SLUG] Creating hard Links to directories]

2003-02-26 Thread Stalker, Doug



From: Andre Pang [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 27 February 2003 3:55 PM
To: Stalker, Doug
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] Creating hard Links to directories]



> Forgive me if this question has been answered already, but why not just 
> create a symbolic link to the directory instead of a hard link?


I'm creating an environment to use with chroot.  Symbolic links won't work
if they lead to things outside the chroot environment, since what they refer
to does not exist within the chroot context.  (If anyone knows otherwise,
please let me know)

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


[SLUG] Automounting NFS servers in /net

2003-03-05 Thread Stalker, Doug

The Solaris automounter implements a /net directory which will automatically
mount the entire tree from an NFS server.  (i.e.: accessing /net/hostname
automatically mounts hostname:/ on /net/hostname)

Is there any way to get the same funcionality using linux?  I've been
playing around with autofs, but so far havn't had any success.

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


RE: [SLUG] X on remote machine

2003-03-05 Thread Stalker, Doug


-Original Message-
From: upendra [mailto:[EMAIL PROTECTED] 

> Hi Luggers
> I am facing following problem
> I have 1 machine running X server at 7100 port

I might be wrong, but isn't port 7100 usually used for the X font server and
ports around 6000 used for the Xserver?

Is there any error when the user tries to run the software, such as "unable
to open display"?

Is the user able to run any other GUI software successfully?

 - Doug


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


RE: [SLUG] Creating hard Links to directories]

2003-03-09 Thread Stalker, Doug



-Original Message-
From: Lester Cheung [mailto:[EMAIL PROTECTED] 

> What's the point of chrooting if you hardlink the files?


It was for setting up a development environment - I basically wanted
different libraries under /lib without having to build an entire system.
'cp -al' turned out to be the solution, as it crates all the needed
directories and populates them with hard-links to files.

 - Doug


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


RE: [SLUG] RedHad versions ...

2003-04-03 Thread Stalker, Doug


>
> I want to run some software that is only certified for RedHat, but 
> would prefer not to use that, so need to find out what RedHat 7.3 (or
> 8) actually is, like what versions is it using eg. kernel, xfree, 
> glibc ... and what what it's compiled with (gcc-2.95 or gcc-3.?)


If the software interacts with the kernel (e.g.: it includes kernel modules)
it may be more complicated that just matching versions; you may need to
install the RedHat kernel source code, and build yourself a kernel using it
before the modules will load.  This is by no means impossible, but it's not
exactly trivial either.

There may also be problems caused by the differing layouts for directories
and so on; again that depends on what the software is, and also how
different the distribution of Linux you are using is.   

 - Doug


(ob-disclaimer: these are my opinions, not compant opinions, etc etc)
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug