DocBook User Documentation

2001-07-12 Thread David H. Silber
Greetings,

I would like to use DocBook to create the documentation for a project
I'm working on (see signature) but have been unable to find instructions
for generating various formats of output.

An exception to that complaint is the set of instructions in docbook2x-doc
for translating DocBook documents into (nroff) man or texinfo documents.
These simply present a means for converting documents.

I guess what I'm really loooking for is a cookbook that says "This is how
to make HTML out of DocBook.  This is how to generate PostScript."  I have
not been able to find anything like that.  Most of the documentation I
have found seems intent on teaching me the inner workings of DSSSL, which
I really don't care about.

Something Debian-specific would be ideal (e.g. "Install this package, do
this to create a PDF."), but I'll take something less specific if that's
all that is out there.  Any suggestions?

I have been able to find documentation for marking up a document with the
DocBook DTD, so that is not a problem.

Thanks,
David

-- 
  David H. SilberCode generated for your database:
  [EMAIL PROTECTED] http://www.dbcoder.org/



Package installation error -- What is going on?

2001-07-07 Thread David H . Silber
When I recently tried out aptitude, apt-get replaced apt 0.3.19 with apt
0.5.3.  On the very next install (docbook-doc), I had problems.  I don't
know if it was a problem with the docbook-doc package or of the new apt
package.  In the meanwhile, I'm afraid of installing more packages lest
I compound some problem with the package maintenance system.

I'm using unstable, as somewhere alone the line I needed something that
was unavailable in stable or testing.

Should I ignore this error and proceed as normal, or are there steps I
need to take to correct a problem?

(Please CC: me with any responses, as I no longer monitor the debian-user
list.  Thank you.)

Here is what happened:

  root:~  # apt-get -u install aptitude
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following extra packages will be installed:
apt libsigc++0 
  The following NEW packages will be installed:
aptitude libsigc++0 
  The following packages will be upgraded
apt 
  1 packages upgraded, 2 newly installed, 0 to remove and 252 not upgraded.
  Need to get 579kB/1169kB of archives. After unpacking 2280kB will be used.
  Do you want to continue? [Y/n] 
  Get:1 http://http.us.debian.org unstable/main aptitude 0.2.2-1 [551kB]
  Get:2 http://http.us.debian.org unstable/main libsigc++0 1.0.3-2 [27.3kB] 
 
  Fetched 579kB in 20s (27.8kB/s)   
 
  (Reading database ... 29257 files and directories currently installed.)
  Preparing to replace apt 0.3.19 (using .../archives/apt_0.5.3_i386.deb) ...
  Unpacking replacement apt ...
  dpkg: warning - unable to delete old file `/var/state/apt/lists/partial': 
Direct
  ory not empty
  dpkg: warning - unable to delete old file `/var/state/apt/lists': Directory 
not 
  empty
  Setting up apt (0.5.3) ...

  Selecting previously deselected package libsigc++0.
  (Reading database ... 29268 files and directories currently installed.)
  Unpacking libsigc++0 (from .../libsigc++0_1.0.3-2_i386.deb) ...
  Selecting previously deselected package aptitude.
  Unpacking aptitude (from .../aptitude_0.2.2-1_i386.deb) ...
  Setting up libsigc++0 (1.0.3-2) ...

  Setting up aptitude (0.2.2-1) ...
  root:~  # 
  root:~  # aptitude 
  root:~  # apt-get -u install docbook-doc
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following NEW packages will be installed:
docbook-doc 
  0 packages upgraded, 1 newly installed, 0 to remove and 252  not upgraded.
  Need to get 775kB of archives. After unpacking 4371kB will be used.
  Get:1 http://http.us.debian.org unstable/main docbook-doc 30d10-5 [775kB]
  Fetched 775kB in 25s (30.3kB/s)   

  debconf: Perl may be unconfigured (Can't modify goto in lvalue subroutine 
return at /usr/share/
  perl5/Debconf/Base.pm line 24, near "}"
  Compilation failed in require at (eval 4) line 3.
  ...propagated at /usr/share/perl/5.6.1/base.pm line 18.
  BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Iterator.pm 
line 5.
  Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 7.
  BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm 
line 7.
  Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 5.
  BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 
5.
  Compilation failed in require at /usr/share/perl5/Debconf/Log.pm line 8.
  Compilation failed in require at (eval 1) line 4.
  BEGIN failed--compilation aborted at (eval 1) line 4.
  ) -- aborting
  Selecting previously deselected package docbook-doc.
  (Reading database ... 29313 files and directories currently installed.)
  Unpacking docbook-doc (from .../docbook-doc_30d10-5_all.deb) ...
  Setting up docbook-doc (30d10-5) ...

  root:~  # 




debian-user@lists.debian.org

1999-07-31 Thread David H. Silber
On Fri, Jul 30, 1999 at 08:51:04PM -0400, [EMAIL PROTECTED] wrote:
> AAarrr  This @$#%^!*&@# system is driving me
> crazy!!!  How does anybody ever get it to work? -- Max 

In order to assist you in your problem, we need you to follow a simple
proceedure:

 1) Calm Down!
 2) Tell us exactly what your problems are.

