Fetchmail working: sendmail next?

2000-08-08 Thread davidturetsky



OK, with a lot of help from the list, I have 
fetchmail working, at least from a non-msn ISP. Now I need something to handle 
outgoing bulk mail, to a list of addressees in a file

I see and hear about lots of packages: exim, 
sendmail, zmailer, majordomo, etc

I'd be grateful to hear views about the relative 
merits of these and any others that it might make sense to consider

David


Re: ppp working [was:fetchmail/minicom]

2000-08-07 Thread davidturetsky

Wait a minute. I'm already logged in! Why should I be logging in again via
fetchmail

I will explore pullout out the LOGIN and PASS parameters from .fetchmailrc
and see how msn responds then

David

  Aug  6 21:39:55 debian fetchmail[914]: POP3 USER MSN/davidturetsky^M
  Aug  6 21:39:56 debian fetchmail[914]: POP3 -ERR Permission denied

 this is sloppy.  The pop3 server is telling you this is not a valid
 user.  Most pop servers will wait for a password even if the user is not
 valid, then reject the login.  Your ppp account is MSN/davidturestsy,
 but I bet your pop3 account is just davidturetsky.  pop3 couldn't care
 less what kind of line or underlying protocol is used.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: ppp working

2000-08-07 Thread davidturetsky

I'm even lazier, so I've just been using 'poff'

Could fetchmail, etc be killing the pid when it aborts?

Goodnight, Chet!

David

- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, August 06, 2000 10:54 PM
Subject: Re: ppp working 


 
 
 On Mon, 7 Aug 2000, davidturetsky wrote:
 
  I can't find any variant of account name that produced any
  successful/different result, so I am posting the question to msn, which
  provided the account name styling in the first place. Their policy is
 to
  reply within 24 hours
 
  Lawson, yes, I had failed to chmod 755 /etc/ppp/ppp-off. However when I
  cleaned that up, I got:
 
  /etc/ppp/ppp-off: kill: cat /var/run/ppp0.pid: no such pid
 
  However there is just such a file in that directory
 
  David
 
 Sure there is.  The message didn't say "no such file", it said,
 "no such pid".  I think it's dead.
 
 I bet something had already killed it with a -KILL signal, so it
 couldn't clean up after itself and remove its pid file.
 
 Maybe I am lazy, but if you only run 1 pppd,
 
 killall -HUP pppd
 
 works fine.  this is not necessarily portable to other unices.
 
 Lawson
 
 "Good night, David."  - Chet Huntley




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: installing sendmail

2000-08-07 Thread davidturetsky

Yes, that is exactly what I did

I've been doing this by hand since fetchmailconf assumes a graphical
interface and I'm running from the command line

David

- Original Message -
From: [EMAIL PROTECTED]
To: Ray Olszewski [EMAIL PROTECTED]
Cc: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Monday, August 07, 2000 12:22 AM
Subject: Re: installing sendmail


 Actually if you have fetchmail installed then you can write your own
 .fetchmailrc in your home directory.
 On Sat, 5 Aug 2000, Ray Olszewski wrote:

  Date: Sat, 05 Aug 2000 13:20:22 -0700
  From: Ray Olszewski [EMAIL PROTECTED]
  To: davidturetsky [EMAIL PROTECTED],
   [EMAIL PROTECTED]
  Subject: Re: installing sendmail
 
  At 01:58 PM 8/5/00 -0700, davidturetsky wrote:
  I too have been trying to grope my way through sendmail. Yes it was
  installed with my system at /usr/sbin, but there is no file
.fetchmailrc or
  sendmail.cf
  
  I wonder if I shouldn't download a fresh copy and (re)install it
 
  Bet you're wrong. You run Debian, yes? The default mailer for Debian is
  exim, not sendmail. It sets up a symlink "sendmail" that points to exim
