apt-get download rate limiting SOLVED

2008-02-17 Thread cls
[This message has also been posted to linux.debian.user.]
I'd like to run 'apt-get -d upgrade'
and limit the download rate to half the 130 KB/sec
capacity of my DSL line, so it doesn't get in the way.
I tried adding a file /etc/apt/apt.conf.d/76download
containing this

Acquire
{
  http
  {
Dl-Limit "65";
  };
};

That code limits the download rate of any one package
to 65 KBps, but then apt-get fetches two at a time,
and they saturate the line.
The winning configuration is:

Acquire
{
  Queue-mode "access";
  http
  {
Dl-Limit "65";
  };
};

I tried Queue-mode "host" first, and still got
multiple simultaneous downloads.
That isn't obvious from the apt.conf manpage.

  "Queuing mode; Queue-Mode can be one of host or
  access which determines how APT parallelizes outgoing
  connections.  host means that one connection per
  target host will be opened, access means that one
  connection per URI type will be opened."

With Queue-mode "host", I may have got one "connection,"
whatever that is, but two downloads came through
it at once, at 130KBps, both from the same archive host.
Maybe it's a bug.

I also tried Pipeline-Depth "1"; which had no effect.

Posted to benefit the next person trying to
cumulatively rate-limit apt-get HTTP downloads.



Cameron




Newsgroups: linux.debian.user
From: "Cameron L. Spitzer" <[EMAIL PROTECTED]>
Subject: apt-get download rate limiting SOLVED
Organization: 
Followup-To: 
X-Warning: I take time to damage spammers.
Cc: debian-user@lists.debian.org

I'd like to run 'apt-get -d upgrade'
and limit the download rate to half the 130 KB/sec
capacity of my DSL line, so it doesn't get in the way.
I tried adding a file /etc/apt/apt.conf.d/76download
containing this

Acquire
{
  http
  {
Dl-Limit "65";
  };
};

That code limits the download rate of any one package
to 65 KBps, but then apt-get fetches two at a time,
and they saturate the line.
The winning configuration is:

Acquire
{
  Queue-mode "access";
  http
  {
Dl-Limit "65";
  };
};

I tried Queue-mode "host" first, and still got
multiple simultaneous downloads.
That isn't obvious from the apt.conf manpage.

  "Queuing mode; Queue-Mode can be one of host or
  access which determines how APT parallelizes outgoing
  connections.  host means that one connection per
  target host will be opened, access means that one
  connection per URI type will be opened."

With Queue-mode "host", I may have got one "connection,"
whatever that is, but two downloads came through
it at once, at 130KBps, both from the same archive host.
Maybe it's a bug.

I also tried Pipeline-Depth "1"; which had no effect.

Posted to benefit the next person trying to
cumulatively rate-limit apt-get HTTP downloads.



Cameron



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



Re: [OT] mslinux

2008-01-10 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, David Baron wrote:
> On Tuesday 01 January 2008, [EMAIL PROTECTED] wrote:
>> i was browsing around and ran into the following
>>
>> http://www.mslinux.org/
>
> I do not know what this is about but it would be, of course  Microsoft 
> Lindows. Why do you think they hounded him until he gave up that name?

It's a joke.  See http://www.milliways.net/news.html 


Cameron


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



Re: "Waiting for root file system" problem

2008-01-10 Thread cls
[This message has also been posted to linux.debian.user.]
This is becoming a FAQ.  There is a problem with udev.
Before udev, there was a strong association between
device names and devices.  With udev, that association
is much weaker.
There's new randomness in how partitions are named
during boot.
Debian and other installers have not
yet worked around this relatively new problem.

What you're seeing is an effect of that.
The udeb installer kernel got a different set of
device names than the installed kernel did, and the
root file system never appears where the installed
kernel has been told it would.

The workaround is to use file system labels or UUIDs
not device names in /etc/fstab and /boot/grub/menu.lst.
But the Debian 4.0 installer doesn't know that.

Please read the discussion at
http://www.debianhelp.org/node/11653


In article <[EMAIL PROTECTED]>, dave N wrote:
>
>   I've installed Etch r1 and the only real thing I've done to the
>system is updated the system, though during the update it updated the
>kernel to the same kernel that was installed during the installation
>(used the medium to try and get more control over Grub install).
>
>
>   During boot the system appears to find all the drives OK when I am
>reading as fast as I can, but then I get the following (from a photo of
>the screen messages)
>
>   Begin: Mounting root file system... ...
>   Begin: running /scripts/local-top ...
>   ide0: I/O resource 0x1F0-0x1F7 not free.
>   ide0: ports already in use, skipping probe
>   ide1: I/O resource 0x170-0x177 not free.
>   ide1: ports already in use, skipping probe
>   Done.
>   Begin: Waiting for root file system... ...
>
>   And it stops right there. 0's above may be 8's, can't tell from the picture.
>
>   I booted with Knoppix live and there is nothing in /var/log/messages,
>none of the logs appear to have changed since I last booted 2 days ago.
> I have not run fsck or anything else on this yet. 

Apparently Knoppix doesn't use udev.


Cameron


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



Re: compatibility problems

2007-12-29 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Don Harwood wrote:
>
> hello world
>
> I'm a new convert to the debian linux world however I'm starting to get
> cold feet with compatibility issues, i just purchased a CNC mill that is
> run by a amd64 box with debian linux, i also just had a new box built for
> me to do my cad/cam work on. figuring that since one box is linux why not
> both [not to mention that i hate windows].  my new box is an amd64 dual
> core with a high end graphics card, nice box!
>
> my trouble starts with the key board, i got a new logitech wireless wave
> usb keyboard, will it work?

Probably.  The USB keyboard connection is a standard interface.
If you're not sure, pick up a PS/2 keyboard at a Goodwill store.
Debug your fancy keyboard later, when everything else works.



>  the logitech people simply say they don't
> support linux, no help there. should i get an old fashion ps2 keyboard?

These days "we don't support Linux" means "our customer service reps
are not allowed to answer Linux questions."  It does not imply that
their product can't be used with a Linux system.  They just can't
tell you it does.  That is reasonable.  They can't avoid being a
general MSFT help desk, and they don't want to become a Linux
help desk too.


> the next troubling thing i got was when i called at&t to get dsl service,
> they also say they don't support linux. what can be done with this?

Ignore them.  AT&T is too cheap for tech support.  It's true
they won't answer your Linux questions, but so what.  Plug in your
machine.  Get a shell in a terminal window and use the command
  ifconfig -a

to see if you have an Ethernet interface.  Probably eth0,
but it doesn't have an IP Address yet.  If so, run this command
  tail -f /var/log/messages

It will tie up that terminal, watching the kernel log.
Then get another shell in a window and run
  dhclient

and just watch.  The link light will come on, if it wasn't
already on.  Your DHCP client will broadcast a request.
AT&T's DHCP server will respond, after a few seconds, with
an offer.  The DHCP client will accept the offer.
It will overwrite your /etc/resolv.conf file with the
name servers AT&T wants you to use.  It will create two
entries in your kernel's routing table.  One says what
network segment you're on, and the other says where the
gateway is to send all packets whose destinations aren't
on that segment, the "default route."  Use the command
  route -n

to observe your routing table.  It's pretty amazing.
Residential DSL service is easier to set up than dial-up.
(No screwing around with chat scripts and setserial
and /dev/ttySxx and software modems.)
When you have a route, the simplest test is perhaps
  ping -c 3 kernel.org

That will show that your name service works and
you can see out.  If for some reason the name servers
you're supposed to use are dead, there seem to be
name servers at 4.2.2.1 and 206.13.28.12
(Verizon and AT&T) that someone forgot to unplug.
Try pinging those.  Don't bother with your web browser
if you can't resolve names.  Once you're up, find
out the right name servers to use and make sure you're
using those.

Some DSL or cable TV Internet access services require
that you establish a PPP tunnel over your Ethernet link,
and authenticate yourself with a user name and password.
That happens before DHCP will work.
But the former SBC and Southwest Bell parts of AT&T do not.
You just plug in and do DHCP, as if you were on an office LAN.

If you want DHCP to run whenever you boot the system,
edit the file /etc/network/interfaces
and make sure it has a stanza like this

auto eth0
iface eth0 inet dhcp



>
> I'm not a super user but i had a user level account on a unix system and
> liked the way it dit its thing.

Me too.  Unix makes sense.  The X Window System makes sense.
I had SCO System V at home before Linux came out.  That MSFT
stuff was just too icky.  Welcome home.


> i need to get this thing up and running
> before i crawl unhappily back to windows.

Don't give up.  The only things you can do wrong here are
giving up and whining.  Accept things as they are.  Yes
the documentation could be better.  But cope with it.  Do your
part by explaining any problems you run into in complete,
accurate detail.  This community is amazing.  If you do your
part we will not let you fail.


Cameron


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



Re: Anyone using Debian on notebook?

2007-12-19 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Michael Pobega wrote:
> On Mon, Dec 10, 2007 at 04:21:06PM +, Andr=E9 C=E9sar de S=E1 wrote:
>> I've been using Debian on my Dell Latitude D520.
>>=20
>> Everything is working almost properly.. I'm just having problems with
>>  - USB mouse(only works if I disable touchpad)
>>  - Intel Wireless system(simply can't install IPW3945)
> For the ipw3945, enable the contrib and non-free reposotories in your
> sources.list and do "apt-get install firmware-ipw3945 ipw3945d
> ipw3945-modules-`uname -r`".

I recently built an external USB drive Debian Etch for a friend's
Compaq Presario 1500.  Nice 1440x1024 display.  It's too old to
boot USB and I wasn't allowed to touch the internal drive, so
had to make a syslinux CD for booting.

Cardbus slot works with Orinoco Silver (Lucent Hermes 1) wifi
but not with known good hardware modems from 3Com/Megahertz
and Best Data.  Hotplug/udev sees the card but we can't find the
serial ports on it.  What do you use for that?  cu -l/dev/ttyS?
gives unhelpful and misleading errors.  (line in use, busy,
no such device, all at once.)  KPPP "can't initialize" the modem.

There's a Connexant soft modem on an internal mini-PCI card.
There's no serial port on the back panel but Linux thinks there's
a ttyS0 there.  My friend will be stuck on MS-Windows until
we solve this.  I have limited access to the machine because
she uses it all the time.  Will try again after xmas.
Maybe spring for the commercial Connexant driver.

So you never know what's gonna work on J. Random Laptop.


Cameron




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



Re: Preferred Backup Method?

2007-12-07 Thread cls
[This message has also been posted to linux.debian.user.]
 On Wed, Dec 05, 2007 at 03:35:46PM -0800, David Brodbeck wrote:
>
> On Dec 5, 2007, at 3:16 PM, Michael Pobega wrote:
>> tar cvvf foo.tar bar | ssh [EMAIL PROTECTED] "cat > foo.tar"
>>
>> Or am I doing it wrong (I most likely am)? I've never done any sort of
>> piping through SSH before, so any sort of help would be appreciated.
>
> You're close.  Try this:
>
> tar cvvf - bar | ssh -e none [EMAIL PROTECTED] "cat >foo.tar"
>
> Using - as the filename tells tar to output to stdout.  "-e none" disables
> SSH's escape character, making the session fully transparent -- otherwise
> SSH will go into command mode if your tar output happens to contain a line
> that starts with ~.

What?  I've moved many gigabytes through
  tar cf - stuff | ssh remotebox tar xf -
If there were a problem with tilde dot in the stream I would 
have seen it by now.  Let's try an experiment with
Debian boxes truffula (local) and oobleck (remote).

truffula$ cat | ssh oobleck "cat > foo.bar"
this is a line
~.
this is another line

You have new mail in /home/cls/.mbox
truffula$
truffula$ ssh oobleck grep -n "''" foo.bar
1:this is a line
2:~.
3:this is another line
You have new mail in /home/cls/.mbox
truffula$

Well that seems to have worked.  (grep -n '' is a trick
for numbering the lines of a text file.)

truffula$ ssh oobleck

Linux oobleck.example.org 2.6.18-5-686 #1 SMP Sun Aug 12 21:57:02 UTC 2007 i686 
GNU/Linux

No mail.
Last login: Sat Nov 24 19:01:19 2007 from 192.168.1.221
oobleck$ pwd
/a8/home/cls
oobleck$ Connection to oobleck closed.
truffula$

That shows tilde dot works as advertised when you're
talking into a default shell.  Wnat if you call a login
shell like any other command?

truffula$ ssh oobleck bash -l -i
[EMAIL PROTECTED]:/a8/home/cls$ uname -n
oobleck.example.org
[EMAIL PROTECTED]:/a8/home/cls$ ~.
bash: line 2: ~.: command not found
[EMAIL PROTECTED]:/a8/home/cls$ exit
You have new mail in /home/cls/.mbox
truffula$

So "ssh host" cares about ~. but "ssh host command" doesn't.
No wonder I've been getting away with tar | ssh tar.
The "-e none" is not necessary.


Cameron





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



Re: Installation help

2007-12-07 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Aumnayan D'Letti wrote:
> I am installing the latest stable version of Debian (40rl) and am
> having an issue with how it's seeing my primary HD.
>
> It's set up as the master on the primary IDE chain, which to me
> signifies that it should be seen as IDE1, or HDA. However, the
> partitioner is picking it up as IDE5 (hde). Which posses no problems
> for me until the installation is completed, as there is no /dev/hde.

Welcome to the brave new world of udev.
Device names in /dev are no longer stable.  They get created
on the fly as needed, and they don't always get created
in the same order from one boot to the next.
There's a persistence mechanism but you can't rely
on it yet.

In your case, the debian-installer kernel saw that drive
as hde, but the real kernel sees it as, perhaps, hda.
If you do a kernel update, it might be hde again.
Or if you replace a burned out motherboard.
I've had the installers in Debian-4.0r1 and
Ubuntu-7.10 fail because of this problem.
If you don't know what's going on, it's a show-stopper.

In the case of drives with file systems on them, the best
workaround is to add a volume label to each file system.
Then refer to them by volume label in /etc/fstab
and /boot/grub/menu.lst, not by device name.  When you
call mount, the kernel will search every disk it can find
looking for the matching file system.
Give your swap partition a volume label, too.

This problem afflicts network interfaces, too.  They don't
have volume labels, but they have MAC addresses.
If you only have one Ethernet interface it doesn't matter,
but on a router you should tie the interface names to
MAC addresses.  I created a file
/etc/udev/rules.d/z25_persistent-net.rules containing
these lines
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:30:05:5e:8f:0d", 
NAME="eth0"
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:29:6a:d7:63", 
NAME="eth1"
The double equals are tests for matching.  Commas
between tests are logical "and" operators.  A single
equals is an assignment.

If you replace an Ethernet card, remember to add another
line for the new MAC address.
For other devices, look in the /sys directory for the
device and then use udevinfo -a -p to discover its
usable attributes.

I tried to force the kernel to see devices in the same
order every time by listing their drivers in /etc/modules.
It's not worth it.  Use udev/rules.d.  See
http://www.reactivated.net/writing_udev_rules.html and
the remarkably unhelpful
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
You might also get some clues from how they handle it
in Gentoo.
http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
and http://forums.debian.net/viewtopic.php?t=259  (sort of a Howto)
and http://www.debianadmin.com/rename-network-interface-using-udev-in-linux.html


Cameron



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



Re: OT: clicky keyboards

2007-12-07 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Andrew Sackville-West wrote:
>
> If you need that amazingly insightful gift for someone (yourself?)
> this year, check out www.clickykeyboards.com for real IBM
> keyboards. Mine just arrived and I'm in heaven.=20

Also known as the Carpal Tunnel special.

Seriously, this is the worst idea I've seen on this list in a long
time.  The PC keyboard had that exaggerated click so it would feel more
like a Selectric typewriter.  IBM Data Entry Division wanted to sell
PCs through the typewriter channel because Armonk didn't want the PC.
The Boca Raton marketing droids hoped it would be more familiar than the
somewhat ergonomic computer keyboards common in the late '70s, so it
would be easier for typewriter salesmen to sell.
Over time the cost pressure of the clone market devolved it to
the hard-stop ABS-against-ABS nightmare we use today.
Millions of crippling Carpal Tunnel Syndrome cases
because of office politics and marketing BS at IBM.

I'd pay real money for a well made PS2-compatible keyboard with the
silent action and soft squishy travel-stops we had on the Convergent and
Altos thin client machine keyboards circa 1985.  You could type
hard and fast on those all day and not feel it in your fingertips
and wrists.  As far as I know, nobody makes good keyboards anywhere
any more.  I'm typing this on a Goldtouch.  The hinge doesn't open far
enough.  It's got the same gawd-awful hard travelstops as the generic
104-key you can get for $5 at any computer store.  Awful.  I tried that
silly vinyl rollup too.  The keys wobble around too much for
fast typing.  It would have worked better if the keys had been
half the height.  Stupid.



Cameron








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



Re: exim - what is it? (how does it run)

2007-12-06 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Bob Goldberg wrote:
>
> i've spent DAYS trying to get exim to work to no avail.

In that case, don't use Exim.  I'm not being sarcastic.
It's not a put-down.  Exim isn't as arcane as Sendmail,
but I found it much more difficult to learn to configure
than Postfix.  Exim has a friendly support group.  When I was using
Exim, they answered questions for me about fairly
routine things, and I went back to see if I'd overlooked
that stuff in the manual, and it wasn't there.
"Drivers" and "Routers" that weren't mentioned at all.
Maybe it's better now.

If you're just running a workstation, msmtp and fetchmail might
be all you need.  If you need the things you can do with
Exim, you can probably do them more easily with Postfix.
When I bailed on Exim I switched to Qmail.  That was a mistake
I have documented elsewhere.
http://www.debian-administration.org/articles/416#comment_6



> so let me start at the beginning.
>
> What exactly IS exim?

A message transport agent.  See RFC2821.
A large set-UID root binary.  Compiled C code.
When the mail is directed towards your domain, it's an
SMTP server.  When you're sending, it's an SMTP client.
Like most MTAs, it is also a simple mail delivery agent.
But you could use Procmail for that.


>
> IOW: when I setup sendmail, I'm working with bash scripts.
>
> when I setup an exim conf file - what exactly runs it? perl?

It's a special language peculiar to Exim.


Cameron



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



Re: Mailman and postfix (debian etch)

2007-12-03 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Márcio Luciano Donada wrote:
>  
> Hi,
> Now I have the mail server using debian etch with postfix. This same
> server have installed mailman and I have noticed that many times the
> mailman take long to deliver messages, sometimes even more than an
> hour. I wonder what you have when using the same e-mail server has the
> mailman to manage mailing lists.

Messages shoot through my Etch+Mailman+Postfix in a
few seconds.  Dual-core Athlon, 8700 Bogomips.

Pick a few messages and follow their progress in your Mailman
and Postfix logs.

tail -f /var/log/mail.info
tail -f /home/mailman/logs/smtp (in another window)

The handoff from Mailman to Postfix should begin
within a few seconds of a new list posting.
If not, something is wrong.  Is qrunner running?  You should
see eight processes per Mailman 2.1 installation.
Does the set-GID wrapper mail/mailman execute with no error?
Does Mailman start smtp to Postfix right away?  Do the messages
pile up in /var/run/postfix/queue?  (postqueue -p | less)
Do they pile up in /home/mailman/qfiles or mailman/data?
Are there any "shunt" files?  Are there Python errors in
any of mailman/logs/*

Certain large domains throttle incoming
email.  Your Postfix will retry several times before delivering
one message to a few hundred Yahoo Mail users.  Earthlink
sometimes takes hours between accepting a message and
delivering it to a customer mailbox.  You may find the delay
is not on your system.


Cameron




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



Re: vi issue in etch

2007-12-02 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, David Fox wrote:
> On 11/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>> I tried to use the equivs package to inform Etch that my
>> custom vim "provides vi", and link it to the
>> /etc/alternatives/vi, but I got lost in the complexity of it.
>
> I am not so sure that you need to go that far to get the same
> functionality. I'm also not sure how you got 'nvi' installed in Etch.

apt-get install nvi
http://packages.debian.org/etch/nvi
Bug-compatible.  You can't backspace past a newline in insert mode.
One level of undo.  Bletch.


> I'm on a lenny system, and I have 'vim basic' installed (which does
> seem to lack the mouse pointer facilities, but I don't normally try
> and use vi(m) with a mouse).

Sometimes it's less work.   c to
replace from here to there when neither end is on object boundaries.
Shifted, it's just another cursor motion command, works with all the
operators.  No number multipliers, though, and "dot" (repeat last
visual edit) is seldom useful.
Unshifted, it's traditional drag- or block-and-paste word processor
behavior.  Having learned vi before word processors, I don't
use it that way much.  But visual selection can be handy.
Vim really is Improved.


>And, /etc/alternatives/vi on this Lenny
> install is a symlink to /usr/bin/vim.basic.

Debian's alternatives thing for vi is complicated.  Much more
than a symlink.  There is a set of symlinks to take care of
the various executables (view, ex, rvi...) and manpages.  Most of
them are "slaves" to a "master" so they can be changed as a "link group".
And there is a database /var/lib/dpkg/alternatives which knows which
ones you have installed so it can restore the previous one if you
remove the current one, and which link groups are in "automatic mode."

Unfortunately, equivs-build doesn't seem to know anything
about it.


> Now, it seems to me (although untested) that if you were to install
> vim.full, you would then have the setups needed for your
> /etc/alternatives to point to the desired flavor of vi you want.

But then I would pull in a bunch of stuff I don't want on
a remote server.  Big chunks of GNOME.  X11 Session Management.

Vim-full seems mostly to be about gvim(1), which I don't use.
I like running vim(1) via ssh(1) in an xterm(1).
Gvim via ssh's X forwarding through a 25 ms link is no substitute.


> One would also think that if it didn't do that (expected) behavior,
> then it might be a packaging bug.

In a way, it is.  The "rather standard set of features" is
missing a critical one.
But, to be honest, it's not why I made my own vim 7 for that server.
Vim 7.0 in Etch testing was seriously broken.  Segfaults everywhere.
It's fixed, now.


Cameron



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



Re: vi issue in etch

2007-11-30 Thread cls
[This message has also been posted to linux.debian.user.]
[use vim, not [n]vi]

In article <[EMAIL PROTECTED]>, Joseph L. Casale wrote:
>
> Well, therein lies my lack of experience! I didn't even know there
>was a difference, vim is what I "meant" to use but didn't know I wasn't,
>hence the apt-get install vim made it all good! :)

One of the things that make vim better than Original vi
is that vim knows about the mouse.  If you build vim from
source with all defaults, it can use the ANSI pointing
device extensions that terminals like xterm(1) know about.
That is, you can use the mouse in an xterm.

But the "rather standard set of features" in Etch's vim
is missing that feature.  If you want it, install vim-full.

I wanted it on a remote server where I did not want the
X Window System related stuff, so I had to build vim
from source.  That's pretty easy, and it installs in
/usr/local where it doesn't interfere with Etch vim.

I tried to use the equivs package to inform Etch that my
custom vim "provides vi", and link it to the
/etc/alternatives/vi, but I got lost in the complexity of it.
The example in the equivs "documentation" is vi, but
they don't really tell you how to do it.  A *complete*
example (view(1), ex(1), manpages, etc) would be nice.

So I installed Etch nvi and set EDITOR and VISUAL variables
in /etc/profile pointing to /usr/local/bin/vim.


Cameron




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



Re: Cannot mount root file system with vanilla kernel 2.6.24-rc3

2007-11-24 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Micha Feigin wrote:
> I'm trying to compile vanilla kernel 2.6.24-rc3 due to some patches I need.
>
> When I try to boot the new kernel I get the error:
>
> vfs: Cannot open root device "sda3" or unknown-block(0,0)
> please append a correct "root=" boot option. Here are the available devices:
> [...]
> [...] sda3
> [...]
>
> Kernel 2.6.23.1 boots with the same option and nearly the same config file
> I did compile it with gcc 4.3 (which didn't work for me for kernel 2.6.23.8)
> but it gave no error (when I fixed 2.6.23.8 to compile with gcc 4.3 it did 
> give
> me  similar error though)

Udev is playing tricks on you.  The kernel you compliled recognizes
things in a different order, and udev gives them different names.
Use e2label to give your root file system a volume label, e.g., root-fs.
Edit your /etc/fstab and /boot/grub/menu.lst files.  Replace
"/dev/sda3" with "LABEL=root-fs"
Make a new initrd image with the new /etc/fstab in it.
Let us know if that solves the problem.


Cameron




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



Re: need help with BIND9

2007-11-14 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>
> Michael Shuler wrote:
>> On 11/14/2007 02:53 AM, [EMAIL PROTECTED] wrote:
>>   
>>> I need help setting up nameservers for my own domain.  The IPs and
>>> domains have been changed for privacy ;-)
>>> 
>>
>> ..which makes it difficult to properly troubleshoot.
>>
>>   
>>> $TTL 1h
>>> @ SOA ns1.mydomain.com. root.mydomain.com. (
>>>  2007110805; Serial (date + two digit serial)
>>>  10800 ; Refresh (3 hours)
>>>  3600 ; Retry (1 hour)
>>>  86400 ; Expire (1 day)
>>>  60 ) ; Default TTL 1 min
>>>  NS ns1.mydomain.com.
>>>  MX mail.mydomain.com.

First of all, that is really dumb.  Don't use name servers
with the same second level domain as the one they are
authoritative for.  If you only have one domain in the
whole world, let your registrar do your name service
for you.  Or use a service like zoneedit.com or dyndns.org.
(But stay away from granitecanyon.com.  It's been on
autopilot for years and years.  It's owners just don't
have time for it.)


>> If you are going to host authoritative DNS for mydomain.com. on a name
>> server host under the same domain, for example ns1.mydomain.com., then
>> you need to seed the process of finding your authoritative name server
>> via a glue A record at your domain registrar - this A record for
>> ns1.mydomain.com. gets pushed up to the com. TLD servers, so that
>> recursive resolvers around the Internet can find the correct name server
>> to ask, "where is mydomain.com.".

Right, and with most registrars, especially low-ballers
like Tucows/OpenSRS, it's not obvious how to do that, and
they don't do it automatically.  And with non-accredited
resellers, it's even harder.  You're at Register4less,
apparently a Tucows customer.  Guess what, your registrar
isn't listed in
 http://www.icann.org/registrars/accredited-list.html

Well-run registrars will have a separate form for
registering a hostname.  That's the "glue record"
you're looking for.  Unfortunately it pretty much never
says "glue record" on the form.  Which brings us back
to don't put your name servers in their own domain.



> Thanks for the reply!  I've investigated this at my domain registrar, 
> and ns1.mydomain.com did get pushed to the .com TLD servers (or root 
> servers)


Apparently so.  One of them, anyway.  This is b.gtld-servers.net,
chosen at random.

$ dig @192.33.14.30 NS1.CD-EXPRESS.COM a
;; ANSWER SECTION:
NS1.CD-EXPRESS.COM. 172800  IN  A   208.127.75.221
;; AUTHORITY SECTION:
CD-EXPRESS.COM. 172800  IN  NS  NS1.CD-EXPRESS.COM.

172800 is two days.





> My domain registrar said that I need a primary and secondary server 
> assigned,

Well, there is not really any such thing as primary and secondary.
They're all the same.  But you're supposed to have at least
two of them.

> so I created NS2.CD-EXPRESS.COM to point to the same IP 
> 208.127.75.221

Spammers do that a lot.  Your two name servers are supposed to
be on two independent networks.



> my bind settings is as follows (I've removed comments with a "//"):
> ** NAMED.CONF start 
> ***
> include "/etc/bind/named.conf.options";
[as shipped]
> **NAMED.CONF.OPTIONS  
[as shipped]
>
> *NAMED.CONF.LOCAL start 
> *
> //
> // Do any local configuration here
> zone "cd-express.com" {
> type master;
> file "/etc/bind/cd-express.db";
> };

Okay.

>
> zone "15.15.15.in-addr.arpa" {
> type master;
> file "/etc/bind/15.15.15.rev";
> };

What the heck is that?  Are you in charge of
reverse DNS for 15.15.15.0/24?  I think Hewlett
Packard would disagree.


> *NAMED.CONF.LOCAL end 
> *
>
> * CD-EXPRESS.DB start 
> *
> ; BIND data file for cd-express.db
> ; /var/named/cd-express.db
> ;
> $TTL 1h
> @ SOA ns1.cd-express.com. root.cd-express.com. (
>   2007110805; Serial (date + two digit serial)
>   10800 ; Refresh (3 hours)
>   3600 ; Retry (1 hour)
>   86400 ; Expire (1 day)
>   60 ) ; Default TTL 1 min
>   NS ns1.cd-express.com.
>   MX mail.cd-express.com.
>   A 208.127.75.221

You might get away with those a/ns/mx records.
The white space in column 1 implies the zone that
was mentioned in the zone statement in the conf file.
But it would be more readable if you used an @
sign there.  I'm not sure if you can get away with
omitting the class (INternet) value, either.
Try it this way:

@   IN   NS  ns1.cd-express.com.
@   IN   A   208.127.75.221
@   IN   MX 5  mail.cd-express.com.

Notice that the NS and MX records use names which
I'll give A records to below.

> ns1 A   208.127.75.221

That line makes no sense.  You're saying there
is an A reco

Re: why does the shell show commands foolishly when I press UP key?

2007-11-12 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Serena Cantor wrote:
> I often use UP key to get commands entered previously. The shell show some 
> commands again and
> again, just because I have used them several times. Can the shell be more 
> smart?

This is bash, right?  Bash is already smart.  It's keeping the
whole history in case you forgot what you did.  Don't fight
it, use it.

1.  Edit your /etc/inputrc file and add the line

set editing-mode vi

near the beginning of the file.  Now your shell, and
anything else that uses GNU Readline, will have a fine
set of history editing commands.  Emacs users feel
free to set it to emacs.
If you just want to change the shell, and leave everything
else emacs-ish, type

set -o vi

into your shell, or put that in ~/.bashrc

2.  Don't use the uparrow any more.  That's what the
k key is for.  Escape k k k k k
Notice most visual editing commands work, so you can
change the commands instead of just recalling them.
When you get tired of that, there is a search command.

Escape /^grep

to find the last command that began with grep.
Your favorite regular expressions work.  Now you can blow
past the duplicate commands to the one you want.


Cameron


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



Re: how to read http mails in mutt mail reader (vim)?

2007-11-12 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, s. keeling wrote:
> hce <[EMAIL PROTECTED]>:
>> 
>>  I've just installed mutt in Debian, one problem is there are some
>>  mails from news lists with HTTP format, it was fine when I use Mozilla
>>  mail reader, but with mutt and vim, I could not read the HTTP format
>>  mails. One solution I can think of is to use lynx, but I don't know
>>  how to config mutt with lynx. How do you handle this issue?
>
> mutt needs to be trained.  You could tell it to use urlview via macro,
> but I see no need for it.  Install w3m, and it'll do everything you
> need.
>
> In your ~/.mailcap, add:
>
>   multipart/alternative ;  /usr/bin/w3m -dump %s; copiousoutput; 
> nametemplate=%s.html
>   multipart/related ;  /usr/bin/w3m -dump %s; copiousoutput; 
> nametemplate=%s.html
>   text/html ;  /usr/bin/w3m -T text/html -dump %s ; copiousoutput
>
> then tell mutt this (~/.muttrc):
>
>   macro index \cB |'w3m -m -cookie'\n 'call w3m to extract URLs out of a 
> message'
>   macro pager \cB |'w3m -m -cookie'\n 'call w3m to extract URLs out of a 
> message'
>

Well that's awfully complicated.  Why not just pipe the message
into metamail?  It'll bust a multipart message into parts and
run whatever it needs on each part.  In mailx, "pi metamail"
In Mutt, perhaps "| metamail"
Etch came with an /etc/mailcap that was pretty sensible, didn't
need any editing.  I went back and forth with whether I wanted
to display cruft-o-messages with Iceape or Lynx.  The default
was Lynx.


Cameron


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



Re: "Waiting for root file system..." hang solved

2007-11-02 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Johannes Wiedersich wrote:
>
> Cameron L. Spitzer wrote:
> [snip upgrade instructions]
>
> Thanks for posting your experience! I am sure it will be useful to others.
>
>> You could have a debate about whether this is an installer
>> bug, a kernel package bug, a udev bug, or operator error.
>
> If I understand correctly, you upgraded the kernel and the new kernel
> would not boot. Then it would be a kernel bug.

That was my initial conclusion.  But then I spent some time
googling for the error messages.  A lot of people have had this
same hang, and most of them got there by some other path than I did.
So I think it may be a more general problem than that.

My friend in Los Angeles tried to install Ubuntu for a friend,
and got stuck "waiting for root file system" in the middle of
a fresh install from CD.  When he booted his trusty Knoppix CD
it revealed the root file system was just fine.  I suspect udev
device names are less persistent than we have assumed they are.


> - From the installation/upgrade instructions from sarge to etch I
> remember, that one was supposed to upgrade the kernel and just the
> kernel, then reboot and upgrade other packages. Is this still the case?
> Did you follow the upgrade instructions?

That's what I did.  When I installed an Etch kernel on Sarge, it
pulled in a new libc, locales, and a few other things.  It replaced
module-utils.  I think it replaced devfs with udev.
When I installed a Lenny kernel on a fresh Etch,
it just put the new kernel in along side the old one.  Nothing else
new.

I agree udev is an improvement over devfs or just having all
possible static device nodes.  But would it be unreasonable to
create static device nodes for the devices in the boot path?
Or in /etc/fstab?
Can I do that, or will udev just take them away?

I've read the udev manpages and I just get more and more confused.
It's that old unix documentation canard that "examples will just
limit your creativity."  Udev needs a top-down explanation and an
introductory tutorial with complete examples.  There's a "view
from ten thousand feet" overview (the conference paper), and lots
of details (the manpages), but no bridge between them.


Cameron



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



Mouse + curses (+ vim), was Re: Apt-Get or Aptitude

2007-11-01 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Nate Duehr wrote:
>
> On Oct 29, 2007, at 9:49 PM, Daniel Burrows wrote:
>> I
>> occasionally notice people writing that they just discovered  
>> aptitude's
>> curses interface after using it for ages, so I know that this isn't
>> universally known.
>
>
> I think the niftiest feature (and one that still has me scratching my  
> head as to how you accomplished it) is the MOUSE control in curses  
> over SSH from a WINDOWS box?!  That's amazing.
>
> (In case you're not sure what I mean... get on a Windows box, fire up  
> PuTTY (I'm sure PuTTY is also "helping" in this scenario somehow) and  

I first saw that in the vi clone "elvis."  Shortly after I suggested
it to its author.  But maybe he was already working on it.
vi's "visual" edit commands go [].
He just added "mouse click" to the long list of cursor motion
gestures already available.  So delete from here to there becomes
click d click.  Vim had the same feature within a year.  Put
set mouse=a
in your .vimrc to enable it.  Now vim was already doing something
xterm-like with the mouse.  drag d selects the stuff you dragged over
and deletes it.  If you were already used to that, hold Shift
while you do it.  No-shift and you get the new behavior.
Meanwhile, the curses-based Elvis doesn't have the feature any more.

While you're editing .vimrc, don't forget

set nocompatible
set backspace=indent,eol,start
syntax on

to fix some vi peeves and get color-highlights in many languages
and config files.

Debian-related: Vim features can be selected or deselected at
compile time.  They are grouped into five bundles, ranging from
tiny vim, not much more than Berkeley vi, to huge vim with
the X11 GUI and Perl and Python scripting.  The default vim
in Etch was made with mouse integration turned off.  :-(
Maybe that's why more people don't know about it.
So be sure to install the vim-full package if you want vim
to work right in xterm and PuTTY.  Or compile it from source
with all the defaults.  (you'll need libncurses5-dev)
Works right out of the box, installs politely in /usr/local,
no muss no fuss.

slrn uses the mouse in an xterm too.  BTW colorized ls(1) and
black on white xterm don't play well together.  Try
xterm -bg black -fg white -cr green -sb -sl 900 -font fixed


Cameron



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



Re: Help with Debian Install

2007-10-21 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Ed wrote:
> Hi,
> I downloaded an image called debian-40r1-i386-netinst.iso.  The install
> went fine until I got to the step to 'Configure the Package Manager'.
> When I do this step, it asks if I want to use a network mirror and I
> choose 'yes'.  It then asks for a protocol and I choose 'http' although I
> also tried 'ftp' and it fails also.

Stop right there.  Get a Debian-based live CD.  If the Debian
installer has any chance of working, the live CD will work
all by itself automatically.  There is no point in trying to
do the Debian install if the live CD does not work.
Try this one.  http://damnsmalllinux.org/download.html
It's got most of Knoppix' hardware discovery but the image
is much smaller to download.

When the live CD comes up, get a shell and ping kernel.org.
If that works, cat /etc/resolv.conf and write down the
nameservers it found.  Run ifconfig and write down the IP
address that was assigned to your eth0 or wlan0.
Run route -n and write down your gateway address and netmask.

While you're at it, if The X Window System is working well
with your video card and mouse, copy /etc/X11/xorg.conf
someplace.  One way to do that is to log into a web-based
email and mail that file to yourself.  Finally, run lsmod
and mail yourself the list of modules the live CD
thinks it needed.  If you are really lucky, the live CD
figured out your sound card and sound works.  Try it.
Sound probably won't work out of the box with the Debian Etch
installer, and the live CD has figured out what you
will need to fix.  The answer is in the lsmod output.

Each piece of information you have just gathered is something
I have seen the live CDs do right and the Debian installer
screw up.  Letting the live CD do the work will save you a
*lot* of screwing around.

When you boot the Etch 4.0r1 installer, before it starts
looking for a network mirror, get a shell (F2, enter)
and cat /etc/resolv.conf, and run route -n.  If the
answers are not the same as what you got with the live CD,
that's your problem.  Do the base system install off your
netinst or CD 1 of 21 without the network.  It will
reboot and you can log in.  You'll have to edit
/etc/modules, /etc/resolv.conf, /etc/apt/sources.list,
and /etc/network/interfaces.  Then you can use apt-get
or aptitude and install the stuff you want.


Cameron




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



Re: SAMBA ground-up tutorial?

2007-09-23 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Amit Uttamchandani wrote:
> Sorry to hear that you are having a lot of trouble. I don't have that
>much experience in setting up samba but when I had to set up a small
>samba shared drive I read this document.
>
> /usr/share/doc/HOWTO/en-txt/Samba-Authenticated-Gateway-HOWTO.gz

That's one of the many docs I read which assume you already know
all about MS-Windows SMB networking.
"You must have a fair knowledge about ... SAMBA and Windows
networking and domain controllers"
It refers to "the Samba HOWTO Collection" with a broken link
to http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html
The correct URL is, apparently,
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection
which discusses the Primary Domain Controller in Chapter 4.
It assumes you already know how MS-Windows office LANs do their
authentication and how that relates to shared printers.

Domain security account?
"Manually creating a Machine Trust Account using this method is the
equivalent of creating a Machine Trust Account on a Windows NT PDC using
the Server Manager."  None of the available Windows users knew what
that was about.  "What Makes Samba a Domain Member? Guess! So many
others do. But whatever you do, do not think that security = user makes
Samba act as a domain member. Read the manufacturer's manual before the
warranty expires."  Gee, that helps a lot.

Which is why I'm looking for a tutorial that doesn't assume
that knowledge.

There's a Debian and Windows Shared Printing mini-HOWTO (Dec. '02)
but it doesn't talk about the mysterious proprietary name service.



> This should be installed by default in all debian boxes.

Perhaps it should.  But actually it's in packages doc-linux-html
and doc-linux-text.  Installed, doc-linux-html occupies 60 MB,
so some would argue it should be optional.



Cameron


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



SAMBA ground-up tutorial?

2007-09-22 Thread cls
[This message has also been posted to linux.debian.user.]
I've got a Debian bastion host at a small nonprofit.
Mix of Windoze and Macs on the LAN behind it.
Some of the Windoze boxes have those low-end
printers (Minolta-QMS 1100L etc) that do their
imaging in the driver and will never work on
anthing but Windoze.  We're using CUPS on the
Debian box.  We want to share all the printers
across all the hosts on the LAN.

(At this point someone who thinks he is being
helpful barks "google samba" as if I never thought
of that.)

I've been through every SAMBA howto I can find, and
the manpages, and all of them assume you already
know the ins and outs of Windoze SMB networking.
But nobody here knows anything about it.
The documentation I can find also focuses on
volume sharing.  Printers are an afterthought.

So I wrote a samba.conf and none of the Windoze
boxes can see it with their little flashlights.
Perhaps we have to set up a proprietary name
service called WINS.  But nobody here knows
what that's supposed to look like much less how
to test or troubleshoot it.

Is there a SAMBA tutorial somewhere that
doesn't presume admin's knowledge of
Microsoft SMB networking?  Can anyone who's made this
work recommend a reference?


Cameron


[global]
 bind interfaces only = yes
 hosts allow = 192.168.1. 192.168.2.
 hosts deny = ALL
 interfaces  = eth1
guest account = smbguest
log level = 2
netbios name = FLUFFYGERBIL
socket options = TCP_NODELAY IPTOS_LOWDELAY 

#  What does this do?
   workgroup = ourlan

   server string = %h chico (Samba %v)
#  Where is WINS configured?
wins support = yes
   dns proxy = no
name resolve order = lmhosts host wins bcast
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
security = user
   encrypt passwords = yes
   passdb backend = tdbsam 
   obey pam restrictions = yes
   invalid users = root
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n .
load printers = yes
printing = cups
printcap name = cups
[public]
guest ok = yes
guest only = yes
path = /tmp
read only = no
[homes]
   comment = Home Directories
   browseable = no
   writable = no
   create mask = 0700
   directory mask = 0700
[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no








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



Re: Install help on Zonbu

2007-09-11 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Mikael Rudberg wrote:
>
> I forgot to add that i told grub to install into /deb/sda as well
>
> On 9/11/07, Mikael Rudberg <[EMAIL PROTECTED]> wrote:
>>
>> Hi
>>
>> Im clutching at straws here, i just purchased an Zonbu (mini pc running
>> Via C7/512 MB ram) and i'm trying to install Debian 4.0 on external USB
>> drive.
>> I've prepped an USB stick with the net install image. Boot's from it and
>> installs debian fine from what i can see
>> When i reboot i see that bios detects the USB-HD properlyi

Not really



>> but instead of
>> showing the kernel to boot it shows only the "Mininmal BASH like" version of
>> grub and no selection box.

That means GRUB doesn't see /boot/grub/menu.lst
BIOS launched GRUB, but GRUB is confused about what's where.


>> I tried to reinstall this time manually making the partitions on the
>> USB-HD
>>
>> sda1 /boot  (ext2) 100 MB bootable
>> sda2 /(ext3) 20 GB
>> sda3 /swap
>>
>> Same issue again. tried it a couple of more times and once  i got "Error
>> 18" in GRUB

Chapter 14 of the GRUB manual describes the error codes.
"18 : Selected cylinder exceeds maximum supported by BIOS."

Are you sure your sda1 starts on cylinder 1?  It *is* possible
to install a partition on the wrong end of the drive.
But more likely it's looking for a drive that's not there
any more.

There seems to be some disagreement about which disk is which.
I would try some commands into that funny little GRUB shell.
Try this
   find /boot/grub/stage1
or
   find /usr/lib/grub/i386-pc/stage1
That's the example in the manual.  It looks on every partition
where it recognizes a file system.  Or type
   root ( 
and it will list all partitions that might have boot files.
The tab is for name completion.  It's really handy when you are
trying to type the name of a Debian initrd file.

When it tells you where it
found it, you know what device name you'll need.
Perhaps your net install image was (hd0) when you installed,
and the target drive was (hd1), but now that the net install drive
is gone the target drive is (hd0).
This is a good reason to use file system labels in /etc/fstab
instead of device names.

Notice that all drives are "hd" to GRUB.  It doesn't distinguish
between SCSI (on USB or SATA) and "IDE" (on parallel ATA).
And CDs are beyond its comprehension, alas.

If your BIOS has one of the bugs mentioned in the Chapter 13
description of the "install" command, you'll have to install
with the 'd' option to override the wrong info from the BIOS.





>> I'm at a loss as what can be wrong. I tried to search the net but can't
>> find information that help me out here.

That happens all too often.  Folks are too busy to post the
answer when they figure stuff out.


Cameron


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



Re: why sarge is so noisy

2007-09-07 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Serena Cantor wrote:
> I have sarge, I use it all the time (it's server)
> The machine is my bedroom and scsi disk make noise from time to time (it's 
> read/writing)
>
> which script cause reading/writing? Let's assume it's default installation. I 
> don't start any
> program myself.  

Look in the directory /etc/cron.hourly and the file /etc/crontab.

There is a nightly process which runs find(1) to update the
file used by locate(1).

There is a nightly logrotate(8).

Every time cron(8) does anything as some other user it
adds entries to /var/log/auth.log.  Even if there is
a minus (-) in front of the logfile name in /etc/syslog.conf,
that entry will be flushed to disk.  The minus only
says to wait for the kernel's periodic file system flush
(every 30 seconds?) rather than flushing it as soon
as it's written.

Set your system clock accurately.  Keep a pad of paper and
an accurate clock next to the machine.  Make a note of when
the noises occur.  See if you can find those exact times
in any of the files in /var/log or its sub directories.
(this would be a good time to learn about ls -t and
grep -B 3 -A 3 12:34 /var/log/syslog | less)
Or any time up to a minute
before the noise, in case you are hearing the file system
flush after the event.  Is the system sending
mail to itself, perhaps trying to report some trivial
configuration problem?  Are you receiving mail from cron
or is it just piling up somewhere?  Are files
growing in /var/spool/mail?


Cameron



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



Re: upgrading ubuntu to debian

2007-08-30 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Ron Johnson wrote:
>
> On 08/30/07 14:37, Hal Vaughan wrote:
> [snip]
>>  
>> While it's just a small, niggling detail and may be just semantics, 
>> there is a true root account on Ubuntu that can be used the same as a 
>> root account on any Debian release.  The only difference is it doesn't 
>> have a password on setup.
>
> You've GOT to be kidding...  Right?  Please?

It's basically the live CD copied to hard drive until you
lock it down.  You get a root shell by going

  sudo su -

Same as Knoppix.  Seems like the opposite of how sudo is
supposed to be used.  I think the idea is if you had enough
(physical) access to boot the live CD, you can be root anyway.
My objection is a whole lot of people are gonna grow up
thinking sudo is supposed to be like that.


>
>>   I used:
>> sudo passwd
>> (or maybe it was sudo passwd root)

That's what you're supposed to do before you expose it
to the net.


Cameron



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



Re: SATA vs PATA

2007-08-27 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Douglas A. Tutty wrote:
> On Mon, Aug 27, 2007 at 12:05:42PM +0200, Dan H wrote:
>> Should I go Serial-ATA or good ol' Parallel-ATA? How do the two
>> compare in terms of data throughput and Linux kernel support?
>> 
>
> SATA-I gives 150 MB/s, SATA-II gives 300 MB/s, PATA 133 MB/s.

PATA/133 was a flaky kludge.  It's amazing it worked at
all.  Even more amazing that people got away with cables
over 18" long.  SATA is a far superior interconnect.

The instantaneous peak throughput of the original
(four bytes wide, 33 MHz) PCI bus is 132 MB/sec.  In real life
you're not going to see over 90.  So a SATA-II controller
on a regular PCI card is bottlenecked at the motherboard slot.
(So is 1000BASE-T Ethernet.)  That's one reason "real hardware"
RAID works better than "fakeraid."  
The smallest PCI Express (PCI-E) configuration should do 250 MB/sec
in each direction simultaneously.  A motherboard with PCI-E
designed for workstations may bottleneck at the southbridge.

You'll have to do some research to find a configuration that
can run two SATA-II drives simultaneously at their full data rate.
You'll also have to check around to see if the Linux driver knows
how to run any particular controller in SATA-II mode.
And there are still lots of workstation type motherboards that only
do SATA-I.

PCI-X is a kludge.  I'd avoid it.


Cameron



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



Re: hda: DMA timeout error, is it a problem ?

2007-08-27 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, David Baron wrote:
>
> Can also be the power supply! I had to (temporarily) disconnect one of the CD 
> drives to reduce the load. Not a single WD click-clack or DMA timeout since.

Second that.  I had a customer whose system would reboot if you set a
coffee mug down hard on the table next to it.  Hard drives see
vibration as something their servos need to correct.  It's
a little like noise cancelling headphones.  You can measure
small current pulses into a hard drive if you tap hard on the case.

Replacing his generic Chinese "300 watt" supply with a name
brand "250 watt" supply solved the problem.  I've seen generic
"400 watt" supplies that couldn't deliver 150 watts of
regulated DC.


Cameron



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



Re: How to create like-official CD from list of packages

2007-08-23 Thread cls
[This message has also been posted to linux.debian.user.]


In article <[EMAIL PROTECTED]>, Owen Heisler wrote:
> On Tue, 2007.08.21 10:00, abdelkader belahcene wrote:
>> Thanks for reply,
>> But there is no answer for my questions, I fomulate it in another way:
>> Suppose you have a thounsand packages ( you downloded them because you
>> need them for your own purpose)
>>=20
>> you want to create CD exacly like the Offical CD, same arborescence,
>> pool/main/a, pool/main/b, ... packages and son on,
>> in one word, I need the script ( to customize of course for me) used
>> by the debian  developpers to generate the  CD.
>>=20
>> My goal is, instead of downloaing the 3 debian DVD ( or 22 CD), I
>> create just 2 or 3 cd for our purposes. The second goal is to do this
>> for the testing or sid distro, to get more recent packages.
>
> Have you looked at the debian-cd package?  Perhaps it can help.

I have looked at the debian-cd package.  It might be just a little
bit difficult for someone who has not studied the structure
of Debian to succeed without more specific advice than the
name of a package.  In particular, the README.gz
file mentions, at the end of its "What is needed?" list,
that *you need a Debian mirror*.  It could reasonably be assumed
from abdelkader's question that he does not have one.
He just has a collection of .deb files.  That is, nothing in debian-cd
carries out the work of organizing your .deb file collection
(perhaps found in /var/cache/apt/archives) into the directory
structure found at http.us.debian.org/debian.  Nothing in README.gz
comes out and tells you what to do to create that structure.
Nor does it tell you how much of the mirror is actually
required for the various make targets to work.
Nor does it tell you where to find that information.

I know it is the custom to answer only exactly the question that
was asked, and I know the reason is that answers which are only
puzzle pieces encourage newbies to become self sufficient,
while volunteering additional advice they didn't know to ask for
teaches them bad habits.
But in this case, sending abdelkader to the debian-cd package
is just setting him up for failure.  That's cruel.

So I have some different advice for abdelkader.
1.  Capitalize the leading characters in your name.  Writing
your name all in lower case is an irritating affectation.
And thanks for "arborescence."  I learned a new word I'll
probably use.

2.  Think about what you are actually trying to accomplish.
Maybe you need an actual Debian Mirror to create a variety of
custom distribution disks.  In that case you'll have to dig around,
ask more questions, maybe find answers in the Policy manual
or maybe it's just not documented.
Maybe what you're trying to do doesn't warrant all that work.
Could you get away with tarring up your apt/archives directory
and untarring it on the target machines?


Cameron



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



Re: how to keep eth0 etch0 and not change

2007-08-23 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Michael Kerwin wrote:
> This is a multi-part message in MIME format.
>
> --=_NextPart_000_0026_01C7E5A6.73D59EE0
> Content-Type: text/plain;
>   charset="US-ASCII"
> Content-Transfer-Encoding: 7bit
>
> I am seeing some strange behavior on a debian etch stable computer that I
> just installed using the new debian 4.0 r1 disc.
>
>  
>
> I have the static address set in /etc/network/interfaces for eth0 but then
> when I ran ifconfig it said it was eth9 and it was using the dchp address
> from the server not my static address. So I added eth9 to the
> /etc/network/interfaces for the static address I wanted and when I rebooted
> and did an ifconfig it said it was using eth10 and the dchp address. Why is
> the Ethernet changing? What can I do so I can keep a satic address. I have
> the address I want in the host file also.

I ran into more or less the same thing.  Apparently the issue
is that a fresh Etch install will use udev to assign
the name to the network interface when it is discovered.
The udev mechanism is trying to nail the ethN name to a particular
MAC address.
It adds a line to the file /etc/udev/rules.d/z25_persistent-net.rules
each time it sees a new MAC address.

This was a test system with various hardware under test.
An Ethernet interface (motherboard or add-in card) has a
factory-assigned MAC address.  Each time I tried a new network
card it would add another line with the ethN incremented.

Edit /etc/udev/rules.d/z25_persistent-net.rules and change
the first ATTRS{address}=="00:11:5b:2f:a0:75" (or whatever)
to ATTRS{address}=="??:??:??:??:??:??:"
and see if that stabilizes it.
This will not work if you have more than one Ethernet interface.

This new behavior was documented here
http://www.debian.org/releases/etch/i386/release-notes/ch-whats-new.en.html#s-kernel-udev
The rules file(s) is documented in the udev(7) manpage
and the deamon that edits them is udevd(8).

You will have a similar but more alarming problem with
hard drive partitions.  In the Olden Days you could call them
by their /dev names in /etc/fstab.  But those names are
no longer stable.  When you create file systems and initialize
swap partitions, you should give each a unique volume label,
and call them by label in /etc/fstab.  This is a feature, not
a bug.  It lets you move your drives around without having
to edit /etc/fstab again.


Cameron




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



Re: Iceweasel file associations

2007-08-13 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Andrei Popescu wrote:
>
>
> On Sat, Aug 11, 2007 at 10:14:20PM +, Steven wrote:
>=20
>> How can I change this behavior to "Just show me the $#%*'in file as plain=
>=20
>> text in a browser tab"?
>
> This was discussed just recently on this list.
>
> http://lists.debian.org/debian-user/2007/08/msg00097.html

It was, but the OP in that thread never really got an answer
to his question.  Several people told him other ways to look
for the info from the file he mentioned as an example.

"How do I get Iceweasel to respond correctly to text/plain?"
   "install changelog"
   "subscribe to debian-devel-changes"
   "google for some extension whose name I forgot."



Cameron


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



SMTP AUTH, TLS, simplest way?

2007-07-27 Thread cls
[This message has also been posted to linux.debian.user.]

I've got Postfix with amavis-new and Spamassassin,
and my LAN users access email via Dovecot's IMAP/S.
All working well, using the Etch packages.

Now I'll need to support a couple of mobile users.  They'll
be connecting at insecure wi-fi hotspots, and need to
send through my Postfix.  Typical windows and Linux clients:
MS-OE, Thunderbird, etc.

Packages installed include
 libssl-dev libssl0.9.7 libssl0.9.8 openssl ssl-cert
 libgnutls-dev libgnutls11 libgnutls13
 dovecot-common dovecot-imapd dovecot-pop3d
 postfix
 libsasl2 libsasl2-2 libsasl2-dev libsasl2-modules sasl2-bin
 

I made a local cert and key with openssl, and tested
them.  The relevant stanza from master.cf is

submission inet n   -   n   -   -   smtpd
  -o smtpd_use_tls=yes
  -o smtpd_tls_auth_only=yes
  -o smtpd_tls_key_file=/etc/postfix/postfix_private_key.pem
  -o smtpd_tls_cert_file=/etc/postfix/postfix_public_cert.pem
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
  -o  smtpd_sasl_security_options=noanonymous
  -o  broken_sasl_auth_clients=yes
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject

When I send through an SMTP+TLS client, Kmail, this appears in
the Postfix log:


Jul 27 10:22:00 hostname postfix/smtpd[4892]: warning: smtpd_sasl_auth_enable 
is true, but SASL support is not compiled in
Jul 27 10:22:00 hostname postfix/smtpd[4892]: connect from 
myotherdomain.org[66.159.nnn.nnn]
Jul 27 10:22:01 hostname postfix/smtpd[4892]: lost connection after UNKNOWN 
from myotherdomain.org[66.159.nnn.nnn]
Jul 27 10:22:01 hostname postfix/smtpd[4892]: disconnect from 
myotherdomain.org[66.159.nnn.nnn]

The error dialog from Kmail says:

Sending failed:
Your SMTP server does not support authentication.
The server responded: "5.5.2 Error: command not recognized"
The message will stay in the 'outbox' folder until you either
  fix the problem (e.g. a broken address) or
  remove the message from the 'outbox' folder.
The following transport protocol was used:
send via TLS submission on hostname

Obviously I'm missing something.  My first thougth was "get SASL support,"
but I don't see a separate postfix package for that.  postconf -a says
  cyrus
  dovecot

postconf | egrep '(^tls|^smtpd_tls|smtpd_sasl)' says
smtpd_sasl_auth_enable = no
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks = 
smtpd_sasl_local_domain = 
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_tls_CAfile = 
smtpd_tls_CApath = 
smtpd_tls_always_issue_session_ids = yes
smtpd_tls_ask_ccert = no
smtpd_tls_auth_only = no
smtpd_tls_ccert_verifydepth = 5
smtpd_tls_cert_file = 
smtpd_tls_dcert_file = 
smtpd_tls_dh1024_param_file = 
smtpd_tls_dh512_param_file = 
smtpd_tls_dkey_file = $smtpd_tls_dcert_file
smtpd_tls_exclude_ciphers = 
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_loglevel = 0
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_exclude_ciphers = 
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = no
smtpd_tls_req_ccert = no
smtpd_tls_security_level = 
smtpd_tls_session_cache_database = 
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_wrappermode = no
tls_daemon_random_bytes = 32
tls_export_cipherlist = ALL:+RC4:@STRENGTH
tls_high_cipherlist = ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH
tls_low_cipherlist = ALL:!EXPORT:+RC4:@STRENGTH
tls_medium_cipherlist = ALL:!EXPORT:!LOW:+RC4:@STRENGTH
tls_null_cipherlist = !aNULL:eNULL+kRSA
tls_random_bytes = 32
tls_random_exchange_name = ${queue_directory}/prng_exch
tls_random_prng_update_period = 3600s
tls_random_reseed_period = 3600s
tls_random_source = dev:/dev/urandom

/etc/postfix/sasl/smtpd.conf contains:
# Global parameters
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN


So what did I miss?



tx
Cameron


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



Iceape chokes on PDFs

2007-06-27 Thread cls
[This message has also been posted to linux.debian.user.]

After I dist-upgraded sarge to etch, I switched from
the Mozilla binary Seamonkey to Etch's Iceape.
When Seamonkey got a PDF, it would open a dialog
to open with Kpdf or save.
Iceape just displays an empty page.  The title
bar says
.pdf (application/pdf Object) - Iceape

In Preferences, under Navigator Helper Applications,
application/pdf says When encountered, Open these
files with kpdf %s.  Editing, I see it's really
/usr/bin/kpdf %s.  But when I click OK, I get a Warning
dialog.  "? Iceape can handle this type internally.  For
such types, a Helper Application will only be invoked
if the server requests external handling."

Obviously, Iceape can not "handle this type internally"
nor would I want it to.  How do I disable this brokenness
and restore the Mozilla functionality?


Cameron



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



limiting monthly network traffic

2007-05-25 Thread cls
[This message has also been posted to linux.debian.user.]

I'm moving my colocated Debian server to a place with
high overage charges.  My network link will carry
about 200x my bandwidth allocation for the month.
The new bandwidth allocation is about 8x what I've been using.
But if I get slashdotted and have a 10x month, it will
cost too much.
What's the Debian way to monitor total network traffic
and throttle down if I get too near the monthly limit?

Thanks

Cameron




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



vim crash #289188 etch to be fixed?

2007-05-25 Thread cls
[This message has also been posted to linux.debian.user.]
The bug described at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289188
makes vim practically unusable.  The bug says
fixed in 1:7.0-164+1
The version in etch is 1:7.0-122+1etch2
and it's broken.

The upstream version is 7.1 and its release
note says "fixed crashes."
I built it from source and it works fine on etch.
How would I find out if the fix is being backported
to the etch package?


Cameron




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



Re: I don't understand the new aptitude

2007-05-23 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Dan H wrote:
>
> (...and I just noticed I had to copy that by hand because aptitude
> --and only aptitude!-- seems to disallow copying text from the xterm
> it's running in! What kind of sadism is that?)

Some applications use the alternate screen in an xterm,
and once they're in it they take over the mouse.
slrn and vim do that, for example.  In those two, holding
the shift key disengages their hold on the mouse,
so you can use it for xterm select and paste.
Try shift and see if your xterm behaves better.

Vim integrates the mouse into the vi visual edit
cursor motion commands.  But on top of that it's
also doing its own peculiar select and paste.
(This is if you set mouse=a.)
Took me a while to get the hang of it.
It's not your father's vi, as they say.


Cameron




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



Re: Newbie help how to enlarge root partition

2007-05-02 Thread cls
[This message has also been posted to linux.debian.user.]
 "John Fleming" <[EMAIL PROTECTED]> wrote:


> I've looked at fdisk and parted, but I need help.  Do I need to start
> over copying my 40GB HDD to a properly-partitioned 160GB HDD, or can
> someone give me detailed instructions to expand my 40GB root
> partition to use the available free space on the new drive?
> Disk /dev/hda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/hda1   *   1480138564001   83  Linux
> /dev/hda248024863  498015f  W95 Ext'd
> (LBA) /dev/hda548024863  497983+  82  Linux
> swap / Solaris

The question, as posed, makes no sense.  Do you have a 40 GB
drive and you're considering buying a 160GB drive?
Or do you already have a 160 GB drive?  If it's the
latter, what's the other 120 GB being used for?

I'm going to GUESS the remaining 120 GB is a Windows-95
partition you don't want any more, but you just forgot
to include it when you copied the fdisk listing.
Maybe the unmentioned 120 GB partition is /dev/hda6.

If that's the case, the easiest thing to do is make
a new file system on the 120 GB partition and move
your /var and /home directories there.  The partition where
/ and /usr are is quite large enough.  Again, I'm GUESSING
because you didn't state the problem clearly, but I've
never needed more than 16 GB for /usr (well, not counting
/usr/src on a development machine), so I think you
can leave that where it is.  Please read the manpages
for each of the following commands and understand what
they do.  Read the fstab manpage too.
The bash manpage explains what && and >> do.

Log in as root on a console.  Your X Window System
session may not survive this operation, and you
do not want it interrupted in the middle.

One more caution.  Newbies for some reason seem to not
notice spaces in commands.  Spaces matter.  Don't
leave them out.  Don't put in extra ones any old
place.  If there are no spaces after a minus or
around an equals sign, it's on purpose.
If there are spaces after the name of a command,
or between arguments to a command, you need them.

  telinit 1   # stop deamons that write logs
  cd /
  du -s *
  mke2fs -L overflow -j -c /dev/hda6
  mkdir hda6
  mount -t ext3 -L overflow /hda6
  cp -a home var hda6
  mv home home.old  &&  ln -s hda6/home home
  mv var var.old  &&  ln -s hda6/var var
  echo LABEL=overflow /hda6 ext3 defaults 0 2 >> /etc/fstab
  rm -rf home.old var.old

Now you've copied /var and /home to the big partition.
You might want to postpone the rm -rf until after a
reboot, to be sure you don't need the originals (*.old)
any more.

Notice "overflow" could have been on a second drive.

Now please read Eric Raymond's famous essay
"How to Ask Questions the Smart Way."  Google for it.
Don't ask "how do I enlarge a partition" when that's
not the real problem.  Allow for other solutions by
stating the actual problem, not suggesting the first
solution you can think of.  "I installed my whole
system in one partition and it's filling up.
What should I do?"


Cameron


 
  


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



Re: GRUB launch a CD?

2007-04-30 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Roby wrote:
> [EMAIL PROTECTED] wrote:
>> 
>> I'd like to be able to test and demonstrate live CDs.
>> Is there a way to tell GRUB to boot a CD?
>> 
>> Cameron
>
> Yes there is!  Look here:
>
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg06678.html

That was just *too* easy.  For the record:
mount Debian install CD at /media/cdrom0.  Copy image
to boot directory.  Copy memdisk from syslinux.
Add to /boot/grub/menu.lst.  Thank you!

  dd if=/media/cdrom0/install/sbm.bin of=/boot/sbm.img bs=1k count=32
  cp /usr/lib/syslinux/memdisk /boot
  cat >> /boot/grub/menu.lst <

GRUB launch a CD?

2007-04-27 Thread cls
[This message has also been posted to linux.debian.user.]

I've got an old Compaq laptop.  It can boot from hard
drive or floppy but not from CD.  I installed Etch
by moving its hard drive to another machine
temporarily.  The CD drive is fine.  The BIOS is
just too stupid to boot from it.

I'd like to be able to test and demonstrate live CDs.
Is there a way to tell GRUB to boot a CD?
Sections 3.4 and 11.1 of the GRUB manual say to
use device name (cd) or maybe (cd0) but
that gives an Error 23: Error while parsing number.

Letting the grub shell complete "root ("
I get Possible disks are:  fd0 hd0.  No CD.
I get the same on a system that *does* boot CDs
properly.
I tried "chainloader /usr/lib/grub/i386-pc/stage2_eltorito"
but that's an Error 13, Invalid or unsupported executable
format.



Cameron






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



SEGV and ABRT with vim in mailx

2007-04-25 Thread cls

I still use mailx as my main mail user agent, with
vim as VISUAL (v and ~v commands) editor.  It's efficient,
with helpers like metamail, and multiple xterms.
I use vim's "set mouse=a" feature.  vim catches mouse
input, unless shift is down, where the xterm gets it
as usual.

Since upgrading Sarge to Etch, vim has been exiting
with SEGV or ABRT signals.  It usually saves an up to date
edit buffer.  It leaves mailx hung, no prompt, no response
to keystrokes.  Keystrokes aren't even echoed.  If I kill
mailx, it exits, and I sort-of get the xterm back, but the
mouse is still talking vi unless shifted.  Unshifted mouse
clicks turn into escape sequences sent to whatever
is running in the xterm.

Seems random.  Always happens in visual edit mode, in
response to a change or delete command.

I suspected vim, so I went upstream and made a vim-7.0
from source.  It's got the same problem.

How to track this down?  Not much point in reporting a bug
if I don't even know what package it's in.
I guess I'll try some other terminal
for a while and see if that matters.


Cameron







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



Re: "udev" trouble solved, device names, udev exonerated

2007-04-16 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> [This message has also been posted to linux.debian.user.]
>
> I've revved four machines from Sarge to Etch now,
> following the release notes and letting it replace
> devfs with udev.  All worked fine.
>
> The fifth machine [with an empty PCI card disk controller] was a mess.
The main drive's name changed from hda to hde.
Other drives changed, too.


> Begin: Waiting for root file system...
>  (here it hangs for about a minute)
> Done.
>Check root= bootarg cat /proc/cmdline
>or missing modules, devices: cat /proc/modules ls /dev

The advice from Andrew <[EMAIL PROTECTED]>
and Kevin <[EMAIL PROTECTED]> was valid.

Apparently what really happened here is a change in
what the kernel does with the information from BIOS,
somewhere between kernels 2.6.8 and 2.6.18.  The empty PCI
card wasn't being counted before, and now it is.
As Douglas pointed out, the change to udev was only
a coincidence.
Andrew suggested removing the unused card, a quick,
temporary fix.  Kevin suggested locking down the
partition assignments using the UUID associated with
a partition.  That works, and survives adding and
removing controllers.  You can also give the file
systems labels with e2label(8).

So it seems device names can no longer be relied on
to stay the same when you add in new devices, and the
workaround is to use labels and let the kernel search
for them at mount time.  It seems to me this will be
a problem until the various distributions' installers
start using file system labels or UUIDs instead
of device names in /etc/fstab and /boot/grub/menu.lst.
It would also be a problem if you have devices you
don't want the kernel searching in.


# The /etc/fstab syntax is
# partition mountpt FStype  options  dump pass
LABEL=my-pata-root  /  ext2  defaults,errors=remount-ro  0 1


# The /boot/grub/menu.lst syntax is
title   2.6.18-4-686 using labels not /dev/names, udev not devfs
root(hd0,0)
kernel  /boot/vmlinuz-2.6.18-4-686 root=LABEL=my-pata-root ro devfs=nomount
initrd  /boot/initrd.img-2.6.18-4-686


Cameron


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



udev trouble

2007-04-11 Thread cls
[This message has also been posted to linux.debian.user.]

I've revved four machines from Sarge to Etch now,
following the release notes and letting it replace
devfs with udev.  All worked fine.

The fifth machine was a mess.  It's got two
PATA drives, on the first PATA channel on a
motherboard with two unused SATA sockets.
There is also a disk controller with two
PATA channels, unused, in a PCI slot.

Under my static device directory:
  /dev/hda  my Debian workstation
  /dev/hdb  archive drive
  /dev/hdc  DVD player
  /dev/hdd  CD writer
  /dev/hd[e-h] test drives that come and go
  /dev/sd[ab]  SATA drives

When I boot linux-image-2.6.18-4-686, it sees
  /dev/hde  my Debian workstation
  /dev/hdf  archive drive
  /dev/hdg  DVD player
  /dev/hdh  CD writer
and panics, no /sbin/init found.  Apparently
udev thinks the SATA drives aren't SCSI, and counts
the addin card first.  So I changed
the partition names in /etc/fstab to match.

Now the boot stops shortly after listing the
partitions and NIC

ata2: SATA max UDMA/133 cmd 0x...
scsi0: ata_piix
hde: ... (the 160 GB drive)
hdf: ... (the 60 GB drive)
hdg: ... (the 48x DVD)
hdh: ... (the 52x CD)
eth0: RealTek RT8139...

Begin: Mounting root file system
Begin: Running /scripts/loca-top
device-mapper initialized
Done.
Begin: Waiting for root file system...
 (here it hangs for about a minute)
Done.
   Check root= bootarg cat /proc/cmdline
   or missing modules, devices: cat /proc/modules ls /dev
Alert! /dev/hda1 does not exist.  Dropping to a shell!


Busybox...
/bin/sh: can't access tty: job control turned off.
(initramfs) 


This happens with either version of the fstab.  Changing
the root device on the kernel command line has no effect.
(Apparently root=/dev/hde doesn't survive initramfs, where
root is /dev/ramdisk or something.)
So I went back to my old kernel.  But I'm going to have
to get udev working eventually.  I've read the udev manpage
and the three unofficial howtos.
Apparently I'm going to have to dig the serial numbers
or some other unique identifier out of each drive
and figure out how to write rules to force udev to
name the drives the way they have been since 1991.

If this had happened with a paying customer I would have
been in real trouble.
Has anyone else seen this problem?  Is it the reason
there's been so much resistance to udev?
How did you nail down your device names?


Cameron



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



DSL+PPPoE with Efficient Networks LANL card (legacy SBC)?

2004-11-21 Thread cls
[This message has also been posted.]
A friend of mine has residential DSL service from SBC.
I can move him from MSFT to Debian if I can get his
DSL service going.

Apparently he was an early adopter, and let the telco
install and configure his service, and it took them
nine house calls to get it working on Windoze 98!
This is the legacy SBC service, from before they
outsourced their residential ISP operation to Yahoo.
(Their current service uses a normal Ethernet card
and external DSL box, and their outsourced tech support
had never heard of this setup.)

They installed an unmarked PCI card which reads
"Efficient Networks (LANL)" in lspci.  It's got one
green LED and an RJ11 phone jack.  There is no external
DSL modem/bridge/router; this thing just hooks up to
the phone line upstream of the lowpass filter for
the POTS phone.  It came with a PPPoE client called
"EnterNet" and put some kind of ATM module in the Windoze
TCP/IP/PPP stack.  

Any idea what this thing is?  Should it work like
the Speedstream 3060 et al?  Should it be recognized
by some Ethernet driver?  Do we have to scrap it and
get a normal Ethernet card and external DSL box?
That would be bad.
TIA.  Will post the solution.
If you reply off-list, delete the "-du" from my address.


Cameron



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



Re: Knoppix question [HD install inflexibility]

2004-10-29 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, Paul E Condon wrote:
> On Fri, Oct 29, 2004 at 10:46:07AM +0800, Lian Liming wrote:
>> Hi all,
>>I wonder if i can install knoppix directly to the hard disk?
>>I heard that the knoppix is based on debian system. So after 
>> installed the knoppix to hard disk, can i use the "apt " package tools 
>> on it?
>>Thank you for suggestions!  
>> 
> Yes, you can install Knoppix on hard disk, and make it bootable.
> The instructions as to how to do it are on the Knoppix disk somewhere.
> I remember seeing them, but don't remember exactly where.
> Consider, instead, installing the real Debian. Many people of only modest
> skill have done it, myself included.

In a pinch, you can install Knoppix to HD.  Get a root shell
(it's under the fat penguin on the KDE panel) and type
knoppix-installer

In older versions of Knoppix, that command was knx-install.

Be warned, knoppix-installer is not very flexible.  It will
install your whole system in two partitions: one file system
and one swap.  And that setup is buried in the initial ramdisk
image.  Correcting that problem has turned out to be very difficult,
and I haven't gotten any answers about how to do it from
the Knoppix.net forums.  (How do you make a working Knoppix installation
with /usr on its own partition?)  If you want a Debian system that will
be easy to maintain and configure, install official Debian.


See http://gandhi.greens.org/~cls/knoppixsheet.pdf
and http://gandhi.greens.org/~cls/knxcd.pdf.
The latter is in the sleeve when GP of Santa Clara County
distributes Knoppix.  Fold carefully and it will just fit
in a CD jewel box.


-- 
Cameron
http://web.greens.org/~cls/linux/knoppixoffer.shtml


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



Re: Is there a stable mail client for linux?

2004-10-01 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Brian Nelson wrote:
> On Fri, Oct 01, 2004 at 10:02:52AM -0400, Ed Sutherland wrote:
>> Is there a secure, solid and stable e-mail client built for linux? 
> 
> No.  Every mail client in existence is utter crap, including mutt and
> gnus.  The best you can hope for is something that is barely tolerable,
> and I'm still searching for it...

I've been using mailx since 1985.  I've tried mutt, mh, Pine,
Elm, Netscape, Kmail, Xfmail, Evolution, Balsa, and more.
I keep returning to mailx.

Granted, for mailx to achieve the usability
of a "modern" MUA you need to run it in a window system,
and learn to use its "v" command, and set your environment so
"v" brings up *your* favorite editor, and you need a shell
in another window where you can run metamail or munpack
on the temporary file that "v" creates.
And it's nice to have a desktop accessory like Klipper to
ask you what you want done with the URL you just selected.
You'll need external programs like fetchmail and procmail
to filter and deliver locally, and maybe muttprint to pretty-print
that which needs it.
Now and then you might have to bust up a really big
mailbox file with formail -s dd of=tmp/$FILENO.

But we *have* all that stuff.

Gripes: it's been twenty friggin years and the "Mail Reference
Manual" mentioned in the manpage still isn't distributed with
the program.  Vi (Elvis and then Vim) became mouse-aware years
ago but mailx still isn't.  And it's so inconvenient to type

  1G!Ggpg --clearsignpassphrase

that I only sign the most important messages.
And I'd really like more control over my "From:" line.

Give mailx another look.  Millions of little tools that each
do one thing really well beats a monolithic "user friendly"
blob every time.


Cameron



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



Re: BIG mail box...

2004-09-20 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, Grant wrote:
> Hey!.
> 
> I setup qmail and courier imap last night... i also installed 
> squirrelmail... which works fine! IF i have small mail boxes...
> 
> Ps - there is abount 4000 mails in the box...

Do you expect large mailboxes to be an ongoing issue?
If not, use mailx to split the mailbox file, and move on.


mailx -f /path/to/bigfatmailboxfile
s 1-1999 /path/to/fragment1
s 2000-4000 /path/to/fragment2
d 1-4000
q


Sometimes the oldest tools work best.


Cameron


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



Re: Debian WiFi card recomendations please

2004-04-05 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, Ben Edwards (lists) wrote:
> I am sure I have asked this before but got no response.  I simply would
> like to know which 802.11 a or g cards work with minimum disruption to
> ones social life (i.e. easy as possible to set up).

You might be disappointed with 802.11a.  It's not upward-compatible
to 802.11g, nor is it compatible with common 802.11b hot spots.


> I am using Debian with a 2.4.18 kernel on my PC (which I want a PCI
> card) and am also running a laptop, which I think has a smiler kernel
> (its actually set up by using the hd install from knopix).
> 
> I would also be interested to know if there is anything that works with standard 
> sarge install (i.e. preferably something sarge can probe and use during a 
> netinstall).

I just picked up a Belkin F5D6020 ver.2 card (802.11b PC-Card) at
surpluscomputers.com for $20.  It uses an Atmel chip with no driver
in linux-2.4.25.  However, there was a well-packaged driver in
source form on Atmel's Web site, mentioned in the manual that
came with the card.  It built without errors and loads and
runs with no problems.  You'll need kernel source.
They had a PCI card with the same chip, too.


Cameron
http://web.greens.org/~cls/linux/knoppixoffer.shtml


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



Re: Debian dedicated hosting

2004-01-20 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, Setu, Prem wrote:
> Hi
> 
> I am tring to know how reliable this is. Does anyone know ?
> http://www.serverbeach.com/catalog/bargain.php?os=debian

Please look at
http://www.spamhaus.org/sbl/listings.lasso?isp=serverbeach.com

SMTP clients (senders) in Serverbeach IP space are not allowed 
to send to my servers.

That is because Serverbeach hosts spammers and ignores complaints.

I am not alone.

If you just want cheap connectivity they might be okay.
Anybody might be okay.  But if you care about not being blocked
because you're stuck in a spammy neighborhood, you might want
to look elsewhere.  Please don't support the companies that
are destroying the SMTP email system.


Cameron



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



Re: Comment on HP printer working on Debian 3.0

2003-12-20 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, Stephen Liu wrote:
> Hi folks,
> 
> I am looking for an economical printer for printing documents. The
> printer shall work on Debian 3.0 OS. Some shops recommend HP Deskjet
> 3550 with USB plug.
> 
> Any folk has experience on the abovementioned printer. Any comment or
> another suggestion are welcome.

I just got a used HP Laserjet 6L on Ebay for $65+shipping.
It needed a cartridge.  I've had poor luck with "rebuilt"
so I got a new one at Fry's for $70.  Works great.
Fully supported by dvilj4 (in Debian package tetex-bin) and gs.
Inkjets suck.  Don't get one unless you really need color.

Cameron


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



Re: man files to text editor

2003-12-17 Thread cls
[This message has also been posted to linux.debian.user.]
In article <[EMAIL PROTECTED]>, Lou Losee wrote:
> * Gruessle <[EMAIL PROTECTED]> [2003-12-17 12:21]:
>> 
>> Is there a way I can open man files in a text editor.
>> I like to print one but have not configured my printer jet.
>> So I will email it to my other pc.
>> 
> Try man xxx | col -b > text-filename
> 
> it will give you a text version of the man page.

That will work for small manpages.  But you will not like
what it does for big ones.  Here is a better way.

1.  Find the manpage source.

$ whereis bash
bash: /bin/bash /etc/bash.bashrc /usr/share/man/man1/bash.1.gz

2.  Typeset it in Postscript.

# apt-get install groff gs gv
$ zcat /usr/share/man/man1/bash.1.gz | groff -Tps -mandoc - > bash.1.ps

3.  Preview the Postscript.  Nice, eh?

$ gv bash.1.ps

4.  Make a PDF so you can print on MS-Windows, or just
send it to the printer.  (I have a Laserjet 4.  Maybe gs
has a driver for your printer.  Try "echo devicenames == | gs")

$ gs -sDEVICE=pdfwrite -dBATCH -dNOPAUSE -sOutputFile=bash-1.pdf bash.1.ps
$ gs -sDEVICE=ljet4 -dBATCH -dNOPAUSE -sOutputFile=/dev/lp0 bash.1.ps
$ rm bash.1.ps

Notice the MS-DOS friendly PDF file name.



Cameron


 


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



Re: Query

2003-11-29 Thread cls
[This message has also been posted.]
In article <[EMAIL PROTECTED]>, dhiraj kiran wrote:
> Hello,
> I have a query pertaining to Debian Linux
> installation. 
> For the complete installation of Debian Linux(on line
> installation), is it a must that I have a LAN internet
> connection? The installation manual clearly indicates
> that the essential prerequisite for installation is
> having a network card.  Can I do the installation
> through a dialup connection, since I do not have an
> ethernet(n/w) card and mine is a standalone PC?

I've done it.  You can do it if you're patient.

The main issue is the security.
If you install from a 3.0r1 CD set, or one of the
network install ISOs you can find on line, you will
have a system with known security holes.  If you
connect it to the Internet to pull down the rest
of the system, crackers can find you before you've
got the security upgrades.  Just don't install any
servers and you'll be okay.  No sshd, no httpd,
no named, no ftpd.  You will have to install an email server
(exim) because other stuff depends on it.  Just
comment out its line in /etc/inetd.conf and stop
the deamon (type "/etc/init.d/exim stop") before you
go on line and you'll be fine.


Cameron


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



Re: splitting mbox files

2003-11-27 Thread cls-du

For a screwy format like mbox, use a program designed to deal
with the screwy format.  Try something like this.

  mkdir tmp
  cat bigfatmboxfile | formail -s sh -c 'cat > tmp/$FILENO'

Formail is one of those programs that keep getting more
versatile as you learn more about them.  It's in the procmail package.



Cameron


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



Re: Any tool for access NTFS partition of damaged hard drive

2003-11-26 Thread cls-du

"Iago Sineiro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> Hi.
>>
>> I have a hard drive that is damaged and the BIOS can't recognize it. Could I
>> access using some tool of Linux?

"Haioken" wrote:
>Not if the bios can't recognize it.
>There is very few pieces of software in existance that will help you, and
>most of them cost the earth, Such as "Microscope".

That depends on why the BIOS doesn't see it.
If the drive has completely failed, it could be nothing can save it.

But if you're really lucky, the failure is related to the high speed
cable interface.  In that case, BIOS might not see it, but
Linux might do okay.  I have a PC with a particular Award BIOS
version that can't see the hard drive at all.  I boot Linux
from a CD and it works fine.  I used to have a broken 1 GB IBM
drive that no motherboard BIOS could see, but Linux could see
it just fine when it was on a Promise 206xx card.
Linux can see drives that some BIOSes can't.

First, turn *off* automatic drive detection and sizing in the BIOS.
Define the drive manually.  Otherwise the BIOS might turn off
the interface in ways Linux doesn't know how to turn back on.
If you've been using an 80-conductor cable, try a 40-conductor
cable.  That will eliminate the Ultra-DMA 66/100/133 operating
modes.  If you've got another drive on that cable, move the
bad drive to its own cable.


Cameron





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



Re: Holy Spam!

2003-10-03 Thread cls-du
I read this "list" via Newsguy.com.  I subscribed, to get 
posting rights, but the address forwards to /dev/null.
Newsguy filters out all the spam.

I have a large spam blocking list,
http://www.greens.org/about/r.txt (tcprules format)
and yesterday I blocked a big chunk of Global Crossing,
because their downstreams send me so much spam and they
ignore all complaints.  I urge others to do the same.
(Frankly I don't believe GBLX even *has* an abuse dep't.)
But it turned out there was something called
murphy.debian.org in there, which needed whitelisting.

I tried reading this mailing list with an email client.
Had to unsubscribe after a few hours.


Cameron



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



patents, Re: Multi-user Debian

2003-09-28 Thread cls-du
"csj" wrote:
> Just because something's obvious doesn't mean it can't be
> patented.

That's true today, but only because the USPTO is broken.
Long ago, when they were doing their job, the rules were:
1.  No prior art
2.  Not "obvious to anyone skilled in the art"
3.  Useful and valuable.

#2 meant you couldn't patent routine solutions to common
problems, only truly ingenious ones.  Cleverness was
subject to the "reasonable person" test.

#1 meant you couldn't patent something that had already
been described by someone else, but it also meant
you couldn't patent something you observed in nature
or in human culture.
That meant, among other things, mathematical algorithms
couldn't be patented, because mathematics are discovered
in nature, not invented.  It also meant biological
features such as genetic expressions.  This rule 
was reversed when the courts added a new category,
the "use patent", where you patent *the use of* something
found in nature.  Somehow prior art was overlooked
in use patents, and it is now possible to observe
primitive cultures using some herbal remedy they have
been using for hundreds of years, and run home and
patent the use of that herb to treat the same malady.

It's completely out of control.  Be afraid that someone
will patent the act of typing on a keyboard, or
of breathing in and out, and try to charge you a royalty.


-- 
Cameron
US Patent #5,663,634



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



Re: Internet Access for Linux?

2003-09-25 Thread cls-du
>[NetZero] say Windows or Mac are required.

Then boycott them for being Linux-unfriendly.
There *are* MS-Windows-only ISPs.  They are the ones using
unmaintained remote access boxes that are compatible with
Microsoft's broken PPP but not with standard PPP.
It's got nothing to do with whether they send you a CD
with a customized Web browser on it.

I got a $6/month Allvantage.com account.  The email they
sent assumed I had Windows 98, but the settings were
complete enough for Linux: DN servers, SMTP and POP3 servers.
Works fine.  Here's a PPP chatscript for them.

TIMEOUT  75
ABORTBUSY
ABORT"NO CARRIER"
ABORTVOICE
ABORT"NO DIALTONE"
""   \p\p\pATZ
OK   \p\p\pATH
OK   \p\p\pATDT5191182
ogin:\p\p\p[account [EMAIL PROTECTED]
word:\p\p\p\q[dial-up password]

You have to look up your local dial-up number on their Web site.


Cameron




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



Re: Recommended free secondary DNS?

2003-09-20 Thread cls-du
>> Can someone recommend any free secondary DNS services?
>> I've used Granite Canyon but need others.

Granite Canyon can be tricky.  I've found NS2 doesn't work,
for years and years and years, but they require it be
"advertised" in an NS record.  Therefore:
1.  Put NS1 in your domain registration.  If you need another,
list NS3.  But there is no use telling the world to look for
you via NS2 because it will just time out.
2.  to satisfy the NS2 advertisement requirement, define
a resource record of type NS but make it refer to a
subdomain such as bogus.example.net (where your domain is
example.net of course) and define RRs for NS1 and NS3 that work.
In a BIND zone file, for example:
@   IN NS ns1.granitecanyon.com.
bogus   IN NS ns2.granitecanyon.com.
@   IN NS ns3.granitecanyon.com.


> http://www.twisted4life.com are very good.

Meanwhile, I have had great success with Zoneedit.com
and Mydyndns.org.  The latter isn't free, but they have
a huge well-run infrastructure and they donate $Ks to the
free software movement.  I put my most important domains there.
BTW Pair.com donates to FS movement too.

Also I have had good results with registrars Stargateinc.com
and Gandi.net.  If you register with them you get "free"
secondary DNS.

Ob-Debian: If you're running Debian's bind9, don't forget to change
the rndc authentication string.


-- 
Cameron
http://greens.org/~cls/



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



Re: font fix found, but how to make it stick?

2003-09-02 Thread cls-du
I think I have a related problem.

Invoking acroread on my (woody) laptop, I get an error message
"Warning: charset of fontList (ISO10646-1) does not match locale (ISO8859-1)."
Acroread displays little dotted boxes instead of characters in
its menu bar.
But if I use ssh -X to log into the laptop from my (woody) desktop,
the laptop is able to correctly run acroread on the desktop's display.

Interestingly, /etc/locale.gen on the desktop (acroread OK) is empty
except for comments.  /etc/locale.gen on the laptop (acroread broken)
contains two lines:
en_US ISO-8859-1
en_US.UTF-8 UTF-8

So it appears "locales" is not compatible with acroread for
some reason.  Can I safely remove and purge "locales"?
Will it make any difference?
Is "fontList" documented somewhere?

Google shows 
http://lists.debian.org/debian-user/2002/debian-user-200203/msg01994.html
same question, went unanswered.

I went "upstream" and got 
http://download.adobe.com/
 pub/adobe/acrobatreader/unix/5.x/linux-507.tar.gz
and it's got the same problem.



TIA

Cameron


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



Re: Moving /home to its own partition.

2003-08-03 Thread cls-du
>Suppose Debian was installed on hda with only two partitions, swap 
>and / and you have accumulated much data in /home.

>Later, you add another hard drive, hdb, and decided to place swap 
>and a separate /home partition on this new drive while keeping / on 
>the original hda.

#  Get a root shell.  Commands follow.  This is a comment.

#  New drive?  Unsure of how it was handled?  Scan it for defects.
#  This gives the drive a chance to swap bad blocks out for spares
#  before Linux ever sees them.  It takes a while.  Overnight for
#  a modern large drive.
badblocks -w /dev/hdb

#  In a hurry?  This is faster, not as thorough.
badblocks /dev/hdb

#  Create a partition table.  Rumor has it the first cylinders are
#  the fastest (maximizes MS-Windoze performance) so put swap there.
cfdisk /dev/hdb

#  Create file systems and swap area.
mkswap -c /dev/hdb1
mke2fs -c /dev/hdb2

#  Activate new swap area just to see if it works.
#  Mount new /home temporarily.
swapon /dev/hdb1
mkdir /b2
mount -t ext2 /dev/hdb2 /b2

#  Drop to single user; kills any pesky daemons writing stuff in background.
telinit 1

#  Anything here we don't understand?  If not, proceed.
cd /home  &&  ls -la

#  Copy everything whose name does not start with a dot.
cp -a * /b2  &&  sync

#  Move old /home aside.  Move new /home into place.
cd /
mv home home-old
umount /b2  &&  rmdir /b2
mkdir home
mount -t ext2 /dev/hdb2 /home

#  Make new /home mount and new swap next time.
#  Notice we are not deactivating the old swap.
#  The more swap spindles you have, the better.
echo /dev/hdb2 /home ext2 defaults 0 2 >> /etc/fstab
echo /dev/hdb1 none swap sw 0 0 >> /etc/fstab

#  Welcome to your new, larger machine.  Restart daemons, X.
telinit 2

#  You don't have to reboot, but it's good practice to
#  test your new configuration, to make sure it boots okay.


>how could you best utilize the space gained by 
>transferring data from the original /home to the new /home partition?

Don't worry, /var/cache will use it eventually.  You didn't move /var.


Cameron


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



Re: screens

2003-08-03 Thread cls-du
Cees wrote:
>after I installed [Woody] I get the error message "No screens found"

Don't worry about it.  In my experience the X Window System
installed by Woody does that about half the time.
That's one reason they're writing a new installer.


>Can anyone tell me wath I dit wrong?

You did nothing wrong.

If it is easy for you to get local help or download more CDs,
the easiest way forward is to use SOME OTHER DISTRIBUTION
to create a file you can copy to /etc/X11/XF86Config-4
in your Debian intallation.  For example, Knoppix almost always
generates a usable XF86Config-4 file.  You just boot the CD,
wait for the xserver to come up automatically, and get a shell.
Then use the command
  tar cf /dev/fd0 -C /etc/X11 XF86Config-4
to copy it to a floppy.  Then boot Debian and run
  tar xf /dev/fd0 -C /etc/X11
to copy it in.

If the Woody disks are all you have, there are various
things you can try.  Try running xf86cfg first.
Run lspci to verify you have the right video chip set.
Then
  dpkg-reconfigure xserver-xfree86
and give easier answers.  Try the 600x400 screen format.
Try opening /etc/X11/XF86Config-4 and loosening up the
sync frequency limits.  Try deleting the line that specifies
which bus slot your video card is in.

Try posting your video card
and monitor type in a general Linux forum and maybe
someone with similar equipment will mail you a working 
XF86Config-4.  A while ago someone posted a recipe 
here which involved getting "discover", "mdetect",
and "read-edid" and then forcing a reinstall of
xserver-xfree86 and xserver-common.  This may cause
the same thing to go wrong that gave you the "No screens found"
in the first place, so don't be surprised if it doesn't work.

The good news is getting a correct XF86Config-4 file
is the most difficult thing in the whole installation.
Once you do that, everything else is easy.


Cameron






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



Re: Solved, Re: Hawking Fast Ethernet Cardbus 10/100 Woody

2003-08-03 Thread cls-du
I wrote:
> >> # cardctl ident
> >>  Socket 1:
> >>   product info: "CardBus", "Fast Ethernet", "V1.0", ""
> >>   manfid: 0x13d1, 0xab02
> >>   function: 6 (network)

Works with 2.4.21 kernel drivers mii and tulip, but you
need the hotplug package to get it recognized.

Jesse Meyer wrote:
> >[I've got the same card,] FCC ID of "MQ4C2K5MX"
> > [...] under the 2.4 debian kernel,
>Did your card have the same FCC number?

Yes, same everything.  Several stores' Web sites seem to
think it's Hawking PN672TX.

See also http://mail-index.netbsd.org/port-i386/2002/01/25/0012.html


>Also, what sort of laptop is it?

Believed to be Asustek, but imported/branded Chem USA,
model F7400.  About five years old, 333 MHz Pentium II,
Intel 440BX/ZX ACPI motherboard.
TI PCI1220 Cardbus slot controller/bridge.


Cameron


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



Solved, Re: Hawking Fast Ethernet Cardbus 10/100 Woody

2003-08-02 Thread cls-du
I wrote:
>> # cardctl ident
>>  Socket 1:
>>   product info: "CardBus", "Fast Ethernet", "V1.0", ""
>>   manfid: 0x13d1, 0xab02
>>   function: 6 (network)

Jesse Meyer wrote:
>[I've got the same card,] FCC ID of "MQ4C2K5MX"
> [...] under the 2.4 debian kernel, I have
> got the card to work, but only using the 2.4 boot floppy kernel and the
> package pcmcia-modules-2.4.18-bf2.4.  The driver seems to be 'tulip_cb',
> the regular 'tulip' driver in the kernel does not seem to work.

I poked around some more.  I never did get the hang of building
"Debianized" kernels; I've always used the upstream kernel source.
When I installed the current upstream pcmcia-cs, and Debian's hotplug
package, the tulip.o in my /lib/modules/2.4.21 started working!

For the record, it seems there are two ways to support PCMCIA cards.
You have to choose the kernel's internal drivers -or- the ones
that come with Dennis Hinds' pcmcia-cs.
Debian uses pcmcia-cs, but packages the driver modules separately
as pcmcia-drivers.  
Jesse reports tulip_cb from there works, and I can now report
success with the tulip and mii modules from the 2.4.21 kernel.

In my case, the hotplug package was the missing piece.
(Perhaps this is a packaging issue.  Maybe the Cardbus drivers
should be in their own package, with hotplug a dependency.)

The Cardbus Tulip is noticeably faster than the PCcard 3CCFEM556.
3Com discontinued the 3CCFEM556.  It's too bad, because that card also
contains the best modem I ever used.  The 3CCFEM656B which replaced
it uses Cardbus, but it's got a friggin' winmodem!


Cameron


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



Hawking Fast Ethernet Cardbus 10/100 Woody ?

2003-08-02 Thread cls-du
I've got a Cardbus 10/100 NIC from Hawking.

# cardctl ident
Socket 0:
  product info: "3Com", "Megahertz 3CCFEM556", "LAN + 56k Modem", ""
  manfid: 0x0101, 0x0556
  function: 0 (multifunction)
Socket 1:
  product info: "CardBus", "Fast Ethernet", "V1.0", ""
  manfid: 0x13d1, 0xab02
  function: 6 (network)


Woody's Card Services doesn't recognize it.

# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:06.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
00:07.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02)
00:0a.0 CardBus bridge: Texas Instruments PCI1220 (rev 02)
00:0a.1 CardBus bridge: Texas Instruments PCI1220 (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro AGP-133 (rev dc)
06:00.0 Ethernet controller: Unknown device 17b3:ab08 (rev 11)

I'm having trouble finding the right documentation on how to
get this going.  Don't know which chip set is in the card.
Don't know where the manufacturer and product IDs are defined
for Card Services.  Seems to be a very popular product, perhaps
under another name.  Google doesn't help because Hawking
doesn't have any model identification on the thing.
In fact, the markings on it are contradictory: it says
"CardBus 10/100 Fast Ethernet PC Card" on the front
and "Fast Ethernet CardBus 10/100" on the back.

(The correct terminology is "PC Card" is the ISA-like
interface, Cardbus is the PCI-like interface, and both
are standards from an organization named PCMCIA.  It
doesn't make much sense for a product to say both
"PC Card" and "Cardbus" on it.  The PC Card interface isn't
fast enough for full 100BASE-T throughput, but that didn't
stop companies like 3Com from selling 10/100 PC Cards
like the 3CCFEM556.)

I've tried bf24 and my own 2.4.21.  Can't load any
PCI NIC modules because 17b3  and 0x13d1 are unrecognized.
Anybody got one of these things working with Woody?
How did you do it?
TIA


Cameron



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



Unidentified subject!

2003-07-14 Thread cls
I like the idea of copying the package selections and
letting apt reinstall.  But there will still be a lot of 
questions from the install scripts and stuff.

If Perrin is perfectly happy with his old machine,
and it's on the same LAN as the new one with the fresh
hard drive, why not just tar+ssh the whole thing over?

Boot Knoppix on the new box, get a shell and go "sudo su -"
to get root.  Give root a password.
Partition the new drive.
Make file systems and swap areas.
Mount what will be the new root at /target and mount any other
new partitions whereever they are going to go under /target/.
Make any storage management symlinks.  Eg,
  cd /target
  mkdir usr/home
  ln -s usr/home home
if you keep /home and /usr on the same partition.

Make the directories you're *not* going to copy across,
  mkdir /target/{tmp,proc}
  mkdir -p /target/var/log/{apache,exim,gdm,ksymoops,news}

ifconfig and route as needed, then /usr/sbin/startssh

Then on the old box, telinit 1 to stop any pesky daemons, then
  ssh -l root new.box.IP.address uname -a

to see if the new box is listening, and then something like

  cat > /tmp/leavem <

Re: Doubling 100MBit ethernet by splitting the cable <-- bad idea

2003-06-10 Thread cls-du
>On Tue, 27 May 2003 05:40:06 +0200, J F <[EMAIL PROTECTED]> wrote:

>>>Splitting the cable

>I've seen a network set up with most of the cables were doubled up to
>carry 2 10/100 connections over one wire. I don't think any of the
>computers in the office were connecting at 100mb and the network had
>major latency problems even at 10Mb.

I've run two full-duplex 100BASE-T links through 25 meters of
four-pair Category 5 cable and it worked fine.  
I suspect in the office where it didn't work so well, there was
a wiring error, such as not keeping the pairs together or
running a lot of unconnected pairs around.

10[0]BASE-T NICs talk on pins 1 and 2, and listen on pins 3 and 6.
A good cat-5 cable for 100BASE-T either leaves pins 4,5,7,8 completely
unconnected (two-pair crossover cables are made that way), or connects
pairs 4-5 and 7-8 (the standard four-pair straight-through cable). 
A good NIC terminates the unused pairs to keep them from resonating.
If you make your own cable it should not have any unconnected pairs
in it, and shorting them is as bad as leaving them open.

I've seen cables for sale at computer stores with wire pairs
on pins 1-2, 3-4, 5-6, and 7-8.  I don't know what those cables
are for, but it isn't Unshielded Twisted Pair (UTP) Ethernet.
They may work in some cases, but they'll be impaired becase the
receive pair isn't a Category 5 hundred-ohm transmission line.
Its impedance is too high and its common-mode rejection will suck.
Maybe the PHYs will autonegotiate 10BASE-T to try to get by
the impairment, but they shouldn't even do that.
These cables will buzz out fine with a DC ohmmeter.  If you buy
a "cable tester" that says these cables are okay, ask for your
money back.  A cat-5 tester should tell you whether each pair is
within 3% of 100 Ohms, and a cable where pins 3 and 6 are in
two different pairs should fail that test.


Cameron


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



Re: How to delete a file called "-gzip"?

2001-02-05 Thread cls/cs
On Mon, Feb 05, 2001 at 11:29:39PM +0100, Kerstin Hoef-Emden wrote:
> 
> Hi,
> 
> this is a completely stupid thing I did. I wanted to make a zipped tar
> archive of my complete user home account and write it to MOD. 
> 
> Unfortunately I used the following line:
> 
> tar -cvvf -gzip /mod/name-of-archive folder-name
> 
> Now my home-partition is 100 % full and I don´t know how to delete that
> -gzip file! :-(
> Gee, why doesn´t tar realize that things starting with "-" are no file
> names.
> 
> I tried
> rm "-gzip" 
> rm ´-gzip´
> rm \-gzip
> 
> None of these worked.
> 
> What is the trick? (There must be one ...)
> 
> 
> Regards,
> 
> Kerstin


...guessing here,  but if you 

mv -gzip foo (foo being some other name not beginning with "-")   

and then

rm foo

does that work?




bentley taylor.

ps.  i'm too chicken to replicate a -foo file.

//





ghost /dev/fd0

2001-02-03 Thread cls/cs
debs,

i floppy boot potato.

if i need to access mount or superformat another floppy, i cannot access 
/dev/fd0.

suggustions?

ti,a.

bentley taylor.

att.
//

running: debian gnu/linux ( http://www.debian.org )
kernel:  2.2.17
Script started on Sat Feb  3 16:25:01 2001
cls210:/home/bt# superformat /def v/fd0
Not a floppy drive
cls210:/home/bt# exit

Script done on Sat Feb  3 16:25:16 2001


mount_02042001_a
Description: Binary data


Re: Vids ?

2001-02-02 Thread cls/cs
On Fri, Feb 02, 2001 at 03:33:31PM -0700, Brandeil macleod wrote:
>hi !
> I have been trying to install some packages to run MPEG/AVI etc but with
> no luck. Tried xmms plugins and xanim put nothing want to insatll.
> 
> Also tried to install real player according to real.com for the debian
> version but unable to install.
> 
> 
> Any pointers please.
> 
> thanks
> 
> brandeil
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


have you tried:

http://www.mpegtv.com  ?

it's what i use for mpg's.  there used to be a .deb for it but i haven't seen 
it lately.  i just used the tarballs for all but one of my boxes.  

hth.

bentley taylor.

//  





Re: does anyone here use update-menus?

2001-02-01 Thread cls/cs
On Tue, Jan 30, 2001 at 10:05:55PM -0800, Xucaen wrote:
> Hi all..
> 
> I've added new menu files to /etc/menu but
> update-menus doesn't see them.  I got this to
> work with one menu file I added, but I've added
> three more since and they don't show up.
> here's one that I am trying to get to work, this
> is /etc/menu/jed:
> 
> ?package(jed):needs="text" \
> section="Apps/Editors" \
> title="jed" \
> command="/usr/bin/jed"
> 
> just as a comparison, here is my emacs, which
> does work, /usr/lib/menu/emacs20:
> 
> ?package(emacs20):\
>   needs="text"\
>   section="Apps/Editors"\
>   title="Emacs 20"\
>   command="/usr/bin/emacs20"\
>   icon=/usr/share/emacs/20.7/etc/gnu.xpm
> 
> 
> the only difference is the icon, but that
> shouldn't matter..
> does anyone else see something that maybe i'm
> missing?
> The docs say that anything in
> /etc/menu will override /usr/lib/menu
> 
> any ideas?
> 
> thanks!
> 
> xucaen
> 

i'm just guessing here, but my /etc/menu/foo use:

needs="X11"\  (rather than, "text")
...

once again, ...just guessing.

bentley taylor
potato, icewm/liquid

...

//



Re: Microsoft Scroll Mouse

2001-02-01 Thread cls/cs
On Wed, Jan 31, 2001 at 11:04:31PM -0500, D-Man wrote:
> 
> In /etc/X11/XF86Config
> 
> change the mouse protocol to "MS IM"  (or something like that, I'll
> check my config once I get back to my computer) and add the line
> 
> ZAxisMapping 4 5
> 
> to the pointer section.  This causes the wheel to be translated to
> button 4 and button 5 events.  (of course, it is then up to the gui to
> handle these events appropriately)
> 
> HTH,
> -D
> 
> On Wed, Jan 31, 2001 at 12:04:52AM -0600, Zac Epkes wrote:
> | Sorry, I have a microsoft intellimouse and cant get the scroll button to
> | work... any ideas? thnX
> | 
> | - Zac
> | 
> | 
> | -- 
> | To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> | with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


hi, 

will you send me a copy of your /etc/X11/XF86Config file. ...can't seem to get 
it work.

thx.

bentley taylor.

//




am i hacked?

2001-01-25 Thread cls/cs
debs,

i just ran uptime on my single-user box connected to the office dsl pipe.

it shows 3 users; and there's only one non-root account.  

1.  how do i find out who are the other 2 users?

2.  does this mean that i've be hacked?

ia, t.

bentley taylor.


running: debian gnu/linux ( http://www.debian.org )
kernel:  2.2.17

//


Script started on Thu Jan 25 12:40:30 2001
[EMAIL PROTECTED]:~$ uptime
 12:40pm  up 3 days, 18:54,  3 users,  load average: 0.04, 0.02, 0.00
[EMAIL PROTECTED]:~$ exit
exit

Script done on Thu Jan 25 12:40:37 2001


[pplaw@pcisys.net: fetchmail nameserver failure]

2001-01-17 Thread cls/cs
- Forwarded message from cls/cs <[EMAIL PROTECTED]> -

Date: Wed, 17 Jan 2001 14:23:48 +
From: cls/cs <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: fetchmail nameserver failure
Reply-To: cls/cs <[EMAIL PROTECTED]>
User-Agent: Mutt/1.2.5i
Running: debian gnu/linux, version 2.2 (http://www.debian.org)
Kernel: 2.2.17 

debs,

it seems like once a week, my fetchmail gets stuck with an email address it 
cannot recognize.  (i usually then just download the mail with netscape and 
keep going.)   once the error comes up, fetchmail won't download any other 
messages. 


attached is the script.

...suggestions? 

ia, t.

bentley taylor.

//


running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17

- End forwarded message -


//

...oops, i forgot the attachment.  sorry...

b.

//

-- 
Script started on Wed Jan 17 13:41:16 2001
[EMAIL PROTECTED]:~$ fetchmail
423 messages for pplaw at mail.pcisys.net (1456350 octets).
reading message 1 of 423 (5337 octets) .
fetchmail: nameserver failure while looking for `penguinpowered.com' during 
poll of mail.pcisys.net.
fetchmail: nameserver failure while looking for `penguinpowered.com' during 
poll of mail.pcisys.net.
 not flushed
fetchmail: POP timeout
fetchmail: client/server protocol error while fetching from mail.pcisys.net
fetchmail: Query status=4 (PROTOCOL)
[EMAIL PROTECTED]:~$ exit
exit

Script done on Wed Jan 17 13:49:23 2001


fetchmail nameserver failure

2001-01-17 Thread cls/cs
debs,

it seems like once a week, my fetchmail gets stuck with an email address it 
cannot recognize.  (i usually then just download the mail with netscape and 
keep going.)   once the error comes up, fetchmail won't download any other 
messages. 


attached is the script.

...suggestions? 

ia, t.

bentley taylor.

//


running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



Re: Linux 2.4.0 on Debian 2.2 R2

2001-01-15 Thread cls/cs
On Sun, Jan 14, 2001 at 01:55:12PM -0800, Michael Madden wrote:
> When I used dpkg to install the new modutils package,
> it gave me the option of installing a new /etc/modules
> file.   If you choose yes, it gives you a basic
> /etc/modules files just with comments. You'll
> need to put in a line for each module you want loaded.
> 
> For example, my /etc/modules looks like this:
> # /etc/modules:  kernel modules to load at boot time
> 3c59x
> es1371
> 
> Thanks,
> 
> Mike
> 
> --- pplaw <[EMAIL PROTECTED]> wrote:
> > Michael Madden wrote:
> > 
> > > I'd written yesterday describing problems with
> > linux
> > > 2.4.0, Debian 2.2 R2, and NE2000/3C509 NICS. 
> > Thanks
> > > for all the help!
> > >
> > > The working solution was to download and install
> > the
> > > new modutils package from:
> > >
> >
> http://people.debian.org/~wakkerma/modutils_2.4.1-0potato1_i386.deb
> > >
> > > Thanks,
> > >
> > > Michael
> > >
> > 
> > //
> > 
> > debs,
> > 
> > modutils 2.4.1-0potato1 i386.deb broke my eth0 id
> > during boot and, thus,  broke
> > the connection to my dsl pipe.   i re-installed
> > modutils 2.3.11-13.1, but still
> > no eth0.
> > 
> > 1.  am i looking at a re-install of potato?  (i just
> > can't go back to using my
> > 56k modem on a regular basis.)
> > 
> > 2.  if modutils 2.4.1*.deb will work with kernel
> > 2.4.0, what other steps would
> > be necessary to bring back my eth0?
> > 
> > ia, t.
> > 
> > bentley taylor.
> > 
> > //
> > 


hi michael,

...works great.  you've saved me a few hours (of re-installing and tweeking).  
thank you x 3.

bentley taylor.

//  



Re: Machine/Domain Name

2001-01-12 Thread cls/cs
On Fri, Jan 12, 2001 at 10:51:17AM -0500, Christopher W. Aiken wrote:
> 
> My Debian system has a name of "darkstar.localdomain"
> When I'm at home I can no longer send email to my office
> because of "spam" filters that were setup to reject any
> mail from rdsomains that are unresolvable.
> 
> I have exim setup with my ISP's smtp server for outgoing
> mail.  Mail gets delivered to everyone I send to except
> to my office.
> 
> How do I change the name of my machine to darkstar.cwaiken.com?
> cwaiken.com is my domain name at a re-director service and is
> resolvable and should work.
> 
> ---
> Christopher W. Aiken, Scenery Hill, Pa, USA
> chris at cwaiken dot com,   www.cwaiken.com
> Current O/S: Debian GNU/Linux 2.2_r2
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


//

would editing "/etc/hostname" be appropriate? (or did i miss what you wanted?)

hth

bentley taylor.

//




-- 
||||||  
||   
|||bentley taylor|||
   cls-c/s   ||
|  617 s nevada ave  |
|| colo spgs, co 80903   
|||t:  719.471.0380.128  |||
   f:  719.471.1412  ||
||

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



Re: not getting all mail

2001-01-08 Thread cls/cs
On Mon, Jan 08, 2001 at 08:43:17PM +0100, Philipp Schulte wrote:
> On Mon, Jan 08, 2001 at 09:27:55AM +0000, cls/cs wrote: 
> 
> > fetchmail told me that i had 317 new messages; but i
> > think my system shut off at 200.
> > 
> > 1.  how do i set up exim/fetchmail/mutt to give me all
> > the mail?
> 
> Are you looking for this one (from /etc/exim.conf):
> 
> # This sets the maximum number of messages that will be accepted in one
> # connection. The default is 10, which is probably enough for most purposes,
> # but is too low on dialup SMTP systems, which often have many more mails
> # queued for them when they connect.
> 
> smtp_accept_queue_per_connection = 100
> 
> Phil
> 
//

thank you.

bentley taylor.

//
   

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



Re: not getting all mail--now working

2001-01-08 Thread cls/cs
On Mon, Jan 08, 2001 at 09:27:55AM +, cls/cs wrote:
> debs,
> 
> fetchmail told me that i had 317 new messages; but i
> think my system shut off at 200.
> 
> 1.  how do i set up exim/fetchmail/mutt to give me all
> the mail?
> 
> 2.  is there a way for me to get the 117 emails that
> did not show up in /var/spool/mail/foo?
> 
> ia, t.
> 
> bentley taylor.
> 
> //
> --
> 
> running:  debian gnu/linux (http://www.debian.org)
> kernel:   2.2.17
> 
> 
> -- 

now it seems to be working.

bentley taylor.

// 



not getting all mail

2001-01-08 Thread cls/cs
debs,

fetchmail told me that i had 317 new messages; but i
think my system shut off at 200.

1.  how do i set up exim/fetchmail/mutt to give me all
the mail?

2.  is there a way for me to get the 117 emails that
did not show up in /var/spool/mail/foo?

ia, t.

bentley taylor.

//
--

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



2.4.0 and 3com 905c

2001-01-06 Thread cls/cs
debs,

i've been using stock kernel 2.2.17 that came with
potato.  it recognized my 3com nic (as 3com 3c905c) and
works wonderfully.  

i would like to ungrade to kernel 2.4.0 (now that it's
stable).  after rebooting a custom 2.4.0, i can't
seem to get the nic recognized by the kernel.  in the
recompile, i specified 3com (and the 900 series).

does anyone know how i can get the 3com nic (that 2.2.17
sees as 3c905c) to be recognized by 2.4.0? 

ia, t.

bentley taylor.

//

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



Re: can't make menuconfig

2001-01-06 Thread cls/cs
On Sat, Jan 06, 2001 at 09:42:03AM +0100, Sebastiaan wrote:
> Hi,
> 
> on a clean system, I install the following packages before compiling the
> kernel (Debian way):
> kernel-source-2.2.18 kernel-package libc6-dev bin86 libncurses5-dev gcc
> fakeroot dpkg-dev
> 
> Perhaps you missed something?
> 
> Greetz,
> Sebastiaan
> 
> 
> On Sat, 6 Jan 2001, cls/cs wrote:
> 
> > debs,
> > 
> > i'm looking to roll 2.4.0 for my potato box; but i'm
> > getting ncurses issues.  (i have libc6-dev, which
> > prevents my having libc5-dev, which, apparently ncurses
> > needs)
> > 
> > suggestions?
> > 
> > ia, t.
> > 
> > bentley taylor.
> > 
> > //
> > 
> > running:  debian gnu/linux (http://www.debian.org)
> > kernel:   2.2.17
> > 
> 
> 
libncurses5-dev was the missing piece of the puzzle.  thanks
for the help, sebastiaan.

cheers.

bentley taylor.

// 



can't make menuconfig

2001-01-06 Thread cls/cs
debs,

i'm looking to roll 2.4.0 for my potato box; but i'm
getting ncurses issues.  (i have libc6-dev, which
prevents my having libc5-dev, which, apparently ncurses
needs)

suggestions?

ia, t.

bentley taylor.

//

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17
Script started on Sat Jan  6 01:16:57 2001
cls210:/tmp/linux# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/tmp/linux/scripts/lxdialog'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'

make[1]: *** [ncurses] Error 1
make[1]: Leaving directory `/tmp/linux/scripts/lxdialog'
make: *** [menuconfig] Error 2
cls210:/tmp/linux# wx  exit

Script done on Sat Jan  6 01:17:22 2001


Re: MKBOOT problems

2001-01-05 Thread cls/cs
On Fri, Jan 05, 2001 at 07:42:04AM -0800, Tom Schuetz wrote:
> Thanks to everyone for the ongoing responses to my newbie dreck.
> 
> Why, when I MKBOOT VMLINUZ-2.2.12, would the system come back to me on three 
> different BRAND NEW disks with a "write protected or other error"?
> 
> I really doubt it's the disks. Is there a known problem with that version?
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

// 

i don't have experience with 2.2.16, but i've been using mkboot since 2.0.36 
andi've not had probs.  i had to make sure that i used the complete directory 
to mkboot.  e.g.,

# mkboot /boot/vmlinuz-2.2.17  


hth,

bentley taylor

//
-- 

running:  debian gnu/linux (http://www.debian.org)
kernel:   2.2.17



Re: keeping the screen on

2000-12-26 Thread cls/cs
On Tue, Dec 26, 2000 at 04:22:48PM -0600, will trillich wrote:
> On Tue, Dec 26, 2000 at 03:08:27PM +0000, cls/cs wrote:
> > On Tue, Dec 26, 2000 at 03:36:26PM -0600, will trillich wrote:
> > > On Sat, Dec 23, 2000 at 10:21:02PM +, q wrote:
> > > > On Sat, Dec 23, 2000 at 09:16:14PM +, q wrote:
> > > > > debs,
> > > > > 
> > > > > since i use rather nice background images for my
> > > > > potato boxes, i like to keep the screens on even though,
> > > > > i may not be using my computers for more than 15
> > > > > minutes, after which the screens go black.
> > > > > 
> > > > > which package controls the "black-out" feature?
> > > > > (xscreensaver is listed as, "pn" by "dpkg -l
> > > > > xscreensaver," so  i don't believe it's that package.)
> > > > 
> > > > rob and bob, thank you.
> > > > 
> > > > bentley taylor.
> > > 
> > > care to write up a newbieDoc on "how to keep your screen
> > > from blanking out" now that you've figured it out?
> > 
> > i wish i could take credit for figuring it out, but it
> > was rob hudson who advised me of this elegant command:
> > 
> > xset s off
> > 
> > and it was bob nielsen who advised: 
> > 
> > man xset
> > 
> > hth.  
> > 
> > (i would have attached their email responses, but i
> > haven't figured out how to do that in mutt, yet.)
> 
> i saw them fly by -- i was hoping you've found some other handy
> features of xset, and being a fresh discovery for you, you might
> be able to present it in a way that next month's newbies might
> find handy.

i've got some work-related things bogging me down till
the end of the year.  after that, i can come up for air
...and maybe contribute what little i think i know.

 
> 
>   http://www.eGroups.com/files/newbieDoc/
> 
> as for attaching messages -- it's similar to attaching files.
> when done editing your message, you're at mutt's COMPOSE stage:
> 
>   'a' to attach a file
>   'A' to attach a message
>   you can select which mailbox to use, and then
>   you'll need to TAG the messages (type 't') you
>   want to attach; 'q'uit to get back to composing
>   'D' to DELETE an attachment from your message
> 
> (by the way -- i just found this, myself, by typing '?' at
> various stages of interaction with mutt. pretty cool.)



thx for the info.  i'll give it a try.


>

> -- 
> There are only two places in the world where time takes
> precedence over the job to be done.  School and prison. 
>   --William Glasser 
> 
> [EMAIL PROTECTED]***http://www.dontUthink.com/
> 
> volunteer to document your experience for next week's
> newbies -- http://www.eGroups.com/messages/newbieDoc
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: keeping the screen on

2000-12-26 Thread cls/cs
On Tue, Dec 26, 2000 at 03:36:26PM -0600, will trillich wrote:
> On Sat, Dec 23, 2000 at 10:21:02PM +, q wrote:
> > On Sat, Dec 23, 2000 at 09:16:14PM +, q wrote:
> > > debs,
> > > 
> > > since i use rather nice background images for my
> > > potato boxes, i like to keep the screens on even though,
> > > i may not be using my computers for more than 15
> > > minutes, after which the screens go black.
> > > 
> > > which package controls the "black-out" feature?
> > > (xscreensaver is listed as, "pn" by "dpkg -l
> > > xscreensaver," so  i don't believe it's that package.)
> > 
> > rob and bob, thank you.
> > 
> > bentley taylor.
> 
> care to write up a newbieDoc on "how to keep your screen
> from blanking out" now that you've figured it out?
> 
> -- 
> volunteer to document your experience for next week's
> newbies -- http://www.eGroups.com/messages/newbieDoc
> 
> 
> -- 

i wish i could take credit for figuring it out, but it
was rob hudson who advised me of this elegant command:

xset s off


and it was bob nielsen who advised: 

man xset

hth.  

(i would have attached their email responses, but i
haven't figured out how to do that in mutt, yet.)

bentley taylor.

//



Re: exim

2000-12-08 Thread cls-c/s
On Fri, Dec 08, 2000 at 11:03:24AM -0500, Marcelo Chiapparini wrote:
> Hello!
> 
> with the help of people in this list finally I have a exim+fetchmail+mutt
> configuration working. The problem is 
> that after dialing to my ISP and invoking fetchmail at the prompt, it 
> reports the number of emails in the 
> ISP box, but can't fetch them. I have to type "exim -bd" as root for
> fetchmail retrieve the messages. 
> Is this normal?
> 
> Thanks in advance for the help
> 
> Marcelo
> _
> Marcelo Chiapparini
> [EMAIL PROTECTED]
> 
> 
after fetchmail gets my messages, i just type, "mutt" (no quotes) to get them 
in a list from which i can then read.

hth.

bentley taylor.

//



external cd install

2000-12-08 Thread cls-c/s
debs,

i'm trying to install potato on a 486 box (to be used as a firewall).  i want 
to install via cd from an external cdrom.

i get to the point where it needs to "install operating system kernel and 
modules."  i tell the box that i'm using "mounted" as the "medium" used to 
install the system, as it wouldn't be /dev/fd0 or /dev/fd1, right?   

i have to tell it where ~/images-1.44/rescue.bin resides, but i don't know how 
to name this external cdrom.

i've tried copying the files from ~/images-1.44 to the harddrive, but when i 
tell it find rescue.bin in /dev/hda1/, it "won't go."

suggestions?

ia, t.

bentley taylor.

// 

 



Re: Netscape

2000-12-05 Thread cls-c/s
On Tue, Dec 05, 2000 at 07:31:26PM +, Timothy Bedding wrote:
> Is anyone using version 4.6 of Netscape?

yesbeen using for a month or two..

> 
> I get a crash when downloading
> http://www.ishipress.com/chess.htm
> 
> Do anyone else get that? If so, can you
> email me with your version of Netscape?
>
i have no experience with ishipress.  i got my 4.6  from 
htt://home.netscape.com.
 
> Does Netscape 6 have this problem?
>
i tried an earlier incantation of 6 many months ago.  it gave my system fits.  
i'll try it again when i'm sure it's way out of the "beta zone."   
   
> I am considering upgrading, particularly if
> crashes have been fixed.
> 
>
the crashes i've seen regarding 4.6 seem to be "url-specific"--some exotic or 
poorly crafted sites will cause a segfaults while others render just fine.

hth.

bentley taylor.

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

-- 

 



what is > ?

2000-12-01 Thread cls-c/s
debs,

in bash, i sometimes hit ' at the end of a command and i then get > on the next 
line.  what does > do?

ia, t.

bentley taylor.

//

 
Script started on Fri Dec  1 19:34:51 2000
[EMAIL PROTECTED]:~$ top'
> 
> 
> 
> 
> 
[EMAIL PROTECTED]:~$ exit

Script done on Fri Dec  1 19:35:07 2000


Re: mutt 1.2.5-4

2000-11-17 Thread cls-c/s
On Sat, Nov 18, 2000 at 11:59:32AM +1100, Bek Oberin wrote:
> cls-c/s wrote:
> > i upgraded mutt to v1.2.5-4, and in so doing, my /etc/Muttrc changed to 
> > where:
> > 1.  i don't know where to specify my signature file; and
> > 2.  i don't know where to specify that i want a copy of my "sent" messages.
> > attached is my /etc/Muttrc.
> 
> 
> You probably want to specify these in your .muttrc, but I assume
> they'll work in either file.  But here's my relavant lines:
> 
> set folder=~/Mail
> set signature="~/.sig"
> 
> bekj
> 
> -- 
> : --Hacker-Neophile-Eclectic-Geek-Grrl-Queer-Disabled-Boychick--
> : [EMAIL PROTECTED]   http://www.tertius.net.au/~gossamer/
> : Each problem that I solved became a rule which served afterwards
> : to solve other problems.  -- Rene Descartes
> 


thx.  now it works.

bentley taylor.

//
-- 











|   /   |/\| c 2000 bentley taylor|/\|   \   |
|  /|\/|  |\/|\  |
| / |/\|  |/\| \ |
|/  |\/|  |\/|  \|

 



mutt 1.2.5-4

2000-11-17 Thread cls-c/s
debs,

i upgraded mutt to v1.2.5-4, and in so doing, my /etc/Muttrc changed to where:

1.  i don't know where to specify my signature file; and

2.  i don't know where to specify that i want a copy of my "sent" messages.

attached is my /etc/Muttrc.

ia, t.

bentley taylor

running on 
  l
http://www.debian.org 
  n
  u
  x

//

 
Script started on Fri Nov 17 17:49:10 2000
cls411:/home/bt# cat /etc/Muttrc
#
# System configuration file for Mutt
#

# default list of header fields to weed when displaying
#
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines

# emacs-like bindings
bind editor"\e"kill-word
bind editor"\e" kill-word

# map delete-char to a sane value
bind editor   delete-char

# some people actually like these settings
#set pager_stop
#bind pager  previous-line
#bind pager  next-line

# don't add the hostname to the From header
unset use_domain
# don't generate a From header
unset use_from

# Specifies how to sort messages in the index menu.
set sort=threads

# Exim does not removes Bcc headers
unset write_bcc
# Postfix and qmail uses Delivered-To for detecting loops
unset bounce_delivered

# weed out binary-only announcements to -devel-changes
#macro index \CW T!~s\(.*source.*\)\nWn^T~A\n "Weed out binary-only 
announcements"

# imitate the old search-body function
macro index \eb '/~b ' 'search in message bodies'

# simulate the old url menu
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

# Show documentation when pressing F1
macro generic  "!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt 
documentation"
macro index"!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt 
documentation"
macro pager"!zless /usr/share/doc/mutt/manual.txt.gz\n" "Show Mutt 
documentation"

# If Mutt is unable to determine your site's domain name correctly, you can
# set the default here.
#
set hostname=pcisys.net

# If your sendmail supports the -B8BITMIME flag, enable the following
#
# set use_8bitmime

# colors
color hdrdefault cyan default
color quoted   green default
color signaturecyan default
color attachment brightyellow default
color indicator black cyan
#color indicator brightblack cyan  # nicer in reverse-color xterms
color status   brightgreen blue
color tree red default
color markers  brightred default
color tildeblue default
color header   brightgreen default ^From:
color header   brightcyan default ^To:
color header   brightcyan default ^Reply-To:
color header   brightcyan default ^Cc:
color header   brightblue default ^Subject:
color body brightred default [EMAIL PROTECTED]
color body brightblue default (http|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+

# aliases for broken MUAs
charset-hook US-ASCII ISO-8859-1
charset-hook x-unknownISO-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258

##
## More settings
##

# GnuPG configuration
set pgp_sign_micalg=pgp-sha1 # default for DSS keys
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch 
--output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - 
%f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 
--armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 
0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg -v --batch --output - 
--encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 -v 
--batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r 
-- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs 
%r"
set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons 
--list-keys %r" 
set pgp_list_secring_command="gpg --no-verbose --batch --with-colons 
--list-secret-keys %r" 
set pgp_getkeys_command=""

my_hdr From:  cls-c/s <[EMAIL PROTECTED]>
my_hdr Reply-to:  cls-c/s <[EMAIL PROTECTED]>


cls411:/home/bt# exit

Script done on Fri Nov 17 17:49:21 2000


Re: wm

2000-11-13 Thread cls-colo spgs
On Mon, Nov 13, 2000 at 05:40:29PM -0500, Marcelo Chiapparini wrote:
> Hi!
> 
> I would like to know what window manager is the most popular in the Debian
> community.
> 
> Thanks in advance!
> 
> Marcelo
> _
> Marcelo Chiapparini
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
icewm rules on my dlinux boxes.  (theme wise, it's liquid--all the way.)

i don't know what is most popular in the "community."  i tend to use what's 
most comfortable and inspiring to me. 

hth.

bentley taylor.

//



-- 

|\  |/\|  |/\|  /|
| \ |\/|      |\/| / |
|  \|/\| bentley taylor   |/\|/  |
|   \   |\/| cls-c/s  |\/|   /   |
|\  |/\|  |/\|  /|
| /\  \ |\/| colo spgs co |\/| / /\  |
| \/   \|/\|  |/\|/  \/  |
|  |   /|\/|  |\/|\   |  |
| /\  / |/\| email <[EMAIL PROTECTED]> |/\| \ /\  |
| \/ /  |\/|  |\/|  \\/  |
|   /   |/\| c 2000 bentley taylor|/\|   \   |
|  /|\/|  |\/|\  |
| / |/\|  |/\| \ |
|/  |\/|  |\/|  \|

 



Re: smtp error

2000-11-07 Thread cls-colo spgs
On Mon, Nov 06, 2000 at 06:20:33PM -0800, Eric G . Miller wrote:
> On Mon, Nov 06, 2000 at 06:43:09PM -0700, cls-colo spgs wrote:
> > debs,
> > 
> > one of my potatoes has a smtp error:
> > 
> > $ fetchmail
> > fetchmail: imap connection to mail.pcisys.net failed: connection refused
> > 25 messages for  at mail.pcisys.net (86395 octets).
> > reading message 1 of 25 (3349 octets)..fetchmail: smtp connect t localhost 
> > failed
> > fetchmail:  smtp transaction error while fetching from mail.pcisys.net
> > 
> > ...suggestions?
> 
> Obviously you can't deliver mail to yourself.  You need to fix your
> local mailserver (sendmail, exim, whatever...).  If exim, you need
> 'localhost' in the local_domains = ... part.
>  
> 
> -- 
> #! /bin/sh
> # ppp-address: What's my Internet Address for ppp0 ?
> /sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
> 's=.*inet 
> addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
debs,

does anyone see what may be causing my smtp to fail, given my attached 
/etc/exim.conf?

ia, t.

bentley taylor.

att.

//

Script started on Tue Nov  7 05:38:55 2000
[EMAIL PROTECTED]:~$ ae /etc/        cat e /etc/exim.conf
# This is the main exim configuration file.
# It was originally generated by `eximconfig', part of the exim package
# distributed with Debian, but it may edited by the mail system administrator.
# This file originally generated by eximconfig at Fri Nov  3 19:05:18 UTC 2000
# See exim info section for details of the things that can be configured here.

# Please see the manual for a complete list
# of all the runtime configuration options that can be included in a
# configuration file.

# This file is divided into several parts, all but the last of which are
# terminated by a line containing the word "end". The parts must appear
# in the correct order, and all must be present (even if some of them are
# in fact empty). Blank lines, and lines starting with # are ignored.

##
#MAIN CONFIGURATION SETTINGS #
##

# Specify the domain you want to be added to all unqualified addresses
# here. Unqualified addresses are accepted only from local callers by
# default. See the receiver_unqualified_{hosts,nets} options if you want
# to permit unqualified addresses from remote sources. If this option is
# not set, the primary_hostname value is used for qualification.

qualify_domain = NETONE

# If you want unqualified recipient addresses to be qualified with a different
# domain to unqualified sender addresses, specify the recipient domain here.
# If this option is not set, the qualify_domain value is used.

# qualify_recipient =

# Specify your local domains as a colon-separated list here. If this option
# is not set (i.e. not mentioned in the configuration file), the
# qualify_recipient value is used as the only local domain. If you do not want
# to do any local deliveries, uncomment the following line, but do not supply
# any data for it. This sets local_domains to an empty string, which is not
# the same as not mentioning it at all. An empty string specifies that there
# are no local domains; not setting it at all causes the default value (the
# setting of qualify_recipient) to be used.

local_domains = localhost:NETONE:qwhew

# Allow mail addressed to our hostname, or to our IP address.

local_domains_include_host = true
local_domains_include_host_literals = true

# Domains we relay for; that is domains that aren't considered local but we 
# accept mail for them.

relay_domains = pcisys.net

# If this is uncommented, we accept and relay mail for all domains we are 
# in the DNS as an MX for.

#relay_domains_include_local_mx = true

# No local deliveries will ever be run under the uids of these users (a colon-
# separated list). An attempt to do so gets changed so that it runs under the
# uid of "nobody" instead. This is a paranoic safety catch. Note the default
# setting means you cannot deliver mail addressed to root as if it were a
# normal user. This isn't usually a problem, as most sites have an alias for
# root that redirects such mail to a human administrator.

never_users = root

# The setting below causes Exim to do a reverse DNS lookup on all incoming
# IP calls, in order to get the true host name. If you feel this is too
# expensive, you can specify the networks for which a lookup is done, or
# remove the setting entirely.

host_lookup = *

# The setting below would, if uncommented, cause Exim to check the syntax of
# all the headers that are supposed to contain email addresses 

smtp error

2000-11-06 Thread cls-colo spgs
debs,

one of my potatoes has a smtp error:

$ fetchmail
fetchmail: imap connection to mail.pcisys.net failed: connection refused
25 messages for  at mail.pcisys.net (86395 octets).
reading message 1 of 25 (3349 octets)..fetchmail: smtp connect t localhost 
failed
fetchmail:  smtp transaction error while fetching from mail.pcisys.net

...suggestions?

ia, t.

bentley taylor
 (potato on 2.2.17)

//



Re: installing Star Office 5.2

2000-11-04 Thread cls-colo spgs
On Fri, Nov 03, 2000 at 08:43:40PM -0600, Bob Edwards wrote:
> Can anyone tell me how to install Star Office 5.2 ?
> I have downloaded the file which is a .bin file, and
> put it in a seperate directory. what is next ? I know
> how to install .tar files and .gz files, but not
> .bin files.
> 
> I downloaded the file directly from Sun's site, and
> thhere were no installation instructions.
> 
> Thanks very much in advance for your help.
> 
> regards,
> 
> Bob Edwards
> 
> 
> -- 



hi bob, 

copy the SO*.bin file (it's a big 'un) to /tmp.  

cd /tmp

$ ./SO*

it'll walk you through the rest.

hth.

bentley taylor.
 (potato on 2.2.17)

//



saving "sent" (mutt) messages

2000-11-01 Thread cls-colo spgs
debs,

now that my email trifecta (fetchmail/exim/mutt) is working out, i wonder if 
there's a way to save a copy of the new messages i send (other than adding my 
own email addy on the "to:" line).

as always, ia, t.

bentley taylor
 (potato on 2.2.17)

//

 



i think i need a mailbox

2000-11-01 Thread cls-colo spgs
debs,

...trying to wean myself from the netscape email client (hopefully with 
fetchmail/exim/mutt).  i've got mutt running to compose/send my email.  now, 
i'm trying to get my email.

here is my sample fetchmail result:

$ fetchmail
1 message for pplaw at mail.pcisys.net (804 octets).
reading message 1 of 1 (804 octets) flushed


mutt-->c-->? = /home/bt/Mail: no such file or directory (errno =2)

i think i need to set up a mailbox, right?  how do i do that?

ia, t.

bentley taylor
 (potato on 2.2.17)

//
 



fetchmail

2000-10-31 Thread cls-colo spgs
debs,

where do i tell fetchmail my username?  (background:  my isp username is 
"pplaw," and my non-root account is "bt."  when i run fetchmail, i get, "[EMAIL 
PROTECTED]," instead of, "[EMAIL PROTECTED]")

ia, t.

bentley taylor
 (potato on 2.2.17)

//

u



domain in mutt

2000-10-21 Thread cls--colo spgs
debs,

this is the  error message i get when trying to send an
email using mutt:

[EMAIL PROTECTED]
unknown local-part:  "pplaw" in domain "pcisys.net"

...suggestions?

ia, t.

bentley taylor
 (potato on 2.2.17)

//






Re: Installing kernel sources

2000-10-19 Thread cls--colo spgs
cls--colo spgs wrote:

> "S.Salman Ahmed" wrote:
>
> > >>>>> "RP" == Ray Percival <[EMAIL PROTECTED]> writes:
> > RP>  Does anyone out there have a step by step to install kernel
> > RP> sources on 2.2. Thanks very much
> > RP>
> >
> > Installing kernel sources is as easy as 1, 2!
> >
> > 1) Download source for the current stable kernel (2.2.17) from the
> > Linux Kernel Archives site: http://www.kernel.org
> >
> > 2) Untar and extract in /usr/src:
> >
> > tar Ixvf linux-2.2.17.tar.bz2
> >
> > OR
> >
> > tar zxvf linux-2.2.17.tar.gz if you downloaded the gzipped tarball
> >
> > And you are done. Optionally you may want to create a symlink in
> > /usr/src:
> >
> > ln -s linux-2.2.17 linux
> >
> > Then cd into /usr/src/linux and go nuts!
> >
> > --
> > Salman Ahmed
> > ssahmed AT pathcom DOT com
> >
> > --
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
>
> after getting the _tarball_ ready (as described above), you may want to use
> kernel-package to rock your kernel.  (apt-get install kernel-package.)   then:
>
> # make menuconfig; make-kpkg clean; make-kpkg --revision=custom.1.0 
> kernel_image
>
> (make sure you have ncurses (if you want to use "menuconfig.") (apt-get 
> install
> ncurses)
>
> when it's done, install your newly rocked kernel:
>
> # cd ..
>
> # dpkg -i kernel*
>

[snip]

# lilo

>

[snip]

>
> reboot.
>
> (before you start, you may want to have a boot disk handy.

>
> good luck.
>
> bentley taylor.
>  (potato on 2.2.17)
>
> //
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: Installing kernel sources

2000-10-19 Thread cls--colo spgs
"S.Salman Ahmed" wrote:

> > "RP" == Ray Percival <[EMAIL PROTECTED]> writes:
> RP>  Does anyone out there have a step by step to install kernel
> RP> sources on 2.2. Thanks very much
> RP>
>
> Installing kernel sources is as easy as 1, 2!
>
> 1) Download source for the current stable kernel (2.2.17) from the
> Linux Kernel Archives site: http://www.kernel.org
>
> 2) Untar and extract in /usr/src:
>
> tar Ixvf linux-2.2.17.tar.bz2
>
> OR
>
> tar zxvf linux-2.2.17.tar.gz if you downloaded the gzipped tarball
>
> And you are done. Optionally you may want to create a symlink in
> /usr/src:
>
> ln -s linux-2.2.17 linux
>
> Then cd into /usr/src/linux and go nuts!
>
> --
> Salman Ahmed
> ssahmed AT pathcom DOT com
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

after getting the _tarball_ ready (as described above), you may want to use
kernel-package to rock your kernel.  (apt-get install kernel-package.)   then:

# make menuconfig; make-kpkg clean; make-kpkg --revision=custom.1.0 kernel_image

(make sure you have ncurses (if you want to use "menuconfig.") (apt-get install
ncurses)

when it's done, install your newly rocked kernel:

# cd ..

# dpkg -i kernel*

reboot.

(before you start, you may want to have a boot disk handy.)

good luck.

bentley taylor.
 (potato on 2.2.17)

//



Re: Two Completley unrelated questioins

2000-10-18 Thread cls--colo spgs
[EMAIL PROTECTED] wrote:

> Quoting cls--colo spgs <[EMAIL PROTECTED]>:
>
> > [EMAIL PROTECTED] wrote:
> >
> > >
> > > > do you get any error messages or anything?  i've never had problems
> > > > (with either the
> > > > icon or  the menu (tools-->check spelling)).
> > > >
> > > > bentley taylor
> > > >  (potato on 2.2.17)
> > > >
> > > > //
> > > The icon is greyed out and the button dosent push. The tools -> check
> > spelling
> > > thing also dosent work. I do not get any error messages though, more
> > like the
> > > spell checker it just there
> > >
> > > --
> > > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]
> > < /dev/null
> >
> > you did a full install, right?  (you may need to re-install.)  i forgot
> > to write that
> > i'm using version 4.75, if that matters.  i think netscape allows one to
> > do a full
> > install or choose features not to install.  (i'm thinking not everything
> > got
> > installed.)
> >
> > hth,
> >
> > bentley taylor
> >  (potato on 2.2.17)
> >
> > //
> >
> >
> I installed from the .deb I still have 4.73 (for somereason its flaged not to
> upgrade, thats my next project.) I dont remember having to do anything like
> choosing options. I just did apt-get install netscape. Then it selected some
> aditional packages as i recall. Any ideas? Should i give reinstaling a shot (I
> have done that before but i am willing to try it agian).

//

oh, i used the tarball--no flames, plz--from http://home.netscape.com.  well, a
re-install probably isn't the answer.  maybe spell checking isn't part of the
.deb package?  (anyone else feel like chimming in?)

sorry i don't know more.  (if you feel like doing the tarball install and need
help, let me know, ok?)

good luck.

bentley taylor
 (potato on 2.2.17)

//






Re: Two Completley unrelated questioins

2000-10-18 Thread cls--colo spgs
[EMAIL PROTECTED] wrote:

>
> > do you get any error messages or anything?  i've never had problems
> > (with either the
> > icon or  the menu (tools-->check spelling)).
> >
> > bentley taylor
> >  (potato on 2.2.17)
> >
> > //
> The icon is greyed out and the button dosent push. The tools -> check spelling
> thing also dosent work. I do not get any error messages though, more like the
> spell checker it just there
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

you did a full install, right?  (you may need to re-install.)  i forgot to 
write that
i'm using version 4.75, if that matters.  i think netscape allows one to do a 
full
install or choose features not to install.  (i'm thinking not everything got
installed.)

hth,

bentley taylor
 (potato on 2.2.17)

//



  1   2   >