Regards,
David H. Silber

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: Routing table question

1999-07-28 Thread David H. Silber
On Wed, Jul 28, 1999 at 06:07:55PM -0400, Arcady Genkin wrote:
> "David H. Silber" <[EMAIL PROTECTED]> writes:
> > The default is for addresses whose routes are not specified by the
> > routing table.  Packets destined for any computer with an IP in the
> > 192.168.1.0 network will be sent out eth0.  Everything else will go
> > out the (default) eth1.
> 
> David, thanks for your reply.
> 
> I still don't understand something. Doesn't the line:
> 
> 192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
> 
> mean "send everything addressed to IP's 192.168.1.* through default
> gateway"? But this way the kernel will be sending communications for
> 192.168.1.1 through 209.226.71.1. So I must be wrong in translating
> the line above...

It means "send everything addressed to IP's 192.168.1.* through the
specified interface", in this case, eth0.

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: Routing table question

1999-07-28 Thread David H. Silber
On Wed, Jul 28, 1999 at 05:50:03PM -0400, Arcady Genkin wrote:
> Hi all:
> 
> I'm reading "TCP/IP Administration" by O'Reily, and have a question on 
> the routing table on my Debian box. It's quite simple:
> 
> Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt Iface
> 209.226.71.00.0.0.0 255.255.255.0   U 0 0  0 eth1
> 192.168.1.0 0.0.0.0 255.255.255.0   U 0 0  0 eth0
> 0.0.0.0 209.226.71.10.0.0.0 UG0 0  0 eth1
> 
> I have 2 nics in my computer. eth0 is connected to
> another computer (local net), and has IP 192.168.1.2, and another one
> is connected to the internet with DHCP.
> 
> My question is: why is the local network bound to default gateway?
> Shouldn't 192.168.1.0 be bound to 192.168.1.2?

The default is for addresses whose routes are not specified by the
routing table.  Packets destined for any computer with an IP in the
192.168.1.0 network will be sent out eth0.  Everything else will go
out the (default) eth1.


> I suspect that I misunderstand something, since the computers are able 
> to comunicate.
> 
> Any input highly appreciated,

Hope this made some sense.

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: preparing for first installation - which User's Guide?

1999-07-15 Thread David H. Silber
On Thu, Jul 15, 1999 at 03:06:55PM +0200, Drew Parsons wrote:
> I would have liked to install a stable version of potato (Debian 2.2), but
> the stable release seems to be delayed, so maybe it is better to stick with
> slink (Debian 2.1) for now, would you agree?

The current version of potato *is* unstable by definition.  (In fact,
if you FTP to ftp://ftp.debian.org/debian/dists/ and enter the command
`ls -l`, you will see that ``stable'' is a symbolic link to slink and
``unstable'' is a symbolic link to potato.)  I suggest that you install
slink.

Slink's only failing is that it might not have the latest version of
some software available for it.  Some of the sotware that you might
otherwise only be able for potato might be available via
http://www.freshmeat.org/, compiled for slink.  (Potato uses a newer
set of libraries.)
 
Good Luck,
David

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: Palm Pilot Software

1999-07-15 Thread David H. Silber
On Thu, Jul 15, 1999 at 09:24:58AM -0400, Timothy Hospedales wrote:
> Hi,
> I was trying to get the pilot-manager and pilot-link packages to play with my
> new palm IIIx. But things seem to be fried due to the perl upgrade...?