(any
  MTA does that, because way too many applications assume that name for
the
  system's MTA to let them do anything else).
 
  Since fetchmail is a separate application, neither exim nor genuine
sendmail
  would create any .fetchmailrc files. Try installing fetchmail.*.deb and
  fetchmailconf.*.deb for this. (I assume you know how to use apt-get by
now.)
 
  Instead of sendmail.cf, you want to look for /etc/exim.conf (or, easier,
run
  /usr/sbin/eximconfig).
 




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: installing sendmail

2000-08-07 Thread davidturetsky

Yes, pretty close. I flipped-flopped about dns/nodns (currently omitted
both), and don't have 'to root'. In addition to what is shown below, I have
pass 

Here is my latest setup (from fetchmail -v):

This is fetchmail release 4.6.4
Linux debian 2.2.12 #2 Thu Aug 26 11:46:26 PDT 1999 i686 unknown
Taking options from command line and /root/.fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to postmaster.
Options for retrieving from [EMAIL PROTECTED]:
  True name of server is pop3.email.msn.com.
  Protocol is POP3.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will be kept on the server (--keep on).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Nonempty Status lines will be kept (dropstatus off)
  Messages will be SMTP-forwarded to: smtp.email.msn.com
  Recognized listener spam block responses are: 571 550 501
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.

David

- Original Message -
From: [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:10 AM
Subject: Re: installing sendmail


 So you have a file like
 poll isp.com protocol pop3 nodns
 localdomains yourhostname
 user username pass password to
 root
 *
 here
 On Mon, 7 Aug 2000, davidturetsky wrote:

  Date: Mon, 7 Aug 2000 04:25:26 -0700
  From: davidturetsky [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: installing sendmail
 
  Yes, that is exactly what I did
 
  I've been doing this by hand since fetchmailconf assumes a graphical
  interface and I'm running from the command line
 
  David
 
  - Original Message -
  From: [EMAIL PROTECTED]
  To: Ray Olszewski [EMAIL PROTECTED]
  Cc: davidturetsky [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Monday, August 07, 2000 12:22 AM
  Subject: Re: installing sendmail
 
 
   Actually if you have fetchmail installed then you can write your own
   .fetchmailrc in your home directory.




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: installing sendmail

2000-08-07 Thread davidturetsky

Here are my settings:

# .fetchmailrc David Turetsky 8.5.00
poll pop3.email.msn.com
proto pop3
nodns
user MSN/davidturetsky
pass secret
smtp smtp.email.msn.com
keep

I'm taking suggestions!

David

- Original Message - 
From: Richard Spencer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 06, 2000 11:44 PM
Subject: Re: installing sendmail


 Fetchmail is pretty straightforward, but here's a head start  :-)
 
 # /home/*/.fetchmailrc
 defaults proto POP3 fetchall nokeep 
 poll pop3.ISPserver.com
 user [EMAIL PROTECTED] is systemuser pass secret
 
 the first line offers options for one or more accounts; I 
 actually check two accounts, but have listed one as an example.
 
 POP3 is the protocal, retrieve all messages (new or old)
 and don't keep them on the server; I used 'keep' until I got it
 working.
 
 On the next line, check this email server (it's the POP3 server.)
 
 On the last line I have 'user' followed by my user name,
 and then (because my login on my linux box) is different from my 
 email address, I tell fetchmail 'email is user' or mail to 
 my email address should be routed to the login name on my linux
 box.
 
 You could follow this with further lines like:
 
 poll pop3.anywhere.com 
 user [EMAIL PROTECTED] is rks pass secret
 
 to poll additional mail servers.
 
 You'd then want to look into procmail :-)
   




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: [newbie] Linux resources online

2000-08-07 Thread davidturetsky

Yes, the 1620 was a decimal machine. Word oriented. We started with machine
language,  then assembler, then the big move to Fortran II, then the huge
5mg hard drive which eliminated having to create object code on punched
cards and resubmitting then to the linker/loader. I believe if you wanted
printed output, you created that output on punched cards and brought them
over to a standalone printer which printed card images

It was the good old days! But not as good and not as old as what you
describe!

David
- Original Message -
From: Joe S. Warren [EMAIL PROTECTED]
To: *List Linux-Newbie [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 5:26 AM
Subject: Re: [newbie] Linux resources online


 If memory serves me, the 1620 was a decimal machine that didn't have an
 arithmetic unit, add and multiply was performed by trap routines using
 table look-up.  My first binary machine was an IBM 7094 w/ 32K of 36-bit
 words, 4 256/512 bpi tape drives, a 300 card/minute card reader and a
 300 lpm line printer (no disk).  In '64 we upgraded to dual CDC 3600s
 with 32K of 48-bit words each and 32K words of shared memory, 8 tape
 drives each, 1200 lpm printers and 1200 cpm card readers; still no
 disks.  These were the Eastern Missle Test Range's Range Safety
 Instantaneous Impact Point computers and there were 2 so that the range
 was "Man Rated," supposedly everything had a backup.  All s/w was
 assembly language because it took 4 u-sec to do a floating point add.  I
 remember modifying the arithmetic sub-pack used to calculate trig
 functions and logs to remove all error returns; these were realtime
 routines and if you stopped, you knew you were wrong, if you just got a
 wrong answer, you might still be right on the next computation cycle 100
 ms later.  I didn't learn a compiler language (Fortran-77) until 1980.

 Joe
 davidturetsky wrote:
 
  Gee, what memories you bring back!
 
  I learned FORTRAN II on an IBM 1620 Model 1 (no disk drive) at NYU in
the
  mid-60s, subsequently upgraded to a Model II with a 5meg drive. I then
went
  on to do a lot of programming on an 1130
 
  In 1971 I went to work for a company which made a microprogrammable
  replacement for the IBM 1130 which was much faster. Somehow in IBM's
master
  plan, the 1130 had too good a price/performance ratio to improve it
further
  since that would put it in competition with models like the 360/44
 
  David
 
  - Original Message -
  From: Jim Reimer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Cc: *List Linux-Newbie [EMAIL PROTECTED]
  Sent: Sunday, August 06, 2000 6:05 PM
  Subject: Re: [newbie] Linux resources online
 
   I was using a 1620 in 1970, and it was transistorized, not tubes.  Had
a
   5-meg disk drive (14 inch variety, stacked platters) and punched
cards.
   "High speed" output was to punched cards, and if you wanted something
you
   could read, you had to run the cards through an accounting machine.
The
   really hot computer at the time was the IBM 1130 (unless you had
access to
   one of the 360 variants).  The 1130 had assembler, FORTRAN, COBOL, and
  RPG.
  
   Also had the privelege (?) of using an RCA 301, which had 4k of core
  memory,
   six vacuum-column tape drives, and a 900-line/minute printer at about
the
   same time.  The only thing available on it was assembler.
  
   Sure punched a lot of cards on 026 keypunch machines back then. :-)
  
   -jdr-
  
  
   Renaud OLGIATI wrote:
   
I remember working on a machine with 4 k memory; but this was a
  main-frame
(IBM 1620) using vacum tubes; input and output by punched cards, and
running Fortran II;
Must have been in '68 or '69.
   
This was the "obsolete" machine us students were allowed to play
with;
  for
serious computing, there was another mainframe, with a hard disk of,
  IIRC,
4 Mb capacity; memory was 96 kb, raised to 128 kb around 1970.
   
And we were told we were priviledged, because our university had one
of
  the
most powerful computers in the education system at the time !
   
Cheers,
   
Ron the Frog, getting old on the banks of the Paraguay River.
   
 Anybody else on this list old enough to remember when the "suits"
 didn't run things, and games/software were ported to every single
 platform, just because they could/it was neat? Circa '80's with
 names like Tandy, Atari, Amiga, etc, etc,... ;-)

 --
/\

DarkLord
\/
   
--
   
  Any sufficiently advanced technology
  is indistinguishable from magic.
   -- Arthur C. Clarke
   
  ---  http://personales.conexion.com.py/~rolgiati  ---
   
   
-
  
   -
   To unsubscribe from this list: send the line "unsubscribe
linux-newbie" in
   th

Re: ppp working

2000-08-07 Thread davidturetsky

Makes a ppp connection

check man pon

poff seems to be the functional equivalent of KILL-blah-blah...

They both appear to break the connection with an authentic click of the
modem relay

David

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 10:05 AM
Subject: Re: ppp working


 What, exactly, does 'poff' do?   I doubt fetchmail could/would kill
 it.  Normally, you can hear when pppd dies:  there will be the click of
 a relay as the modem puts the phone back on the hook.




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



pon

2000-08-07 Thread davidturetsky

The script for pon is:

  /usr/sbin/ppp call ${1:-provider}

plog:

 tail $* /var/log/ppp.log

poff:

#!/bin/sh

# $Id: poff,v 1.4 1998/05/26 14:46:08 phil Exp $
# Written by Phil Hands [EMAIL PROTECTED], distributed under the GNU GPL

SIG=TERM DONE=stopped;

getopts rdch FLAG
case $FLAG in
 "r") SIG=HUP  DONE=signalled; shift  ;;
 "d") SIG=USR1 DONE=signalled; shift ;;
 "c") SIG=USR2 DONE=signalled; shift ;;
 "h") cat !EOF!
usage: $0 [options] [provider]

options:
  -rcause pppd to drop the line and redial
  -dtoggles the state of pppd's debug option
  -ccause pppd to renegotiate compression
  -hthis help summary
!EOF!
exit 1
;;
esac

PROVIDER=$1


# Lets see how many pppds are running
set -- `cat /var/run/ppp*.pid 2/dev/null`

case $# in
  0) # pppd only creates a pid file once ppp is up, so let's try killing
pppd
 # on the assumption that we've not got that far yet.
 kill -${SIG} `ps axw | egrep "pppd call [[:alnum:]]+" | grep -v grep |
awk '{print $1}'`
 exit 0
 ;;
  1) # If only one was running then it can be killed using the pid
 kill -${SIG} $1
 exit 0
 ;;
  *) # More than one! Aieehh.. We have to use ps to figure it out.
 # If no arguments were specified, then assume the 'provider' default.
 PID=`ps axw | egrep "pppd call ${PROVIDER:-provider}[[:space:]]*\$" |
grep -v grep | awk '{print $1}'`
 if [ $PID ]; then
kill -${SIG} ${PID}
exit 0
 else
echo "I could not find a pppd process or provider
'${PROVIDER:-provider}'. None ${DONE}"
exit 1
 fi
 ;;
esac

Here's man pon:

NAME
   pon,  poff,  plog  - startup, shutdown, or list the log of
   the PPP connection.

SYNOPSIS
   pon
   poff
   plog

DESCRIPTION
   pon and  poff  switch  the  ppp  connection  on  and  off.
   Progress  and  logged events related to the ppp connection
   can be viewed using plog

REQUIREMENTS FOR the p-commands to work
   /etc/ppp.chatscript
   must contain the correct chatscript to connect  to
   your  provider.  All users that are supposed to be
   able to use the p-commands should have read access
   to this file.

   /etc/ppp.options_out
   contains  the  options  for ppp to connect to your
   provider. This file also must be readable  by  all
   users who should be able to use the p-commands.

FILES
   /etc/ppp.chatscript
   /etc/ppp.options_out
   /etc/ppp/options
  /var/log/ppp.log
  /etc/ppp/pap-secrets
  /etc/ppp/chap-secrets

SEE ALSO
   pppd(8), chat(8), and the documentation in /usr/doc/ppp

AUTHOR
   The  p-commands  were written by Christoph Lameter clame­
   [EMAIL PROTECTED]


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, August 07, 2000 11:25 AM
Subject: Re: ppp working


 I meant, what does it do.  It is probably a 2 line shell script file you
 could list with

 cat $(which poff)

 I don't have pon, poff, ppp-off, nor man pages for them.  poff is
 probably exactly kill-blah-blah, but if the blah-blah includes -KILL or
 -9 the target pid will die immediately without getting a chance to
 remove its pid file or lock file.

 On Mon, 7 Aug 2000, davidturetsky wrote:

  Makes a ppp connection
 
  check man pon
 
  poff seems to be the functional equivalent of KILL-blah-blah...
 
  They both appear to break the connection with an authentic click of the
  modem relay




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail/minicom

2000-08-06 Thread davidturetsky

My ppp script now goes further, but still runs into the authentication
problem

Here are the pppd and chat log files, with debug added
The message, 'can't locate module char-major-45' in the pppd log file has
been appearing for some time. I don't believe I previously reported it

David

[chatlogfile]

