Re: Could you give an example iptables script? (Help... I want to learn this stuff)

2003-12-24 Thread Shaun Crossley
On Wed, Dec 24, 2003 at 10:06:25AM +0100, Joris Huizer wrote:
 Hello everybody,
 
 I'm planning to use iptables as it seems it's powerfull and it will let 
 me choose really what is allowed and what is not (because of p2p stuff 
 etc. which allways keeps complaining - and out of curiosity)
 
 However, I never used iptables before and it looks like it's got some 
 learning curve :-P I found a great tutorial at 
 http://iptables-tutorial.frozentux.net/iptables-tutorial.html ..
 I'm not going to try myself just like that as I'm afraid I might kill 
 the internet connection like that, therefor I want to ask for some help.

I recently ran across the Easy Firewall Generator for IPTables
web page, where you can plug in some simple requirements and it
will generate an iptables firewall script on the fly.  Check it
out at:

http://easyfwgen.morizot.net/


-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: BIND can't find root nameservers

2003-12-14 Thread Shaun Crossley
On Sun, Dec 14, 2003 at 10:23:08AM -0500, John Holland wrote:
 I have a recurring problem on a Debian machine that is running named.
 The bind program becomes unable to get the address of the root
 nameservers and fills up /var/log/daemonlog,/var/log/syslog with
 messages to that effect.
 
 sysquery: no addrs found for root NS (M.ROOT-SERVERS.NET)

I got hit by this earlier this week.  My current working theory
is that it has something to do with a bug in BIND, but I can't be
sure.

My fix included adding a forward only; statement in the global
options {}; stanza following my forwarders { ... };
statement.  However, I suspect that this is only masking the
problem.

It took me about twelve hours to figure that out.  Total waste of
my employers time, and not a particularly positive commentary on
my troubleshooting abilities! :-)

For more details see the following url:

http://www.whatever.ca/blog/2003/12/9/dns-hell/

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Xinerama + triplehead + y = FREEZE; y = ?

2003-09-07 Thread Shaun Crossley
I've got a system with three video cards (all ATIs) running
Xinerama, and there are a number of applications which will
completely freeze X such that I must do an Alt-SysRq-k to kill
all processes on the current virtual terminal in order to return
control of the system to me.

One such application is 'psi' which depends on libqt3, among
others. I'm also unable to run most Gnome2 applications, as I
recall.

I'd appreciate any advice on how to troubleshoot this.  I'm not
entirely sure where the problem resides, nor am I fully confident
in my abilities with respect to X configuration.  

Is there a way to make X exit a little more cleanly in situations
like this, or is there a way for me find out what's going on
behind the scenes so that I can see what failed?

Full disclosure: it's possible that the issue may be related to
my running the system at 'testing' for a while and then going
back to 'stable' sources.  For example, X is version 4.2.1-3
instead of the 4.1.0-16 from Woody.

The three cards are:
1. PCI ATI All-in-Wonder 
2. AGP ATI Radeon
3. PCI ATI [EMAIL PROTECTED]

Here's what it all looks like physically:

http://www.whatever.ca/gallery/whatever/f136_cropped

And here's what a typical desktop screenshot looks like:

http://www.whatever.ca/gallery/whatever/2002_08_11_001159_shot

Here's my XFree86Config-4 file:

http://www.whatever.ca/misc/XF86Config-4

And finally, my most recent XFree86.0.log file:

http://www.whatever.ca/misc/XFree86.0.log

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: Checking what's installed

2003-08-26 Thread Shaun Crossley
On Mon, Aug 25, 2003 at 06:58:41PM -0400, Kevin McKinley wrote:
 On Mon, 25 Aug 2003 12:12:59 +0900
 Nick Hastings [EMAIL PROTECTED] wrote:
 
   Am installing Debian on a 486 laptop, and because I want to trim down 
   the installation as much as possible, how do I view a list of what's 
   installed by apt-get on the laptop?  DSelect is useless as it marks some
   
   stuff that hasn't been installed as to be installed.
  
  dpkg -l | grep ^ii
 
 dpkg -l works just fine, since it only reports the installed packages.

On my hybrid woody/sarge system, dpkg -l *lib* (for example)
includes lots of libraries that are status un and pn which
are definitely not installed.

But that's just my US$0.0142573 (CDN$0.02) -- YMMV.

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: keeping partitions mounted read-only