You're using potato, aren't you?  The manner in which the Perl packages
are organized has been improved so that multiple versions of Perl can be
installed at the same time.  There will be a period of flux, while the
packages that depend on perl are updated.  They don't call it ``unstable''
for nothing!  :-)

If you can downgrade yourself to slink, all should be well.  If you need
something that is only available in potato, have patience.


> I cant let it remove stuff that i need like wu-ftpd-academ etc. What
> does that have to do with perl anyway? But, point being, does anyone have any

It probably depends on perl, or depends on something that depends on
perl, or ... (you get the idea  :-)


> tips for getting around this mess, or have any other (Preferably debianized)
> software which wont conflict to suggest? (I played with Pyrite but it doesnt
> seem to do much beside back up the palm pilot)

If you are desperate, you could:
  Update to the most recent version of perl, allowing apt to remove
  any packages that cannot be upgraded to the point where they
  depend on perl5.
  Rebuild each of those packages with a dependancy on ``perl5''.


> PS: Which software do I need in order to beable to install downloaded 3rd 
> party
> apps on the palm pilot?

Use pilot-xfer, from the pilot-link package.


Also, you may want to look at the documentation link under my signature.

David

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: Bleeding edge install: mysql, perl (also apache)

1999-07-10 Thread David H. Silber
On Fri, Jul 09, 1999 at 10:22:10PM -0500, Brad wrote:
> Check the archives WRT Perl problems in Unstable (especially the thread
> titled "Brave New Perl"). The short version is that they changed the
> versioning scheme on the perl packages in unstable, so anything in that
> depends on perl will be very unstable until all such packages are upgraded
> to the new scheme.

Thanks, I vaguely recall something like this.  I'll go back & read it
again.


> Weren't you warned that following unstable could cause problems? ;)

Yup.  That's why my workstation & server run slink.  But I need the
latest versions of PHP3 & MySQL for a project, which means potato, so
I am using a 486 to support this project.  I suppose I could get the
source & compile everything myself, but that seems so... so... un-Debian!


Thanks,
David

-- 
David H. Silber

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Bleeding edge install: mysql, perl (also apache)

1999-07-10 Thread David H. Silber
Hi folks,

I'm trying to install Apache, PHP3 & MySQL on a potato system.  I'm
getting some weird dependancy problems, which I cannot seem to get
around.

Currently I have:
 $ dpkg -l *perl* *mysql* *apache* |  grep -v ^[up]n
 Desired=Unknown/Install/Remove/Purge
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
 ||/ NameVersionDescription
 +++-===-==-
 ii  libdbi-perl 1.12-1 The Perl5 Database Interface by Tim Bunce
 ii  perl-5.004  5.004.05-1 Larry Wall's Practical Extracting and Report
 ii  perl-5.004-base 5.004.05-1 The Pathologically Eclectic Rubbish Lister
 ii  perl-5.005  5.005.03-2 Larry Wall's Practical Extracting and Report
 ii  perl-5.005-base 5.005.03-2 The Pathologically Eclectic Rubbish Lister
 ii  perl-5.005-doc  5.005.03-2 Man pages and pod docs for Perl
 ii  perl-base   5.004.05-1 Fake package assuring that one of the -base 
 ii  libmysqlclient6 3.22.23b-3 mysql database client library
 ii  mysql-doc   3.22.23b-1 mysql database documentation
 ii  mysql-manual0.95-1-1   MySQL Manual in HTML format
 rc  apache  1.3.6-11   Versatile, high-performance HTTP server
 rc  apache-common   1.3.6-11   Support files for all Apache webservers


When I try to install mysql-client, I get:
 # apt-get install mysql-client
 Reading Package Lists... Done
 Building Dependency Tree... Done
 Some packages could not be installed. This may mean that you have
 requested an impossible situation or if you are using the unstable
 distribution that some required packages have not yet been created
 or been moved out of Incoming.

 Since you only requested a single operation it is extremely likely that
 the package is simply not installable and a bug report against
 that package should be filed.
 The following information may help to resolve the situation:

 Sorry, but the following packages have unmet dependencies:
   mysql-client: Depends: libdbi-perl but it is not installed
 E: Sorry, broken packages


... but notice that I have libdbi-perl installed!!


