Re: Any XFree3.3.5 Packages for slink?

1999-09-22 Thread Brian E. Lavender
Thanks for the answer on the giftopng. I tried using the package and
it seg faulted. I downloaded the latest source from ftp://ftp.uu.net
and compiled it. It works good. 

As far as the latest XFree86 packages, I got 3.3.3.1 from

http://netgod.net/x/

Then on the developers page, Branden has 3.3.4.2 but no 3.3.5
so I guess you will have to go to potato. Here's the url

http://www.debian.org/~branden/


but they don't quite have 3.3.5 :(

brian

On Wed, Sep 22, 1999 at 02:19:44AM +0300, Martin Fluch wrote:
> Hi
> 
> is XFree86 3.3.5 available as deb packages for slink? I've tried to
> compile the potato sources but failed (xterm won't compile).
> 
> Martin
> 
> -- 
> If the box says 'Windows 95 or better', it should run on Linux, right?
>- anonymous
> 
> For public PGP-key:  finger [EMAIL PROTECTED]
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Brian Lavender
http://www.brie.com/brian/


startup in rc directories for ssh

1999-09-22 Thread Brian E. Lavender
I installed ssh from source. What value should I assign
the sym links in the rc directories?

Does anyone have a sample startup script for the init.d
directory? Is there a program that creates the startup
scripts?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


man pages for gif2png

1999-09-21 Thread Brian E. Lavender
I just used dselect to install gif2png
After installing it, I found no man pages. 

$ man gif2png

Is there no man page for gif2png or is it in info format. I tried

$ info gif2png 

and I had no luck there either. Did something happen to 
my system? Is there an info page, and I just don't know 
how to use it?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


printer whoohs with LPRng

1999-09-12 Thread Brian E. Lavender
When I try to print something with my linux box, I get nothing. 
I am using LPRng. I also successfully configured my printer port.

$ echo "Hello World" > /dev/lp0

will print hello world. I have to manually form feed the page

But when I do

$ lpr /etc/passwd

it produces nothing. I then query the print spool

[EMAIL PROTECTED]:~> lpq
Printer: [EMAIL PROTECTED]  'PostScript'
 Queue: 1 printable job
 Server: no server active
 Status: lp: Do_queue_jobs: cannot open '/var/spool/lpd/lp' - Is a directory at 
15:22:26
 Rank   Owner/ID   Class Job  Files   Size Time
1   [EMAIL PROTECTED]  A  328 /etc/passwd1297 15:22:26

It looks as if lp is trying to open a file title lp, but it is finding that it 
is
a directory. Indeed, if I ls the directory, I see that lp is a directory and not
a file

debian:~# ls -la /var/spool/lpd/lp
total 1319
drwxrwsr-x   2 lp   lp   1024 Sep  5 13:58 .
drwxrwsr-x   3 lp   lp   1024 Sep 12 15:22 ..
-rw---   1 lp   lp107 Sep  5 13:58 cfA143debian.linux.bogus
-rw---   1 lp   lp  0 Sep  3 23:11 control.lp
-rw---   1 lp   lp   1151 Sep  5 13:58 dfA143debian.linux.bogus
-rw---   1 lp   lp102 Sep  5 13:58 hfA143
-rw---   1 lp   lp  5 Sep  5 13:58 lp
-rw---   1 lp   lp1335070 Sep  9 23:38 status.lp
-rw---   1 lp   lp  5 Sep  5 13:58 unspooler.lp

You can see that I have a file called, /var/spool/lpd/lp/lp
so it looks if I have something screwed up somewhere. Here is my printcap
I am using a filter called hp4laser

$ cat /etc/printcap

#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#   @(#)etc.printcap5.2 (Berkeley) 5/5/88
#
##PRINTTOOL## LOCAL PostScript 600x600 letter {}
lp|PostScript:\
:sd=/var/spool/lpd:\
:mx#0:\
:lp=/dev/lp0:\
:if=/usr/local/bin/hp4laser:\
:af=:\
:sh:
##PRINTTOOL## LOCAL PostScript 600x600 letter {}
hp4manual:\
:sd=/var/spool/lpd:\
:mx#0:\
:lp=/dev/lp0:\
:if=/usr/local/bin/hp4laser:\
:af=manualfeed:\
:sh:

This printcap works with BSD LPR, so I am a bit confused as to what is wrong 
here.
Let me guess, LPR is different than LPRng, but these all look pretty basic.

Any suggestions?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


Re: printing problem

1999-09-10 Thread Brian E. Lavender
Yes, 

I enabled support for PC-styled hardware when I recompiled the kernel
with modular support for the parallel port. I successfully used modconf
to insert the modules

parport
and 
parport_pc

If I do an lsmod I get

debian:~# lsmod
Module  Size  Used by
parport_pc  5528   0  (unused)
parport 6612   0  [parport_pc]
tulip  23396   1
sb 31924   0  (unused)
uart401 5628   0  [sb]
sound  55048   0  [sb uart401]
soundcore   2196   6  [sb sound]

I check /var/log/messages and I see

Sep 10 01:57:57 debian kernel: parport0: PC-style at 0x378 [SPP]

but I see no lp0 as I see on my Slackware box in its /var/log/messages

What am I missing here?

brian

On Fri, Sep 10, 1999 at 09:44:47AM +0200, [EMAIL PROTECTED] wrote:
> On Fri, Sep 10, 1999 at 12:12:08AM -0700, Brian E. Lavender wrote:
> > debian:/usr/src/linux# echo "hello world" > /dev/lp0
> > bash: /dev/lp0: Operation not supported by device
> 
> When you recompiled the kernel with parport support, did you also enable the
> `Support for PC-style hardware' (or something like that, the name is
> CONFIG_PARPORT_PC) and `Parallel printer support' (CONFIG_PRINTER) and make
> sure the corresponding modules are loaded (they will if you chose kmod
> support, but make sure with lsmod). This might not be your problem, but better
> make sure of this before starting to dig further.
> 
> -Lex



-- 
Brian Lavender
http://www.brie.com/brian/


Re: SB16PnP doesn't work

1999-09-10 Thread Brian E. Lavender
Big Brie's method to get a SoundBlaster 16 PNP working under debian. It
seems that the sb module is left out of the default 2.0.36 modules for 
slink. :(

Recompile your kernel with the sound support as a module. You want the
"sb" module which is of course listed as cards that are 100% SoundBlaster
compatible. 

# mv /etc/isapnp.conf /isapnp.conf.old
# pnpdump -c > /etc/isapnp.conf
# isapnp /etc/isapnp.conf
(watch the way the card gets configured)

check /etc/modutils/modconf
that it does not have any of your left over failed attempts to insert the
sb module. Execute modconf and specify the options for your soundblaster

# modconf

Here are my options. Yours may vary (check /etc/isapnp.conf for the
way it got configured) Read /usr/src/linux/Documentation/sound/SoundBlaster
for the description of the example options I have listed.

io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

If modconf reports 
Installation Suceeded
you are in good shape. To test it

# cat a_sound_file.au > /dev/audio

If it fails, go to /etc/modutils/modconf and remove the options that
were specified. modconf seems to have a bug in it.

So other users may use sound, add them to the audio group in /etc/group

That should do it.

brian

On Fri, Sep 10, 1999 at 08:41:38AM +0200, Gustavo Gonzalez wrote:
> Hi to all,
> 
> I turned to Debian recently. I installed Debian 2.1 (slink) with the
> stable kernel 2.0.36 (and I didn't upgrade it to 2.2.x) and it works
> fine to my purposes (math computations and multivariate analysis). I
> installed my printer and configured my internet connection by modem via
> kppp (KDE) wiithout problems. However I cannot get sound from my sound
> card. I have a typical Creative SB16 PnP. I tried isapnptools to
> suitable configure it without success. I though about disabling the BIOS
> PnP option , but I prefer to send this query to the group befor acting.
> Would someone help me please? Ay ideas?
> 
> Thank you in advance
> 
> --
> 
> A. Gustavo Gonzalez   linux user #101379
> Universidad de Sevilla
> http://www.eumetrics.us.es
> Linux: Altius, citius, fortius
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Brian Lavender
http://www.brie.com/brian/


printing problem

1999-09-10 Thread Brian E. Lavender
Anyway, I am trying to get printing going, which I have done before,
and I can not seem to get basic output to go out the parallel port.
I checked my kernel configuration, and I realized that I did not have
parallel support compiled into the kernel. With make menuconfig under
the kernel compile, I checked the parallel support (directly compiled in,
not as a module) and I recompiled. Here is the output of uname after recompile

debian:/usr/src/linux# uname -a 
Linux debian 2.2.12 #6 Thu Sep 9 23:37:55 PDT 1999 i586 unknown

I then tried the echo "hello world" redirected to the lp devices. Here is what 
I get.

debian:/usr/src/linux# echo "hello world" > /dev/lp0
bash: /dev/lp0: Operation not supported by device
debian:/usr/src/linux# echo "hello world" > /dev/lp1
bash: /dev/lp1: Operation not supported by device
debian:/usr/src/linux# echo "hello world" > /dev/lp2
bash: /dev/lp2: Operation not supported by device

My previous experience is it sends it to the printer. I have to give
the printer a manual form feed by hitting the button on it and it kicks out
a sheet with hello world. Do I have to change permissions on this device?
Is there a way to check that I actually do have parallel support in the 
kernel? The uname seems to indicate the kernel recompile went without a 
glitch.

brian
-- 
Brian Lavender
http://www.brie.com/brian/


Re: Modules

1999-09-08 Thread Brian E. Lavender
When you recompile the kernel, the filesystem support you want to
support as a module, you hit the M key for module when you do either

# make config

or 

# make xconfig

or 

# make menuconfig

I am assuming you know how to compile the kernel. Here are the basics
in case you have never done it. 

# make menuconfig
# make dep
# make clean
# make bzImage (long part)
# make modules
# make modules_install
# make zlilo

reboot your machine.

Once you do that, run modconf and select the filesystem module support
you want.

# modconf

It might be under the misc section

I would read the kernel compile howto before doing this if you are at
all concerned about messing up your system. If you system is for experimentation
purposes, and you can afford to screw up, gopher it!

Here's a tip, I would not compile your main filesystem support as a module.
(i.e. - if you are using the ext2fs as your main filesystem, I think it needs
to be directly compiled into the kernel.)

brian


On Tue, Sep 07, 1999 at 10:01:50AM +0200, Juli-Manel Merino Vidal wrote:
> Hi all,
> 
> this is not a question about debian, but...
> 
> I've readed the Module Programming Guide in LDP but it doesn't explain how
> to create filesystem modules. Where can I read about it ?
> 
> Thanks.

-- 
Brian Lavender
http://www.brie.com/brian/



Meta key

1999-09-05 Thread Brian E. Lavender
Is there another way to map the Meta key rather than xmodmap?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


dselect in xterm

1999-09-05 Thread Brian E. Lavender
When I use dselect in an Xterm the text is rather annoying compared to
the way it is in a plain terminal. When I open an Xterm, by default I get
black text on a white background. I am using Windowmaker, so I hold down
the ctrl key and click the middle button. I then enable reverse video
and get white text on a black background (the way I like it). When I run
dselect the packages listed show as black text on white squares. In the
description area, the text is black on white squares too. The area where
there is no text, the background is black, matching the reverse video
mode. In a regular terminal, it is not at all like this. In my xterm,
it is rather annoying. Any suggestions, so I don't have black text on
white blocks when running dselect from an xterm?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


Error opening terminal: xterm-debian.

1999-09-05 Thread Brian E. Lavender
When I telnet into another machine and I try to run a curses based application 
I get the
below error. Say I run mutt

$ mutt

Error opening terminal: xterm-debian.

I then type

$ TERM=vt100

$ mutt

now it runs

The remote curses based application will run. Is there a better way to do this, 
or
is this normal behavior?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


How do I get Meta key for emacs?

1999-09-05 Thread Brian E. Lavender
I am using emacs and I am trying to get the Meta key from Xwindows and the 
terminal. I know
I can issue the command

$ xmodmap -e "keysym Alt_L = Meta_L Alt_L"

and that will give me the meta key in Xwindows, but not outsite Xwindows. I 
seem to once
running across another way to remap the keyboard.

brian
-- 
Brian Lavender
http://www.brie.com/brian/


xf86config

1999-09-05 Thread Brian E. Lavender
It does not seem to be on my system, but I do have xfree86 3.3.3.1
Where do I find xf86config?

brian
-- 
Brian Lavender
http://www.brie.com/brian/


Re: SoundBlaster 16 PNP WaveEffects help needed

1999-09-04 Thread Brian E. Lavender
Ok, I got sound working. In fact I believe I discovered an UNWANTED FEATURE
in 
# modconf 

When I first tried to use modconf to insert the module, I
specified the wrong parameters and the module installation failed. The
modconf utility wrote the parameters to /etc/conf.modules anyway and when
I DID actually specify the correct parameters with modconf or manually
using the modprobe command, the old parameters in /etc/conf.modules were
still in the file. Here is the UNWANTED FEATURE I see in modconf. If a
module installation fails with modconf, it should not write the parameters
to /etc/conf.modules . I suppose I can take a look at fixing it.

Where do I find the source for modconf, and who is the maintainer?

brian

On Sat, Sep 04, 1999 at 03:30:24PM -0700, Brian E. Lavender wrote:
> I am trying to install my SoundBlaster WaveEffects 16 PNP card and I
> am having a hell of a time getting this thing going. First I got the
> card to configure using isapnp, as you can see below. Then I tried
> using modprobe to activate the sb module. Once that failed, I tried the
> sound module, but that failed too.  As I understand, these modules will
> insert the necessary required dependency modules too. As you can see,
> modprobe gives me an error.  I have tried modconf too. It failed with the
> same error, but as I understand, all this does is automatically update
> /etc/modules.conf and add the modprobe command to a startup script. So,
> if I can't get it to work with modprobe, the modconf will not work either.
> 
> I checked /lib/modules/2.2.10/misc and both the modules are there. What is 
> wrong
> here?
> 
> brian
> 
> debian:~# isapnp /etc/isapnp.conf
> lspci not found, so PCI resource conflict not checked
> Board 1 has Identity 6d ff ff ff ff f0 00 8c 0e:  CTL00f0 Serial No -1 
> [checksum 6d]
> CTL00f0/-1[0]{Audio   }: Ports 0x220 0x330 0x388; IRQ5 DMA1 DMA5 
> --- Enabled O
> K
> 
> debian:/usr/src/linux# modprobe sb io=0x220 dma=1 dma16=5 mpu_io=0x330 irq=5
> /lib/modules/2.2.10/misc/sound.o: invalid parameter io
> sound: No such file or directory
> sound: No such file or directory
> 
> debian:/usr/src/linux# modprobe sound io=0x220 dma=1 dma16=5 mpu_io=0x330 
> irq=5
> /lib/modules/2.2.10/misc/sound.o: invalid parameter io
> debian:/usr/src/linux#
> 
> -- 
> Brian Lavender
> http://www.brie.com/brian/
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Brian Lavender
http://www.brie.com/brian/


SoundBlaster 16 PNP WaveEffects help needed

1999-09-04 Thread Brian E. Lavender
I am trying to install my SoundBlaster WaveEffects 16 PNP card and I
am having a hell of a time getting this thing going. First I got the
card to configure using isapnp, as you can see below. Then I tried
using modprobe to activate the sb module. Once that failed, I tried the
sound module, but that failed too.  As I understand, these modules will
insert the necessary required dependency modules too. As you can see,
modprobe gives me an error.  I have tried modconf too. It failed with the
same error, but as I understand, all this does is automatically update
/etc/modules.conf and add the modprobe command to a startup script. So,
if I can't get it to work with modprobe, the modconf will not work either.

I checked /lib/modules/2.2.10/misc and both the modules are there. What is wrong
here?

brian

debian:~# isapnp /etc/isapnp.conf
lspci not found, so PCI resource conflict not checked
Board 1 has Identity 6d ff ff ff ff f0 00 8c 0e:  CTL00f0 Serial No -1 
[checksum 6d]
CTL00f0/-1[0]{Audio   }: Ports 0x220 0x330 0x388; IRQ5 DMA1 DMA5 
--- Enabled O
K

debian:/usr/src/linux# modprobe sb io=0x220 dma=1 dma16=5 mpu_io=0x330 irq=5
/lib/modules/2.2.10/misc/sound.o: invalid parameter io
sound: No such file or directory
sound: No such file or directory

debian:/usr/src/linux# modprobe sound io=0x220 dma=1 dma16=5 mpu_io=0x330 irq=5
/lib/modules/2.2.10/misc/sound.o: invalid parameter io
debian:/usr/src/linux#

-- 
Brian Lavender
http://www.brie.com/brian/


Re: Good books

1999-09-04 Thread Brian E. Lavender
I like The Unix Companion by Harley Hahn. Running Linux which is published by 
O'Reilly
is good too. I also like the MIS Press Slackware series books. The first one
Configuring and Installing Linux is written by Patrick Volkerding. I just 
bought Debian GNU/Linux Guide to Installation and Usage which looks good. THe
CD is screwed up which is included with it. This is a disappointment because it
will probably negatively impact all the work done by Debian developers. 

brian 
 
On Fri, Sep 03, 1999 at 04:39:34PM -0400, ... wrote:
>  I'm a total newbie with linux. I downloaded Debian, and put it on my
> second hard drive, total capacity about 435 meg. I partitioned it to
> reserve 100 meg for dos, put about 10% of the remainder aside for swap,
> and the rest is for linux.
>  This being kind of small, when I installed Debian, I just installed
> the Standard package, Dialup, and Small XWindows.
>  The "man" command doens't appear to be active, and the /usr/doc files
> don't have a lot of information. Most of it seems to be changelog and
> copyright, so I'm thinking of deleting all of it.
>   What sort of how-to books would be helpful? I'd like the equivalent
> of the old Understanding MSDOS and Supercharging MSDOS books, published
> by QUE, I think. I want to learn how to get a color screen at the root
> level, set up and optimize FSTAB, and ultimately, if I have enough with
> the system I've got, to install and use Netscape for UNIX and STAR Office.
> 
> Thanx,
> Frank Starr
> http://i.am/franksnewage
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Brian Lavender
http://www.brie.com/brian/