2003-08-21 Thread Shaun Crossley
On Thu, Aug 21, 2003 at 01:16:57PM +0200, Hans Wilmer wrote:
 
 Thank you for your hints! I?ve already been trying to figure which files 
 prevent the partition from being remounted with lsof. The problem with lsof 
 is that a large number of files on /usr is listed, and I can?t tell which 
 of them need to be closed and which can stay open.

I have always understood that *any* open files would prevent a
partition from being unmounted, and I assume the same is true for
remounting the partition as read-only.  Therefore, using this
assumption, *every* file listed via lsof +D /usr must be closed
before the kernel will permit the partition to be unmounted or
remounted.

But perhaps I'm wrong.  

Anyone in the know care to set me straight?

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: keeping partitions mounted read-only

2003-08-20 Thread Shaun Crossley
On Wed, Aug 20, 2003 at 04:35:43PM +0200, Hans Wilmer wrote:

 Is there any way to do the remounting without a reboot?

From time to time I need to unmount a partition on an active
system.  I use lsof to show open files on the partition so that I
know which daemons to shutdown so that I can temporarily unmount
the partition.

For example, 

# lsof +D /var

displays all processes with open file handles on /var and
subdirectories of /var.

You may need to apt-get install lsof if it is not already
installed on your system.

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: raid question

2003-08-17 Thread Shaun Crossley
On Sun, Aug 17, 2003 at 01:19:04PM +0200, Rudy Gevaert wrote:
 Hello,
 
 I was wondering can I set up raid when a partition is mounted?
 e.g.  hda3 is /home and I want to set up raid1 with hdc3.  

If what you want to do is mirror an existing hard drive or
partition, then yes, it's possible.  Just last night I started
the process and am about halfway through.  For an idea of what to
expect, check out my log at:

http://www.whatever.ca/index.php?m=200308#134

I'm not done yet; I still have to test booting off the mirrored
drive before I can wipe my primary drive and establish a fully
redundant mirror.  I'm hoping to be finished later today.

The key is that you want to create your RAID1 array in degraded
mode so that it's happy with just one disk/partition, then copy
your data over.  When you're satisfied that the data has been
copied accurately, nuke the source partition (in your case
/dev/hda3) and hotadd /dev/hda3 to the mirror.

I found the following document to be quite useful; if you ignore
the PA-RISC specific references, it walks through the process
quite nicely:

http://www.parisc-linux.org/faq/raidboot-howto.html

This document (Boot+Root+Raid+Lilo: Software Raid HOWTO) is the
best one I've found that describes the process, but I don't think
it uses the current toolset:

http://www.linuxdocs.org/HOWTOs/Boot+Root+Raid+LILO-4.html

I'm using mdadm, which I believe has replaced raidtools and
raidtools2 in functionality.  Perhaps I'm wrong on that aspect,
but I do know that you must create the array in degraded mode,
so that it doesn't put a nice fresh empty copy of /dev/hdc3 on
top of /dev/hda3.

 Can I run mkraid when hda3 is in use?  I would use the following
 raidtab:

 raiddev /dev/md0
 raid-level  1
 nr-raid-disks   2
 nr-spare-disks  0
 chunk-size  4
 persistent-superblock 0
 device  /dev/hda3
 raid-disk   0
 device  /dev/hdc3
 raid-disk   1
 
 Also, would I lose data?  When happens if I change the above order?

According to the Boot+Root+Raid+Lilo: Software Raid HOWTO, you
should have /dev/hdc3 first, otherwise you'll have trouble
booting, and instead of calling it a raid-disk you'll call
/dev/hda3 a failed-disk to exclude it from reconstruction.

I've done this once before and didn't lose any data, but I
generally recommend having a full backup before playing fast and
loose with this sort of thing.

Good luck!

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: apt-show-versions Question

2003-04-05 Thread Shaun Crossley
On Sat, Apr 05, 2003 at 12:16:10AM -0600, Stephen Hargrove wrote:
 Based on a recent thread on this list, I've constructed the following
 bash script:
 
 #!/bin/sh
 # /etc/cron.daily/apt-show-versions: email alerts when new packages
 # are available
 #
 # 2003-03-10, Shaun Crossley, [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]
 
 /usr/bin/apt-show-versions -u | /usr/bin/mail -e -s `/bin/hostname`:
 updated packages available $ADMINMAIL
 
 I have one machine that _never_ reports any available updates, and I
 have another machine that _always_ reports available updates -- even
 when there are none available.  For example, recently I performed:
 
 # apt-get update
 # apt-get upgrade
 
 And received a response that no updates were available.  However, the
 script emailed me a list of approximately 50 available updates in the
 form of:
 
 dnsutils/testing upgradeable from 1:9.2.1-4 to 1:9.2.2-2
 ksirc 4:2.2.2-14.6 newer than version in archive
 khexedit 4:2.2.2-9.2 newer than version in archive
 libpng3/testing upgradeable from 1.2.1-1.1 to 1.2.5-10
 korn 4:2.2.2-14.6 newer than version in archive
 etc.
 
 Am I missing something?  I'm sure that I'm doing something wrong, but
 I'm not seeing it.  Any input would be appreciated.