Furthermore, when I attempt to install apache, I get:
 # apt-get install apache
 Reading Package Lists... Done
 Building Dependency Tree... Done
 The following extra packages will be installed:
   apache-common perl perl-5.004-doc 
 The following packages will be REMOVED:
   perl-5.005 libdbi-perl perl-5.005-base perl-5.005-doc 
 The following NEW packages will be installed:
   apache-common perl apache perl-5.004-doc 
   0 packages upgraded, 4 newly installed, 4 to remove and 7 not upgraded.
   Need to get 0B/3049kB of archives. After unpacking 6238kB will be freed.
 Do you want to continue? [Y/n] 


... at which point, I say `n', because I need the libdbi-perl package
(and therefore, the perl-5.005 packages that libdbi-perl depends on).


I could probably force the install of the mysql packages, but I would
still be left with apache's install problem.  Any suggestions?


Thanks,
David


P. S.  Just in case it matters:
 $ dpkg -l apt dpkg   
 Desired=Unknown/Install/Remove/Purge
 | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
 |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
 ||/ NameVersionDescription
 +++-===-==-
 ii  apt 0.3.11 Advanced front-end for dpkg
 ii  dpkg1.4.1.3Package maintenance system for Debian Linux

 $ uname -a
 Linux pluto 2.2.5 #1 Sat May 1 02:57:30 EDT 1999 i486 unknown


-- 
David H. Silber

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: Tab Tab program/command line editing

1999-07-06 Thread David H. Silber
On Mon, Jul 05, 1999 at 10:14:35PM -0500, ktb wrote:
> If you hit the tab key twice in a row it lists all available commands. 
> This seems like a useless thing because I see no way of sending the
> output to 'less' and most of the 1917 possibilities scroll off the
> screen.  Anyway my problem is I get the same result if I hit the Esc key
> twice.  I'm learning command line editing and when I use Esc-b for
> example and then Esc-f I get the following,
> Display all 1971 possibilities? (y or n)
> 
> I searched with 'apropos' and did a search in the bash man page and
> can't find the program that lists the commands or where this emanates
> from.  I'd like to get rid of it unless someone else has a better idea. 
> Anyone know the name of this program?

The behavior you see is from the shell program.  Pressing  tells
the shell to attempt to complete a partial word.  If it can not tell
without ambiguity what word to complete, the shell will beep.  If you
then press  a second time, it will list the possible completions.
If there are a large number of possible completions, the shell will ask
you before displaying them.  The word that the shell tries to complete
depends upon the cursor's current position within a command line.  When
the cursor is over the first word, the shell is trying to match against
a command name.  With the cursor on a subsequent word, the shell tries
to match against a filename.  Bash supports this feature.  Other shells
might, but I am not sure of that.  Interestingly enough, since the code
library which contains this functionality is GPL'd, other programs, such
as ftp clients, also support filename completion.

As for your particular use, the first time you press , your shell
attempts to match to a command.  Since you have not yet started to type
a command name, the complete list of commands is a potential match.
When you press  a second time, your are offered a chance to see the
list of possible matches.

Try typing a partial command name, followed by a  or two and you
will see more completely what I mean.  Try typing  while in the
middle of a program's argument, for filename completion.


Good Luck,
David

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: [Q] Virtual hosts and routing...

1999-06-19 Thread David H. Silber
On Fri, Jun 18, 1999 at 09:17:56AM -0400, David H. Silber wrote:
> #  Set up a virtual interface.
> #
> #  Usage:
> #virtualif [reset]
> virtualif() {

I didn't like that my previous solution, because it only dealt reasonably
with one physical interface at a time.  By making a virtual variable to
track the virtual interface for each physical interface, the virtualif()
function no longer requires that the administrator set up all of the
virtual interfaces for a given physical interface before setting up the
next physical interface.  This allows the administrator who maintains
separate domains over the the same network to group entries in the
/etc/init.d/network file in a more logical manner.  There is also no
longer a need to reset the counter manually.

#! /bin/sh
#
#  virtualif() - Set up a virtual interface.
#
#  Usage:
#virtualif
#
#  Example:
#virtualif eth0 192.168.246.1 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.2 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.3 255.255.255.128 192.168.246.127
#virtualif eth1 192.168.246.129 255.255.255.128 192.168.246.255
#virtualif eth1 192.168.246.130 255.255.255.128 192.168.246.255
#virtualif eth0 192.168.246.4 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.5 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.6 255.255.255.128 192.168.246.127
#virtualif eth1 192.168.246.131 255.255.255.128 192.168.246.255
#virtualif eth2 10.10.10.1 255.255.255.0 192.168.246.255
#
#  virtualif() sets up a virtual network interface and adds a route so
#  that local references to the IP can be routed.  It keeps track of the
#  next available virtual interface for each physical interface, so that
#  you don't have to.
#
#  Installation:  Insert the virtualif() function at the top of the
#  /etc/init.d/network file.
#
#  $VCOUNTER contains the name of the counter of virtual interfaces for
#  the current physical interface.  This name is built from the string
#  ``COUNTER'', concatenated with the name of the physical interface.
#  By using eval, we can use this name as a variable.  Since applying
#  the name of a different physical interface to this scheme generates
#  a different variable name, we can keep a separate counter for each
#  physical interface.
#
#  Version 1.1
#
#  David H. Silber -- June 18, 1999
#  [EMAIL PROTECTED] -- http://www.orbits.com/~dhs
#
#  (I keep thinking that there ought to be a way to simplify this, but
#  it escapes me.  If you find a better way to do this, please send
#  email to the address above.)
virtualif() {
  INTERFACE=$1
  IP=$2
  NETMASK=$3
  BROADCAST=$4

  COUNTER='$COUNTER'

  VCOUNTER=`echo COUNTER$INTERFACE`
  if [ ! "`eval echo $\`echo $VCOUNTER\``" ]
  then