Aug  6 11:24:53 debian pppd[274]: pppd 2.3.5 started by root, uid 0
Aug  6 11:24:54 debian chat[275]: send (ATZ^M)
Aug  6 11:24:54 debian chat[275]: expect (OK)
Aug  6 11:24:54 debian chat[275]: ATZ^M^M
Aug  6 11:24:54 debian chat[275]: OK
Aug  6 11:24:54 debian chat[275]:  -- got it
Aug  6 11:24:54 debian chat[275]: send (ATDT410-727-0315^M)
Aug  6 11:24:54 debian chat[275]: expect (CONNECT)
Aug  6 11:24:54 debian chat[275]: ^M
Aug  6 11:25:22 debian chat[275]: ATDT410-727-0315^M^M
Aug  6 11:25:22 debian chat[275]: CONNECT
Aug  6 11:25:22 debian chat[275]:  -- got it
Aug  6 11:25:22 debian chat[275]: send (^M)
Aug  6 11:25:22 debian chat[275]: expect (ogin:)
Aug  6 11:25:22 debian chat[275]:  37333/ARQ/V90/LAPM/V42BIS^M
Aug  6 11:25:27 debian chat[275]: ^M
Aug  6 11:25:27 debian chat[275]:
Aug  6 11:25:27 debian last message repeated 23 times
Aug  6 11:25:27 debian chat[275]: UQKT2 tnt2.baltimore.md.da.uu.net^M
Aug  6 11:25:27 debian chat[275]: ^M
Aug  6 11:25:27 debian chat[275]: ^M
Aug  6 11:25:27 debian chat[275]: Login:
Aug  6 11:25:27 debian chat[275]:  -- got it
Aug  6 11:25:27 debian chat[275]: send (MSN/davidturetsky^M)
Aug  6 11:25:27 debian chat[275]: expect (assword:)
Aug  6 11:25:27 debian chat[275]:  MSN/davidturetsky^M
Aug  6 11:25:27 debian chat[275]: Password:
Aug  6 11:25:27 debian chat[275]:  -- got it
Aug  6 11:25:27 debian chat[275]: send ([password removed]^M)
Aug  6 11:25:27 debian pppd[274]: Serial connection established.
Aug  6 11:25:28 debian pppd[274]: Using interface ppp0
Aug  6 11:25:28 debian pppd[274]: Connect: ppp0 -- /dev/modem
Aug  6 11:25:28 debian pppd[274]: sent [LCP ConfReq id=0x1 asyncmap 0x0
auth pap magic 0x56f83bb3 pcomp accomp]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP ConfReq id=0x1 mru 1524
asyncmap 0xa pcomp accomp  13 09 03 00 c0 7b 7e 1e 10]
Aug  6 11:25:29 debian pppd[274]: sent [LCP ConfRej id=0x1  13 09 03 00 c0
7b 7e 1e 10]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP ConfRej id=0x1 auth pap]
Aug  6 11:25:29 debian pppd[274]: sent [LCP ConfReq id=0x2 asyncmap 0x0
magic 0x56f83bb3 pcomp accomp]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP ConfReq id=0x2 mru 1524
asyncmap 0xa pcomp accomp]
Aug  6 11:25:29 debian pppd[274]: sent [LCP ConfAck id=0x2 mru 1524
asyncmap 0xa pcomp accomp]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP ConfAck id=0x2 asyncmap 0x0
magic 0x56f83bb3 pcomp accomp]
Aug  6 11:25:29 debian pppd[274]: sent [LCP EchoReq id=0x0 magic=0x56f83bb3]
Aug  6 11:25:29 debian pppd[274]: peer refused to authenticate
Aug  6 11:25:29 debian pppd[274]: sent [LCP TermReq id=0x3 "peer refused to
authenticate"]
Aug  6 11:25:29 debian pppd[274]: rcvd [IPCP ConfReq id=0x1 compress VJ 0f
01 addr 206.115.159.40]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP EchoRep id=0x0 magic=0x0]
Aug  6 11:25:29 debian pppd[274]: rcvd [LCP TermAck id=0x3]
Aug  6 11:25:29 debian pppd[274]: Connection terminated.
Aug  6 11:25:29 debian pppd[274]: Hangup (SIGHUP)
Aug  6 11:25:29 debian pppd[274]: Exit.

[pppdlogfile]

Aug  6 11:18:06 debian modprobe: can't locate module char-major-45
Aug  6 11:19:38 debian init: Switching to runlevel: 6
Aug  6 11:21:37 debian modprobe: can't locate module char-major-45

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 11:11 PM
Subject: Re: fetchmail/minicom


 Good. You've found the answer. Your chatscript reported using
 "davidturetsky" as userid, but the ISP expects "MSN/davidturetsky". Change
 the chstscript and see if pppd (however you invoke it - I don't have the
 backfile of your messages handy) now works correctly.

 At 12:18 AM 8/6/00 -0700, davidturetsky wrote:
 I ran minicom:
 
 ATDT410-727-0315
 cr in response to CONNECT
 
 responded to login with MSN/davidturetsky (plain davidturetsky was
rejected)
 responded to password with password
 
 Got:
 
 Entering PPP Session.
 IP address is 63.24.126.61
 MTU is 1524
 [rest deleted]



 --
 "Never tell me the odds!"---
 Ray Olszewski-- Han Solo
 Palo Alto, CA[EMAIL PROTECTED]
 




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: ppp working [was:fetchmail/minicom]

2000-08-06 Thread davidturetsky


Yes, I changed to pop3 address and got past that point. Now the server has
something else it doesn't like. Here's the relevant syslog:

Aug  6 21:39:55 debian fetchmail[914]: POP3 +OK CPIMSPOPA09.email.msn.com
POP3 Server
Aug  6 21:39:55 debian fetchmail[914]: POP3 USER MSN/davidturetsky^M
Aug  6 21:39:56 debian fetchmail[914]: POP3 -ERR Permission denied
Aug  6 21:39:56 debian fetchmail[914]: Permission denied
Aug  6 21:39:56 debian fetchmail[914]: POP3 PASS *^M
Aug  6 21:39:56 debian fetchmail[914]: POP3 -ERR Command is not valid for
this state -- valid commands are: USER APOP AUTH QUIT.
Aug  6 21:39:56 debian fetchmail[914]: Command is not valid for this
state -- valid commands are: USER APOP AUTH QUIT.
Aug  6 21:39:56 debian fetchmail[914]: Authorization failure on
[EMAIL PROTECTED]
Aug  6 21:39:56 debian fetchmail[914]: POP3 QUIT^M
Aug  6 21:39:56 debian fetchmail[914]: POP3 +OK
Aug  6 21:39:56 debian fetchmail[914]: authorization error while fetching
from pop3.email.msn.com
Aug  6 21:39:56 debian fetchmail[914]: Authentication failed for
[EMAIL PROTECTED]

Does not like my login?

Here is the output from fetchmail --version

This is fetchmail release 4.6.4
Linux debian 2.2.12 #2 Thu Aug 26 11:46:26 PDT 1999 i686 unknown
Taking options from command line and /root/.fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to postmaster.
Options for retrieving from [EMAIL PROTECTED]:
  True name of server is pop3.email.msn.com.
  Protocol is POP3.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will be kept on the server (--keep on).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Nonempty Status lines will be kept (dropstatus off)
  Messages will be SMTP-forwarded to: smtp.email.msn.com
  Recognized listener spam block responses are: 571 550 501
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.

Regarding the kill command below, I was logged in as root so I don't
understand why the command was rejected

David

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, August 06, 2000 3:48 PM
Subject: Re: ppp working [was:fetchmail/minicom]

[deleted]

 
 Don't I remember in the info from MSN you quoted the pop3 server was

 pop3.email.msn.com

 ??

 I think that is exactly what it means, pop3.email.msn.com, _not_ port
 110 at email.msn.com.  email.msn.com is a [sub]domain.  it doesn't have
 an IP and you can't get mail from it.

  The output from fetchmail -V follows:
 
  This is fetchmail release 4.6.4
  Linux debian 2.2.12 #2 Thu Aug 26 11:46:26 PDT 1999 i686 unknown
  Taking options from command line and /root/.fetchmailrc
  Idfile is /root/.fetchids
  The script reads:
 
  kill 'cat /var/run/ppp0.pid'

 can the user who ran ppp-off cat /var/run/ppp0.pid?  I bet that file is
 owned by root and not readable by other.
 
  poff terminates the connection successfully
  using pon (instead of my /etc/ppp/ppp-on script) also gets me a good
  connection
 
  I seemingly sent myself mail via sendmail, but it certainly hasn't
 arrived.
  I wrote:
 
  sendmail [EMAIL PROTECTED] 'sendmail test'
  .
  Ctl-D
 
  I assume once I 'pon' or '/etc/ppp/ppp-on' I can then rev up any
  application
  that wants to use the connection. How do I integrate the dialup into
  fetchmail/sendmail/exim . . . or should I?
 
  David
 
 Let's get 'em working first.  You can put jobs you want to run at ppp
 startup in /etc/ppp/ip-up.  man pppd tells what parameters it gets.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: [newbie] Linux resources online

