Re: Smail/Sendmail Question

1998-03-12 Thread mfrattola
 Hi!
 
 
  mfrattola localhost mail deliver locally don't rewrite header
  mfrattola LAN mail deliver thru eth0 don't rewrite header
  mfrattola internet mail deliver thru ppp0 rewrite header
  
  This is possible by 
   a) defining mailers, and modifying sendmail.cf to add a inexpensive
  smtp mailer (copy the smtp mailers and call them lsmtp et akk
   b) look at ruleset 1 and prevent rewrites for the LAN, while allowing
  rewrites for external addresses 
 
 I wrote such m4s. I don't think they're perfect, but they work !-)
 I offer to share em. shall I send em to the list?

Well, I think it could be worth for the whole list, but if others object, I'd
like to take a look at them (privately :))

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


Re: Smail/Sendmail Question

1998-03-12 Thread mfrattola
 
 mfrattola Thank you for your answer. It seems to me (from other
 mfrattola messages) that smail is easier to manage WRT this problem
 mfrattola (with routers, directors and the like).  Problem is I don't
 mfrattola like smail (and recent problems with newer smail don't make
 mfrattola me like it more). What I'd like sendmail to do is:
 
 mfrattola localhost mail deliver locally don't rewrite header
 mfrattola LAN mail deliver thru eth0 don't rewrite header
 mfrattola internet mail deliver thru ppp0 rewrite header
 
   This is possible by 
  a) defining mailers, and modifying sendmail.cf to add a inexpensive
 smtp mailer (copy the smtp mailers and call them lsmtp et akk
  b) look at ruleset 1 and prevent rewrites for the LAN, while allowing
 rewrites for external addresses 
 
   The ppp vs eth0 should be handled by the networking setup, and
  should not be a part of the MTA's chores.
 
   This is easy if you grok sendmail.cf, like some of us
  oldtimers. Unfortunately, sendmail.cf mastery is a dying art. Oh,
  when it is written, it can be encapsulated into a m4 hack, so
  everyone else can just use that.
 
   manoj
  who still remembers evenings spent crafting version 5 sendmail.cf's
  with a host of cohorts

so the bottom line is: I have to buy the sendmail book :)

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


Re: Smail/Sendmail Question

1998-03-10 Thread mfrattola
 Hi,
 mfrattola == mfrattola  [EMAIL PROTECTED] writes:
 
 mfrattola Maybe I'm wrong, but doesn't this rewrite 'From' for every
 mfrattola message, and not only for those 'going out' of his LAN?
 mfrattola Also, doesn't confDELIVERY_MODE=queue queue all messages
 mfrattola and wait for runq to make the delivery?
 
   Umm, I think not. let me see. 
 __
 From root  Sun Mar  8 02:19:33 1998
 Received: (from [EMAIL PROTECTED])
 by tiamat.datasync.com (8.8.8/8.8.8/Debian/GNU) id CAA09080
 for root; Sun, 8 Mar 1998 02:16:07 -0600
 Date: Sun, 8 Mar 1998 02:16:07 -0600
 From: root root
 Message-Id: [EMAIL PROTECTED]
 To: root
 Subject: mirror update of Debian
 X-Filter: mailagent [version 3.0 PL58] for [EMAIL PROTECTED]
 __
 
   See? No rewrite for local mail.

Yes, but as somebody else pointed out, this is for mail bound to localhost.
What happens if I'm on a.mynet.org and I write to b.mynet.org? I think
sendmail doesn't see this is a local (internal LAN) address and rewrites
its header like with any other internet bound message. Or so I think, since
my other home machine is down (being used my windows-sister).
I think I tried it (in the early days) and found I could not stop rewriting.

   As to the other question, yes, the confDELIVERY_MODE=queue
  queues  all messages. My bad.
 
   The solution is to make all mailers except the local one
  expensive. 

