Re: portslave

2001-10-16 Thread I. Forbes

Hello Russell 

On 15 Oct 2001, at 17:58, Russell Coker wrote:

 On Mon, 15 Oct 2001 11:18, I. Forbes wrote:

  Perhaps the same or a similar configuration file could tell portslave
  how to handle incoming calls detected by the modem as being
  voice or fax as opposed to data calls.
 
 Sure, I could add that.  Write a spec.

This is an opertunity I can't pass up.  Give me a week or so to have 
a good look through mgetty, faxgetty etc.

  Is there a documentation for the new options on the patched pppd?
 
 There is in the latest version which was uploaded to Debian and Sourceforge 
 last night.

Thanks, I will have a look.

 It shouldn't be that difficult to write some code that can recognise FAX as 
 well as PPP, they are very different...

The fax and data differentiation is handled by the modem - they 
have different handshake sequences. If the phone line is noisy 
and/or the modem firmware is a bit buggy, the modem does not 
correctly identify the handshake.  If the modem gets this wrong, then 
the getty program can't help.

This does not mean that we should not put the facility into portslave.

Regards

Ian



-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


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




building custom kernel package

2001-10-16 Thread Nick Jennings

Hello,

 I've successfully built a kernel image, however the initrd image
 is not installed with it, and I have to make one after installing
 the kernel on every system.

 How do I get the kernel deb package to create and install it's own
 initrd image automatically, like the debian packages do?

-- 
  Nick Jennings


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




RHCE

2001-10-16 Thread Craig

Hi fellas

Who is the general consensus for the RHCE qualification ?

..Craig


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




building custom kernel package

2001-10-16 Thread Russell Coker

Install the package kernel-package and use make-kpkg to build the kernel.  
This builds nice Debian packages of the kernel which make it a lot easier to 
manage and track which machines are running which versions.  Also the kernel 
package installation takes care of making the initrd.

Then to create the initrd you need the initrd-tools package and mkcramfs (for 
cramfs) or genromfs (for romfs).

Initrd-tools by default puts all the kernel's modules into the initrd which 
isn't necessary (and if your kernel settings are like mine you'll get a 2M 
initrd image).

I've written some scripts to help manage this.  I've attached two scripts for
inclusion in /etc/mkinitrd/scripts directory (make sure you don't run the
devfs script in any other way), and the mkinitrd.conf file I use.  With that
and the correct /etc/mkinitrd/modules file it should all work fine.

For creating a romfs change /usr/sbin/mkinitrd to have the following as the 
last few lines:
if [ $VERBOSE ]; then
#   mkcramfs $workdir/initrd /dev/fd/3 31 2
genromfs -f /dev/fd/3 -d $workdir/initrd -v 31 2 | gzip -9
else
#   mkcramfs $workdir/initrd /dev/fd/3 31  /dev/null
genromfs -f /dev/fd/3 -d $workdir/initrd 31  /dev/null | gzip -9
fi

Romfs generates smaller images than cramfs (between 5% and 15% space savings 
in my tests).  The romfs kernel driver uses less memory than the cramfs 
driver.  Also romfs works out of the box while cramfs is always broken and 
needs patching.

Sorry for the form response, I just re-wrote a previous message.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page



copy-needed-modules
Description: copy-needed-modules


devfs
Description: devfs

# /etc/mkinitrd/mkinitrd.conf:
#  Configuration file for mkinitrd(8).  See mkinitrd.conf(5).
#
# This file is meant to be parsed as a shell script.

# What modules to install.
MODULES=none

# The length (in seconds) of the startup delay during which linuxrc may be
# interrupted.
DELAY=0

# If this is set to probe mkinitrd will try to figure out what's needed to
# mount the root file system.  This is equivalent to the old PROBE=on setting.
ROOT=probe

# This controls the permission of the resulting initrd image.
UMASK=022

# Turn this on to see the messages from mkcramfs.
VERBOSE=on



help AS 400

2001-10-16 Thread HERNAN DEL BOCA


I would like if you can help me on how to connect a debian GNU/linux with IBM 
AS 400 with db2 400 running in the AS.


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




Exim issues

2001-10-16 Thread Cameron Moore