2000-08-06 Thread davidturetsky

Gee, what memories you bring back!

I learned FORTRAN II on an IBM 1620 Model 1 (no disk drive) at NYU in the
mid-60s, subsequently upgraded to a Model II with a 5meg drive. I then went
on to do a lot of programming on an 1130

In 1971 I went to work for a company which made a microprogrammable
replacement for the IBM 1130 which was much faster. Somehow in IBM's master
plan, the 1130 had too good a price/performance ratio to improve it further
since that would put it in competition with models like the 360/44

David

- Original Message -
From: Jim Reimer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: *List Linux-Newbie [EMAIL PROTECTED]
Sent: Sunday, August 06, 2000 6:05 PM
Subject: Re: [newbie] Linux resources online


 I was using a 1620 in 1970, and it was transistorized, not tubes.  Had a
 5-meg disk drive (14 inch variety, stacked platters) and punched cards.
 "High speed" output was to punched cards, and if you wanted something you
 could read, you had to run the cards through an accounting machine.  The
 really hot computer at the time was the IBM 1130 (unless you had access to
 one of the 360 variants).  The 1130 had assembler, FORTRAN, COBOL, and
RPG.

 Also had the privelege (?) of using an RCA 301, which had 4k of core
memory,
 six vacuum-column tape drives, and a 900-line/minute printer at about the
 same time.  The only thing available on it was assembler.

 Sure punched a lot of cards on 026 keypunch machines back then. :-)

 -jdr-


 Renaud OLGIATI wrote:
 
  I remember working on a machine with 4 k memory; but this was a
main-frame
  (IBM 1620) using vacum tubes; input and output by punched cards, and
  running Fortran II;
  Must have been in '68 or '69.
 
  This was the "obsolete" machine us students were allowed to play with;
for
  serious computing, there was another mainframe, with a hard disk of,
IIRC,
  4 Mb capacity; memory was 96 kb, raised to 128 kb around 1970.
 
  And we were told we were priviledged, because our university had one of
the
  most powerful computers in the education system at the time !
 
  Cheers,
 
  Ron the Frog, getting old on the banks of the Paraguay River.
 
   Anybody else on this list old enough to remember when the "suits"
   didn't run things, and games/software were ported to every single
   platform, just because they could/it was neat? Circa '80's with
   names like Tandy, Atari, Amiga, etc, etc,... ;-)
  
   --
  /\
  DarkLord
  \/
 
  --
 
Any sufficiently advanced technology
is indistinguishable from magic.
 -- Arthur C. Clarke
 
---  http://personales.conexion.com.py/~rolgiati  ---
 
 
  -

 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: ppp working

2000-08-06 Thread davidturetsky

I can't find any variant of account name that produced any
successful/different result, so I am posting the question to msn, which
provided the account name styling in the first place. Their policy is to
reply within 24 hours

Lawson, yes, I had failed to chmod 755 /etc/ppp/ppp-off. However when I
cleaned that up, I got:

/etc/ppp/ppp-off: kill: cat /var/run/ppp0.pid: no such pid

However there is just such a file in that directory

David

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, August 06, 2000 8:32 PM
Subject: Re: ppp working [was:fetchmail/minicom]




 On Sun, 6 Aug 2000, davidturetsky wrote:

 ...
 this is sloppy.  The pop3 server is telling you this is not a valid
 user.  Most pop servers will wait for a password even if the user is not
 valid, then reject the login.  Your ppp account is MSN/davidturestsy,
 but I bet your pop3 account is just davidturetsky.  pop3 couldn't care
 less what kind of line or underlying protocol is used.
 ...
  Does not like my login?

 Sure looks that way to me.  if plain davidturetsky (without
 MSN/) doesn't do it, maybe you should look back to the info from MSN a
 few letters back.  once it doesn't like the user, the rest is fallout
 from that bomb.
 ...
  Regarding the kill command below, I was logged in as root so I don't
  understand why the command was rejected
 
  David

 Does the command itself have execute permission?  Root can read, write
 or delete a file without permission, but it can not execute a file that
 has no execute permission.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



fetchmail

2000-08-05 Thread davidturetsky



I just downloaded fetchmailfrom the Debian 
site and installed it

when I run:

 fetchmail -v -k -p POP3 -u 
MSN/davidturetsky email.msn.com

I get:

 fetchmail: 4.6.4 querying 
email.msn.com (protocol POP3)
 fetchmail: POP3 connection to 
email.msn.com failed: temporary name server error
 fetchmail: Query status=2
 fetchmail: normal termination, status 
2

/etc/resolv.conf has the correct nameserver entries 
(minicom had no problem)

No dial tone was heard

Appreciate any help

David


Re: fetchmail

2000-08-05 Thread davidturetsky

How do I set up my Linux system to autodial?

I'd be happy to provide any description that would be helpful. What
information would be useful

As for ppp, I ran pppconfig. As I previously posted, the related scripts to
test it did not reach dialtone. I have been trying to explore all this with
posts to the list, trying different workarounds and buying a slew of
O'Reilly texts

The response to nslookup perhaps confirms the autodial issue

*** can't find server name for address 204.255.246.17: No response from
server
*** can't find server name for address 204.255.246.18: No response from
server
*** Default servers are not available

David

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 9:16 AM
Subject: Re: fetchmail


 minicom wouldn't have a problem with name resolution, since it never does
 any. As to the problem you are experiencing with fetchmail ... how does
your
 workstation make a ppp connection to the Internet? It sounds like it is
not
 set up to autodial, resulting in the nameserver addresses in
 /etc/resolv.conf being unreachable (unless you started ppp menually before
 doing this).

 If you want real advice, though, you're going to have to provide a more
 detailed description of your setup.

 At 03:19 AM 8/5/00 -0700, davidturetsky wrote:
 I just downloaded fetchmail from the Debian site and installed it
 
 when I run:
 
fetchmail -v -k -p POP3 -u MSN/davidturetsky email.msn.com
 
 I get:
 
fetchmail: 4.6.4 querying email.msn.com (protocol POP3)
fetchmail: POP3 connection to email.msn.com failed: temporary name
 server error
fetchmail: Query status=2
fetchmail: normal termination, status 2
 
 /etc/resolv.conf has the correct nameserver entries (minicom had no
problem)
 
 No dial tone was heard

 [html duplicate deleted]



 --
 "Never tell me the odds!"---
 Ray Olszewski-- Han Solo
 Palo Alto, CA[EMAIL PROTECTED]
 




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail

2000-08-05 Thread davidturetsky

When running 'nslookup -q=any' or 'nslookup email.msn.com', both return:

*** can't find server name for address 204.255.246.17: No response from
server
*** can't find server name for address 204.255.246.18: No response from
server
*** Default servers are not available

David