Am I right in thinking local is used only for localhost bound mail?
Where does all this magic come from? Do I have to hand edit sendmail.conf by
hand? (any m4 shortcut?)

 --
 __ egrep ^M /etc/sendmail.cf
 Mlocal,   P=/usr/sbin/sensible-mda, F=lsDFMAw5:/|@qh90, S=10/30, 
 R=20/40,
 Mprog,P=/bin/sh, F=lsDFMoqu9, S=10/30, R=20/40, D=$z:/,
 Msmtp,P=[IPC], F=emDFMuX, S=11/31, R=21, E=\r\n, L=990,
 Mesmtp,   P=[IPC], F=emDFMuXa, S=11/31, R=21, E=\r\n, L=990,
 Msmtp8,   P=[IPC], F=emDFMuX8, S=11/31, R=21, E=\r\n, L=990,
 Mrelay,   P=[IPC], F=emDFMuXa8, S=11/31, R=61, E=\r\n, L=2040,
 --
   Notice the flag (F) e? it is not there for local or prog
  mailers, but is there for all smtp or esmtp mailers, and hence the
  non-local mail should wait for the queue run, but the local mail is
  delivered immediately.
 
   This is untried; but it should work.

Thank you for your answer. It seems to me (from other messages) that smail is
easier to manage WRT this problem (with routers, directors and the like). 
Problem is I don't like smail (and recent problems with newer smail don't make
me like it more). What I'd like sendmail to do is:

localhost mail  deliver locally don't rewrite header
LAN maildeliver thru eth0   don't rewrite header
internet mail   deliver thru ppp0   rewrite header

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


Re: Smail/Sendmail Question

1998-03-08 Thread mfrattola
 Graham Hello, I was wondering if the following is possible using
 Graham either Smail or Sendmail,
 
   Simple in sendmail.
 
 Graham What I want to do is to use smail or sendmail mail to deliver
 Graham my internet email, The problem I have is that I need one of
 Graham these packages to deliver any local mail or network mail to
^^
 Graham the appropriate user/server, but to queue all internet email
  
 Graham until my dialup connection is established using ppp, I also
  ^^^
 Graham need smail or sendmail to change the from address of the
 Graham email to the address of my internet email account, (i.e. email
 Graham bound for the internet needs the From address changed from
 Graham [EMAIL PROTECTED] which is my Linux box to
 Graham [EMAIL PROTECTED] my internet email account).
 
 Graham Is this possible?  if so how.
 
 __
 OSTYPE(debian)dnl
 FEATURE(masquerade_envelope)dnl
 define(`confDELIVERY_MODE', `queue')
 MAILER(local)dnl
 MAILER(smtp)dnl
 Cwinternet.com
 MASQUERADE_AS(internet.com)dnl
 __

Maybe I'm wrong, but doesn't this rewrite 'From' for every message, and not
only for those 'going out' of his LAN?
Also, doesn't confDELIVERY_MODE=queue queue all messages and wait for runq
to make the delivery?

I'm asking these question 'cos I have the same problem.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


a problem with headers (Was: in search for Mr. Scheetz)

1998-02-21 Thread mfrattola
Hi,
first of all I want to thank all those who helped me in my desperate search
for Mr. Scheetz. 
Now here's the problem that made impossible for me to reach Mr. Scheetz directly
I'm using elm+sendmail+popclient to send/receive my mail. On my outbound mail, I
use elm to properly rewrite the header with my POPaccount address. It used to
work, but Mr. Scheetz's ISP does (or at least this is what I have understood) 
some checks on mail headers to reject spam.
My mail messages seems to originate from my machine, which is not permanently
on internet and has no valid DNS name. Since this name doesn't resolve, my
messages can't reach Mr. Scheetz directly since they're taken as spam (coming
from a fake address).
Once upon a time I used to masquerade (in sendmail) my local machine name with
my ISP name. This was the only way known to me at that time to make the return
address come out right. When I discovered (thanks to this list again) the elm
header rewriting function, I stopped masquerading. I tried to revert to this
solution, but it doesn't seems to work (take a look at my header) now.

Now my questions are:
1. how can I make my messages reach Mr. Scheetz (and everybody who has spam
   address check)?
2. is there a way (preferably with sendmail, but I'm evaluating all suggestions)
   to masquerade only outbound messages (I have a small LAN and masquerading
   makes mail stop working on my LAN)

I'm not attaching any config file (pollution-wise), but I'm ready to send
whatever could help sort this out.
TIA
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


OFF TOPIC: in search for Mr. Scheetz

1998-02-16 Thread mfrattola
Hi,
sorry for this waste of bandwith, but this message is somewhat debian related.
I need to contact Mr. Dale Scheetz, who used to be an active debian developer
and debian CD burner (this is the reason why I'm looking for him). I sent many
messages to his (old?) address ([EMAIL PROTECTED]), but never got any answer.
If anybody knows how I can contact him, please send me a private message
Again, I apoligize for using this very useful list for a 'private' need.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


cdwrite and cd writers

1998-02-11 Thread mfrattola
Hi all,
not really a debian question, so please excuse me if someone's bothered.
Is there any other SCSI cd writer supported by cdwrite (I have 2.0, any new
release?) except hp, yamaha, philips and kodak? I have a teac r55s and it seems
it's not supported. Is it really unsupported? Since it's so difficult to find 
external SCSI writers, I'd like to knmow it before I return the writer.
Yamaha looks like the only other chance available here. Any advice/model to 
avoid?

thanks for your time.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


using cd-jukebox under linux

1998-01-21 Thread mfrattola
Hi all,
I need to use a cd-jukebox and I hope I can do it under linux. It's a SCSI thing
has 14 drives and takes up 2 SCSI ids (2x7 discs). Now it's attached to a 
win3.11 box with an adaptec 2940AU.
Problem is that machine sees all the drives at boot time, but there's no
way to access them under windows (letters/drives show, but they're all empty).
I don't want to mess with win95 + have a linux box running debian with a 2.0.27
kernel. I'm ready to recompile it, and would like to ask if there's any doc
about using such beast .. I guess I have to use CONFIG_SCSI_MULTI_LUN, but what
else? when all it's up, under which devices will I found the drives? /dev/scd?
Should I create other /dev/scd? devices (I see only scd0 and scd1)?

Any experience is welcome. FWIW, debian machine is an IBM 315 with 128 MB ram,
adaptec 2940UW, SCSI cd, SCSI tape, running mostly as a samba server.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


remote backup

1997-12-28 Thread mfrattola
Hi,
and happy holidays season to all. I'm trying to remote backup a debian machine
and I'm having some trouble, so I'm looking for advice.
Usually I backup using tob, i.e. afio. What I want now is that for the machine
with tape to share it with other machines on the same lan, at least allowing
them to write their backup on the tape.  In tob docs there's a reference to a
sample-rc directory containing examples, but I can't find it anywhere (I'm using
tob 0.14-1). I followed istructions given in another doc (called remotebackup)
but it all ends up in a 'permission denied' message on the client machine.
After a lot of mess with rsh and .rhosts files, I can execute 'stupid' commands
(i.e. ls) but not backup. afio seems not to understand [EMAIL PROTECTED]:device 
syntax
(used in that example). afio likes host:device syntax, but gives permission
denied, so I'm stuck.
Before giving up, I tried nc (netcat). It looks promising, but all the doc is
60K 'introduction' file, no man page, no switch list. Before dive into it, I'd
like to know if there's any info around.

Thank you very much
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


ping? no messages today

1997-10-13 Thread mfrattola
Is there any problem with the ML?
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


bogus packet size

1997-09-29 Thread mfrattola
Hi all,
today I found an old 386 locked up. After rebooting, I read this message in
/var/log/messages:

bogus packet size: 1 status=0x21 nxpg=0x40

This machine is on a local net, uses a ne2k clone (like many other machines on
that LAN), and no other machine signaled such error. What does that message
mean? LAN card going crazy? or what?

Thanks for your help.

PS: I don't know, nor mean, that there's a relation between lock up and net card
message. Kernel is a standard debian 2.0.6 kernel (used by at least another
machine on that net. No special hardware, just an old box doing printserving).
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


switching from ide to scsi

1997-09-10 Thread mfrattola
Hi all,
I decided to go the right way with one of my server and use scsi disk instead
of ide. That machine has already got a scsi controller (aha2940) that drives
a dat tape, so I only need to buy a scsi disk.
That machine is using debian 1.1 on ide and will probably use 1.2 on scsi.
What would be the best way to move data (and all) from the old ide disk to the
new scsi one?
Since that machine is a main server and need maximum uptime, downtime has to
be as low as possible. These are my questions:
- installing debian on scsi before moving data is not a problem, if I can plug
  in the scsi disk, install debian on it, move data and then unplug ide, but
  I don't know if this is doable (I read about having problems with ide+scsi
  disks in the same machine). Can I test the new installation without removing
  the old ide disk (just in case ..)?
- I know I could back up all the ide disk (maybe with tar? to cope with device
  files?) and then untar, but I know I should at least be careful with:
  - changing mounts (hda? to sda?)
  - rerunning lilo on scsi after changing lilo.conf
  - anything else?

Any advice is welcome.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


swap-free weirdness (Was: fsck from cron)

1997-08-31 Thread mfrattola
I found one of the strange messages given by my machine before the lock up. It
was something like this:

swap-free: weirdness
free_one_pmd: bad directory entry 01000

I don't know if this message has anything to do with the lock up, but I'd like
to know what it means, and I serious, what to do to prevent it.

Thanks in advance
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


fsck from cron?

1997-08-28 Thread mfrattola
Hi all!
I had a problem on a debian box (not related to debian, I think it's hardware)
but I'd like to ask here anyway. 
It's a 1.1 debian box with some upgrade to 1.2, pentium 166/64MB ram, ide disk
and aha2940+dat tape (I know, I know server should never use ide - I'll switch
to SCSI as soon as retailers open after summer vacations).
The problem was fs error totally blocking the machine.

After a bad day spent fsck'ing an ide disk with file system inconsistencies
(was that the word?) I was wondering if/how was possible to do some kind of
scheduled-fsck checks for those machines that never reboot (well, almost never),
something done weekly, monthly .. That would not eliminate fs errors (I have
never seen fs errors on a linux box in 4 years), but would catch them early and
on a regular base.
I think this can be quite tricky, since when you check / you have nothing to
write to (no mail/log file), and I'm not so sure what the best check order
would be (check / first, check it last), and I don't know if cron can be run
on a system in that state.

Before the crash, that system showed strange messages that were never logged
anywhere. I don't have them, since I was not there when machine stopped, but
I wonder why file system inconsistencies are not logged. Some weeks ago we
had messages saying something like bad pdm .. I wrote it on a piece of paper,
so I can send it if this can help understand what happened. Those messages
were not logged too (that's why I understimated them).

Thanks for your help/suggestion/comments. Thanks to all developers for their
gd work.

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


[XINETD] problems

1997-08-21 Thread mfrattola
Hi all,
I'm trying to learn xinetd so I installed 2.1.7-3 (from debian 1.2) on a debian
1.1-upgraded-to-1.2 machine. I found these (little) problems:
1. config file (when modified) is not reread using killall -USR1 xinetd or 
   /etc/init.d/xinetd reload. I have to stop and start it
2. using log_type = FILE filename doesn't work if filename doesn't exist. Man
   page says it should create it, but it doesn't.
Am I overlooking something? Can anyone confirm these problems?
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


Re: [XINETD] manpage missing FIXED

1997-08-09 Thread mfrattola
Hi,
and many thanks to all the kind people who answered my question(*). I found
xinetd.conf man page, so I checked out xinetd man page to see if a bug was
lying there (referring to xinetd (5) instead of xinetd.conf (5)), but it was
all ok. So I was wrong. But I remember not seeing a pointer to xinetd.conf
somewhere. So I tried man -k xinetd.conf, and that's what it shows

xinetd (1)  - the internet extended service daemon
xinetd.log (5)  - xinetd service log format

Do I have to upgrade man page index somehow?
Lesson learned: Debian is always right. Read man page carefully :)

(*) especially to Dimitri (Dima), Martin.Bialasinski and Oliver Elphick (thanks
for manpage)
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


[XINETD] manpage missing

1997-08-06 Thread mfrattola
Hi debian fellows,
I installed today 1.2.17 from a Flexible Software CD (thanks Dale). I wanted to
try xinetd and found substituting it to inetd painless. When I wanted to look
at the configuration issue, I found that xinetd (5) is missing.
Is this a (debian/linux) bug? Should I file a bugreport? Is there anybody who
can send me that manpage?

Thanks in advance

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


is awk working?

1997-07-17 Thread mfrattola
Hi,
I'm using an 'old' release of debian (1.1.13), and I'm happy with it. I found
out the other day that awk is not working the way its man page says.

If I use awk --re-interval, it should accept reg-expr like [0-9]{5} to mean
five numbers in row (a reg-expr definition of ZIP code?), but it doesn't.
It never matches things like 29100, instead matches 0{5} literaly. Am I
missing something or is it really broken?

Has anybody experienced this? Has it been fixed in more recent releases? I have
no longer Slack to test if this is debian-specific or not. Debian is so superior
I can live with this bug ..

PS: FWIW it's gawk 3.0 patch level 0
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


Re: LILO: Wrong Loader ..

1997-06-08 Thread mfrattola
 On Fri, 6 Jun 1997 [EMAIL PROTECTED] wrote:
 
  Disclaimer: it's my fault, I know.
  On a stable (1.1.13) debian box I tried to upgrade the kernel from install
  2.0.6 to a home-built 2.0.27. The home built kernel is known to work, so 
  this
  is not the problem. I built it via kernel-package, so I could install it 
  with
  dpkg. After that, I reboot to test the new kernel (ERROR: I know 2.0.27 
  needs a
  newer lilo, like 17-2 (the one I usually install with 2.0.27 - and they 
  work!))

 ^
THIS IS MY SECOND ERROR IN A ROW

  The reboot came up with a
  
  LILO: Wrong Loader .. Giving up
  
  message, or something like that.
  I realized I missed lilo upgrade, so rebuilt a boot disk and installed 
  lilo-17-2
  Reboot and .. same message. So I looked for lilo dependecies, and it depends
  on mbr. Upgraded also mbr, same message.
  What can I do to make that box boot again?
 
 I had exactly the same configuration, new kernel version and boot problem. 
 I upgraded lilo to version 19-2, reran lilo and the new kernel was
 bootable.  According to /usr/lib/kernel-package/rules the kernel is made
 as bzImage instead of zImage if you use make-kpkg.  Therefore another
 solution could be modifying /usr/lib/kernel-package/rules to make a
 zImage. I haven't tried that one.
 
 I do not use mbr in the boot process and always configure lilo.conf by
 hand so that could make the difference.
 
 In short, lilo 19-2 can and should work with kernel-source 2.0.27 and
 kernel-package 3.03. 
 
 Hope this helps narrowing down the problem.

I think you're totally right. I figured it out myself this morning (sleeping
always help) that lilo-17.2 could not be right, and that I'd have used the one
coming with debian 1.2 (which is 19.2, IIRC, like you say).

Thank you very much.
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


LILO: Wrong Loader ..

1997-06-06 Thread mfrattola
Disclaimer: it's my fault, I know.
On a stable (1.1.13) debian box I tried to upgrade the kernel from install
2.0.6 to a home-built 2.0.27. The home built kernel is known to work, so this
is not the problem. I built it via kernel-package, so I could install it with
dpkg. After that, I reboot to test the new kernel (ERROR: I know 2.0.27 needs a
newer lilo, like 17-2 (the one I usually install with 2.0.27 - and they work!))
The reboot came up with a

LILO: Wrong Loader .. Giving up

message, or something like that.
I realized I missed lilo upgrade, so rebuilt a boot disk and installed lilo-17-2
Reboot and .. same message. So I looked for lilo dependecies, and it depends
on mbr. Upgraded also mbr, same message.
What can I do to make that box boot again?

Thanks in advance!
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


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


AT cards: which one?

1997-04-15 Thread mfrattola
Hi,
I've found a brochure by Allied Telesyn saying that linux supports these
netcards:
at1500
at2000 (ne2000 clone)
at2560 (10/100 Mbit, PCI)

I'm surprised, since I've never seen at2560 supported by kernel, and it mentions
at1700 as not supported (and I know they are).
Did anybody try at2560? Which result? What about at1700?

TIA
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


intel ether express pro/10+ pci

1997-04-07 Thread mfrattola
Hi all,
does anybody have any experience with the LAN card in the subject? do they work
with linux? which driver (eepro?)?

TIA
-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


Re: ppp loopback

1997-04-05 Thread mfrattola
 
 [EMAIL PROTECTED] writes:
 
 [snip]
 
  But .. it doesn't start ip-up properly, since
  ip-up does the following:
 
 [snip]
 
  and I get messages from the echo lines, but I don't get any mail
  popped or sent.  Strange is, if I run ip-up by hand, it behaves
  properly.
 
 Do putmail and getmail rely on any settings of uid?  Slackware 3.0's

I don't know. Maybe. putmail simply checks if there are files in 
/var/spool/mqueue and if so starts sendmail on the queue. getmail starts
popclient with appropriate parameters, and the filters received mail with awk.
I'll check on this, but id doesn't work with root either.
I also have to say that only getmail is not working .. mail get sent. So
probably it's a problem with popclient (which is newer than Slack and has some
differencies in options .. and is obsolete, substituted by .. fetchmail? that
was alos substituted by .. don't remember .. I'll try qpopper and see how it
behaves.

 pppd ran ip-up (for me) with euid=root, uid=carey.  Debian's pppd runs
 ip-up with euid=root, uid=root.  I'm using the gid=carey to work out
 who invoked pppd.
 
  Also, in debian pppd I have to set default route by hand, since pppd
  informs me that he refuses to substitute my default route (usually
  to eth0) to ppp0 I'm using defaultroute in options file, but this
  doesn't help.
 
 Are you sure the previous default route is right?  For example, at

Well. I'm almost sure here (but could be wrong anyway). My LAN is made up of
two PCs, rarely up together (it's my home LAN). So default route is usually
thru eth0, like this: (route -n)

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
a.b.c.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  05 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0  01 eth0

This is how both Slack and Debian (with /etc/init.d/network) set it up.
When I call my ISP, I want my default route to be thru it:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
a.b.c.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  05 lo
0.0.0.0 my.isp.addr 255.255.255.0   U 0  01 ppp0

that's it. When I hang up, it has to revert to prior setup. With Slack that
happened simply using defaultroute in /etc/ppp/options.

 The best solution is to start routed -q which updates my machine

You probably have real networks, so you have real routers and gateways. I think
mine would be a little up-on-steroids home LAN if I used routed.

 from the router's periodic broadcasts.  I think I should put some
 stuff in /etc/gateways in case someone else's machine starts
 broadcasting bogus routes though.

Thanks for your suggestions, 

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


Re: ppp loopback

1997-04-04 Thread mfrattola
Hi all

and thanks to Dimitri and Bruce Perens who showed me the way ..

  Apr  1 21:05:52 zanzy pppd[351]: Serial line is looped back.
 ...
 What does this mean?(*) What can I do to prevent it?
 
 Usually happens when
 a) you forgot to send ppp command to your ISP (ie. common
 login sequence is to to send username, password and then type of
 service -- ppp, slip, whatever)

This is not the case, since, as I said, the same script with same hw works
fine .. but it's Slackware, and I want to get rid of it and move completely to
debian.

 b) ppp takes long time to start on your ISP's box.

This is probably the cause, but still I don't see why .. except Slack pppd being
slower than debian pppd .. so not catching up with my ISP.
Reading Debian doc about pppd (/usr/doc/pppd/README) suggest me to put a

chat chat script  sleep 5

in my script and this fixed it. But .. it doesn't start ip-up properly, since
ip-up does the following:


#!/bin/sh
#
# $Id: ip-up,v 1.1 1996/01/31 21:25:59 alvar Exp $
#
# This script is run by the pppd after the link is established.
# It should be used to add routes, set IP address, run the mailq 
# etc.
#
# This script is called with the following arguments:
#Arg  Name   Example
#$1   Interface name ppp0
#$2   The ttyttyS1
#$3   The link speed 38400
#$4   Local IP number12.34.56.78
#$5   Peer  IP number12.34.56.99

#
# The  environment is cleared before executing this script
# so the path must be reset
#
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
export PATH

# ADDED
# MK @ PC 96/01/25

# say we're on-line
echo running on $1 to $5 as $4 @ $3  /dev/console

EXECDIR=/etc/ppp

# routing
route del default 
route add default dev ppp0

# send mail
echo 'doing putmail'  /dev/console
$EXECDIR/putmail

# get mail
echo 'doing getmail'  /dev/console
$EXECDIR/getmail

echo ip-up done!  /dev/console

# last line

and I get messages from the echo lines, but I don't get any mail popped or sent.
Strange is, if I run ip-up by hand, it behaves properly.
Also, in debian pppd I have to set default route by hand, since pppd informs me
that he refuses to substitute my default route (usually to eth0) to ppp0
I'm using defaultroute in options file, but this doesn't help.

I'm not complaining, when I compare slackware to debian. In all machine I have
installed (up to now, more than 10) debian behaves generally better than Slack,
so I'm happily moving all machine to debian. I just want to know what I'm doing
wrong here, since probably it's my fault. Thanks to all the folks who made and
still make debian so good!

Any help is welcome
Thanks in advance

 b) use TIMEOUT chat commands, passive or silent pppd options.