A friend of mine has Exim and Mailman setup to serve around 5 mailing
lists.  He sent the following question to me that I don't know the
answer to (I don't use Exim):

  On mail.foobar.org I'm running exim as the MTA.  By default it is
  configured to verify each email address which appears to take a very
  long time (I think this is the issue.)  Any tips for configuring exim
  to be more speedy in a list server environment?

If anyone has any tips on what config options to look into and whatnot,
I'd greatly appreciate it.  Thanks
-- 
Cameron Moore


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




C questions

2001-10-16 Thread Nick Jennings

Hello,

  Sorry if this may seem off topic, I always appreciate the help I get
  on this (and other) debian lists. However since there doesn't appear
  to be any lists around C programming specifically, I wonder if anyone
  has any suggestions on a very good high quality c programming mailing
  list around?

-- 
  Nick Jennings


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




Strange kernel compile error

2001-10-16 Thread James Mclean



All,

I am recompiling my kernel on my file-server, it was running Debian Potato, and 
on a make bzImage, i get the following error.

make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
as86 -0 -a -o bbootsect.o bbootsect.s
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [bzImage] Error 2

I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian kernel-
source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19 
package. 

I also did apt-get dist-upgrade to Woody, to no avail.

What is causing this error? What package can i install to get this to work?
I have searched the debian package archives, and could not find any packages 
that matched, and apt-get install as86 did nothing.

I havent tried to compile a kernel on this machine before.

TIA

James Mclean



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




Re: Strange kernel compile error

2001-10-16 Thread Robert Davidson


You need to install the bin86 package (thats in sid, probably the same
for potato and woody i guess).

James Mclean wrote:
 
 All,
 
 I am recompiling my kernel on my file-server, it was running Debian Potato, and
 on a make bzImage, i get the following error.
 
 make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
 as86 -0 -a -o bbootsect.o bbootsect.s
 make[1]: as86: Command not found
 make[1]: *** [bbootsect.o] Error 127
 make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
 make: *** [bzImage] Error 2
 
 I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian kernel-
 source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19
 package.
 
 I also did apt-get dist-upgrade to Woody, to no avail.
 
 What is causing this error? What package can i install to get this to work?
 I have searched the debian package archives, and could not find any packages
 that matched, and apt-get install as86 did nothing.
 
 I havent tried to compile a kernel on this machine before.
 
 TIA
 
 James Mclean
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/


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




Re: Strange kernel compile error

2001-10-16 Thread Andrew Reid

On Wed, Oct 17, 2001 at 01:08:59PM +, James Mclean wrote:

 make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
 as86 -0 -a -o bbootsect.o bbootsect.s
 make[1]: as86: Command not found

Install the dev86 package.

   - andrew

-- 
void signature () {
cout  Andrew Reid -- [EMAIL PROTECTED]  endl;
cout  Cell: +61 401 946 813  endl;
cout  Quidquid latine dictum sit, altum viditur  endl;
}


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




Re: C questions

2001-10-16 Thread Jeremy C. Reed

  However since there doesn't appear to be any lists around C programming
  specifically, I wonder if anyone has any suggestions on a very good high
  quality c programming mailing list around?
 
 There are a few newsgroups, some of which may be available as mailing lists
 as well: comp.lang.c.moderated, comp.lang.c, gnu.gcc.help,
 comp.os.linux.development.apps .

Also have a look at the FAQs for these newsgroups. Some links are at
http://www.isp-faq.com/#programming

Some other newsgroups that may be useful are comp.unix.programmer and
comp.unix.internals.

  Jeremy C. Reed
...
 BSD software, documentation, resources, news...
 http://bsd.reedmedia.net/


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




Re: portslave

2001-10-16 Thread I. Forbes
Hello Russell 

On 15 Oct 2001, at 17:58, Russell Coker wrote:

 On Mon, 15 Oct 2001 11:18, I. Forbes wrote:

  Perhaps the same or a similar configuration file could tell portslave
  how to handle incoming calls detected by the modem as being
  voice or fax as opposed to data calls.
 
 Sure, I could add that.  Write a spec.

This is an opertunity I can't pass up.  Give me a week or so to have 
a good look through mgetty, faxgetty etc.

  Is there a documentation for the new options on the patched pppd?
 
 There is in the latest version which was uploaded to Debian and Sourceforge 
 last night.

Thanks, I will have a look.

 It shouldn't be that difficult to write some code that can recognise FAX as 
 well as PPP, they are very different...

The fax and data differentiation is handled by the modem - they 
have different handshake sequences. If the phone line is noisy 
and/or the modem firmware is a bit buggy, the modem does not 
correctly identify the handshake.  If the modem gets this wrong, then 
the getty program can't help.

This does not mean that we should not put the facility into portslave.

Regards

Ian



-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




building custom kernel package

2001-10-16 Thread Nick Jennings
Hello,

 I've successfully built a kernel image, however the initrd image
 is not installed with it, and I have to make one after installing
 the kernel on every system.

 How do I get the kernel deb package to create and install it's own
 initrd image automatically, like the debian packages do?

-- 
  Nick Jennings




RHCE

2001-10-16 Thread Craig
Hi fellas

Who is the general consensus for the RHCE qualification ?

..Craig




help AS 400

2001-10-16 Thread HERNAN DEL BOCA

I would like if you can help me on how to connect a debian GNU/linux with IBM 
AS 400 with db2 400 running in the AS.




Exim issues

2001-10-16 Thread Cameron Moore
A friend of mine has Exim and Mailman setup to serve around 5 mailing
lists.  He sent the following question to me that I don't know the
answer to (I don't use Exim):

  On mail.foobar.org I'm running exim as the MTA.  By default it is
  configured to verify each email address which appears to take a very
  long time (I think this is the issue.)  Any tips for configuring exim
  to be more speedy in a list server environment?

If anyone has any tips on what config options to look into and whatnot,
I'd greatly appreciate it.  Thanks
-- 
Cameron Moore




C questions

2001-10-16 Thread Nick Jennings
Hello,

  Sorry if this may seem off topic, I always appreciate the help I get
  on this (and other) debian lists. However since there doesn't appear
  to be any lists around C programming specifically, I wonder if anyone
  has any suggestions on a very good high quality c programming mailing
  list around?

-- 
  Nick Jennings




Re: C questions

2001-10-16 Thread J.H.M. Dassen \(Ray\)
On Tue, Oct 16, 2001 at 14:29:12 -0700, Nick Jennings wrote:
 However since there doesn't appear to be any lists around C programming
 specifically, I wonder if anyone has any suggestions on a very good high
 quality c programming mailing list around?

There are a few newsgroups, some of which may be available as mailing lists
as well: comp.lang.c.moderated, comp.lang.c, gnu.gcc.help,
comp.os.linux.development.apps .

HTH,
Ray
-- 
UNFAIR  Term applied to advantages enjoyed by other people which we tried 
to cheat them out of and didn't manage. See also DISHONESTY, SNEAKY, 
UNDERHAND and JUST LUCKY I GUESS. 
- The Hipcrime Vocab by Chad C. Mulligan  




Strange kernel compile error

2001-10-16 Thread James Mclean


All,

I am recompiling my kernel on my file-server, it was running Debian Potato, and 
on a make bzImage, i get the following error.

make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
as86 -0 -a -o bbootsect.o bbootsect.s
make[1]: as86: Command not found
make[1]: *** [bbootsect.o] Error 127
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
make: *** [bzImage] Error 2

I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian kernel-
source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19 
package. 

I also did apt-get dist-upgrade to Woody, to no avail.

What is causing this error? What package can i install to get this to work?
I have searched the debian package archives, and could not find any packages 
that matched, and apt-get install as86 did nothing.

I havent tried to compile a kernel on this machine before.

TIA

James Mclean





Re: Strange kernel compile error

2001-10-16 Thread Robert Davidson

You need to install the bin86 package (thats in sid, probably the same
for potato and woody i guess).

James Mclean wrote:
 
 All,
 
 I am recompiling my kernel on my file-server, it was running Debian Potato, 
 and
 on a make bzImage, i get the following error.
 
 make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
 as86 -0 -a -o bbootsect.o bbootsect.s
 make[1]: as86: Command not found
 make[1]: *** [bbootsect.o] Error 127
 make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
 make: *** [bzImage] Error 2
 
 I have tried a few different kernels, kernel 2.2.17 (kernel.org), debian 
 kernel-
 source-2.2.17 package, kernel 2.2.19 (kernel.org), debian kernel-source-2.2.19
 package.
 
 I also did apt-get dist-upgrade to Woody, to no avail.
 
 What is causing this error? What package can i install to get this to work?
 I have searched the debian package archives, and could not find any packages
 that matched, and apt-get install as86 did nothing.
 
 I havent tried to compile a kernel on this machine before.
 
 TIA
 
 James Mclean
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/