eval "$VCOUNTER=0"
  fi

  #  Build the virtual interface name string.
  VIRTUAL=${INTERFACE}:`eval echo $\`echo $VCOUNTER\``

  #  The point of all of this is to:
  echo "Creating virtual interface $VIRTUAL and local route for $IP."
  /sbin/ifconfig ${VIRTUAL} ${IP} netmask ${NETMASK} broadcast ${BROADCAST}
  /sbin/route add -host ${IP} ${VIRTUAL}

  #  Increment the virtual interface counter.
  eval "$VCOUNTER=`/usr/bin/expr \`eval echo $\\\`echo $VCOUNTER\\\`\` + 1`"
}


-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: [Q] Virtual hosts and routing...

1999-06-18 Thread David H. Silber
On Fri, Jun 18, 1999 at 09:17:56AM -0400, David H. Silber wrote:
> Since I have a large number of virtual addresses, I wrote a little
> function to perform the ifconfig & route operations together.  As a
> bonus side benefit, I no longer have to manually number the virtual
> interfaces.  I'm posting the function so that other people can make
> use of this refinement.

Oops.  I forgot to mention that the virtualif function is placed at the
beginning of the /etc/init.d/network file.

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: [Q] Virtual hosts and routing...

1999-06-18 Thread David H. Silber
On Fri, Jun 18, 1999 at 12:28:37PM +0200, Mirek Kwasniak wrote:
> On Thu, Jun 17, 1999 at 04:57:30PM -0500, The Doctor What wrote:
> > However, if I log into the system (usually at 216.178.140.240, eth0:0) and
> > try to ping any of my other virtual ips, I get no response.  I hav
> > included the route -n and ifconfig output as an attachment.  
> 
> Try add routes for your ip-aliases:
> 
> route add -host 216.178.140.240 eth0:0
> ...
> route add -host 216.178.140.224 eth0:14

This is something that has been bothering me for a while.  I want to
thank Doctor What for mentioning the problem and Mirek Kwasniak for the
solution.

Since I have a large number of virtual addresses, I wrote a little
function to perform the ifconfig & route operations together.  As a
bonus side benefit, I no longer have to manually number the virtual
interfaces.  I'm posting the function so that other people can make
use of this refinement.

# IFCOUNTER counts the virtual interfaces.
IFCOUNTER=0

#  Set up a virtual interface.
#
#  Usage:
#virtualif [reset]
# 
#  Example:
#virtualif eth0 192.168.246.1 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.2 255.255.255.128 192.168.246.127
#virtualif eth0 192.168.246.3 255.255.255.128 192.168.246.127
#virtualif eth1 192.168.246.129 255.255.255.128 192.168.246.255 reset
#virtualif eth1 192.168.246.130 255.255.255.128 192.168.246.255
#
#  The use of the reset flag starts the virtual interface counter from zero.
#
virtualif() {
  INTERFACE=$1
  IP=$2
  NETMASK=$3
  BROADCAST=$4
  RESET=$5
  
  #  When specified, reset the counter so that a second interface can
  #  have its own series of virtual interfaces.
  if [ ${RESET} ]
  then
IFCOUNTER=0
  fi
  
  #  Build the virtual interface name string.
  VIRTUAL=${INTERFACE}:${IFCOUNTER}
  
  #  The point of all of this is to:
  /sbin/ifconfig ${VIRTUAL} ${IP} netmask ${NETMASK} broadcast ${BROADCAST}
  /sbin/route add -host ${IP} ${VIRTUAL}
  
  #  Increment the virtual interface counter.
  IFCOUNTER=`/usr/bin/expr ${IFCOUNTER} + 1`
}


Despite the examples mentioned, I set shell variables for the netmask(s)
and broadcast address(es) to enhance readability and to avoid mistakes
in typing.  I also use shell variables to give names to the IP addresses,
so the calls tend to look like:

WWWORBITSCOM=207.199.167.12
WWWSILBERSOFTCOM=207.199.167.14
virtualif eth0 ${WWWORBITSCOM} ${NETMASK} ${BROADCAST}
virtualif eth0 ${WWWSILBERSOFTCOM} ${NETMASK} ${BROADCAST}


I hope this helps someone,
David H. Silber

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Keystone on Debian?

1999-06-08 Thread David H. Silber
Has anyone out there successfully installed Keystone on a Debian system?

Thanks,
David

-- 
David H. Silber  --   http://www.orbits.com/~dhs/   --   [EMAIL PROTECTED]

  For custom software, see:http://www.SilberSoft.com/
  Palm OS / Linux Documentation:  http://www.orbits.com/Palm/  


Re: *.deb

1999-05-05 Thread David H. Silber
On Wed, May 05, 1999 at 08:16:05PM -0400, Matthew McFarlane wrote:
> How to open and install a *.deb file?

dpkg --install package_version.deb

If there are unsatisfied dependancies, dpkg will warn you and stop after
unpacking the package, but before configuring it.  Because of this, you
may wish to use apt-get instead.  When you use apt-get, you can forget
about dealing with .deb files, and instead think only about the package
that you want to install.  You can read the documentation for these
utilities with ``man dpkg'' or ``man apt-get''.

Regards,
David



Please send Debian-related email to debian-user @ orbits.com.

For custom software, see:  http://www.SilberSoft.com/



Re: IP forwarding for 2.2.x kernels

1999-05-02 Thread David H. Silber
On Sat, May 01, 1999 at 08:31:42PM -0700, Paul Nathan Puri wrote:
> On Sat, 01 May 1999 19:39:07 Debian project development discussion wrote:
> >Is there some magic involved with IP forwarding for the 2.2.x kernels?
> >
> >  # CONFIG_IP_MASQUERADE is not set
> 
> IP MASQ should be set to y.

But I don't need to do address translation.  All I need is IP forwarding.
I don't think that IP forwarding depends upon IP masquerading.  (Quite
the contrary, in fact.)

Please correct me if I'm wrong.

Thanks,
David H. Silber


Please send Debian-related email to debian-user @ orbits.com.

For custom software, see:  http://www.SilberSoft.com/



Re: IP forwarding for 2.2.x kernels

1999-05-02 Thread David H. Silber
On Sat, May 01, 1999 at 11:18:23PM -0400, Will Lowe wrote:
> > Is there some magic involved with IP forwarding for the 2.2.x kernels?
> 
> Are you using IPCHAINS at all?  Are you trying to do NAT?

Yes to ipchains.  No to NAT.

David


Please send Debian-related email to debian-user @ orbits.com.

For custom software, see:  http://www.SilberSoft.com/



Re: Installation on an i386 with *only* 40 Mb HDD

1999-05-02 Thread David H. Silber
On Sat, May 01, 1999 at 07:36:11PM -0700, Joey Hess wrote:
>  Raymond A. Ingles wrote:
> >  I managed to get Debian on a 386/6MB, but it had two 40MB drives. As
> > others have advised, you're likely to want to go with something smaller.
> > Tom's root-boot (http://www.toms.net/rb/home.html) is a good start.
> > There are links on that page to other "micro-Linux" projects.
> 
> I don't know - base.tgz extracts to 26 mb, and that's a complete,
> functioning debian system. I think a 40 mb install should be doable.

I have such a system, so yes, it is doable.  But after setting aside 
swap space, plus that 26 MB from the base installation, there isn't a 
whole lot of room left.

Regards,
David H. Silber



Please send Debian-related email to debian-user @ orbits.com.

For custom software, see:  http://www.SilberSoft.com/



Re: how to make

1996-12-21 Thread David H. Silber
> Maybe i'm missing out on something but where (witch package) contains
> "make"
> or is this a stupid question?
> i installed cpp gcc binutils aout-binutils i can't figure out whats wrong
> maybe there's another way of compiling non debian packages?

There is a seperate package for make in the rex/binary-i386/devel/
subdirectory.


> tia antony

-- 
   Stellar Orbits Technology Systems
``Custom and Internet programming to fit your needs.''
Visit:  http://www.orbits.com/
           Or Call:  (301) 230-2659   

  David H. Silber   /   [EMAIL PROTECTED]   /   http://www.orbits.com/~dhs/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Dot-matrix printers

1996-12-15 Thread David H. Silber
> Hello, ALL!
> 
> I've an old dot-matrix printer, a Citizen 200GX, and I'm at a
> *great* distance from purchasing any postscript printer. There
> is some way of print .ps files in this printer? It's epsons
> and/or ibm-proprinter compatible.

Install apsfilter or magicfilter.  I use apsfilter and print to
an HP laser printer without postscript.  (You will also want the
lpr and gs (ghostscript) packages.)


-- 
   Stellar Orbits Technology Systems
``Custom and Internet programming to fit your needs.''
Visit:  http://www.orbits.com/
           Or Call:  (301) 230-2659   

  David H. Silber   /   [EMAIL PROTECTED]   /   http://www.orbits.com/~dhs/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Lost X on upgrade to 1.1

1996-05-29 Thread David H. Silber
> From: dhs (David H. Silber)
> Subject: Lost X on upgrade to 1.1
> To: debian-user@lists.debian.org
> Date: Tue, 28 May 1996 18:18:25 -0400 (EDT)

Never mind.  I recompiled the kernel _AND_ the pcmcia stuff together and
things started to work.


> 
> I just upgraded my laptop to 1.1 and now X is broken.  I keep getting
> the messages:
> 
> apm_bios: set display standby: Unrecognized device ID
> apm_bios: set display ready: Unrecognized device ID
> 
> when I try to run X.  I thought that maybe I just needed to change some
> of the configuration, but nothing seems to help.  (I still have what
> used to work, just in case.)  Also, the Control-Alt-PlusSign and
> Control-Alt-BackSpace keystrokes do not seem to provide their advertized
> functions (switch screens and exit X).
> 
> Any suggestions?  More information provided as needed.
> 
> Thanks,
> David
> 
> -- 
>   David H. Silber [EMAIL PROTECTED] Project: Vacation!
>   <http://www.access.digex.net/~dhs/> Project: lockstep
> 
>Programmer for hire.
> 
> 


-- 
  David H. Silber [EMAIL PROTECTED] Project: Refinance the house!
  <http://www.access.digex.net/~dhs/> Project: lockstep

 Programmer for hire.


Lost X on upgrade to 1.1

1996-05-28 Thread David H. Silber
I just upgraded my laptop to 1.1 and now X is broken.  I keep getting
the messages:

apm_bios: set display standby: Unrecognized device ID
apm_bios: set display ready: Unrecognized device ID

when I try to run X.  I thought that maybe I just needed to change some
of the configuration, but nothing seems to help.  (I still have what
used to work, just in case.)  Also, the Control-Alt-PlusSign and
Control-Alt-BackSpace keystrokes do not seem to provide their advertized
functions (switch screens and exit X).

Any suggestions?  More information provided as needed.

Thanks,
David

-- 
  David H. Silber [EMAIL PROTECTED] Project: Vacation!
  <http://www.access.digex.net/~dhs/> Project: lockstep

 Programmer for hire.