- Original Message -
From: [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 1:16 AM
Subject: Re: fetchmail


 What happens when you run nslookup
 set q=any
  and lookup email.msn.com do you get any answers?
 On Sat, 5 Aug 2000, davidturetsky wrote:

  Date: Sat, 5 Aug 2000 03:19:22 -0700
  From: davidturetsky [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: fetchmail
 
  I just downloaded fetchmail from the Debian site and installed it
 
  when I run:
 
 fetchmail -v -k -p POP3 -u MSN/davidturetsky email.msn.com
 
  I get:
 
 fetchmail: 4.6.4 querying email.msn.com (protocol POP3)
 fetchmail: POP3 connection to email.msn.com failed: temporary name
server error
 fetchmail: Query status=2
 fetchmail: normal termination, status 2
 
  /etc/resolv.conf has the correct nameserver entries (minicom had no
problem)
 
  No dial tone was heard
 
  Appreciate any help
 
  David
 

  Noah
 [EMAIL PROTECTED]




 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: installing sendmail

2000-08-05 Thread davidturetsky

I too have been trying to grope my way through sendmail. Yes it was
installed with my system at /usr/sbin, but there is no file .fetchmailrc or
sendmail.cf

I wonder if I shouldn't download a fresh copy and (re)install it

David

- Original Message -
From: [EMAIL PROTECTED]
To: Richard Adams [EMAIL PROTECTED]
Cc: hackenbush [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 1:14 AM
Subject: Re: installing sendmail


 Sendmail comes with all linux distributions so it probably is
 installed. just start it with /usr/sbin/sendmail -bd -q30 -om.
 Also make sure you have a localdomains line in your .fetchmailrc file and
 look at /etc/sendmail.cf and the files in /etc/mail
 On Sat, 5 Aug 2000, Richard Adams wrote:

  Date: Sat, 5 Aug 2000 07:30:08 +
  From: Richard Adams [EMAIL PROTECTED]
  To: hackenbush [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: installing sendmail
 
  On Fri, 04 Aug 2000,  hackenbush wrote about,  installing sendmail:
   I've just set up LinucPPC for the first time. I decided to use the
   Pine mail client. Got that configured and Fetchmail to access my ISP's
   mail port. But when it came to configuring sendmail to actually
   deliver the mail to my own Inbox I hit a brick wall.
   I'm not even sure if I'm just barking up the wrong tree. Do I need all
   three programmes running at all? When I ran just Fetchmail and Pine I
   got SMTP error messages when Fetchmail tried to download my mail. I
   guessed the missing link was Sendmail.
  
   BUT...getting Sendmail installed and running has lost me. I've read
   numerous manual pages and they haven't helped.
   Is there an easy way that I'm missing?
 
  Are you sure sendmail is not installed on the system,?? try
  'whereis sendmail' or 'locate sendmail' locate will show ALL sendmail
files
  and not just the binary.
 
  Normally speaking if the binary is installed and you have the default
  /etc/sendmail.conf installed then really all you need to do is simply
start
  sendmail with;
 
  'sendmail -bd -q 15m'
 
  If there are errors then place the errors in a mail to the list if you
  cannot solve them yourself.
 
  AFAIK sendmail is included in all linux distro's, check your source
medium
  if you dont have sendmail installed.
 
  
   Mike
  
  
   -
   To unsubscribe from this list: send the line "unsubscribe
linux-newbie" in
   the body of a message to [EMAIL PROTECTED]
   Please read the FAQ at http://www.linux-learn.org/faqs
  --
  Regards Richard
  [EMAIL PROTECTED]
  http://people.zeelandnet.nl/pa3gcu/
 
 
  -
  To unsubscribe from this list: send the line "unsubscribe linux-newbie"
in
  the body of a message to [EMAIL PROTECTED]
  Please read the FAQ at http://www.linux-learn.org/faqs
 

  Noah
 [EMAIL PROTECTED]




 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail

2000-08-05 Thread davidturetsky

Thanks, Ray, for all of the feedback. I've been trying to explore all of the
questions you raise. Let me respond to each (I hope) and list the scripts
involved

First, 'pon' gets me dialtone, dials out to my provider, and then apparently
disconnects

tail -f /var/log/messages gives the following:

Aug  5 17:58:42 debian chat[537]:  -- got it
Aug  5 17:58:42 debian chat[537]: send (\d)
Aug  5 17:58:43 debian pppd[536]: Serial connection established.
Aug  5 17:58:44 debian pppd[536]: Using interface ppp0
Aug  5 17:58:44 debian pppd[536]: Connect: ppp0 -- /dev/ttyS2
Aug  5 17:58:44 debian pppd[536]: Remote message:
Aug  5 17:58:45 debian pppd[536]: LCP terminated by peer
Aug  5 17:58:48 debian pppd[536]: Connection terminated.
Aug  5 17:58:48 debian pppd[536]: Hangup (SIGHUP)
Aug  5 17:58:48 debian pppd[536]: Exit.

I take it then that ppp is working, but my little ppp-on script does not
produce anything I can detect, when run from root. I wonder whether this is
due to the proscription in /etc/ppp/pap-secrets against providing root
access to ppp

When I attempt to run 'ppp-on' from david, I get 'permission denied' despite
the assurances in OReilly, p548, Running Linux to the contrary that you need
not be root to execute this script. After saving it, I ran chmod 755
/etc/ppp/ppp-on

pppconfig place two entries in /etc/ppp/pap-secrets:

#The next line was added by pppconfig for provider
MSN/davidturetsky * [password]

and

#The next line was added by pppconfig for msn
MSN/davidturetsky * [password]

I have not been using apt-get. I have been downloading from Windows, copying
.deb files over to Linux, and running dpkg

When I attempted to run:

apt-get install sendmail

I got: W: couldnt stat source package list 'http://http.us.debian.org
stable/main packages' ... (2 No such file or directory)

I ran /usr/sbin/eximconfig with the following settings:

2 (Internet site using smarthost)
Visible name: richSOB.com
smarthost: msn
postmaster: david
replace aliases: david

The other selections were defaulted

When I ran exim -bm [EMAIL PROTECTED] 'This is an exim test'

nothing observable happened AFAIK

Regarding ppp-on, this is my /etc/ppp/my-chat-script:

#! /bin/sh
# my chat-script: a program for dialing up ISP/MSN
exec chat -v
'' ATZ
OK ATDT410-727-0315
CONNECT ''
ogin: davidturetsky
assword [password]

Then I ran chmod 755 /etc/ppp/my-chat-script

Here is the /etc/ppp/ppp-on script:

#! /bin/sh
# the ppp-on script
exec /usr/sbin/pppd /dev/modem 38400 lock crtscts \
 noipdefault defaultroute 0.0.0.0:0.0.0.0 connect my-chat-script

then I ran chmod 755 /etc/ppp/ppp-on

In /etc/resolv.conf are the entries:

nameserver 204.255.246.17
nameserver 204.255.246.18 (obtained from msn)

I reran pppconfig. Here are my inputs

Provider Namer: provider (default... and suggested)
Password Authentication Protocol
Password []
Username MSN/davidturetsky (as recommended by msn)
Port Config /dev/ttyS2
defaultroute
noipdefault
Set Speed 115200 (default)
Modem Initialization: ATZ
Number to dial 4107270315
ATDT tone

There are no recent entries in /var/log/ppp.log. The most recent are from
Aug 1 when I was not set up as ttyS2 and it read 'tcgetattr: Input/output
errors(5)

/etc/ppp/options reads:

asyncmap 0
auth
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

I will be back with the results of running fetchmail

With apologies for the length of this post.

David

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 1:20 PM
Subject: Re: fetchmail


 David --

 First of all, let's do one thing at a time. fetchmail won't work (nor will
 DNS, or much of anything else Internet related)) unless you can establish
a
 PPP coonection. In a prior message you said ...

 
 With the change to ttyS2 and irq 10 I has successful in getting dialtone
and
 connecting to msn

 ... so I assumed (as did others, no doubt) that you had PPP working.

 SO ...

 1. IF you want help with PPP, tell us your actual setup. Telling
us
 you "ran" pppconfig doesn't give us a clue if you did it right or not. Be
 less terse. Let us see the script that pppconfig creates, or tell us how
you
 answered each question it asks.

 2. IF you want help with fetchmail, start your PPP connection by
 hand (which you said you could do), try fetchmail then, and if it doesn't
 work, tell us how. Include the output of "ifconfig -a" and "route -n" (all
 of it, not just a summary of twhat you see as important) with any such
posting.

 But don't muddle the two problems together.


 At 01:52 PM 8/5/00 -0700, davidturetsky wrote:
 How do I set up my Linux system to autodial?
 
 I'd be happy to provide any description that would be helpful. What
 information would be useful
 
 As for ppp, I ran pppconfig. As I previously posted, the related scripts
to
 test it did not reach dialtone. I have been trying to explore al

ppp connection problems-cont'd

2000-08-05 Thread davidturetsky

Here is what msn provided:

"MSN/IA offers support for Outlook Express, Windows 95, 98, Internet
Explorer and Microsoft Outlook. Please refer to the following settings to
configure any unsupported applications:
Mail Servers
Pop3.email.msn.com
Smtp.email.msn.com
News Servers
Netnews.msn.com
Msnnews.msn.com
The mail and newsgroup program will need to support Secure Password
Authentication.
For connecting to Non-Windows applications like Windows NT, Macintosh, or
Sega Dreamcast systems, you may require the following settings:
Enter the username as MSN/username
The password will be the same.
DNS Servers
204.255.246.17
204.255.246.18"

from which I conclude that a pap-authenticated connection is supported

/etc/ppp.chatscript and /etc/ppp/chap-secrets are both empty

I believe the omission of the colon following 'assword' was a typo, but I
will look at the file

I will also go back and check whether I have entered the mail servers
fully/correctly/exactly as given

David



- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 5:12 PM
Subject: Re: fetchmail


what instructions you have from your ISP about how to start PPP

 In one place, you describe setting pppd up to make a pap-authenticated
 connection. There are at least 2 other common methods: chap and
 userid/password. Or at least I think you are; to be sure, I'd need to see
 the chat messages as well as the pppd ones.

 Especially since the chatscript seems to be doing userid/password
 authentication. You want to make sure that the exchange here is accurate.
I
 notice you expect assword, not assword: -- that might be enough of an
error
 to cause your problems (or it may just be a typo in the email you sent
here).





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail PROGRESS

2000-08-05 Thread davidturetsky

Progress to report!

In looking around further, I noticed in /etc/ppp/connect-errors:

sh: my-chat-script: command not found

This caused me to insert the full path prefix in my /etc/ppp/ppp-on script,
(O'Reilly notwithstanding) and lo and behold, running a script now produced
dialtone and connected with my ISP. I am still having some problems,
apparently about authentication

Here is the ifconfig file:

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:3924  Metric:1
  RX packets:8 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0

ppp0  Link encap:Point-to-Point Protocol
  unspec addr:[NONE SET]  P-t-P:[NONE SET]  Mask:[NONE SET]
  POINTOPOINT NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:7 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:10

and the chat-log:

Aug  5 21:23:58 debian pppd[442]: pppd 2.3.5 started by root, uid 0
Aug  5 21:23:59 debian chat[443]: send (ATZ^M)
Aug  5 21:23:59 debian chat[443]: expect (OK)
Aug  5 21:23:59 debian chat[443]: ATZ^M^M
Aug  5 21:23:59 debian chat[443]: OK
Aug  5 21:23:59 debian chat[443]:  -- got it
Aug  5 21:23:59 debian chat[443]: send (ATDT410-727-0315^M)
Aug  5 21:23:59 debian chat[443]: expect (CONNECT)
Aug  5 21:23:59 debian chat[443]: ^M
Aug  5 21:24:26 debian chat[443]: ATDT410-727-0315^M^M
Aug  5 21:24:26 debian chat[443]: CONNECT
Aug  5 21:24:26 debian chat[443]:  -- got it
Aug  5 21:24:26 debian chat[443]: send (^M)
Aug  5 21:24:26 debian chat[443]: expect (ogin:)
Aug  5 21:24:26 debian chat[443]:  36000/ARQ/V90/LAPM/V42BIS^M
Aug  5 21:24:32 debian chat[443]: ^M
Aug  5 21:24:32 debian chat[443]:
Aug  5 21:24:32 debian last message repeated 23 times
Aug  5 21:24:32 debian chat[443]: UQKT2 tnt2.baltimore.md.da.uu.net^M
Aug  5 21:24:32 debian chat[443]: ^M
Aug  5 21:24:32 debian chat[443]: ^M
Aug  5 21:24:32 debian chat[443]: Login:
Aug  5 21:24:32 debian chat[443]:  -- got it
Aug  5 21:24:32 debian chat[443]: send (davidturetsky^M)
Aug  5 21:24:32 debian chat[443]: expect (assword:)
Aug  5 21:24:32 debian chat[443]:  davidturetsky^M
Aug  5 21:24:32 debian chat[443]: Password:
Aug  5 21:24:32 debian chat[443]:  -- got it
Aug  5 21:24:32 debian chat[443]: send ([password removed]^M)
Aug  5 21:24:32 debian pppd[442]: Serial connection established.
Aug  5 21:24:33 debian pppd[442]: Using interface ppp0
Aug  5 21:24:33 debian pppd[442]: Connect: ppp0 -- /dev/modem
Aug  5 21:24:50 debian pppd[442]: peer refused to authenticate
Aug  5 21:24:50 debian pppd[442]: Connection terminated.
Aug  5 21:24:50 debian pppd[442]: Hangup (SIGHUP)
Aug  5 21:24:50 debian pppd[442]: Exit.

'route -n' produced:

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface

I also created a .fetchmailrc file

fetchmail --version produced

This is fetchmail release 4.6.4
Linux debian 2.2.12 #2 Thu Aug 26 11:46:26 PDT 1999 i686 unknown
Taking options from command line and /root/.fetchmailrc
Idfile is /root/.fetchids
Fetchmail will forward misaddressed multidrop messages to postmaster.
Options for retrieving from [EMAIL PROTECTED]:
  True name of server is email.msn.com.
  Protocol is POP3.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will be kept on the server (--keep on).
  Old messages will not be flushed before message retrieval (--flush off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits off).
  MIME decoding is disabled (mimedecode off).
  Nonempty Status lines will be kept (dropstatus off)
  Messages will be SMTP-forwarded to: localhost (default)
  Recognized listener spam block responses are: 571 550 501
  Single-drop mode: 1 local name(s) recognized.
  No UIDs saved from this host.

When I ran 'fetchmail' I got:

fetchmail: POP3 connection to email.msn.com failed: temporary name server
error
fetchmail: Query status=2

A comparable msg appeared when I used Smtp.email.msn.com

The 'assword' notation did indeed have a colon following

What steps to continue to move forward? Do I need to make changes re
authentication? If the settings are ok, does dialtone automatically follow?

David




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail PROGRESS

2000-08-05 Thread davidturetsky

How do I go about getting this information?

David

 It might help if you tell us *exactly* how the Windows host is set up to
 initiate PPP. Assuming you're using the standard TCP stack, what is in the
 userid field of its "properties"?




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: fetchmail/minicom

2000-08-05 Thread davidturetsky

I ran minicom:

ATDT410-727-0315
cr in response to CONNECT

responded to login with MSN/davidturetsky (plain davidturetsky was rejected)
responded to password with password

Got:

Entering PPP Session.
IP address is 63.24.126.61
MTU is 1524

somewhere in this sequence the server responded with:

CONNECT 37000/ARQ/V90/LAPM/V42BIS (as best as I could jot it down before it
disappeared)

and

UQKT2 tnt1.baltimore.md.da.uu.net

So it seems that I got a good connection

It then just sat there, and when I hit any key, it responded with a lot of
curly braces and things and disconnected, but if I entered nothing, the
connection remained

David


- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Saturday, August 05, 2000 8:02 PM
Subject: Re: fetchmail PROGRESS
 OK. Good report. Nice and clear.

 Start minicom. Use it to dial the number and enter the userid and
password.
 After the password gets accepted, see what happens. Possibly you'll be at
a
 shell prompt, from which you'll need to run ppp manually. Possibly it's
the
 wrong account and you need to do a 3-step login -- MSN, then userid, then
 password. Possibly the password won't be accepted (maybe your userid
really
 is MSN/davidturetsky, like the docs you quote say). Possibly it's weirder
 than that.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-04 Thread davidturetsky

There is no pppsetup on my system. Perhaps you mean pppconfig, which I used

There is also no minicom on my system

I have been trying a number of tacks and doing a fair amount of reading to
move up the learning curve about various mail facilities

One interesting issue: I have been trying to run /etc/ppp/ppp-on as root but
I just ran across a notation in /etc/ppp/pap-secrets that lists a number of
users that "cannot use PPP at all," including guest, master, root, support,
stats. I assume this is for security reasons. Some script follows which I
assume precludes such usage. So I logged on as david and when I tried
/etc/ppp/ppp-on (which I installed under root), I got 'bash:
/etc/ppp/ppp-on: Permission denied'

What is the best way to proceed on this?

I also tried out mail, Mail, mailx, elm and 'sent' test messages. The only
problem is that the modem did not fire up and actually send them anywhere.
Do I correctly infer that a separate program is required to actually send
these messages from a mail spool?

I also noticed when I checked 'man sendmail', I got a writeup for exim

Stepping back for a minute, my larger requirement I wish to pursue is to
install a facility which will do two particular things: First, to send one
message to a large list of subscribers. msn enforces a limit of 64
subscribers to a message. I assumed this was enforced by Outlook Express,
but presumably there may be code to enforce it at the server as well. If
that is the case, reading in sendmail indicates that first the list of
addressees is sent to the server and only after the server authenticates (?)
each addressee does sendmail send the actual text. Am I likely up against
the same limit? I assume I could always write some sort of script to send a
max of 64 names from a list, then the message, and loop through such a
cycle, but this sound like doing some contortions to what you would think
ought to have a straightforward solution (perhaps using another provider)

The other half of the task is to collect names/email addresses of people
requesting subscription to a free newsletter, etc and put them in a list
that can be accessed for output when a new newsletter is sent

I began to wonder whether there isnt a packaged solution for this task which
is in widespread use, rather than everybody putting together their own kluge
(which does not appear entirely unattractive)

Would appreciate any feedback

David


- Original Message -----
From: davidturetsky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 03, 2000 6:44 PM
Subject: Re: Chat/ppp


 No, I just used pppconfig

 I'll take a look at it

 David

 - Original Message -
 From: Charles E. Gelm [EMAIL PROTECTED]
 To: Ray Olszewski [EMAIL PROTECTED]
 Cc: davidturetsky [EMAIL PROTECTED];
 [EMAIL PROTECTED]
 Sent: Thursday, August 03, 2000 1:40 PM
 Subject: Re: Chat/ppp


  Did you run 'pppsetup' before trying ppp-on?
 
  snip
   I also tried /etc/ppp/ppp-on, but this generated no dialtone.
  snip




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-03 Thread davidturetsky

With the change to ttyS2 and irq 10 I has successful in getting dialtone and
connecting to msn

This worked with:
   pon
but not with:
pon connection

When I changed /etc/ppp/pap-secrets so that the default 'provider' matched
what was in 'connection' (actually msn), pon completed the connection to msn
until local hung up. I will work on sending actual text messages to myself

Following Lawson's recommendation, I added setserial /dev/ttyS2 irq 10 to
/etc/rcS.d/S40network. There seem to be many rc? files and this one seemed
appropriate

I also tried /etc/ppp/ppp-on, but this generated no dialtone. Here I am
following the text of 'Running Linux'

I need to be able to build a capability to send a single message to a
potentially large list of subscribers. In windows, Outlook Express
apparently enforces a limit of 64. I am thinking along the lines of using
sendmail for this purpose, directing a piece of mail to a file of
subscribers, which is apparently a trivial undertaking for sendmail. I have
been reading O'Reilly's 'sendmail' by Costales and Allman

Suggestions on any of the above would be welcome

Many thanks to all

David

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 02, 2000 5:40 PM
Subject: Re: Chat/ppp




 On Wed, 2 Aug 2000, davidturetsky wrote:

  I just checked through windows, interrogating the modem:
 
  US Robotics 56K FAX INT PnP
  Identifier *USR3031,ISAPNP\USR3031
 
  Port: COM3
  Interrupt: 10
  Addr 3E8
 
 Linux does _not_ autoprobe serial ports for IRQ, so if this setting
 persists for linux you must configure the IRQ with setserial.  Once you
 get it working it can go in a startup rcfile, typically
 /etc/rc.d/rc.local

 setserial /dev/ttyS2 irq 10

 If you don't do this, the serial driver will try to use the default IRQ
 for ttyS2 (irq 4), and it won't work if the modem really uses irq 10

 You can try

 setserial /dev/ttyS2 auto_irq autoconfig

 but it is not guaranteed to work.





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-03 Thread davidturetsky

Well; I fooled with that a little in Windows (to specify PnP) and the modem
didn't work at all; so since I do a lot of comm stuff in that environment; I
need to preverse that Windows capability

Next time I fool around with it; I'll explore this avenue for another
cross-platform-compatible solution

David

- Original Message -
From: Charles E. Gelm [EMAIL PROTECTED]
To: Ray Olszewski [EMAIL PROTECTED]
Cc: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 03, 2000 1:40 PM
Subject: Re: Chat/ppp


 Did you run 'pppsetup' before trying ppp-on?

 snip
  I also tried /etc/ppp/ppp-on, but this generated no dialtone.
 snip



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-03 Thread davidturetsky

No, I just used pppconfig

I'll take a look at it

David

- Original Message -
From: Charles E. Gelm [EMAIL PROTECTED]
To: Ray Olszewski [EMAIL PROTECTED]
Cc: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, August 03, 2000 1:40 PM
Subject: Re: Chat/ppp


 Did you run 'pppsetup' before trying ppp-on?

 snip
  I also tried /etc/ppp/ppp-on, but this generated no dialtone.
 snip



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-02 Thread davidturetsky

I changed the ln entry per Mike's suggestion:

My chat log now reads:
   pppd[155]: Connect script failed

The connect script reads:

   exec chat -v \
  '' ATZ   \
  OK ATDT410-[provider's access tel #]\
  CONNECT ''   \
  ogin: [my account name]\
  assword: [my password]   \

This is right out of the book, so I'm a bit puzzled

Dave


- Original Message -
From: Mike Werner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 01, 2000 9:05 PM
Subject: Re: Chat/ppp


 davidturetsky wrote:
 snipped
  I am using a US Robotics non-win modem which has installed itself in
COM3.
  Accordingly, as root I entered:
 ln -sf /dev/ttyS3 /dev/modem

 COM3 would be ttyS2




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-02 Thread davidturetsky

Well, I checked everything... including making sure I did not have the
winmodem inadvertently installed. I also corrected the nameserver entries,
although this should not prevent me from getting a dialtone

The chatlog given below is accurate and only omits "pppd[484]: pppd 2.3.5
started by root uid0" and ends with "pppd[484]: Exit."

I then went in and ran pppconfig (again) followed by pon

This is what the chatlog showed:

Aug 2 14:07:58 debian pppd[258]: pppdd 2.3.5 started by root, uid0
   chat[259]: abort on (BUSY)
   chat[259]: abort on (NO CARRIER)
   chat[259]: abort on (VOICE)
   chat[259]: abort on (NO DIALTONE)
   chat[259]: abort on (NO ANSWER)
   chat[259]: send (ATZ^M)
   chat[259]: expect (OK)
   chat[259]: alarm
   pppd[258]: Connect script failed
   chat[259]: failed
   pppd[258]: Exit

As I recalled, when I first installed debian last year I used pppconfig and
then pon (but with the wrong nameservers) and got dialtone and some dialog
before the server disconnected, but now... no dialtone, no chance for MSN to
even kick me off!

David

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2000 9:02 AM
Subject: Re: Chat/ppp


 At 02:08 AM 8/2/00 -0700, davidturetsky wrote:
 I changed the ln entry per Mike's suggestion:
 
 My chat log now reads:
pppd[155]: Connect script failed

 The connect script you posted looks okay, but there is no way to tell for
 sure without knowing WHY it failed. Could be a hidden typo,
incompatibility
 with what the ISP wants, modem problems, ... or something else I'm not
 thinking of offhand.

 Surely the above line is not the ONLY log entry; chatscripts will log
their
 own results is for run chat with the appropriate flag (I think -v). Tey
 again, and this time be sure to get chatscript log output.


 --
 "Never tell me the odds!"---
 Ray Olszewski-- Han Solo
 Palo Alto, CA[EMAIL PROTECTED]
 


 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-02 Thread davidturetsky

No hardware changes whatsoever. Same version of Debian. Same modem

I specified S3, then S2. All the other settings are default and follow the
recommendations of pppconfig

But I have a tad of a memory that it was not set to S3 ... maybe S1. I
believe USRobotics has software installed under Windows that
self-configures. I have not used any of the jumpers that come with the board

So I will try S0 and S1 and report back

David

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: davidturetsky [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2000 2:55 PM
Subject: Re: Chat/ppp

 . . .
 I'll skip asking about winmodems and other questions I'd ask if the modem
 *never* worked under Linux. But you still need to check that you are
trying
 to use the correct serial port (i.e., the right /dev/ttyS* entry) and a
 speed that the modem can run at. So ...

 what serial port is the modem on? did pppconfig successfully
 find it there, or did you tell it the port identifier?
 what speed did you tell pppconfig to use for the port? Is it a
 speed that your modem understands?
 have you made *any* hardware changes since the time  when you
 "first installed debian last year"? (I'm wondering
 about IRQ conflicts.)
 are you still running the same Debian install as you had then?





-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Chat/ppp

2000-08-02 Thread davidturetsky

I just checked through windows, interrogating the modem:

US Robotics 56K FAX INT PnP
Identifier *USR3031,ISAPNP\USR3031

Port: COM3
Interrupt: 10
Addr 3E8

My impression is that under Linux, the modem is not responding at all (of
course I am using it to communicate here), so I take it that I have some
mismatch in the setup, etc

I also had a second winmodem installed and physically removed it to avoid
any potential of a conflict/confusion

As per below, I changed the reference to S2 for COM3, changed the nameserver
entries in /etc/resolv.conf (although that should not affect dialtone)

I assume the settings in Windows are the same for Linux, but perhaps I
should run a little experiment, trying S0 and S1

I will check out minicom

David

- Original Message -
From: Chris Bennett [EMAIL PROTECTED]
To: 'davidturetsky' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2000 1:42 PM
Subject: RE: Chat/ppp


 David,

 Try using minicom, make sure you are using the correct com port,
 does your modem respond to An AT command?

  -Original Message-
  From: davidturetsky [SMTP:[EMAIL PROTECTED]]
  Sent: Wednesday, August 02, 2000 6:06 PM
  To: [EMAIL PROTECTED]
  Subject: Re: Chat/ppp
 
  Well, I checked everything... including making sure I did not have the
  winmodem inadvertently installed. I also corrected the nameserver
entries,
  although this should not prevent me from getting a dialtone
 
  The chatlog given below is accurate and only omits "pppd[484]: pppd
2.3.5
  started by root uid0" and ends with "pppd[484]: Exit."
 
  I then went in and ran pppconfig (again) followed by pon
 
  This is what the chatlog showed:
 
  Aug 2 14:07:58 debian pppd[258]: pppdd 2.3.5 started by root, uid0
 chat[259]: abort on (BUSY)
 chat[259]: abort on (NO CARRIER)
 chat[259]: abort on (VOICE)
 chat[259]: abort on (NO DIALTONE)
 chat[259]: abort on (NO ANSWER)
 chat[259]: send (ATZ^M)
 chat[259]: expect (OK)
 chat[259]: alarm
 pppd[258]: Connect script failed
 chat[259]: failed
 pppd[258]: Exit
 
  As I recalled, when I first installed debian last year I used pppconfig
  and
  then pon (but with the wrong nameservers) and got dialtone and some
dialog
  before the server disconnected, but now... no dialtone, no chance for
MSN
  to
  even kick me off!
 
  David
 
  - Original Message -
  From: Ray Olszewski [EMAIL PROTECTED]
  To: davidturetsky [EMAIL PROTECTED];
  [EMAIL PROTECTED]
  Sent: Wednesday, August 02, 2000 9:02 AM
  Subject: Re: Chat/ppp
 
 
   At 02:08 AM 8/2/00 -0700, davidturetsky wrote:
   I changed the ln entry per Mike's suggestion:
   
   My chat log now reads:
  pppd[155]: Connect script failed
  
   The connect script you posted looks okay, but there is no way to tell
  for
   sure without knowing WHY it failed. Could be a hidden typo,
  incompatibility
   with what the ISP wants, modem problems, ... or something else I'm not
   thinking of offhand.
  
   Surely the above line is not the ONLY log entry; chatscripts will log
  their
   own results is for run chat with the appropriate flag (I think -v).
Tey
   again, and this time be sure to get chatscript log output.
  
  
   --
   "Never tell me the odds!"---
   Ray Olszewski-- Han Solo
   Palo Alto, CA[EMAIL PROTECTED]
   




-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Chat/ppp

2000-08-01 Thread davidturetsky

I am trying to set up a dial-up ppp following chapter 15 of "Running Linux"
by Welsh, Dalheimer  Kaufman

I am using a US Robotics non-win modem which has installed itself in COM3.
Accordingly, as root I entered:
   ln -sf /dev/ttyS3 /dev/modem

I do not hear dialtone, nor the prompt ("Up and running) I added to
/etc/ppp/ip-up

I edited /etc/syslog.conf to create a chat-log and got the following
entries:
   pppd 2.3.5 started by root, uid 0
   tcgetattr: input/output error(5)
   Exit.

The modem works fine under Windows both to MSN and a university server

When I run ifconfig, I get the verbage about a local connection, but nothing
about ppp0

Any help would be appreciated

David



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: Beginner...

2000-03-08 Thread davidturetsky

I used Partition Magic 5.0 to partition my hard drive-- with Windows already
installed

I thought the quality of the program was very high and the approach very
thoughtful. The documentation is excellent

You would be prudent to first review the Linux Disk HOW-TO, particularly is
you have a hard drive with a capacity of over 8GB since special
considerations apply about the location of the Linux boot sector

David

- Original Message -
From: Ray Olszewski [EMAIL PROTECTED]
To: Abdul Emandien [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, March 08, 2000 8:00 AM
Subject: Re: Beginner...


 At 01:12 PM 3/8/00 +0200, Abdul Emandien wrote:

 I would like to know what programs are available for partitioning
 Hard-drives with Windows already installed on it...(without losing any
info
 on it )

 The only one I can think of is something called Partition Magic. I haven't
 used it and I think it is not Open Source or otherwise freely
distributable
 -- it comes with one or more of the "full-price" packages from major Linux
 distributors (Red Hat? I forget). I've seen many warnings that it does bad
 things, but, as I said, I have no personalt experience from which to
judge.

 I would like to install Redhat 6.1 but can't seem to get past the
 re-partitioning part
 
 The "NEXT" button does not light up when I use Linux's fdisk...

 fdisk uses an ncurses display; it has no NEXT button. You'll need to
explain
 this a bit more clearly.

 Any ideas
 
 also..is a 1 GB hard-drive big enough...

 For Linux by itself ... sure. To share with Windows ... I doubt it. I
doubt
 1 gig is big enough for Windows by itself.

 While you can fit a specialized Linux distribution in as little as 40 megs
 (actually, some fit on a single floppy), a general-purpose workstation
these
 days needs at least 400 megs to install, and Red Hat's general-purpose
 workstation probably a bit more than that. The smallest disk I now use for
 workstation installs is about 1.2 gigs.

 "Never tell me the odds!"---
 Ray Olszewski-- Han Solo
 Palo Alto, CA[EMAIL PROTECTED]
 


 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs



Re: gcc and compiling errors.

2000-03-01 Thread davidturetsky

#include iostream

David

- Original Message -
From: John Starkey [EMAIL PROTECTED]
To: Linux [EMAIL PROTECTED]
Sent: Wednesday, March 01, 2000 11:22 AM
Subject: gcc and compiling errors.


 I'm not sure if I am out of the scope of this list yet, but since I'm
 still new to Linux and gcc I thought I'd ask you guys.

 RedHat6.1 is the system.

 I'm trying to compile a small assignment for school using gcc. It won't
 compile so I stripped it down to "Hello World". I thought I'd compiled
 on this machine before but maybe not. Anyway.

 These are the errors:


 /tmp/cc2fWQbM.o: In function 'main':
 /tmp/cc2fWQbM.o(.text+0x4): undefined reference to 'endl(ostream )'
 /tmp/cc2fWQbM.o(.text+0xe): undefined reference to 'cout'
 /tmp/cc2fWQbM.o(.text+0x13): undefined reference to
 'ostream::operator(char const *)'
 /tmp/cc2fWQbM.o(.text+0x1e): undefined reference to
 'ostream::operator(ostream (*)(ostream ))'
 collect2: ld returned 1 exit status

 I also tried compiling something I've done before (on another machine)
 and it returned basically the same errors. So I am thinking it has to do
 with the install. So I tried installing glibc, glibc-devel, and
 glibc-profile. I think someone told me these are the C libraries. I also
 did a 'find iostream' and nothing came up. Math and iostream are the
 only includes I need in this one. I did find Math.h in
 /usr/i386-glibc20-linux/include

 Am I looking in the right direction???

 Thanks guys.

 John




 -
 To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.linux-learn.org/faqs



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs