Linux-Networking Digest #745, Volume #10 Sun, 4 Apr 99 18:13:33 EDT
Contents:
Re: pppd probs (Qozmoe)
Re: named forwarding-only (Juergen Heinzl)
Remote Modem-Access (Urs Forster)
Re: Adding header lines using command line mail program (Mike O'Connor)
freebsd qpopper .. stupid Q ([EMAIL PROTECTED])
IP-masquerading and arp packets. (Erik-Jan Sinke)
Re: What is the best Linux to install? (Diane Adams)
Re: pppd woes (the eternal saga) (Bill Unruh)
Re: IP Masq. with FTP programs...
Re: MOnitoring telnet (Carles Arjona)
Re: 4mb Ram 386 router (Carles Arjona)
Re: Problem with Mail (Carles Arjona)
Re: pppd woes (the eternal saga) (Bill Unruh)
Re: PPP available for non-root user (Bill Unruh)
Re: pppd connected but no ping (again) (Bill Unruh)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Qozmoe)
Subject: Re: pppd probs
Date: 4 Apr 1999 19:15:12 GMT
>The PPP-HOWTO explains this quite well... but so sum up, dial in with
>minicom, and log in. Once the ppp garbage starts coming (lots fo
>random characters) exit without resetting the modem (ctrl-a x) and
>type something like this:
>
>pppd /dev/ttyS2 115200 -debug
>
actually the command the HOWTO suggests is 'pppd -d -detach /dev/ttyS2 38400 &'
which i've tried numerous times and the modem always hangs up after a few
seconds.
i tried to check the /var/log/ppp.log file that you mentioned, but it doesn't
exist on my system. is there anywhere else the file could be located? if not,
does the nonexistence of the file indicate anything?
thanx,
qozmo
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: named forwarding-only
Date: Sun, 04 Apr 1999 19:24:19 GMT
In article <CyCN2.7392$[EMAIL PROTECTED]>, William Grinolds wrote:
>I'm currently running a cacheing nameserver (named) on my Slackware Linux
>3.5 box (kernel upgraded to 2.0.36). The version of BIND I'm running is
>8.1.2. I was looking a web page
>(http://personal1.iddeo.es/ret005lc/diald-win-e.html#runnamed) that
>describes how you can force named to restart (the desired effect is to clean
>the cache) whenever diald closes the ppp connection. But unfortunately,
>whenever named comes back up, it attempts to contact one of the root
>nameservers which forces the ppp link right back up. How can I keep it from
>doing that? Better yet, how can I make named a forwarding-only nameserver
>that does not cache anything? The web page I gave shows how to do it with
>BIND 4.x, but what is the equivalent way to do it with BIND 8.x? (I set up
>my cacheing nameserver pretty much identically to the method described in
>the DNS-HOWTO.)
If it must not cache anything you do not need a local nameserver at all,
else see ...
http://www.monocerus.demon.co.uk/httpd-server/manuals/examples/caching.html
... for 8.1.2.
Cheers,
Juergen
--
\ Real name : J�rgen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
\ Phone Private : +44 181-332 0750 \ /
------------------------------
From: Urs Forster <[EMAIL PROTECTED]>
Subject: Remote Modem-Access
Date: Sun, 04 Apr 1999 20:45:44 +0200
Reply-To: [EMAIL PROTECTED]
Hello
I want to access the modem on box A (/dev/modem) from box B
(A:/dev/modem ?). I should then be able to setup kppp on several
machines on the LAN using one single modem (one after the other, of
course). This is for training only. I know, masquerading was the right
way.
Any suggestions?
Thanks
Urs
forster at popaccount dot com
------------------------------
Date: Sun, 4 Apr 1999 19:44:17 GMT
Crossposted-To: comp.mail.misc,comp.mail.mime
From: Mike O'Connor <[EMAIL PROTECTED]>
Subject: Re: Adding header lines using command line mail program
Reply-To: Mike O'Connor <[EMAIL PROTECTED]>
In article <[EMAIL PROTECTED]>,
Chris Severn <[EMAIL PROTECTED]> wrote:
:Hi.
:
:I'm interested in running a mail sending program (such as mail,
:fastmail, elm) on the command line, passing the body of the message
:through stdin, but ensuring that the header of the message contains a
:few particular lines - namely "Mime-Version: 1.0", "Content-Type:
:application/octet-stream; name=thefile.gif", and
:"Content-Transfer-Encoding: Base64".
The idea is to point the program to an alternate sendmail program
which is a simple script that does:
#!/bin/sh
cat /path/to/your/headers - | /usr/sbin/sendmail $*
And have /path/to/your/headers contain the headers you want.
With Berkeley mail, you'd "set sendmail=/path/to/above/script" in
the .mailrc.
With elm, you could use ~/.elm/elmheaders, swapping in your own
when you need to use an instance of elm for your application.
--
Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: [EMAIL PROTECTED]
InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481
------------------------------
From: [EMAIL PROTECTED]
Subject: freebsd qpopper .. stupid Q
Date: Sun, 04 Apr 1999 19:45:26 GMT
I use Redhat.. my freind uses FreeBSD.
I installed qpopper-2.53 on my machine... no problem.
I just added all the local IP addresses to my /etc/maildb/ip_allow file.
When I installed on her FreeBSD machine everything worked great..
tested it:
bash-2.02$ telnet mymotherwearsarmybootswhenshekicksmybutt.net 110
Trying 666.999.111.222...
Connected to mymoth...mybutt.net.
Escape character is '^]'.
+OK QPOP (version 2.53) at thinker.mymot...ksmybutt.net starting.
But when I try and do the same thing from a machine that's not the server.
bash-2.02$ telnet mymotherwearsarmybootswhenshekicksmybutt.net 110
Trying 666.999.111.222...
And it just sits there.
I searched alot of newsgroups etc looking for answers but came up short. If
you may know what is wrong I am open for suggestions.
Thanks,
-Gut
btw: It's not because the domain is not registered :)
The one above is just an altered version of the real registered domain and IP.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Erik-Jan Sinke <[EMAIL PROTECTED]>
Subject: IP-masquerading and arp packets.
Date: Sun, 04 Apr 1999 21:22:37 +0200
This is a multi-part message in MIME format.
==============F3F9AE4D1A23E2E892E6B2FC
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi there,
I�ve discovered an in my eyes strange phenomenon with my linux
IP-masquerading box and a linux workstation in my internal network. My
home net work can be described as follows :
(1) internet (2) 192.168.xx (3) 172.16.xx.xx
__________ _____________ _________
4| | 5 7| |8
|=========| |= == =====|
| | | |
| 6 | | 9 |
|=========| |=========|
1,2 and 3 are three separated ethernet segments.
6 is a linux masquerading firewall machine that masquerades all traffic
with source addresses 192.168.xx.xx and 172.16.xx.xx addresses to the
internet.
9 is a linux box that is set up as a router to route between the
192.168.xx.xx network and the 172.16.xx.xx network.
The strange thing is that when I run tcpdump on interface 4 (the
internet segment) of my masquerading linux box I see a lot of arp
requests from linux box 9 for 172.16.xx.xx addresses. It was my
understanding that arp requests should only be visible on the ethernet
segment where the network card is connected in (in my case segment 3).
Has anybody got an explanation for this?
Thanx in advance
Erik
==============F3F9AE4D1A23E2E892E6B2FC
Content-Type: text/x-vcard; charset=us-ascii;
name="Zijlware111.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Erik-Jan Sinke
Content-Disposition: attachment;
filename="Zijlware111.vcf"
begin:vcard
n:Sinke;Erik-Jan
x-mozilla-html:FALSE
org:Zijlware Inc.;C.E.O. IT-Solutions
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ing.
x-mozilla-cpt:;0
fn:Erik-Jan Sinke
end:vcard
==============F3F9AE4D1A23E2E892E6B2FC==
------------------------------
From: Diane Adams <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.misc,comp.os.linux.setup
Subject: Re: What is the best Linux to install?
Date: Sun, 04 Apr 1999 21:26:12 +0200
Roberto Alsina wrote:
> In article <Lw4N2.65$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
> > On Fri, 2 Apr 1999 05:54:49 -0700, Paul Bary wrote:
> > >Gotta agree...Mandrake is terrific...all the advantages of RH 5.2 plus the
> > >lastest release version of KDE...I
> > >couldn't be more tickled....I got mine from CheapBytes...1.99 and off you
> > >go...
> >
> > What is the latest version of KDE? When you look for
> > distribution-specific packages they tend to be relatively old. For instance,
> I
> > think the latest RedHat RPMs of KDE are 1.1-3, whereas you can get 'generic'
> > KDE parts in 1.1-6 or so.
>
> Last official KDE release was 1.1. There have been a few minor updates, by
> security reasons, and a few updates that were specific to a distribution by
> packaging issues, so the numbers are not really comparable, because if you
> merge the security updates in a single, say, rpm update, it deflates the
> number, and if you need to make another release by packaging reasons, it
> inflates it.
>
> Anyway: the tarballs have latest released dource, and the rpms probably have
> the same, or very close.
>
> --
> Roberto Alsina (KDE developer, MFCH)
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
I also love Mandrake 5.3. I have installed several diferent Linux distributions
and Mandrake takes the ease of a Red Hat install and ads KDE. I would highly
recomend it.
Chris
Check out my Linux Newbie web site:
http://www.angelfire.com/sc/linux/linux.html
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions,comp.os.linux
Subject: Re: pppd woes (the eternal saga)
Date: 4 Apr 1999 20:40:02 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jon-o Addleman) writes:
>The first few steps seemed ok, but what you should really do is try to
>start the connection manually, using minicom, like it says in the
>HOWTO. Based on what happens there, you should be able to make the
>scripts without too much trouble.
Actually no. This was true when most ISPs used login authentication, but
is not true today when many use PAP/CHAP -- eg AutoPPP under mgetty.
The minicom login will in fact lead you astray. Many isps will present a
login screen but when you try to use it is does nothing. It is of use
only for the sysadmins, not plebs like you or me. We are to use PAP/CHAP
right after the CONNECT message.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: IP Masq. with FTP programs...
Date: 4 Apr 1999 20:32:03 GMT
I am having a similar problem.. I do have teh modules loaded and i can
connect to any ftp using cuteftp as long as the port is 21 (default) but if
the port is anything other than that it connects but won't list teh files.
any help would be appreciated!
Wisquatuk wrote:
>
> Joseph Lam <[EMAIL PROTECTED]> wrote:
>
> > you need to use the passive mode on the ftp clients. because normally
the
> > file list is sent through a connection initiated by the server to your
> > IP, which is the computer that does the masquerading, and that linux
box
> > doesn't know how to handle that.
>
> Not by default, no. You should, however, have a module entitled
> ip_masq_ftp (among others, such as ip_masq_irc and ip_masq_quake) that
> can be manually inserted, and will work to allow standard FTP usage.
> Try '/sbin/modprobe -l ip_masq_*' for a list.
>
> --
> Wisquatuk (name[1..4]@netrover.com to e-mail)
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: Carles Arjona <[EMAIL PROTECTED]>
Subject: Re: MOnitoring telnet
Date: Sun, 04 Apr 1999 14:08:43 +0200
kwanlowe wrote:
>
> Any idea on how I would get an alert to popup whenever a telnet
> connection is attempted and made?
man 5 hosts_access
man 5 hosts_options
-
Carles Arjona [EMAIL PROTECTED]
-
Please, just remove the second NOSPAM for replies from newsgroups.
(Yes, NOSPAM is my real username)
[Don't send me e-mail copies of usenet postings, please]
------------------------------
From: Carles Arjona <[EMAIL PROTECTED]>
Subject: Re: 4mb Ram 386 router
Date: Sun, 04 Apr 1999 19:09:36 +0200
[EMAIL PROTECTED] wrote:
>
> On Sun, 21 Mar 1999 15:41:32 GMT, [EMAIL PROTECTED] (mike dombrowski)
> wrote:
>
> >I'm currently using a 386sx with 4mb ram to route between my two
> >networks.
> >
> I think an older version of slakware should do the trick,
I agree. Slackware 3.1 could be installed with just 2MB RAM, so 4MB
should suffice.
You might try also tomsrtbt-1.7.0, a highly customizable 2.0.36 kernel
based "one floppy disk" Linux. It usually needs 8 MB RAM, but it can run
also with 4 MB (read the tomsrtbt.FAQ file).
http://www.toms.net/rb/
ftp://sunsite.unc.edu/pub/Linux/system/recovery/
Since instructions about running tomsrtbt with 4MB RAM are removed from
the tomsrtbt.FAQ file on newer versions (like tomsrtbt-1.7.118), 4MB
might not suffice for these versions. Maybe tomsrtbt-1.7.0 is still
available at some ftp servers:
http://ftpsearch.ntnu.no/
PS.: tomsrtbt is great for system recovery and many other things, but I
didn't test its performance as router.
Regards.
Carles Arjona [EMAIL PROTECTED]
-
Please, just remove the second NOSPAM for replies from newsgroups.
(Yes, NOSPAM is my real username)
[Don't send me e-mail copies of usenet postings, please]
------------------------------
From: Carles Arjona <[EMAIL PROTECTED]>
Subject: Re: Problem with Mail
Date: Sun, 04 Apr 1999 18:40:14 +0200
Moses Ling <[EMAIL PROTECTED]> wrote:
>
> This way
> I can use my single E-mail account to serve all my need...
http://sunsite.unc.edu/pub/Linux/docs/HOWTO/mini/Offline-Mailing :
"Linux off-line mailing method (offline mailaddr with 1
account)"
But better and simpler than this is to get a 10$/year e-mail domain at
http://www.ddns.org (Domain mail forwarding service
http://www.ddns.org/DMF/ ). Messages sent to this domain will be
forwarded to your ISP account. Then execute fetchmail in multi-drop mode
to distribute messages automaticaly. I'm using this with success.
Regards.
Carles Arjona [EMAIL PROTECTED]
-
Please, just remove the second NOSPAM for replies from newsgroups.
(Yes, NOSPAM is my real username)
[Don't send me e-mail copies of usenet postings, please]
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions,comp.os.linux
Subject: Re: pppd woes (the eternal saga)
Date: 4 Apr 1999 20:37:07 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (S.) writes:
>It is my understanding that the following must be done in order to
>configure ppp. If I am incorrect at some point, please point it out. . . .
>1. Edit resolv.conf and put in your ISP domain name and then your ISP's
>Domain Name Server
>2. Edit /etc/hosts.conf and make sure it contains the text "order hosts,
>bind multi on".
That is /etc/host.conf, not /etc/hosts.conf
>3. Edit /etc/ppp/options so it contains "lock crtscts defaultroute"
>4. Find out if your ISP uses PAP, CHAP, or neither.
Actually you can find out for yourself, especially as the ISP help line
may not know what you are talking about.
>5. In the case of CHAP or PAP, go into /etc/ppp/pap-secrets (or,
>alternatively, CHAP secrets) and type " 'your usename' * 'your password'
>* "
No " " around the whole thing.
>6. And then, finally, invoke the beast that is PPPd and attempt to connect
>to the remote hose by typing
>" /usr/sbin/pppd /dev/ttyS1 57600 user 'your username' connect
>"/usr/sbin/chat -v '' ATD5555555 CONNECT '' ogin: 'your username' assword:
>'your password'"
Uh, no. You are mixing both login authentication and pap/chap
authentication. Usually (although not always) it is one or the other,
not both. Also, no " at the beginning of the line
( ie not " /usr/sbin/pppd ...... )
>7. Pray to God
>8. Test your connection by using some sort of internet program or wait a
>minute or two to see if your modem gives off the telltale Click of
>Disconnection (it strikes terror into my heart).
Roughly right.But of course the devil is in the details.
Try reading
axion.physics.ubc.ca/ppp-linux.html
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: PPP available for non-root user
Date: 4 Apr 1999 21:05:41 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jon-o Addleman) writes:
>Once upon a 3 Apr 1999 19:58:29 GMT, [EMAIL PROTECTED] (Bill
>Unruh) wrote:
>>In <[EMAIL PROTECTED]> general user of this machine <[EMAIL PROTECTED]>
>writes:
>>chmod +s /usr/sbin/pppd
>>chmod a+rx /usr/sbin/pppd
>Not that with a setup like this, a normal user still can't shut down
>the PPP link without manually hanging up (unplugging the phone cord,
>turning the modem off, etc..). To do that requires sudo, or something
>else. I solved the problem by just having diald manage all that, and I
>plan to try to other dialing managers.
STrange-- I thought I had that problem, but it went away.
Try using
killall pppd
to close down the connection. The script ppp-off does not work, because
it reads the file
/var/run/ppp0.pid
to discover what the PID is of the pppd program. It then runs kill PID.
However on the later versions of the distributions, /var/run/ppp0.pid is
readable ONLy by root, so the script fails. However killall pppd
accomplishes exactly the same thing. It should work for the user who
started pppd. Youcan also write an suid wrapper for that command if it
does not work for you.
Read
http://axion.physics.ubc.ca/ppp-kill-wrapper.html
for how to do that.
>I just got the oh-so-funky idea of simply using diald in a modified
>setup to not dial-on-demand at all, and just use its FIFO file thingie
>to make the connections easier to manage (and also to keep it
>controllable by users without using sudo). hmm...
Well, if it works.... However as I say, simpler methods also work.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: pppd connected but no ping (again)
Date: 4 Apr 1999 21:18:29 GMT
In <[EMAIL PROTECTED]> Florian =?iso-8859-1?Q?L=E4ng?=
<[EMAIL PROTECTED]> writes:
>Like several postings before I have a working ppp connection, but I cant
>ping any remote server (100% lost packages). I guess its something with
>wrong routing tables, but I dont know much about this as I am new to
>linux. 'netstat -rn' gives
>212.254.10.14 0.0.0.0 255.255.255.255 UH 1500 0 0 ppp0
>127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0 lo
>0.0.0.0 212.254.10.14 0.0.0.0 UG 1500 0 0 pp0
^^^
If the pp0 was a typo for ppp0, then this looks OK
Can you pine 212.254.10.14?
What is your own IP address?
Can you ping IP addresses (not names but addresses-- eg
137.82.43.58)
If so, you have name resolver problems (/etc/resolv.conf-- make sure it
has the right nameserver lines and is readable by all.)
>Does this look ok?
>The route /sbin/route program doesn't seem to exist on my RH linux 5.1.
>Where can I get it?
????? It is a standard part of the distribution, and certainly exists.
it is in net-tools-1.33-6.i386.rpm
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.networking) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Networking Digest
******************************