I'll try them

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!


ppp loopback

1997-04-02 Thread mfrattola
Hi all,

last time I fired up ppp it connected to my ISP, but immediatly hung up. In
/var/log/daemon.log I find:

 Apr  1 21:05:30 zanzy pppd[351]: pppd 2.2.0 started by root, uid 0
 Apr  1 21:05:50 zanzy pppd[351]: Serial connection established.
 Apr  1 21:05:51 zanzy pppd[351]: Using interface ppp0
 Apr  1 21:05:51 zanzy pppd[351]: Connect: ppp0 -- /dev/modem
 Apr  1 21:05:52 zanzy pppd[351]: Serial line is looped back.
 Apr  1 21:05:52 zanzy pppd[351]: Connection terminated.
 Apr  1 21:05:52 zanzy pppd[351]: Exit.

What does this mean?(*) What can I do to prevent it? I'm using ppp-2.2.0f on a
rather stable debian 1.1. With same hardware, but with old Slackware, it doesn't
happen.
Can somebody help me?

(*) is it a sort of 'Upgrade to ppp-x.y.z' ?

-- 
|||| |||  Marco Frattola Microsoft is not the answer
||`..'|| |||...   Piacenza, ItalyMicrosoft is the question
|||  ||| |||''[EMAIL PROTECTED]No is the answer
|||  ||| |||  www.enjoy.it/users/~mk/index.html  Live Linux, live free!