Re: Not a speed reader.

2003-09-15 Thread Jason Pepas
 Note, though, that neither of those shows you messages output by init
 scripts.

are there any tricks for obtaining this?

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



minimal boot loader?

2003-08-24 Thread Jason Pepas
hello,

I have been reading through a bunch of howto's on creating floppy based linux 
systems.  The process of creating the floppy images strikes me as being way 
too complicated.

In short, is there a program which behaves like this?

mkbootdisk --append=kernel boot parameters kernel.img rootfs.img

I haven't been able to find anything which takes a kernel image, a root 
filesystem image, and a boot paramter string, and creates a 1 or 2 floppy 
set, all in one command.

This seems like it would be such a nice thing to have, I just can't beleive no 
one has done this yet, so I though I'd ask here before I go off and write a 
script which accomplishes the same thing.

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



mkisofs oddity

2003-04-05 Thread Jason Pepas
hello,

perhaps I am using it incorrectly, but it seems mkisofs behaves oddly with 
respect to directories.

lets say I have a filesystem:

/foo
/bar
f1
f2
/bork

that is, our filesystem is composed of

/foo/bar/f1
/foo/bar/f2
/foo/bork/

Now, if I simply want to make an iso of the bar directory, such that my cd 
would contain

/bar/f1
/bar/f2

the obvious thing to do would be

mkisofs bar

however, this instead creates the following filesystem:

/f1
/f2

but if I wanted that, the obvious thing to do would be this:

mkisofs bar/*

is this considered correct behavior?

is there no way to simply make an image of a directory without resorting to 
graft-points?

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



memory leaks, and the proper way to interpret memory usage

2003-03-03 Thread Jason Pepas
Hi,

I am tired of memory leaks, and the first step in solving them is figuring out 
what is causing them.

today is a typical example.  My box has been up for 5 days, running a single 
gdm gnome/nautilus session the entire time.  mozilla has been running pretty 
much the entire time, with lots of windows being opened and closed.

Over the course of 5 days, I notice my swap file slowly grow, but the number 
of apps/windows open stays the same.

When the swapfile gets near full, I usually start closing applications until I 
have nothing open anymore, and then cycle my swapfile off and on to flush it 
out.

However, today, as is usually the case, swapoff -a fails because it cannot 
allocate enough memory.  Mind you, I have 512MB ram and a 256MB swap file.  
The only applicatios open are a gnome2 gdm session (with nautilus, no windows 
open), and a single window of slashdot in mozilla.  Certainly, nothing which 
should even fill my RAM, let alone my swapfile.  But top begs to differ:

 19:38:02 up 5 days, 21:02,  5 users,  load average: 0.09, 0.24, 0.24
103 processes: 100 sleeping, 2 running, 1 zombie, 0 stopped
CPU states:   0.3% user,   1.9% system,   0.0% nice,  97.8% idle
Mem:515388K total,   509860K used, 5528K free,8K buffers
Swap:   262136K total,84496K used,   177640K free,   145820K cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 1525 jason 17   0  177M 176M 10148 S 0.0 35.0  69:04 mozilla-bin
 1529 jason 17   0  177M 176M 10148 S 0.0 35.0   0:00 mozilla-bin
 1530 jason 17   0  177M 176M 10148 S 0.0 35.0   0:10 mozilla-bin
 1531 jason 17   0  177M 176M 10148 S 0.0 35.0   0:00 mozilla-bin
 1532 jason 17   0  177M 176M 10148 S 0.0 35.0   0:23 mozilla-bin
 6014 jason 17   0  177M 176M 10148 S 0.0 35.0   0:00 mozilla-bin
 1345 root   7 -10  359M  91M  1744 S0.0 18.1 234:15 XFree86
 1421 jason 17   0 80368  37M  4784 S 0.0  7.5   0:49 nautilus
 1426 jason 17   0 80368  37M  4784 S 0.0  7.5   0:00 nautilus
 1427 jason 17   0 80368  37M  4784 S 0.0  7.5   0:00 nautilus
 1428 jason 17   0 80368  37M  4784 S 0.0  7.5   0:01 nautilus
 1429 jason 18   0 80368  37M  4784 S 0.0  7.5   0:00 nautilus
 1432 jason 18   0 80368  37M  4784 S 0.0  7.5   0:00 nautilus
 1433 jason 17   0 80368  37M  4784 S 0.0  7.5   0:01 nautilus
 1434 jason 17   0 80368  37M  4784 S 0.0  7.5   0:01 nautilus
31728 jason 17   0 22304  21M 15276 S 0.0  4.3   0:06 kmail
31738 jason 17   0 13744  13M 12424 S 0.0  2.6   0:00 kdeinit
31736 jason 17   0 11320  11M 10944 S 0.0  2.1   0:00 kdeinit
31733 jason 17   0 10904  10M 10596 S 0.0  2.1   0:00 kdeinit
31730 jason 17   0 10704  10M 10428 S 0.0  2.0   0:00 kdeinit
 1419 jason 17   0  8152 8096  2164 S 0.0  1.5   2:26 gnome-panel
31711 jason 17   0  3408 3408  2480 S 0.0  0.6   0:00 irssi
 1413 jason 17   0  3320 3316   824 S 0.0  0.6   2:38 sawfish
31704 jason 17   0  3208 3208  2132 S 0.0  0.6   0:00 xterm

WTF?!?

I would really appreciate it if someone could tell me what is going on here.

The noteable details about my system which have remained constant while this 
problem has been going on are:
I have always been running either the testing or unstable version of X, Gnome, 
and Mozilla,
I have always been running the proprietary Nvidia X driver.  I am currently 
using an older one, as the newest version manages to somehow get borked 
everytime i reboot, forcing me to make install it again.  nice.

Sorry for the ranty tone of this email, its just that having 512M of RAM and 
constantly running out of it is getting really old.  Despite my bitchy 
attitude, I really am in search of enlightenment regarding memory allocation, 
ie, exactly how does one interpret all the different memory statistics, how 
does one nail down the source of a memory leak, etc.

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



nfs mount during debian install

2003-03-03 Thread Jason Pepas
Hi,

Is using an nfs mount for / during the debian insall supported in any way?  or 
plan to be supported?

-jason pepas
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Very few packages selected during install

2003-02-25 Thread Jason Pepas
Hello,

I have observed the following behavior with debian woody (3.0) installs:

- if you say no to tasksel, a very very minimal set of packages are 
installed.
- if you say yes to tasksel, but don't select any packages, a bunch more 
packages are installed than the above.

my question is, how can I select the packages which the second option 
installed, and where can I read more about why this is happening (ie, what 
policy is this following?)

thanks,
jason pepas
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: pbuilder failing

2003-02-16 Thread Jason Pepas
  (pts/0)root@phaeton:/mnt/nfs/pbuilder$ pbuilder create --distribution sid
  --buildplace /mnt/nfs/pbuilder/tmp/ --buildresult /mnt/nfs/pbuilder/sid/
 
  E: Couldn't download libpcap0
 
  pbuilder: debootstrap failed

 Looks like your debootstrap is severely out of date. From the debootstrap
 changelog entry for 0.1.17.7 (Wed, 21 Aug 2002):
   * Forked sid target from sarge target, changed libcap0 to the now
 current libpcap0.7 and verified that the result works with pbuilder.
 (Closes: #156574)

(pts/1)jason@phaeton:~$ dpkg -l debootstrap
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  debootstrap0.1.17 Bootstrap a basic Debian system

this is debootstrap from stable (woody).  does this mean pbuilder is incapable 
of building a sid base.tgz from a woody system?

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




pbuilder failing

2003-02-15 Thread Jason Pepas
hello,

I am not sure what list to report this to, so I'll start here.

pbuilder for ppc is failing when trying to create a sid base.tgz.

specifically, it can't download libpcap:

(pts/0)root@phaeton:/mnt/nfs/pbuilder$ pbuilder create --distribution sid 
--buildplace /mnt/nfs/pbuilder/tmp/ --buildresult /mnt/nfs/pbuilder/sid/
W: /root/.pbuilderrc does not exist
Distribution is sid.
 - cleaning the build env 
Building the build environment
 - running debootstrap
I: Retrieving http://www.jp.debian.org/debian/dists/sid/Release
I: Validating 
/mnt/nfs/pbuilder/tmp/./var/lib/apt/lists/debootstrap.invalid_dists_sid_Release
I: Retrieving 
http://www.jp.debian.org/debian/dists/sid/main/binary-powerpc/Packages
I: Validating 
/mnt/nfs/pbuilder/tmp/./var/lib/apt/lists/debootstrap.invalid_dists_sid_main_binary-powerpc_Packages
...
I: Retrieving 
http://www.jp.debian.org/debian/pool/main/p/pam/libpam-runtime_0.76-9_all.deb
I: Validating 
/mnt/nfs/pbuilder/tmp/./var/cache/apt/archives/libpam-runtime_0.76-9_all.deb
I: Retrieving 
http://www.jp.debian.org/debian/pool/main/p/pam/libpam0g_0.76-9_powerpc.deb
I: Validating 
/mnt/nfs/pbuilder/tmp/./var/cache/apt/archives/libpam0g_0.76-9_powerpc.deb
E: Couldn't download libpcap0
pbuilder: debootstrap failed
 - cleaning the build env 

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




mc not in color by default

2003-02-12 Thread Jason Pepas
hello,

when I start mc from an xterm, it is not in color by default.  That is, I have 
to use mc -c to force use of color.

$TERM is set to xterm-debian.

is this a bug or a feature?

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: mc not in color by default

2003-02-12 Thread Jason Pepas
On Wednesday 12 February 2003 01:52 pm, Jason Pepas wrote:
 hello,

 when I start mc from an xterm, it is not in color by default.  That is, I
 have to use mc -c to force use of color.

 $TERM is set to xterm-debian.

 is this a bug or a feature?

 thanks,
 jason pepas

it gets wierder.  if I start an xterm, mc is not in color.  but if I start an 
aterm or rxvt from that xterm, and then start an xterm from there, it is in 
color!

could xterm not be setting up the environment correctly?

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




inteligently downgrade packages?

2003-02-03 Thread Jason Pepas
I recently wanted to install perlmagick, which depends on an older version of 
perl-api than the one currently on my system.

This can be remedied by specifying which branch of perl I want (ie, 
perl/testing), however, this causes all the packages which depend on my 
current version of perl-spi to be removed.

My question is, does there exist a way to tell apt to downgrade a package, and 
attempt to downgrade dependant packages instead of removing them?

here are the specifics of my situation:

(pts/12)root@marsala:~$ apt-get install perlmagick
Sorry, but the following packages have unmet dependencies:
  perlmagick: Depends: perlapi-5.6.1

(pts/12)root@marsala:~$ apt-get -f install perlmagick
(same thing...)

(pts/12)root@marsala:~$ apt-get install perl/testing 
Selected version 5.6.1-7 (Debian:testing, Debian:3.0r1a/stable) for perl
Sorry, but the following packages have unmet dependencies:
  perl: Depends: perl-base (= 5.6.1-7) but 5.8.0-15 is to be installed

(pts/12)root@marsala:~$ apt-get install -t testing perl
Sorry, perl is already the newest version.

This is what finally worked:

(pts/12)root@marsala:~$ apt-get install perl/testing perl-base/testing 
perl-modu
les/testing perl-doc/testing docbook-utils/testing jadetex/testing 
tetex-extra/t
esting fttools/testing libft-perl/testing libjcode-pm-perl/testing 
perl-tk/testi
ng
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 5.6.1-7 (Debian:testing, Debian:3.0r1a/stable) for perl
Selected version 5.6.1-7 (Debian:testing, Debian:3.0r1a/stable) for perl-base
Selected version 5.6.1-7 (Debian:testing, Debian:3.0r1a/stable) for 
perl-modules
Selected version 5.6.1-7 (Debian:testing, Debian:3.0r1a/stable) for perl-doc
Selected version 0.6.12-3 (Debian:unstable) for docbook-utils
Selected version 3.12-2 (Debian:unstable, Debian:3.0r1a/stable) for jadetex
Sorry, jadetex is already the newest version.
Selected version 1.0.2+20011202-3 (Debian:testing) for tetex-extra
Selected version 1.2-13 (Debian:testing, Debian:3.0r1a/stable) for fttools
Selected version 1.2-13 (Debian:testing, Debian:3.0r1a/stable) for libft-perl
Selected version 0.73-1 (Debian:testing, Debian:3.0r1a/stable) for 
libjcode-pm-p
erl
Selected version 1:800.024-1 (Debian:testing, Debian:3.0r1a/stable) for 
perl-tk
The following packages will be DOWNGRADED
  fttools libft-perl libjcode-pm-perl perl perl-base perl-doc perl-modules
  perl-tk tetex-extra 
1 packages upgraded, 0 newly installed, 9 downgraded, 0 to remove and 300  not 
u
pgraded.
Need to get 15.4MB/19.3MB of archives. After unpacking 15.2MB will be freed.
Do you want to continue? [Y/n] 

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Automounting

2003-01-30 Thread Jason Pepas
On Wednesday 29 January 2003 01:41 pm, Johan Svedberg wrote:
 Hi, everybody!

 I'm having some problems automounting Windows shares from my Debian
 GNU/Linux system running unstable. However, mounting it manually with:

2 things:

1: From what you posted it appears you are trying to automount the C: drive, 
ie, most likely a hard drive.  Is there a reason you don't simply have it 
mount automatically at bootup via fstab?  (ie, no need for automounter)

2: if this is something other than a hard drive, you might look into 
supermount.  supermount makes mounting essentially the same as it is on 
windows.  discs are mounted when insterted, and unmounted when you hit the 
eject button.

Supermount is a kernel patch:
http://people.mandrakesoft.com/~quintela/supermount/

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: 384mb RAM installed but 57mb recognized at bootup..........huh ?

2003-01-30 Thread Jason Pepas
On Thursday 30 January 2003 08:47 am, Courtney Thomas wrote:
 Greetings !

 The motherboard specs say that pc100 ram should be used and I've
 installed pc133. Is this a problem ?

 Else, how can this be remedied ?

using PC133 is normally not a problem.

However, take the RAM DIMM out and look at it.  If it only has chips along one 
side of the PCB, this might be causing the problem.  This single sided RAM 
usually shows up as only half capacity in older systems (though in this case, 
older could be as recent as 2 years or so).

-jason pepas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Backup Consensus?

2003-01-30 Thread Jason Pepas
On Sunday 26 January 2003 03:32 pm, Grant Bowman wrote:
 Is there a place where a general consensus has been reached on exactly
 what is necesary to backup a Debian system?  I'm sure this has been
 asked and answered many times before, so I am looking for URLs to where
 this has been discussed in the past.

for what it's worth, here's what I use to backup.

--- cut backup.marsala.sh ---
#!/bin/sh

# jason pepas's backup script - see http://jason.pepas.com
# shell script tutorials:
#  http://www.freeos.com/guides/lsst/
#  http://www.linuxnewbie.org/nhf/intel/programming/introbashscript.html


# --
# set variables:
# --


directoryname=`date +%Y-%m-%d`_`hostname`_backup
current=current_`hostname`
fullbackuplabel=Full Backup of `hostname` on `date '+%B %e, %Y'`
fullbackupname=`date +%Y-%m-%d`_full.tar.gz
fullbackuplogname=`date +%Y-%m-%d`_full.log
incrementalbackuplabel=Incremental Backup of `hostname` on `date '+%B %e, 
%Y'`
incrementalbackupname=`date +%Y-%m-%d`_incremental`date +%H%M`.tar.gz
incrementalbackuplogname=`date +%Y-%m-%d`_incremental`date +%H%M`.log


# --
# functions:
# --


fullbackup()
{
# create backup directory
if test ! -e /backup/$directoryname; then
echo Creating /backup/$directoryname directory
mkdir /backup/$directoryname
fi

# create (or update) a shortcut called current to this directory
echo Updating /backup/$current pointer
rm /backup/$current
ln -s /backup/$directoryname /backup/$current

# keep track of creation date of full backup (used with incremental 
backups)
echo Updating /backup/$current/lastfullbackupdate
date/backup/$current/lastfullbackupdate

# create backup
echo Running tar...
tar --create  --label $fullbackuplabel --files-from 
/root/scripts/whattobackup --exclude-from /root/scripts/whatnottobackup 
--ignore-failed-read --absolute-names --verbose --gzip --file 
/backup/$current/$fullbackupname  /backup/$current/$fullbackuplogname 21
gzip /backup/$current/$fullbackuplogname
echo Done. Created /backup/$current/$fullbackupname
echo To view the log, type:
echo  zcat /backup/$current/$fullbackuplogname
}


incrementalbackup()
{
# create variable with date of last full backup
lastfullbackupdatevar=`cat /backup/$current/lastfullbackupdate`

# check for existence of incremental backup
if test -e /backup/$current/$incrementalbackupname; then 

echo Your last incremental backup was less than 60 seconds ago.
echo Wait a minute and try again.

else 

# create incremental backup
echo Running tar...
tar --create --label $incrementalbackuplabel --files-from 
/root/scripts/whattobackup --exclude-from /root/scripts/whatnottobackup 
--ignore-failed-read --after-date $lastfullbackupdatevar --absolute-names 
--verbose --gzip --file /backup/$current/$incrementalbackupname  
/backup/$current/$incrementalbackuplogname 21
gzip /backup/$current/$incrementalbackuplogname
echo Done. Created /backup/$current/$incrementalbackupname
echo To view the log, type:
echo  zcat /backup/$current/$incrementalbackuplogname

fi
}


# --
# main routine:
# --

# first get a list of all packages installed.
dpkg --get-selections  /etc/apt/selections

# clear out apt's packages
#apt-get clean

# now perform the backup.
echo -- Backup Script Running... --

if test `date +%A` = Sunday  ! -e /backup/$directoryname; then

# if it is sunday and you havent yet done a full backup, do so
echo Performing Weekly Full Backup...
fullbackup;

elif test ! -e /backup/$current/*full.tar.gz; then

# if there is no current fullbackup, make one
echo No Current Full Backup - Performing Full Backup Now...
fullbackup;

else

# otherwise, do an incremental backup
echo Performing Incremental Backup...
incrementalbackup;

fi # end if statement

echo -- Backup Script Done --

--- cut ---

(pts/6)jason@marsala:/root/sbin-scripts$ cat whattobackup.marsala 
/boot
/etc
/home
/root
/temp
/usr/local
/var

(pts/6)jason@marsala:/root/sbin-scripts$ cat whatnottobackup.marsala 
*.mp3
*.mpg
*.avi
*.wav
*.mov
*.asf
*.rm
*.iso
*.flac
*.zip
*.exe
data.bin
/usr/local/fonts
/usr/local/games
/usr/local/j2re
/usr/local/j2re1.4.0
/usr/local/winbackup
/var/cache/apt/archives


-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Backup Consensus?

2003-01-30 Thread Jason Pepas
 a bootable cd collection as a backup. now that's *cool*.

you might check out mondo as well.

apt-cache show mondo

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Download installed .debs??

2003-01-30 Thread Jason Pepas
 apt-get install --reinstall packagename
 (It'll use the cached .deb's in /var/cache/apt/archives when it finds
 it, though)

 If you really want to _download_ new, rm that deb from the directory
 and run the above command.

you might try this in combination with -d (download only).

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




OT: lhd, where have you gone?

2003-01-30 Thread Jason Pepas
does anyone know what happened to the linux hardware database (lhd.zdnet.com)?

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: list delay

2003-01-30 Thread Jason Pepas
On Thursday 30 January 2003 06:15 pm, Michael Wardle wrote:
 Hi

 I've only recently subscribed to debian-user, and I notice that I
 receive messages sent to the list 4 or 5 hours after they have been
 sent.  Among other things, this typically results in several identical
 responses to a question, as subscribers are unaware that somebody has
 already responded.  I do not notice this on any other mailing lists.

 I suspect this issue has been raised previously, but I can't find any
 mention of it in a FAQ or in recent list posting.

 Is this a known problem, and is there anything that can be done to
 improve the speed of the Debian mailing lists?

 Thanks

 --
 Michael Wardle [EMAIL PROTECTED]
 Adacel Technologies

I have been experiencing this too, though it only seems recently (within the 
past few months), which corresponded to changing ISP's, but perhaps that 
wasn't my problem after all.

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: perldoc bug?

2003-01-29 Thread Jason Pepas
 Upgrade and try again.  If it persists, file a bug.

yup, that fixed it.  perl 5.8 doesn't play nicely with perl-doc 5.6

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: find a command i have recently used in bash

2003-01-29 Thread Jason Pepas
On Wednesday 29 January 2003 08:21 am, Sandip P Deshmukh wrote:
 hello all

 i am sure there must be a way of doing it. i am not getting it though.

 let us say, i have done ls -l , etc etc
 then i have done a few more commands at the prompt.

 now, i want to use that ls command again. is there a way inwhich i can
 reach it quickly? for instance, i type ls and some other key and bash
 completes from history?

 --
 regards,
 sandip p deshmukh
 --***
 BOFH excuse #40:

 not enough memory, go get system upgrade

you can use the up arrow to reach previous commands.  or you can grep your 
.bash_history, like grep ls ~/.bash_history

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Howto redirect output from a terminal

2003-01-29 Thread Jason Pepas
On Wednesday 29 January 2003 10:48 am, Michael Kahle wrote:
 I am not sure how to ask for what I want here.  But, here goes.  I was
 using dump to make a backup of a directory on my computer.  This was
 started from a terminal in X.  As it was running I could see in the
 terminal window all the status output from the program.  Good.  This backup
 job took a long time to complete and so I went home while the backup was
 still running.  When at home I ssh'd into the box to see if the dump
 process was still running, it was.  Then I got to thinking, how can I see
 the output of this program in my current ssh session?  Is there a program
 that exists to allow me to redirect the output of a program running in a
 terminal to another terminal?  I hope I am explaining this clearly.

 Thanks,

 Michael

two options.

the option I think you want is screen.

while in an xterm, start screen.  Now start executing commands like normal.  
When you are ready to log out, type CTRL+A, CTRL+D to detach the screen 
session.

Later, when you ssh back into your machine, type screen -r to re-attach that 
session, just as it was.

the second option is to use script.  If you just want to capture the output of 
a program, start script, execute stuff, and then type exit to stop script.  
All screen ouput was logged to a file in the current directory.

-jason pepas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cdrecord exit status 254

2003-01-29 Thread Jason Pepas
cdrecord appears to exit with status 254, which works fine from console, and 
burns good cd's, but causes make to think it failed, when it actually didn't.

ideas?

man page turns up nothing, google returns 2 other people asking my question 
with no answer (one in spanish).

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cdrecord exit status 254

2003-01-29 Thread Jason Pepas
 You know that without knowing anything about your cdrecord

(pts/8)jason@marsala:~$ dpkg -l | grep cdrecord
ii  cdrecord   1.10+11a34-1   A command line CD/DVD writing tool

 or Debian version

(pts/8)jason@marsala:~$ cat /etc/debian_version 
testing/unstable

 without knowing what you are trying to do

as mentioned previously, I am trying to use cdrecord from a makefile.

 and what cdrecord actually does

as mentioned previously, it burns cd's correctly, but exits with status 254, 
causing make to beleive it failed when it acutally didn't.

In this case I did not give a bunch of specifics, because I beleive everything 
is working correctly.  That is, my question is a general one, not a question 
regarding my specific install.  That question is, why would cdrecord exit 254 
when it exits successfully?  Since the cd's are fine, I assume cdrecord is 
working correctly, but has an odd policy of exit status?

thanks for your reply,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: find a command i have recently used in bash

2003-01-29 Thread Jason Pepas
 The .bash_history is only written when bash is exiting, so it won't
 include commands you recently typed within the same session.  That is to
 say, it won't have anything since you most recently logged in.  It's
 also prone to missing some commands from previous sessions as well, in
 cases in which you had multiple sessions running concurrently.  This is
 because bash reads ~/.bash_history when starting up, works with the
 history in memory, then writes ~/.bash_history when exiting.

thanks.  I had noticed odd behavior regarding bash_history before, now I know 
why.

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




perl-doc package bug?

2003-01-28 Thread Jason Pepas
hello,

I think there might be a bug with the perl-doc package in the testing branch.

(pts/4)root@marsala:/var/cache/apt/archives$ apt-get install perl-doc
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  perl-doc 
0 packages upgraded, 1 newly installed, 0 to remove and 233  not upgraded.
Need to get 0B/3886kB of archives. After unpacking 7516kB will be used.
(Reading database ... 111847 files and directories currently installed.)
Unpacking perl-doc (from .../perl-doc_5.6.1-7_all.deb) ...
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
dpkg: error processing /var/cache/apt/archives/perl-doc_5.6.1-7_all.deb 
(--unpac
k):
 trying to overwrite `/usr/share/man/man1/xsubpp.1.gz', which is also in 
package
 perl
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/perl-doc_5.6.1-7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

(pts/4)root@marsala:/var/cache/apt/archives$ dpkg -i --force-overwrite 
perl-doc_
5.6.1-7_all.deb 
(Reading database ... 111847 files and directories currently installed.)
Unpacking perl-doc (from perl-doc_5.6.1-7_all.deb) ...
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
dpkg - warning, overriding problem because --force enabled:
 trying to overwrite `/usr/share/man/man1/xsubpp.1.gz', which is also in 
package
 perl
 Setting up perl-doc (5.6.1-7) ...
 
 (pts/4)root@marsala:/var/cache/apt/archives$ dpkg -l | grep perl
 ii  libft-perl 1.2-13.1   Perl module for the FreeType library
 ii  libperl5.6 5.6.1-7Shared Perl library.
 ii  libperl5.8 5.8.0-14   Shared Perl library.
 ii  libsgmls-perl  1.03ii-23  Perl modules for processing SGML parser 
outp
 ii  perl   5.8.0-15   Larry Wall's Practical Extraction and 
Report
 ii  perl-base  5.8.0-15   The Pathologically Eclectic Rubbish Lister.
 ii  perl-doc   5.6.1-7Perl documentation.
 ii  perl-modules   5.8.0-15   Core Perl modules.
 ii  perl-tk800.024-1.1Perl module providing the Tk graphics 
librar
 
-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




perldoc bug?

2003-01-28 Thread Jason Pepas
hmm...

(pts/4)jason@marsala:~$ perldoc -f sin
No documentation found for perlfunc.

hrmm...

(pts/4)jason@marsala:~$ dpkg -l | grep perl
ii  libft-perl 1.2-13.1   Perl module for the FreeType library
ii  libperl5.6 5.6.1-7Shared Perl library.
ii  libperl5.8 5.8.0-14   Shared Perl library.
ii  libsgmls-perl  1.03ii-23  Perl modules for processing SGML parser outp
ii  perl   5.8.0-15   Larry Wall's Practical Extraction and Report
ii  perl-base  5.8.0-15   The Pathologically Eclectic Rubbish Lister.
ii  perl-doc   5.6.1-7Perl documentation.
ii  perl-modules   5.8.0-15   Core Perl modules.
ii  perl-tk800.024-1.1Perl module providing the Tk graphics librar

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cdrom read errors.

2003-01-24 Thread Jason Pepas
hi all,

investigating cdrom read errors.

- error only occurs at the very end of the disc
- error occurs wether using dd or cat
- error occurs wether using hdparm or not
- error occurs wether media is mounted or not
- resulting iso seems just fine.
- error seems to occur randomly among discs, but consistently for a single 
disc.

(pts/8)jason@marsala:/tmp$ sdd if=/dev/cdrom of=foo.iso
sdd: Input/output error. Error reading '/dev/cdrom'.
sdd: Read  1116528 records + 0 bytes (total of 571662336 bytes = 558264.00k).
sdd: Wrote 1116528 records + 0 bytes (total of 571662336 bytes = 558264.00k).

(pts/8)jason@marsala:/tmp$ cat /dev/cdrom  foo2.iso 
cat: /dev/cdrom: Input/output error

(pts/8)jason@marsala:/tmp$ mount /mnt/cdrom/
(pts/8)jason@marsala:/tmp$ cat /dev/cdrom  foo3.iso 
cat: /dev/cdrom: Input/output error

after the error:

(pts/8)root@marsala:~$ /sbin/hdparm /dev/cdrom 

/dev/cdrom:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 I/O support  =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 HDIO_GET_NOWERR failed: Invalid argument
 readonly =  1 (on)
 readahead=  8 (on)
 HDIO_GETGEO failed: Invalid argument
 busstate =  1 (on)

after running hdparm.sh:

(pts/8)root@marsala:~$ /sbin/hdparm /dev/cdrom 

/dev/cdrom:
 HDIO_GET_MULTCOUNT failed: Invalid argument
 I/O support  =  0 (default 16-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 HDIO_GET_NOWERR failed: Invalid argument
 readonly =  1 (on)
 readahead=  8 (on)
 HDIO_GETGEO failed: Invalid argument
 busstate =  1 (on)

hdparm.sh: (/dev/cdrom is /dev/hdc)

(pts/8)root@marsala:~$ cat /etc/init.d/hdparm.sh 
#! /bin/sh

# hdparm script

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

MAXTOR=/dev/hda
WD=/dev/hdb
DVD=/dev/hdc
BURNER=/dev/hdd

case $1 in
  start)
echo -n Adjusting drive parameters using hdparm... 

# d1 = dma on
# c3 = 32bit io w/sync
# m16 = read upto 16 sectors at a time
# u1 = unmask other interrupts while processing disk interrupt

if [ `hostname` == marsala ]
then
hdparm -d1 -c3 -m16 -u1 $MAXTOR
hdparm -d1 -c3 -m16 -u1 $WD
hdparm -d1 -u1 $DVD
# hdparm -d1 -u1 $BURNER
fi

echo done.
;;
  stop)
;;
  restart|force-reload)
;;
  *)
;;
esac

exit 0

anyone have any ideas what is causing this?  my only guess is that the cdrom 
is trying to read past the end of the media?

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Unidentified subject!

2003-01-02 Thread Jason Pepas
I don't know what to file a bugreport against, checkinstall, man, groff or lp?

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mand
standard input:106: warning: `spec' not defined (probable missing space 
after

gv displays nothing

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mand
standard input:106: warning: `spec' not defined (probable missing space 
after
(pts/3)jason@marsala:~$ gv /tmp/foo.ps

gv displays the page correctly

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mand
standard input:106: warning: `spec' not defined (probable missing space 
after
request id is epson-197 (1 file(s))

(pts/3)jason@marsala:~$ man -t checkinstall | lp
/tmp/zman8FWIIT:106: warning: `spec' not defined (probable missing space after 
`
request id is epson-199 (1 file(s))

these both print the man page, but appear to start from the second page.

(pts/3)jason@marsala:~$ man checkinstall | lp
Reformatting checkinstall(1), please wait...
/tmp/zmanySH7Iv:106: warning: `spec' not defined (probable missing space after 
`
request id is epson-198 (1 file(s))

this also prints the man page, and also starts on the second page, but starts
from a different spot.

your opinions are welcome.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Unidentified subject!

2003-01-02 Thread Jason Pepas
 What's -mand? Perhaps you mean -mandoc.

hmm, looks like I didn't copy / paste that correctly.  lets try that again:

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mandoc - | gv
standard input:106: warning: `spec' not defined (probable missing space 
after `sp')

gv displays nothing

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mandoc -  /tmp/foo.ps 
standard input:106: warning: `spec' not defined (probable missing space 
after `sp')
(pts/3)jason@marsala:~$ gv /tmp/foo.ps 

gv displays the page correctly

(pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mandoc - | lp
standard input:106: warning: `spec' not defined (probable missing space 
after `sp')
request id is epson-197 (1 file(s))

(pts/3)jason@marsala:~$ man -t checkinstall | lp
/tmp/zman8FWIIT:106: warning: `spec' not defined (probable missing space after 
`sp')
request id is epson-199 (1 file(s))

these both print the man page, but appear to start from the second page.

(pts/3)jason@marsala:~$ man checkinstall | lp 
Reformatting checkinstall(1), please wait...
/tmp/zmanySH7Iv:106: warning: `spec' not defined (probable missing space after 
`sp')
request id is epson-198 (1 file(s))

this also prints the man page, and also starts on the second page, but starts
from a different spot.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




irssi-text not working

2003-01-02 Thread Jason Pepas
irssi-text doesn't seem to be working for me.

issuing the command irssi from the command line simply does nothing.

ii  irssi-text 0.8.5-2text-mode version of the irssi IRC client

any ideas?  perhaps some sort of perl module dependency problem?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: irssi-text not working

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 03:28 pm, Jason Pepas wrote:
 irssi-text doesn't seem to be working for me.

 issuing the command irssi from the command line simply does nothing.

 ii  irssi-text 0.8.5-2text-mode version of the irssi IRC client

 any ideas?  perhaps some sort of perl module dependency problem?

 -jason pepas

hmm, looks like a bug was files 83 days ago, and hasn't been fixed...

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

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: irssi-text not working

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 03:28 pm, Jason Pepas wrote:
 irssi-text doesn't seem to be working for me.

 issuing the command irssi from the command line simply does nothing.

 ii  irssi-text 0.8.5-2text-mode version of the irssi IRC client

 any ideas?  perhaps some sort of perl module dependency problem?

 -jason pepas

well, the unstable version seems to be working.  at least that's a workaround.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: pdf2ps Segmentation fault

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 01:37 pm, Sven Heinicke wrote:
 On some pdf files pdf2ps Segmentation faults on stable Debian.  While on
 Red Hat 8.0 the don't.  I see that the testing version has a closer
 version to that of Red Hat.  Anybody have luck with running testing
 gs-common and/or gs debs on stable?

   Sven

this does not directly answer your question, but provides an alternate 
solution.

you can use adobe's acroread to perform the same function.

apt-get install acroread

then create a script to make it work like pdf2ps:

--- cut --- pdf2ps.sh ---
#!/bin/sh

# script to use adobe's acroread to convert pdf documents to postscript.
# see the advanced bash scripting howto: http://www.tldp.org/LDP/abs/

if [ ! -n $1 ]
then
echo Usage: `basename $0` file1.pdf file2.pdf...
exit 1
fi

acroread -toPostScript $@

--- cut ---

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CMI 9738 sound driver

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 10:33 pm, Davor Balder wrote:
 Hi All,

 I am trying to configure (onboard) CMI 9738 sound chip on SiS650/961 board
 supporting PIV. I am still configuring the rest of the stuff such as PPP
 etc. CMI 9738 appears not to be supported by 2.4.18 kernel. Any idea if
 this driver is under development and if there is any other way at all to
 get this beast working.

 I tried CMI 8738 driver with no success. The chip is AC97 compatible.
 Googling revealed, however, that CMI9738 uses only a fraction of AC97
 functions and is a budget codec.

 Does anyone else have this sound chip? Or am I ahead of time in terms of
 driver development ? :-)

 Thanks in advance. Apologies for using Outlook Express, this machine has
 just been constructed and a lot is under work...


 take care,

 Davor

don't know if this applies to your chipset, but you might for the module 
i810_audio or i810_codec or something like that.  This supports several AC97 
compatible chipsets (I am using the sis7... something or other and it works, 
but only at 48khz).

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kernel recompile

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 11:41 pm, Robert Storey wrote:
 In the continuing saga of my kernel recompile, I did this:

   make xconfig
   make-kpkg clean
   make-kpkg kernel_image
   dpkg -i kernel-image-2.4.18_10.00.Custom_i386.deb

 Everything seemed to go well. There were no error messages, and I found
 myself with a newly compiled kernel named vmlinuz-2.4.18 in my /boot
 directory. But on attempting to boot, the kernel would instantly crash
 and reboot again, and again, etc, ad nauseum. I could only recover by
 editing GRUB to point back to the old kernel.

 Can't see what I did wrong, other than possibly that my settings somehow
 conflicted. I actually changed very little - I used the stock kernel,
 and just added support for sound, parport, scsi, and my ethernet card.

 Has anyone else had this experience? Can I just use my old kernel and
 somehow get these other things to work by loading modules?

 thanks in advance,
 regards,
 Robert Storey

try setting the cpu type to 386.  rebooting before the kernel even starts 
doing anything usually means the wrong cpu type was selected.

hmm, but if the kernel name has i386 in it, this might not be the problem...

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: starting X

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 06:40 pm, sean finney wrote:
 hey nori,

 hope your computer has thawed off a bit :)

 anyways, iirc this is provided by xserver-xfree86.  the easy way to
 make sure you have everything installed that you need for x is to
 run tasksel and check the box for x windows.


currently, tasksel seems to just install x-window-system.

I assume by your methodology that you are more interested in initally going 
with a minimal install, so try

apt-cache show x-window-system
apt-cache show x-window-system-core

then pick one and apt-get install it.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Audio Video digital capture / playback

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 01:40 pm, Hanasaki JiJi wrote:
 Any recommendations on Audio Video digital capture / playback hardware
 and software woking on Woody / Sarge?

mplayer / mencoder seem to be the most flexible (most codecs, most 
input/output methods, etc) tools available.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




checkinstall man page [was Re: Unidentified subject!]

2003-01-02 Thread Jason Pepas
On Thursday 02 January 2003 10:47 pm, Colin Watson wrote:
 On Thu, Jan 02, 2003 at 02:03:53PM -0600, Jason Pepas wrote:
   What's -mand? Perhaps you mean -mandoc.
 
  hmm, looks like I didn't copy / paste that correctly.  lets try that
  again:
 
  (pts/3)jason@marsala:~$ zcat /usr/share/man/man1/checkinstall.1.gz |
  groff -mandoc - | gv
  standard input:106: warning: `spec' not defined (probable missing space
  after `sp')

 Fine; I'd still like to know what's on and around line 106 of that man
 page.

(pts/2)jason@marsala:/tmp$ zcat /usr/share/man/man1/checkinstall.1.gz  
foo.zcat
(pts/2)jason@marsala:/tmp$ zcat /usr/share/man/man1/checkinstall.1.gz | groff 
-mandoc -  foo.groff
standard input:106: warning: `spec' not defined (probable missing space 
after `sp')

so it appears the problem in the stream is the output of zcat, so probably a 
problem in the manpage itself

(pts/2)jason@marsala:/tmp$ cat -n foo.zcat | grep -a3 106
   103  .IP \fB--dpkgflags=[flags]\fP  10 
   104  Pass these flags to the dpkg (.deb) installer 
   105  .IP \fB--spec=[path]\fP  10 
   106  .spec file location 
   107  .IP \fB--nodoc\fP  10 
   108  Do not include documentacion files 
   109  .IP \fB-d[0,1,2]\fP  10 

from looking at the rest of the document, .SH appears to be some kind of 
formatting keyword, so I guess it is problem with the man page itself.

-jason pepas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: cannot open dislpay: debian:0.0

2003-01-02 Thread Jason Pepas
On Wednesday 01 January 2003 01:35 am, Kevin wrote:
 Please can you help with this error?
 Below is the log, env and .bashrc

 DISPLAY=debian:0.0;export DISPLAY

try this:

export DISPLAY=:0.0
export XAUTHORITY=/home/user/.Xauthority

-jason pepas




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Windows Telnet

2003-01-02 Thread Jason Pepas
 I've actually had a little bit of a bad experience trying to do this.
 I have Deep XResources Magic that causes fonts to come up at the
 reported resolution of the display and to prefer scalable fonts,
 rather than using fixed 75 or 100dpi fonts.  My normal xterm font is
 11pt Courier; trying 'xterm -fa Courier -fs 11' comes out looking
 noticably different (notably, with more leading).

*tries  xterm -fa Lucida Console -fs 14*
*jaw hits the floor loudly*
*hand smacks forehead for not realizing he could have simply used xterm all 
along...*

Now, before I bother to figure this out myself, I should ask if anyone else 
has bothered to figure out exactly how to make the xterm colors *exactly* the 
same as the linux tty colors?

I have gotten this as a starting point:

edit /etc/X11/app-defaults/XTerm-color:

*VT100*color0: black
*VT100*color1: red
*VT100*color2: green
*VT100*color3: yellow
*VT100*color4: blue
*VT100*color5: magenta
*VT100*color6: cyan
*VT100*color7: white
*VT100*color8: black
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: blue
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white
*VT100*colorUL: yellow
*VT100*colorBD: white

I don't really know anything about xresources, so the *VT100... part might be 
non-ideal.  Also, these colors are just a starting point.

anyone?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Anti-aliasing

2003-01-02 Thread Jason Pepas
On Tuesday 31 December 2002 05:16 am, Rus Foster wrote:
 Hi All,
 I've just managed to get anti aliasing working with qt apps.
 However I would also like to get xterms,window maker and gtk based apps
 working. For the gtk apps would I be correct in thinking that I will have
 to upgrade to the unstable (i.e. gtk 2+) for things such as gimp to do
 antialiasing?

 For windowmaker (and I guess in turn xterms) though I'm at a bit of a
 loss. Can anyone point me in the right direction?

 Cheers

 Rus

yeah, what you need are XFree 4.2.x (I think...) and gtk2

I just discovered from the windows telnet thread that the following:

xterm -fa Lucida Console -fs 14

starts an xterm with a gloriously antialiased truetype font.

by the way, I seem to remember there being some sort of environment variable 
you have to set to get gtk2 to use AA fonts, like GDK_USE_XFT=1 or 
somesuch...  I'll have to look through my notes for that.

...

yes, I edited /etc/X11/gdm/Sessions/Gnome

and added:

# make AA work
export GDK_USE_XFT=1

of course, that only helps you if you use gdm.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How insecure are cable connections, versus dialup?

2002-12-09 Thread Jason Pepas
 some folks like to sniff passwds... those are some of the ones you
 should worry about... ( there are ssh based pwd sniffers too )

ssh based password sniffers?  can you provide us with any evidence of this?

-jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




ide-scsi grabs everything

2002-11-26 Thread Jason Pepas
hello,

I have both ide-cd and ide-scsi compiled as modules.  When I modprobe 
ide-scsi, it grabs all non-hard drive ide devices (the burner and the zip 
drive).  Is there a way to make it just grab the burner?

also, before I modprobe ide-scsi, the burner should still be /dev/hdc, but I 
cannot mount it (mount reports not valid block device).  Any ideas?

thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ide-scsi grabs everything

2002-11-26 Thread Jason Pepas
thanks for the responses guys, looks like I should be able to get it sorted 
out with your help.

-jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: can't cp files from dvd

2002-11-25 Thread Jason Pepas
On Sunday 24 November 2002 11:25 pm, Noah L. Meyerhans wrote:
 On Sun, Nov 24, 2002 at 10:50:38PM -0600, Ron Johnson wrote:
  Just now, when I tried to cp the *.VOB files from a movie disk
  mounted udf onto /dvd-rw, I got the same Input/output error.

 Believe it or not, this is a function of the fact that the DVDs are
 encrypted.  I don't remember what the heck it is that you have to do to
 actually get enough of a handle on the data to be able to use something
 like DeCSS on it.  I saw an interesting talk entitled Decrypting DVD
 at MIT a couple of years ago, and this is the first I've thought of it
 since then.  Hell, I probably couldn't tell you how to do it, even if I
 did remember, without the MPAA sending the FBI after me for a DMCA
 violation.  8^(

 But whatever the case, you will not be able to copy .vob files from a
 DVD using normal tools like cp.

 noah

last night I was able to copy vob files from the dvd with no problem.  This 
was after using mplayer to play a dvd.  Perhaps dvd playing programs somehow 
unlock the dvd rom and leave it in that state?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




kbdrate problems

2002-11-24 Thread Jason Pepas
hello,

I am currently using a script, /etc/init.d/kbdrate.sh, to set my keyboard 
repeat rate to something reasonable (like 30).

However, on one of my boxes, if you switch to a tty (ctrl-alt-f1), the rate is 
still 30, but upon switching back to X, the rate has reverted to the boot 
time default.  switching back to the tty reveals it is now back to the 
default there too.

this problem only occurs on one of my machines.  On the other one, the tty's 
and X are able to maintain different repeat rates.

is there a better way to set this?  a boot parameter perhaps?  what sets it to 
the default anyway, and is there a way to set that?

thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: can't cp files from dvd

2002-11-24 Thread Jason Pepas
On Sunday 24 November 2002 07:45 pm, [EMAIL PROTECTED] wrote:
 Out of curiosity I thought I'd try to copy files from a movie DVD to my
 hard drive.  When I tried to copy some of the .vob files, I got a
 message that said something like input/output error, and nothing would
 copy.  This isn't real important to me, and I'm mostly simply curious,
 but is it possible to copy files using cp from a mounted dvd?  I had
 thought they should be able to be copied, but now wonder if there is
 some sort of hardware block that prevents this (my dvd reader is old) or
 if there was some trick I didn't know.  Thanks,

 Ric

if you just need to get the video streams, and not neccessarily the vob files 
themselves, mencoder can copy the streams into an avi file:

mencoder -dvd 1 -oac copy -ovc copy -o foo.avi

this will also decrypt them.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




debian filesystem inside a file

2002-11-24 Thread Jason Pepas
hello,

i was wondering if it is possible to install debian, using a file as a 
partition.  Sort of like how BeOS will install inside windows, creating its 
filesystem in a file.

I think this has been done with umsdos, but what about under NTFS?  Is there 
any hope of that?

thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: can't cp files from dvd

2002-11-24 Thread Jason Pepas
On Sunday 24 November 2002 10:56 pm, Ron Johnson wrote:
 On Sun, 2002-11-24 at 20:44, Jason Pepas wrote:
  On Sunday 24 November 2002 07:45 pm, [EMAIL PROTECTED] wrote:

 [snip]

  if you just need to get the video streams, and not neccessarily the vob
  files themselves, mencoder can copy the streams into an avi file:
 
  mencoder -dvd 1 -oac copy -ovc copy -o foo.avi

 Is this part of Debian?  http://www.debian.org/distrib/packages
 doesn't show it in the lists of files.

not yet.  but the source has a debian directory, so you just run debuild and 
viola, instant debs.

-jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: allowing remote x connections?

2002-11-06 Thread Jason Pepas
On Wednesday 06 November 2002 07:06 am, Bruno Boettcher wrote:
 Hello!

 i read this some time ago, but can't find the pointer to that docu
 anymore, and its not in the debian FAQ... :(

 i want to allow some local machines to send their displays to the
 desktop machine i know there's something to tweak with the server,
 but i don't know what

 other point does someone have allready some iptble roules to reject the
 X protocol stuff coming from outside the local net?

if you use gdm,

edit /etc/gdm/gdm.conf
[Xdmcp]
Enable=true

/etc/init.d/gdm restart

X -query foo.bar.com

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: encrypting a single file

2002-11-04 Thread Jason Pepas
On Monday 04 November 2002 03:57 pm, Levi Waldron wrote:
 Is there a simple way to encrypt a single text file on my system, so that
 it can only be viewed if you know the password?  I want to securely store
 my online username/passwords, bank card PINs, etc that I'm always
 forgetting.

 -Levi

from http://jason.pepas.com/linux/notes/password-protect-files.txt

howto password protect (encrypt) files using gpg:

lets say you want to encrypt passwords.txt.

gpg --symmetric passwords.txt

enter your password when prompted.

to decrypt it:

gpg --decrypt passwords.txt.gpg  passwords.txt

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: parted boot CD

2002-11-04 Thread Jason Pepas
 I know for a fact that parted can resize a ro-mounted partition, because
 I did it once to shrink the root partition. (To make room for a swap
 partition.)

did you know you that linux supports swap files as well as swap partitions?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: VCD creation

2002-11-04 Thread Jason Pepas
On Sunday 03 November 2002 08:18 pm, Gerald V. Livingston II wrote:
 Is it possible to create a VCD from a '.mpg' or '.avi' with some
 program(s) available as Debian packages? I'm running sid here. I've
 figured out how to BURN VCD's that come in bin/cue format, but I don't
 know how to turn a straight mpeg into a bin/cue that can be burned as
 vcd/svcd.

 G

as far as re-encoding from other filetypes is concerned, anything which can be 
played with mplayer can transcoded with mencoder, and one of its output 
codecs is mpeg1video.

However, it uses avi as the file format (avi is really just a wrapper 
format), so you would need something pull the mpeg1 stream out of that avi 
file and format it as an mpg file.

-jason pepas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: tftpboot.img

2002-11-04 Thread Jason Pepas
 etherboot is for creating floppies...

etherboot can also make bootroms.

check out http://www.rom-o-matic.net/

if your sun has a bootrom slot, and the controller is supported by etherboot, 
and you can find someone with an eeprom burner, you should be good to go.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: macintosh hardware

2002-11-03 Thread Jason Pepas
On Sunday 03 November 2002 08:41 pm, Jason Stechschulte wrote:
 There is a computer show in my area in a couple of weeks, and I'm
 thinking about getting a used Macintosh since I haven't played with one
 for ages.  I don't want to bother getting one though unless I can
 dual-boot it and Debian GNU/Linux.  I'm not new to dual-booting systems,
 I just don't really  know anything about Macs.  How well does Linux run
 on Macs?  Is there a certain model I should look for to get the best
 results?  Pointing me to some good reading on the subject is sufficient
 help.

Some macs (the nubus machines) are not officially supported by debian.

specifically,

* Power Macintosh 6100, 7100, 8100

* Performa 5200, 6200, 6300

* Powerbook 1400, 2300, and 5300

* Workgroup Server 6150, 8150, 9150

see here:
http://www.debian.org/releases/stable/powerpc/ch-hardware-req.en.html#s-hardware-supported

and here:
http://ftp.debian.org/debian/dists/woody/main/disks-powerpc/current/powermac/install.txt

However, looks like if you dual boot, and limit yourself to using the MkLinux 
mach kernel, you might be able to run debian on a nubus mac:
http://nubus-pmac.sourceforge.net./
http://www.symsys.com/~ingram/hardware/powermac/potato-install.html

-jason pepas

ps - glad to see they have improved the install manual with 3.0.  In the past, 
the exact models which were and weren't supported weren't listed in the 
manual, and you had to hunt down the above ftp link to find exactly which 
machines were supported, which was always a pain in the ass.  Now the info is 
where it should be - where everyone should be looking for it.  Thanks guys - 
this is one of those things I always meant to file a complaint about, but 
never got around to it, so it is good to see it fixed.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: gnome2 applets

2002-11-02 Thread Jason Pepas
 specifically, netleds and wavelan.

I would highly recommend netmon-applet as a replacement for netleds.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Is my Xserver useing too much memory?

2002-11-02 Thread Jason Pepas
On Friday 01 November 2002 06:47 pm, Mike Fedyk wrote:
 Hi,

 About a year ago I had a machine (since dismantled) that would reliably
 have an Xserver (XF4.x) consume all available memory and cause the system
 to be in an OOM state.

 Now in another machine I have a [1]Xserver using a lot of memory again.
 Earlier today, the SIZE of the process was about 64MB, and now it's up to
 80MB.  Is this normal?  My system has been up for 7 days.

 Mike

 [1]
   PID USER PRI  NI PAGEIN  SIZE SWAP  RSS SHARE   D LC %CPU %MEM   TIME
 COMMAND 709 root  15 -10  28607 81876  63M  16M  8520  3K  0  8.2 13.1
 384:33 XFree86

You only need to worry if it continues to grow without bound over several 
weeks, which I would guess means you have a memory leak in part of the 
xserver specific to your video card.

If you have a swap file/partition, this becomes not as important, as the 
leaked memory will eventually get pushed out into swap, and will never be 
called back in from swap.  I have had leaky X video drivers before, but it 
would take months for that alone to fill up a large swap space.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: gnome2 applets

2002-11-02 Thread Jason Pepas
On Saturday 02 November 2002 06:51 am, iain d broadfoot wrote:
 Jason Pepas wrote:
 specifically, netleds and wavelan.
 
  I would highly recommend netmon-applet as a replacement for netleds.
 
  -jason pepas

 $apt-cache search netmon-applet
 $

 where do i find it?

 iain

well now this is interesting, I have netmon-applet installed, and I installed 
it with apt-get, yet it has mysteriously vanished from testing, unstable, and 
experimental.

Does anyone know if there is a way reverse create a deb from files you have 
installed, in the case where you installed a deb but it was removed from the 
directory?

thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: gnome2 applets

2002-11-02 Thread Jason Pepas
On Saturday 02 November 2002 06:51 am, iain d broadfoot wrote:
 Jason Pepas wrote:
 specifically, netleds and wavelan.
 
  I would highly recommend netmon-applet as a replacement for netleds.
 
  -jason pepas

 $apt-cache search netmon-applet
 $

 where do i find it?

 iain

I repacked it (thanks Colin) and put it in my repository.  Just add this to 
your sources.list:

deb http://debian.pepas.com ./

then apt-cache search netmon-applet should show it.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: deleting directory

2002-11-02 Thread Jason Pepas
 It seems to me that I've seem this recently (I don't know who to credit),
 but is it not written that there are two types of *nix users?

 Type 1: Those who have executed rm -rf /
 Type 2: Those who haven't yet

 :)

 Brooks

You know I used to think all those warnings about rm -rf while root were 
nonsense meant to scare small children, until I didn't realize what directory 
I was in and lost several hundred megabytes of mp3's one day...

(hmm, why is the rm command taking so long... OH NO!)

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




each debain cd has a different kernel

2002-11-02 Thread Jason Pepas
this is both a tip and a question.

I just found out from http://www.debian.org/CD/faq/#bootable that you can 
install debian from any of the cd's, and each has a different kernel.  It 
states the first is a multiboot kernel, which allows you to choose which 
kernel to boot.  

How exactly does one select which kernel to use with the multiboot cd?  I have 
performed numerous installs and I don't recall seeing this option.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: which half are you in?

2002-11-02 Thread Jason Pepas
 displayed in the prompt. Another way is to do the delete
 from midnight commander where you can see everything.

This was actually the source of my incident.  There are certain instances in 
midnight commander, where if you do a CTRL-O to drop back to a command line, 
it sometimes puts you in the wrong path (I think the problem was it put you 
in the path from which you start mc, not the path of your current file 
browsing window, but I can't remember exactly).

That's how I lost several hundred megabytes of mp3's.  From inside mc I 
thought I was one place, and when I CTRL-O'ed I was in another place.

I haven't noticed this bug lately, so it may have been fixed.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: [OT] literate programming

2002-11-02 Thread Jason Pepas
On Sunday 20 October 2002 02:13 pm, Carlos A P Gomes wrote:
 I've been looking for a way to improve the quality of my code, making it
 more readable and understandable and easier to mantain embeding in it
 some documentation. I think the answer is literate programming and I'd
 like to know if anybody uses it in gnu environment to produce source
 and documentation following the gnu standards. It seems that there is no
 web software (cweb, noweb) that produces texinfo or docbook output. Is
 there a way to accomplish this task?

not sure if this is what you want, but you might try doxygen

you can see an example here:
http://www.cs.utexas.edu/users/markj/RoboWars3/Doxygen/classDisplay.html

Package: doxygen
Priority: optional
Section: devel
Installed-Size: 2996
Maintainer: Luca Filipozzi [EMAIL PROTECTED]
Architecture: i386
Version: 1.2.15-2
Replaces: doxygen ( 1.2.14)
Depends: libc6 (= 2.2.4-4), libstdc++2.10-glibc2.2 (= 1:2.95.4-0.010810)
Recommends: doxygen-docs
Suggests: doxygen-gui, graphviz
Filename: pool/main/d/doxygen/doxygen_1.2.15-2_i386.deb
Size: 1035192
MD5sum: 654dabdee62b49e207c407bae5cce7a4
Description: Documentation system for C, C++ and IDL.
 Doxygen is a documentation system for C, C++ and IDL. It can generate an
 on-line class browser (in HTML) and/or an off-line reference manual (in
 LaTeX) from a set of documented source files. There is also support for
 generating man pages and for converting the generated output into
 Postscript, hyperlinked PDF or compressed HTML. The documentation is
 extracted directly from the sources.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: removing lines from a file

2002-11-02 Thread Jason Pepas
On Saturday 02 November 2002 02:19 pm, Lance Hoffmeyer wrote:
 I know this has come up before but what is the best
 way to remove lines 5-10 and lines 16-20 from
 a file using the console and a batch file?

 Lance

you could use wc to get the total number of lines, and then use head and tail 
to grab the sections you want (try piping them into each other to get 
subsections)

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: removing lines from a file

2002-11-02 Thread Jason Pepas
On Saturday 02 November 2002 02:29 pm, Jason Pepas wrote:
 On Saturday 02 November 2002 02:19 pm, Lance Hoffmeyer wrote:
  I know this has come up before but what is the best
  way to remove lines 5-10 and lines 16-20 from
  a file using the console and a batch file?
 
  Lance

 you could use wc to get the total number of lines, and then use head and
 tail to grab the sections you want (try piping them into each other to get
 subsections)

 -jason pepas

specifically, this should do it:

#!/bin/sh
head -n 4 $1
cat $1 | head -n 15 | tail -n 5
lines=`wc -l $1 | cut -d ' ' -f 6`
tail -n `expr $lines - 20` $1

use it like this:

./chop.sh in.txt  out.txt

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Mozilla Anti-Aliasing

2002-11-02 Thread Jason Pepas
  I'm trying to get anti-aliasing to work in Mozilla, but for some reason
  my anti-aliased fonts just won't show up.  I selected to use freetype in
  the mozilla-browser dpkg configure, but still nothing.  Any tips would
  be highly appreciated!

see here:

http://fontconfig.org/mozilla/

unfortunately, it looks like the fontconfig stuff won't be in X until 4.3, so 
it will be a while before we have debs available.  However, I tried 
downloading those prebuilt mozilla tarballs, grabbing the needed fontconfig 
stuff from some rpm's, and was able to get mozilla running with antialiased 
fonts.  However, it could only see two fonts, both of them monospaced.  I 
assume this is because I did not properly install fontconfig.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cmpci audio skipping

2002-11-01 Thread Jason Pepas
Hello,

I have a crystal media based sound card (hercules gamesurround muse xl, using 
the CMI8738 chip) which uses the cmpci driver.

I have noticed that the audio sometimes skips, by that I mean it jumps ahead 
by skipping over a second or two of audio.  I does this about 2 or 3 times in 
a given 5 minutes song.

Currently the problem occurs and is reproducable when using xmms, playing 
mp3's mounted over an nfs share.

I have not yet ruled out the possibility that the problem is specific to xmms 
or to nfs mounted mp3's (I am in the process of eliminating these 
possibilities).  But I thought I would shoot a mail out to the list in the 
mean time and see if anyone else is experiencing this.

here is the lhd entry:
http://lhd.zdnet.com/db/dispproduct.php3?DISP?3228
(their database seemed to be down last time I checked).

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Tools to maintain my own set of homebrewed deb's?

2002-10-30 Thread Jason Pepas
 What I'm trying to do now is automate the process of generating the
 Packages.gz file automatically from the control files contained within
 the individual packages. In other words, I want to be able to upload some
 new or updated deb's to my web server, then run some command that
 automatically updates Packages.gz.

 Anybody know, offhand, what does that?

 - Joe

dpkg-scanpackages ./ /dev/null  Packages
gzip Packages

you could set up a cronjob to make a new Packages.gz file each night

is that what you were asking?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: P4 with 1GB RAM, swap required?

2002-10-30 Thread Jason Pepas
 Thanks for this hint!  This is really great!

 wbr,

I generally try to write this stuff down as i figure it out.  You might enjoy 
http://jason.pepas.com/linux/notes/

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: P4 with 1GB RAM, swap required?

2002-10-29 Thread Jason Pepas
On Monday 28 October 2002 03:24 am, Lukas Ruf wrote:
 Dear all,

 is there any sense in putting a swap partition on a P4 with 1GB RAM?

 What would be the advantage if using swapd?

 Or can I do without swap partitions at all?

 Thanks for any opinions,

 Lukas
 PS: I have debian unstable running...

Swaps are good eevn if you have gobs of RAM, because sometimes programs have 
memory leaks.  If you have a swap, this isn't a problem, because the leaked 
memory will eventually get pushed into swap, and it doesn't cause a 
performance penalty because it will never be brought back in from swap.

To create a swap file (64MB in this example), instead of a partition,

dd if=/dev/zero of=/swap bs=1M count=64
mkswap /swap

edit /etc/fstab:
/swap   noneswapsw  0   0

swapon -a
cat /proc/swaps

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




cups wont print

2002-10-22 Thread Jason Pepas
hello,

I recently setup an epson 740 printer using cupsys from unstable.

I can send jobs just fine, and cups shows them as completed, and 
/var/log/cups/error_log doesn't show any problems.

But nothing comes out of the printer...

Cups is under the impression that everything printed just fine, but nothing 
actually happens.

I have tried both the foomatic driver and the gimp-print driver, same problem.

If I reboot into windows, everything prints fine, so no hardware problems.

History: I had printing working on this machine a long time ago, but recently 
tried to print only to find error 22 problems, so I purged cups and 
installed from unstable, and how I have my current situation.

is this a known issue? someone else on #debian is having the exact same 
problem, and is also using unstable.

thanks,
jason pepas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




disabling ide-scsi

2002-10-19 Thread Jason Pepas
hi,

I need to know how to disable ide-scsi emulation.

The 2.4bf-xfs kernel appears to have ide-scsi emulation built into the kernel, 
and its behavior is to grab all cdrom and zip drive IDE devices by default, 
rather than the old behavior of only grabbing the ones which you specify 
using the append option of lilo.

In one machine I have only an IDE dvd-rom, so I don't need ide-scsi at all.

In another machine, I have an IDE burner, and an IDE zip drive, and I want 
only the burner to be ide-scsi (currently it automatically grabs both).

The ignore=hdX option appears to do the exact opposite of what I need (it 
tells ide-cd to not grab a cdrom).

The cd-writing howto addresses this question, but does not give an answer (see 
http://www.tldp.org/HOWTO/CD-Writing-HOWTO-4.html#ss4.28 ).

any ideas?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: disabling ide-scsi

2002-10-19 Thread Jason Pepas
 Are you sure?  - I discovered that ide-scsi was getting loaded when the
 package discover was installed and when /etc/init.d/discover is run via
 its symlink in /etc/rcS.d It is this which is loading the module
 (incorrectly in my view - so I have filed a bug report against it).  I just
 removed this package (the modules I wanted loaded were manually entered
 anyway).

nope, discover isn't installed, and lsmod doesn't report ide-scsi, yet I have 
devices a-plenty when I cdrecord -scanbus.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: nvidia drivers

2002-10-16 Thread Jason Pepas

 OT: What is up with NVidia's drivers?  They seem to enjoy bringing my
 machine down every few hours, especially if I actually make use of the
 hardware accleration.  Not only do they lock up my machine, but they
 also seem to cause spontaneous reboots!  I've spent ages trying to find
 what exactly was causing the problem, but no luck so far...

hmm, that almost sounds like a power supply problem to me.  What are the 
details of your setup?

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Lite On 40x Burner

2002-10-15 Thread Jason Pepas

On Tuesday 15 October 2002 04:58 pm, Steven Isaacson wrote:
 Has anyone had success using a Lite On 40/12/48(LTR40125S) burner with
 cdrecord and debian? I was looking around and couldn't find any definative
 answer.

 The drive is $40 cheaper then the 40x Plextor. I really don't care to
 waste my money.

 -steve

http://www.storagereview.com/

check them out - very in depth review of hard drives and optical drives.  They 
previously had a Lite-On drive recommended on their leader board, but I don't 
think it was the 40x.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




data recovery

2002-10-14 Thread Jason Pepas

hey guys,

a friend of mine somehow borked his windows partition when installing linux.  
I don't have many details, because he is a linux newbie.

Here is the situation:
- cfdisk reports the partition as Linux, not as Linux ext2 (like his 
working linux partition.
- mount will not mount the partition at all (requires a type argument, and 
none of them work), and he assures me it is not an NTFS partition.

This leads me to believe that the partition was deleted fromt he partition 
table, but a new filesystem was not initialized on the partition, and thus 
the data should still be there.

If any of you can recommend what I should do next, or point me to any tools 
for data recovery, it would be greatly appreciated.

Thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




gnome2 wallpaper changer

2002-10-12 Thread Jason Pepas

hey all,

was tooling around and figured out a way to automatically change the gnome2 
wallpaper.

gconftool-2 -t string -s /desktop/gnome/background/picture_filename foo.jpg

one could write up a small script and have this happen regularly with cron.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




init.d script for folding at home client

2002-10-11 Thread Jason Pepas

hey guys,

I decided to donate my spare cpu cycles with the folding at home linux client.

So, I wanted to try and to this the proper way, ie, with a init.d script.  I 
started from /etc/init.d/skeleton and came up with this (see below).

I put the client in /usr/local/folding, and made the entire dir chown nobody, 
then update-rc.d folding.sh defaults.

It works fine, but can anyone give me some criticism on this, specifically 
security aspects?  This is my first time to do this kind of thing.

here is /etc/init.d/folding.sh: (the line wraps are a little fubared)

--- cut here ---

#! /bin/sh

# folding at home init.d script for debian, based off of /etc/init.d/skeleton.
# by jason pepas.

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/folding
DAEMON=/usr/local/folding/FAH3Console-Linux.exe
NAME=FAH3Console-Linux.exe
DESC=Folding at Home client
USER=nobody

test -x $DAEMON || exit 0

set -e

up ()
{
echo -n Starting $DESC: $NAME
start-stop-daemon --start --chuid $USER --quiet --background --nicelevel 19 
--make-pidfile --pidfile /usr/local/folding/$NAME.pid \
--exec $DAEMON
echo .
}

down ()
{
echo -n Stopping $DESC: $NAME
start-stop-daemon --stop --chuid $USER --quiet --pidfile 
/usr/local/folding/$NAME.pid \
--exec $DAEMON
echo .
rm -f /usr/local/folding/$NAME.pid
}

case $1 in
  start)
up
;;
  stop)
down
;;
  reload)
down
sleep 1
up
;;
  restart|force-reload)
down
sleep 1
up
;;
  *)
N=/etc/init.d/$NAME
# echo Usage: $N {start|stop|restart|reload|force-reload} 2
echo Usage: $N {start|stop|restart|force-reload} 2
exit 1
;;
esac

exit 0

--- cut here ---

-jason pepas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Cable connection !!!

2002-10-11 Thread Jason Pepas

On Friday 11 October 2002 05:06 am, Cuno Sonnemans wrote:
 Does anybody know how i can get my cable connection to work with debian 3.0

this may or may not apply to you, but I could only get my cable modem to work 
with a 100mbit NIC.  I tried it with 2 different 10mbit NICs and it would 
only get an IP address about 10% of the time, and even then it would drop the 
connection within an hour.  Then by chance I tried a 100mbit NIC and it has 
worked flawlessly since.  go figure.

-jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: desktop

2002-10-10 Thread Jason Pepas

 First, make sure you've installed the X Window system and appropriate X
 server (I /believe/ that doing an 'apt-get install x-window-system' will

you might also need to apt-get install xserver-xfree86.  oh wait, scratch 
that, you are using debian 2.2, so you might need to install an xserver 
specific to your graphics card.  Try apt-cache search xserver-.  If that 
stumps you, try apt-get install xserver-svga I believe.

 do this for you). Next, you'll need to install a desktop environment --
 since you're new to this, I'd suggest either KDE or GNOME (do an
 'apt-cache search ^kde' or 'apt-cache search ^gnome' to get a list of
 packages). Then, once these are installed, choose to either have debian
 boot into the command-line, or to have it boot into a session manager
 such as gdm, xdm, or kdm. If you do the former, you will /always/ boot
 into a desktop environment; if you do the latter, you'll need to type
 'startx' from the command line to start your desktop environment.

while it is perfectly clear to the initiated what he meant by that, what he 
actually meant to say was that the former needs startx, and the later will 
start the desktop automatically.

-jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Terminal type

2002-10-10 Thread Jason Pepas

 Where is the bash shell started?

there is more to it that this, but for starters have a look at /etc/inittab.  
The getty lines are what create the tty's, and when a user logs in, 
whatever shell is specified for that user in /etc/passwd is started for them.

-jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




channel bonding

2002-10-09 Thread Jason Pepas

hello,

I am having some trouble getting channel bonding to work.
I have tried several different setups, as I am not clear how exactly you are 
supposed to do this.
bonding module is loaded at startup (added with modconf)
the two pairs of NICs are connected directly using crossover cables.
eth0 in both machines is an rtl8139.
eth1 in both machines is an fealnx.
I am aware of the issue with rtl8139 MAC addresses, but since it is the first 
card, it doesn't matter (ie, the other card copies its MAC address).

setup 1:

eth0 is configured to be 192.168.0.1/255.255.255.0 in /etc/network/interfaces
eth1 is configured to be 192.168.1.1/255.255.255.0 in /etc/network/interfaces

ifup eth0
ifup eth1
ifconfig bond0 192.168.2.1 netmask 255.255.255.0
ifenslave bond0 eth0
ifenslave bond0 eth1

similar setup on other machine.
ping 192.168.2.2 returns nothing.

setup 2:

eth0 is configured to be 192.168.0.1/255.255.255.0 in /etc/network/interfaces
eth1 is configured to be 192.168.1.1/255.255.255.0 in /etc/network/interfaces

ifup eth0
ifup eth1
ifenslave eth0 eth1

this setup works fine, but eth1 is never used at all.

setup 3:

eth0 and eth1 are not configured.

ifconfig bond0 192.168.0.1 netmask 255.255.255.0
ifenslave -E bond0 eth0
ifenslave -E bond0 eth1

ping 192.168.0.2 drops 2 out of every three packets.

---

I have not been able to find any step by step guides for this, or 
documentation which is detailed enough such that I actually understand how 
this is supposed to work.  If anyone knows of any decent links on how to 
get this going, please let me know.

thanks,
jason pepas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: kbdrate set by normal users

2002-10-07 Thread Jason Pepas

 I'm not sure I know what you mean by globally.  Do you mean for all
 users?  Does it work at all?

when I say globally, I mean it actually didn't work at all.  I have noticed 
that if I change kbdrate in an xterm, and then switch to tty2, the kbdrate is 
back to default, and when I switch back to the xterm, it too is now back to 
default.  So I was assuming it changed the kbdrate for tty1 (I assume that is 
the tty which the script ran attached to?) and then kbdrate got changed back 
to default when gdm started.  I have no idea if that is what actually 
happened.

have you experienced anything similar to this?

thanks,
jason pepas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: the apt-get cache, backing up and using to install debain on another machine

2002-10-06 Thread Jason Pepas

On Sunday 06 October 2002 13:20, Jim Hribar wrote:
 I used apt-get to install the packages I wanted on my Debian machine
 after a network install.  I know that apt-get caches downloads so you
 don't have to download the packages more than once.

 How could I backup these cached packages?  Where are they? I intend
 just to move them to another machine using ftp.

/var/cache/apt/archives

you can just add pacakges there, and apt automatically sees them (ie, you  
don't need to run any commands to get apt to find them).  In other words, if 
you did apt-get install foo, and apt said need to download 500kb, and 
then you immediately hit conrtol C to kill it, move the foo deb into the 
cache directory, and issue the apt-get command again, it would now say need 
to download 0kb/500kb.

 Additionally, I want to install Debian on another machine (I have no
 CDs, just the network-install disks).  Could I somehow install Debian
 (fresh) by pointing the install to my current machine and/or package
 cache?

on old machine:
dpkg --get-selections  selections.txt

on new machine:
cat selections.txt | dpkg --set-selections
apt-get install

if I understand things correctly, after doing that and copying over your /etc 
directory, you should have an install almost identical to your previous one.

-jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




kbdrate set by normal users

2002-10-06 Thread Jason Pepas

hello,

I would like to change the default keyboard repeat rate.

I have tried writting a /etc/ini.d/kbdrate.sh script, but it does not seem to 
change things globally.

any ideas?

thanks,
jason pepas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




ide-scsi grabs devices against my wishes

2002-10-05 Thread Jason Pepas

hello,

ide-scsi appears to be grabbing devices which I don't wish to be scsi.

I am using the 2.4bf kernel with xfs support.  

In one computer, I have an ide burner and an ide zip disk.  I have an 
'append=hdc=scsi' line in lilo.conf to take care of the burner, but I don't 
wish the zip drive to be scsi (ide-scsi grabs it anyway).  In another comp, I 
have an ide dvd rom, and don't wish it to be scsi (again, it is anyway).

how can I make ide-scsi only grab the devices I tell it to?

thanks,
jason pepas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




gdm login does not appear under who

2002-09-29 Thread Jason Pepas

I have noticed that if I log into gdm, I do not show up as being logged in 
via commands like who and w.

not only that, but if I open up a konsole, I am still not logged in.  
However, opening up an xterm will list me under who.

is this normal / expected behavior?

-jason



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




OT: how to make kmail open links in mozilla

2002-09-26 Thread Jason Pepas

not really a debian question, but does anyone know how to make kmail open a 
link in an email in mozilla instead of konqueror?  I have looked in the kde 
configurator thing and didn't see any sort of option for that.

-jason
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: how to make kmail open links in mozilla

2002-09-26 Thread Jason Pepas

 To be honest, I didn't know the answer at first sight, but a look at the
 code did it: you have to change the _global_ Browser in KControl (or
 Konqueror itself), section File Associations. I think it was under File
 Manager until KDE 3.0. There, go to text/html, press Add, choose Mozilla
 and move it to the top of the list. You can do this with any mime type you
 want (although I can't understand, why one would want that ;).

you can't understand why one would wish to use mozilla instead of konqueror?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: OT: how to make kmail open links in mozilla

2002-09-26 Thread Jason Pepas

On Thursday 26 September 2002 04:31, Michael Brade wrote:
 On Thursday 26 September 2002 10:20, martin f krafft wrote:
  also sprach Jason Pepas [EMAIL PROTECTED] [2002.09.26.0940 +0200]:
   not really a debian question, but does anyone know how to make kmail
   open a link in an email in mozilla instead of konqueror?  I have looked
   in the kde configurator thing and didn't see any sort of option for
   that.
 
  The same applies to other k* apps, like knewsticker. It looks like KDE
  doesn't allow users to change middleware. heck, even windoze allows
  that ;^
 
  this is CCed to a friend who's a KDE developer. let's see what comes
  back...

 heh :)

 To be honest, I didn't know the answer at first sight, but a look at the
 code did it: you have to change the _global_ Browser in KControl (or
 Konqueror itself), section File Associations. I think it was under File
 Manager until KDE 3.0. There, go to text/html, press Add, choose Mozilla
 and move it to the top of the list. You can do this with any mime type you
 want (although I can't understand, why one would want that ;).

 Good luck,

thanks by the way, worked like a charm :)

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




festival plugin for mozilla?

2002-09-26 Thread Jason Pepas

is there such a thing as a festival (text to speech) plugin for mozilla (like 
the one for konqueror?

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




debian menu in kde

2002-09-26 Thread Jason Pepas

where can I read up on the internal workings of the kde menu system?  I would 
like to figure out how to get it to use the standard debian menu system (kde 
2.2.2 does its own thing).

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: A Good FTP Client.

2002-09-26 Thread Jason Pepas

On Thursday 26 September 2002 19:09, Gord Berta wrote:
 The default gFTP client always gives me a headache, in any distro.
 The one I found the most user friendly is kBear. Drag and drop from hard
 drive to your web site and vice versa.
 The problem is when I apt-get kbear in 2.7, I get the following files will
 be removed, kdebase, kdenetwork, konqueror, kxmirpc...all of which will
 hose the kde desktop that I primarily use.
 Is there a kde3 freindly version of another ftp client that someone could
 point me in the right direction.
 Thanks.
 Gord

you might also look at axyftp-gtk, which appears to be a clone of wsftp_le 
for windows.

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




compression and encryption with gdm, cygwin?

2002-09-26 Thread Jason Pepas

Hi,

I am exporting a gdm X session to a windows box running cygwin/xfree86.  
is there anyway I can use ssh to make this a secure connection, and is there 
anyway I can compress the stream to speed things up a bit?  ( it is pretty 
slow as is, over a cable modem).

thanks,
jason



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




high load average

2002-09-23 Thread Jason Pepas

the other day I was moving several gigs of files from one ide drive to 
another on the same ide chain (the secondary channel is broken) and my load 
average went up to around 7 (no, not 0.07).  The machine would become 
unresponsive for several seconds at a time.  This is a uniprocessor machine, 
both drives are ext2 filesystems.  

Is this normal?  I don't seem to remember having ide performance issues like 
this before (this is a new install).

-jason


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: nfs woes

2001-12-04 Thread Jason Pepas
 1. What good does the first line in /etc/export do?
 192.168.0.2 is 10 Mb and is only used for getting the
 kernel, not its root fs, so it does not need this one


I thought this too, but as I remember it, it simply didnt work when I
would comment out the first line.  I am away from the machine until this
evening but I will double check when I get home.

 2. Again, there is, as I far as I can tell, no need to mount the root fs from
 192.168.0.1. By the time the kernel wants to mount its root fs, it is 
 192.168.1.1.

 That might not be the source of your permission denied problem though. What
 does seeles syslog say about attempt to mount nfs?

I will grab syslog when I get home, but as I remember it was something
baffling like permission denied, no entry in exports, which makes no
sense at first glance, but might indicate there is some trivial problem
with my configs which I am overlooking.

thanks for the reply,
jason
[EMAIL PROTECTED]




nfs woes

2001-12-02 Thread Jason Pepas
Hi guys,

I have a diskless workstation setup (which I had working fine) and am
having trouble incorporating 100Mbps NICs into the picture.

I have 10Mbps NICs and 100Mbps NICs, but netboot and etherboot only
support the 10Mbps NICs I have.

However there are ways around this - just have the workstation use the
10Mbps NIC to get an IP, grab its kernel, mount root via NFS and begin
booting.  While booting, it configures its 100Mbps NIC and remounts root
over the 100Mbps line.

The problem is that when trying to mount root via the 100Mbps line I keep
getting permission denied error messages.  So it is failing at literally
the very last step.

I became very familiar with all the config files and such while getting it
to work with just 10Mbps NICs, and from what I can tell everythig seems
configured correctly.  I am not sure what to try next.

here are the relevant details:

The network is setup such the 10Mbps and 100Mbps networks are entirely
sepparate.  Physically, there are no connectiosn between the two, and it
is configured so that 192.168.0.* is 10Mbps and 192.168.1.* is 100Mbps.


Server: (seele)

-
/etc/hosts

127.0.0.1   seele   localhost
192.168.0.1 seele   localhost
192.168.1.1 seele   localhost
192.168.0.2 casper
192.168.1.2 casper


/etc/network/interfaces

auto lo
iface lo inet loopback

# internet 100Mbit connection (top card)
auto eth2
iface eth2 inet static
address 192.168.1.1
netmask 255.255.255.0

# internet 10Mbit connection (middle card)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0

# external 10Mbit connection (bottom card)
auto eth1
iface eth1 inet dhcp

--
/etc/bootptab

default:ds=192.168.0.1:\
sm=255.255.255.0:\
gw=192.168.0.1:\
ds=66.245.60.4

casper:ht=ethernet:\
sa=192.168.0.1:\
ha=0x52544c1d2fb1:\
ip=192.168.0.2:\
tc=default:\
hd=/tftpboot/casper:\
bf=kernel:\
rp=/nfsroot/casper:

--
/etc/exports

/nfsroot/casper/192.168.0.2(rw,no_root_squash)
/nfsroot/casper/192.168.1.2(rw,no_root_squash)
/root/  192.168.1.2(rw,no_root_squash)
/home/jason/192.168.1.2(rw,no_root_squash)
/boot/  192.168.1.2(rw,no_root_squash)
/usr/src/   192.168.1.2(rw,no_root_squash)
/usr/audio/ 192.168.1.2(rw,no_root_squash)
/usr/video/ 192.168.1.2(rw,no_root_squash)

---
Client: (casper)

---
/etc/fstab

# file system mount point   type  options   dump  pass
none/proc   procdefaults1   0

# 192.168.0.1 is 10Mbps
# 192.168.1.1 is 100Mbps

# first mount at 10Mbps
# file system mount point   type  options   
dump  pass
192.168.0.1:/nfsroot/casper//   nfs 
rsize=8192,wsize=8192,nolock0   1

# then remount at 100Mbps
# file system mount point   type  options   
dump  pass
192.168.1.1:/nfsroot/casper//   nfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/root/  /root   nfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/home/jason//home/jason nfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/boot/  /boot   nfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/usr/src/   /usr/srcnfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/usr/audio/ /usr/audio  nfs 
rsize=8192,wsize=8192,nolock0   1
192.168.1.1:/usr/video/ /usr/video  nfs 
rsize=8192,wsize=8192,nolock0   1

# file system mount point   type  options   dump  pass
/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto 0   0
/dev/dvd/cdrom  iso9660 defaults,ro,user,noauto 0   0
/dev/fd0/mnt/floppy autodefaults,user,noauto0   0

---

If you guys can think of anything I might be missing, or if there are any
pertinent config files I have left out, please let me know.

by the way, if you could please reply to [EMAIL PROTECTED], as I am not
currently subscribed to the list.

thanks,
jason pepas
[EMAIL PROTECTED]



problems with diskless booting

2001-10-05 Thread Jason Pepas
Hey guys,

I have been trying to set up a diskless linux workstation.

I have a netboot floppy working - the diskless machine boots and 
correctly recognizes the network card, and starts to broadcast 
requests.  I watch the hub and can see that it is really putting 
out requests, so I know the problem is not there.

On the server, I put in a second ethernet card (to keep it on a 
physically sepparate network from my internet connection), which is 
correctly configured for a static IP.

I have bootpd installed and running (ps aux | grep bootpd), and as 
far as I can tell from the howto's and such out there, I have a 
correct bootptab config file as well. (i will append the config at 
bottom of message).  I know I have the hardware address for the 
diskless client correct, because the netboot floppy displays it on 
boot.

I also have tfptd working correctly.  I ssh'ed into a remote 
machine and was able to successfully receive a file using tftp, so 
I know that is set up correctly.

I cant seem to figure out where the problem is.  At least, the 
diskless box should be attempting to download the kernel, which it 
is not.

Any ideas?

thanks,
jason
[EMAIL PROTECTED]

bootptab:

# /etc/bootptab: database for bootp server (/usr/sbin/bootpd)

# first i tried this
#casper:ha=0050BA6619B4:ip=192.168.0.2:bf=/tftpboot/kernel:

# then i tried this
casper:\
:hn=casper:\
:ha=0050BA6619B4:\
:ip=192.168.0.2:\
:sm=255.255.255.0:\
:gw=192.168.0.1:\
:sa=192.168.0.1:\
:ht=ethernet:\
:hd=/tftpboot:\
:td=/tftpboot:\
:bf=kernel:



kde font problem

2001-09-20 Thread Jason Pepas
I seem to be having a problem with fonts in kde.

I had a certain selection of fonts available in kde.

then i installed a package of fonts with apt.

then I saw a completely different set of available fonts in kde - 
ie, all the previously available fonts were no longer available.  
But the new package i installed did not replace any packages.

i added another font package and still another unique set of fonts 
are now available.

So now i just have a bunch of obscure serif fonts available which 
are impossible to read.

What is the mechanism to point kde to see all of the available 
fonts on my system, and not just the most recently installed set of 
them?

thanks,
jason
[EMAIL PROTECTED]



Re: Quake 3

2001-07-27 Thread jason pepas
Thanks for the quick responses guys,

Andrew - I am running a G200, so I may have to do the same...

Sean - I am first trying to get it working with a G200, and I will get it 
working with another machine using an Nvidia GeForce2MX after this.

Yves - I will definitely try out the additional config section, and I had no 
idea about the color depth limitation.  I have the exact same card as you 
(G200) and have been attempting this in 24 bit color, so it obviously wont work.

On an interesting side note, I did get the Q3test and Q3demo working, but they 
were only running at about 1 fps, which I later found out was due to the fact 
that GLX can apparently do software 3D acceleration which looks like real 
hardware 3d (as opposed to the traditional inferior look of software renderers).

I'll give some of those things a shot, and report back!

By the way - is there a way to change the X color depth without killing X and 
restarting it?

thanks,
jason
[EMAIL PROTECTED]
 

On Fri, 27 Jul 2001 12:29:44 +0200
Yves Dessertine [EMAIL PROTECTED] wrote:

 Le Vendredi 27 Juillet 2001 02:43, jason pepas a écrit :
  Hey guys,
 
  I have been tyring to get Quake3 working recently.
 
  I upgraded the kernel to 2.4.7, and included support for AGP and DRI
 
  I am running testing, so I have X 4.x
 
 Me too
 
  I added
  Load glx
  Load dri
  to my X config
 
 Me too :-)
 
  however, glxinfo reports direct rendering: no
 
  Any ideas?
 
 Yes. I got the same problem, and I noticed I forgot the following in my 
 config file :
 Section DRI
 Mode  0666
 EndSection
 
 You X server must be running in 16 or 32 bpp for hardware accel. to work (at 
 least on my Matrox G200 graph. card.
 
 HTH
 
   Yves
 
 
 -- 
 Yves Dessertine
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



  1   2   >