I'm the author of that snippet of code.  I can't tell from what
you've quoted, but it looks like you might have an earlier
version that omits the /usr/bin/apt-get update -qq which runs
prior to the apt-show-versions line.

Perhaps that's the trouble you're having (in which case I
apologize).  If apt-get upgrade is not run prior to
apt-show-versions you may not get an accurate report of what new
packages are available.

Or perhaps your problem is related to a similar problem I'm
having where I've used pinning, to make apt-get aware of all
three versions (stable/testing/unstable).  When I apt-get upgrade
or apt-get dist-upgrade, it doesn't automatically upgrade those
packages I've obtained from testing or unstable.  

I recall reading that you could only track two versions at once;
perhaps I should be using some other method of getting testing
packages into my stable systems.  Currently, when I find that a
testing package has been upgraded, I simply apt-get install -t
testing $PACKAGENAME and it gets the upgrade.

That's all I've got for now as far as insight -- hope it's of
some use.

And, thanks for using my script, such as it is!  :-)  One of
these days I intend to figure out how to create an apt repository
of my own so that scripts and custom kernel compiles can go
there, and I can point people at it if they're interested -- and
so that they will obtain the bug-fixes too.

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Re: spamassassin and exim in woody

2003-03-19 Thread Shaun Crossley
On Wed, Mar 19, 2003 at 12:22:06PM +, Phil Reynolds wrote:
 My mail system runs exim and I am wanting to integrate spamassassin into it
 too.
 
 I am using the versions of both packages contained in woody.

I set up woody exim and spamassassin recently, and found the
following page to be quite handy:

http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html

I also set up spamassassin as an exim router; you can see the
config file snippet here:

http://www.whatever.ca/index.php?m=200302#83

I can provide additional config file snippets if you like.

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



POP3 daemon recommendation?

2003-03-19 Thread Shaun Crossley
I'm in the process of setting up a Debian mail server on a LAN
from which eight local users and one or two remote users can
collect their email.  I don't believe I need the additional
functionality of an IMAP server, so I'm looking specifically at
POP daemons.

Ideally there would be some form of web-based administrative
console where users can be created and deleted.  So far I'm
planning on using webmin from testing and its user administration
module to simply create new users whose mail spools will be
served by the pop daemon, but if there's something out there with
a simpler user interface I'd like to take a look at it.

I've apt-cache search'd for pop and come up with the following
results, among others:

courier-pop POP3 daemon with PAM and Maildir support
cucipop Cubic Circle's POP3 daemon
ipopd   POP2 and POP3 servers from UW
ipopd-ssl   POP2 and POP3 servers from UW
popa3d  A tiny POP3 daemon, designed with security as 
the primary goal
qpopper Enhanced Post Office Protocol server (POP3).
solid-pop3d POP3 server supporting Maildir, PAM, vhosting
teapop  Powerful and flexible RFC-compliant POP3 server

I'm unsure of which to choose for this particular project.
Security is definitely of paramount importance, as is ease of
use.  This will be a lightly-managed server, deployed in a
small-office setting.

Does anyone have any blinding flashes of insight they could shine
my way, which might help me decide between this array of choices?

-- 

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca


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



Configuring mutt to view and quote html

2003-03-16 Thread Shaun Crossley
Originally, this email was going to be a request for help.  However, 
during the process of drafting the email, I was forced to do a little bit 
more research and ended up solving my problem.

In the spirit of sharing, I'm posting this anyways in case anyone else 
might benefit from the info.

- - -

I quite like mutt, and from what I understand it's quite a popular mua 
around these parts.

However, I started receiving email from friends with hotmail accounts and 
insufficient computer knowledge to select don't send html email to this 
recipient.

In its default configuration, mutt would pass these emails on to my 
browser.  No problem, except that I was then unable to easily quote their 
emails.

I tried out balsa, but was dissatisfied with it for different reasons.  I 
wanted my mutt back.

Eventually I tracked the solution down in the following mutt mailing list 
posting by Gero Treuner, judiciously edited here for brevity:

http://marc.theaimsgroup.com/?l=mutt-usersm=95563623916928

[snip]

In muttrc you need

  auto_view text/html

and in mailcap

  text/html; lynx -force_html %s
  text/html; lynx -force_html -dump %s; copiousoutput
The first entry is for interactive use from an attachment listing,
the second for inline display in the pager (and for replies)
[snip]

With this in place, when you read an html-based email its content will be 
visible in the mutt viewer, with no need to view it in an external 
browser.  Even better, when you reply and quote a message, the text is 
nicely extracted and quoted.

Exactly what I wanted -- I hope that someone else out there can benefit 
from this as well.

--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Duplicating Woody Package?

2003-03-14 Thread Shaun Crossley
On Fri, 14 Mar 2003 04:21:31 Robert L. Harris wrote:
Thus spake Shaun Crossley ([EMAIL PROTECTED]):

 In the past, I've used the following to perform that task:

dpkg --get-selections  myselections (on the source
dpkg --set-selections  myselections (on the target
apt-get update  apt-get upgrade   (on the target

Looks great and seems to work except for the upgrade.  On the second
machine I do the --set-selections portion then the update and upgrade.
It says nothing to upgrade, nothing to install.  If I edit the file and
remove the trailing install/deinstall then insert an apt-get install 
at the beginning of each line it does however install quite a few.
I was wrong. If you do an apt-get dselect-upgrade instead of an apt-get 
upgrade it should work as advertised.

(I see that this has already been mentioned in the thread.  My apologies 
for the misdirection.)

--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Duplicating Woody Package?

2003-03-13 Thread Shaun Crossley
On Thu, 13 Mar 2003 07:35:08 Robert L. Harris wrote:


I finally got a second hard drive so I can put Linux on my wife's
machine.  She'd like her X setup Identicle to mine.  I've installed a
base Woody system, current kernel, etc.  Now I need to get all the same
KDE packages on her machine.  Other than dpkg -l | grep kde  file,
copy the file to her machine and apt-get install  file is there a
better debian way to do this?
In the past, I've used the following to perform that task:

	dpkg --get-selections  myselections	(on the source machine)
	dpkg --set-selections  myselections	(on the target machine)
	apt-get update  apt-get upgrade		(on the target 
machine)

That seemed to work for me.  Your mileage may vary!

--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-* notify for new packages ? (update)

2003-03-12 Thread Shaun Crossley
On Mon, 10 Mar 2003 18:41:10 Shaun Crossley wrote:
You might be interested in this script I came up with upon reading this
thread.  I called it apt-show-versions and placed it in /etc/cron.daily
(and made it executable via chmod +x).
[snip]

#!/bin/sh
# /etc/cron.daily/apt-show-new: email alerts when new packages
# are available
#
# 2003-03-10, Shaun Crossley, [EMAIL PROTECTED]
[EMAIL PROTECTED]
   /usr/bin/apt-get update -qq

/usr/bin/apt-show-versions -u | /usr/bin/sort | /usr/bin/mail -e \
 -s `/bin/hostname`: updated packages available $ADMINMAIL
Oops... if you don't run apt-get update first (as I've shown above) you 
won't get all the new good stuff.  (I also changed it so that the output 
will be sorted.)

Most of you probably already figured that out, but I only just clued in.

Sorry!

--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-* notify for new packages ?

2003-03-10 Thread Shaun Crossley
On Mon, 10 Mar 2003 09:31:56 Konstantin Kostadinov wrote:
On 10 Mar 2003 08:13:52 -0600
Ron Johnson [EMAIL PROTECTED] wrote:
 On Mon, 2003-03-10 at 07:18, Ron Johnson wrote:
[snip]

  After you install apt-show-versions:
  # apt-get update
  # apt-show-versions |grep upgradeable|sort

 After reading Tim's reply, I should note that apt-show-versions + grep
 will only tell you if there are new versions of pkgs you currently have
 installed.
tanx
that's the thing i'm looking for.
You might be interested in this script I came up with upon reading this
thread.  I called it apt-show-versions and placed it in /etc/cron.daily
(and made it executable via chmod +x).
Perhaps someone in the thread who is more adept at shell scripting will
let me know if I'm doing anything wrong with it.  :-)  (Bear in mind that
I haven't actually tested my assumption that any script placed in
/etc/cron.daily is run daily, but based on the name I think it's a safe
bet.)
I'm going to put it on all of my machines, so that they will alert me when
they need upgrading.  Note that the apt-show-versions command supports a
-u switch which eliminates the need for any grepping.  I'm also not
doing any sorting, but that would be just one more addition in the
pipeline.
#!/bin/sh
# /etc/cron.daily/apt-show-versions: email alerts when new packages
# are available
#
# 2003-03-10, Shaun Crossley, [EMAIL PROTECTED]
[EMAIL PROTECTED]

/usr/bin/apt-show-versions -u | /usr/bin/mail -e \
 -s `/bin/hostname`: updated packages available $ADMINMAIL
--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-* notify for new packages ?

2003-03-10 Thread Shaun Crossley
On Mon, 10 Mar 2003 18:11:56 Shaun Crossley wrote:
You might be interested in this script I came up with upon reading this
thread.  I called it apt-show-versions and placed it in /etc/cron.daily
(and made it executable via chmod +x).
[snip]

#!/bin/sh
# /etc/cron.daily/apt-show-versions: email alerts when new packages
# are available
#
# 2003-03-10, Shaun Crossley, [EMAIL PROTECTED]
[EMAIL PROTECTED]

/usr/bin/apt-show-versions -u | /usr/bin/mail -e \
 -s `/bin/hostname`: updated packages available $ADMINMAIL
Oh, and by the way -- please change the ADMINMAIL line to use your own 
email address.  Otherwise you'd be notifying me about the packages your 
computer needs!

--

Shaun Crossley
mailto:[EMAIL PROTECTED]
http://www.whatever.ca
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RE: apt logfile?

2001-10-24 Thread Shaun Crossley
 Is there an apt (or dpkg) logfile? Something that would keep a record of
 what was done when? Just a simple text file with a format of:
 
 timestamp action full-package-name
 
 Does anyone else think this could be very useful?

 It's not what you meant, but sometimes I use
 ls -ot /var/lib/dpkg/info/*.md5sums | head -20

I did something similar to this a while back by putting a wrapper around
'dpkg' that used 'logger' to log the commandline arguments with which dpkg
was called.  Braindead, but at least it gave me an idea of which packages
were installed when.



RE: fixing demand-dialing ppp

2001-08-22 Thread Shaun Crossley
I had this same problem, so I manually removed woody ppp and installed
potato ppp, then marked it 'hold' so that it wouldn't get replaced on the
next apt-get upgrade.  

Since then, ppp demand-dial has been working just great on my woody
ipmasq/demand-ppp 56k dail-out box.

If you don't need whatever functionality might be in the latest ppp, but do
need the demand-dial, then this might work for you as well.

Of course, perhaps you've already tried this; in which case nevermind. :-)

Shaun Crossley, Technician 
[EMAIL PROTECTED] 
Kootenay Computers (1995) Inc.
250-365-2323 (voice)
250-365-0151 (fax)

-Original Message-
From: Forrest Cahoon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, Aug 21, 2001 10:42 PM
To: debian-user@lists.debian.org
Subject: fixing demand-dialing ppp


I have the same problem that is described in bug #103843: my woody box
can't do demand-dialing ppp.

While the bug is still open, the maintainer 
(Eduard Bloch [EMAIL PROTECTED]) posted this response:

 The reason is the kernel-mode-pppoe patch, having removed it
 the pppd seems to start fine.

I have no clue what this is supposed to mean.  I got pristine 2.2.19
sources from ftp.us.kernel.org and built a kernel with make-kpkg, but
I still have the problem.  I've tried both building ppp into the
kernel and building it as a module, but both fail.

A couple of points that might be relevant:

1) My woody box that is having this problem is running ip masquerade.

2) I've been building these kernels on a sid box with make-kpkg, then
   installing them on my woody box.

Anyone have any suggestions?

| Forrest Cahoon  | [EMAIL PROTECTED]
|--|
| 850 21st Ave SE |--| Only unbalanced people
|
| Mpls MN  55414-2514 |  |can tip the scales...
|



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



Successful Debian Potato install on Compaq Proliant 2500 (was RE: Floppy Install - Need drivers for scsi raid controller)

2001-07-25 Thread Shaun Crossley
I'm a week or three late replying to this message, but I just thought I'd
put in my two bits on the issue.  I don't know if my experience will be of
any help to anyone but I'll do a brain dump nonetheless.

I successfully installed Debian Potato on a Proliant 2500 with a pair of
Compaq Smart 2/P PCI RAID controllers.  The primary controller is attached
to an external RAID tower, and the secondary controller is attached to the
internal RAID bay.  In addition, it has another onboard scsi controller for
the tape drive.  Not sure of the chipset on that because it's at home and
I'm at work right now.

I had previously succesfully installed RH7 on this box, so I knew that it
was possible to run the controllers under Linux.

After a bit of experimentation and reading, I discovered that the compact
series of boot floppies include smart-2 drivers. Once I built those
floppies, though, the battle wasn't over -- the compact boot kernel only has
/dev/ entries for a single controller; I had to manually mknod the entries
for the second controller (/dev/ida/c0p0... and so on).

It wouldn't have been an issue to get this running during the install
process, but I wanted to install such that the system booted off the
internal drive array instead of the external, and the internal array was on
the secondary controller... so I had to create the /dev/ida/c1d0p... nodes
for the secondary controller on the ramdisk during the first-stage install,
so that it would see and install to the correct array.

Then I was able to install to the secondary controller and internal array;
root went on /dev/c1d0p0 or something.

Anyways... I was actually surprised at how easy it was, once I figured out
that I needed the Compact boot floppies and that I  also needed to manually
create a series of /dev/ida/c1d0p... nodes for the install to find.

So, hopefully this info will be of use to someone... I'd be happy to fill in
more details if anyone has any questions.  

Shaun Crossley, Technician 
[EMAIL PROTECTED] 
Kootenay Computers (1995) Inc.
250-365-2323 (voice)
250-365-0151 (fax)


-Original Message-
From: Bernie Boudet [mailto:[EMAIL PROTECTED]
Sent: Thursday, Jul 12, 2001 3:22 AM
To: debian-user@lists.debian.org
Subject: Floppy Install - Need drivers for scsi raid controller


Hi,

I'm trying to do a vanilla Debian floppy install (rescue + root +
driver-1,2,3,4).

The system boots ok from the rescue disk and I get the boot: prompt, to
which I hit return.  Linux loads and I am prompted to insert the root
floppy, which I do and hit return, the setup program loads and I get as far
as the first step to select the keyboard layout.  Everything ok so far,
AFAICT.

The next step is to Preload essential modules from a floppy.  It seems,
the scsi controller is not recognised.  So I must follow this step, and
insert the driver-1 floppy.  After selecting yes, I get a dialog: Critical
Error - Cannot mount the floppy. Stop

I'm guessing that is isn't the correct install sequence, but after reading
the install manual (specifically chapters 5, 6  7) I still can't see what I
did wrong.  Any help would be greatly appreciated.

The system I am trying to install to is a Compaq Proliant 4500.  It has a
5-disk scsi array controlled by a SMART raid controller in slot 1 of the
EISA bus.  There is also a NCR scsi controller embedded on the motherboard,
this is used for the CD-ROM and DAT drive.  If anyone has done an install to
similar hardware, I would be interested to hear about any other problems I
might expect.

Thanks.



apmd, toshutils, etc. on non-X laptop (Toshiba T1910)?

2001-04-01 Thread Shaun Crossley
I've set up an old Toshiba T1910 laptop (8MB RAM, 125MB HD, 486SX/33) with
Debian Potato, and am having great fun tweaking it to do what I want while
still being fairly economical with respect to drive space consumed. I'm
awaiting a used Xircom Realport combo 56K modem and 10/100 NIC (eBay is
wonderful!) so that I can make use of the laptop as a network analysis tool,
among other things.

That said, I'd really like to use the apmd and toshutils packages so that I
can make use of the hardware to its fullest. However, both of these packages
contain various X components which seem to prevent me from doing a simple
apt-get install. (I've chosen not to install any X-related packages, in
order to save space on the 100MB partition left over after designating swap
space, etc.) When I try to apt-get install apmd toshutils, it wants to
download stuff like libglib1.2, libgtk1.2, xfree86-common, xlib6g, xpm4g,
etc.  I'd prefer to avoid wasting space on X-stuff like this.

For the time being, I've downloaded the deb's and will manually force them
to install, hoping to avoid the X dependencies, but my question is this: has
anyone out there built apmd and toshutils *without* the X components?  Or
would I have to do that myself (a daunting prospect, as I'm quite new to
Debian)?

Or am I barking up the wrong tree? Perhaps there's a very simpler way to do
what I want. If so, I'd like to learn how!

I look forward to any replies. Thank you!

// Shaun Crossley, Technician
// Kootenay Computers (1995) Inc.
// [EMAIL PROTECTED]