Linux-Networking Digest #10, Volume #10 Tue, 26 Jan 99 20:13:44 EST
Contents:
Controlling PPP with crontab - HELP ([EMAIL PROTECTED])
NE2000 ISA card and kernel 2.2.0-final (Matthew Callaway)
Help needed: Bus error with Netscape browser & core dump with Arena
([EMAIL PROTECTED])
Re: PPP dial-up connection with RH5.2 (John McKinney)
Re: pop3 deamon? (Benjohn007)
Re: Shotgun (dual modem dialup) (Pete Kringle)
Re: Romote "root" login (Elson Liu)
How to compile with SOCK_PACKET support? (Jeffrey T Kowalczyk)
Re: Linux --> Company NT RAS - Can it be done? ("Anthony W. Youngman")
Re: PPP Setup for Uswest.net Dial in (John McKinney)
Funky ipfwadm/sendmail interaction (Mark Shuttleworth)
ether express 16 and 2.2.0 ([EMAIL PROTECTED])
Re: remote access to a samba server (Gary Lake)
Re: IPX/PPP Client Problem (Andy Neverowsky)
Re: ypserv problem (Thorsten Kukuk)
Re: smtp and pop3 on a Linux box (Gary Lake)
Re: Nt & linux (Gary Lake)
Re: remote access to a samba server (Andy Skunza)
Re: Web spider? (Martin J Ferguson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Controlling PPP with crontab - HELP
Date: Tue, 26 Jan 1999 16:32:02 GMT
A quick question:
I have a PPP connection which is controlled from a crontab entry to bring the
link up at 7:30 am and bring it down at 7:30 pm, Mon.-Fri.
I'm using usernetctl to bring the link up and down.
Here's my crontab entries:
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# Bring up ppp0 7:30 am weekdays
30 07 * * 1-5 root /usr/sbin/usernetctl ppp0 up
35 07 * * 1-5 root /usr/bin/fetchmail -v -a -d 300 -t 60
# Bring down ppp0 7:30 pm weekdays
30 19 * * 1-5 root /usr/sbin/usernetctl ppp0 down
29 19 * * 1-5 root /usr/bin/fetchmail --quit
The PPP link seems to work fine. The only thing I don't understand about it is
if I do a "ps -aux", I see that the CROND job that started PPP won't go away.
Why won't it die/finish? Should I not use usernetctl from a crontab to control
the PPP Link? Any better suggestions? Should I just live with it since it
doesn't affect anything? Why ask why? :-)
Here's my "ps -aux" output:
<blah, blah, blah...> root 2830 0.0 1.5 852 464 ? S 07:30 0:00 CROND
root 2851 0.0 2.1 1212 676 ? S 07:30 0:00 sh /etc/sysconfig/net root
2858 0.0 2.0 1132 624 ? S 07:30 0:00 /usr/sbin/pppd -detac ...
Thanks to everybody in advance,
Tom Anwyll
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Matthew Callaway <[EMAIL PROTECTED]>
Subject: NE2000 ISA card and kernel 2.2.0-final
Date: Tue, 26 Jan 1999 10:02:34 -0600
Hey all,
I'm running Red Hat 5.2 kernels 2.0.34 and
2.0.36 wich works with my ISA NE2000 compatible
net card. I went to get the new 2.2.0-final
kernel, compiled it with the NE2000 driver, and
when I booted it up, I had no network! All my
config files were the same, but my network is
unreachable.
What's the difference between the new drivers and
the old? What am I doing wrong?
Matt Callaway
------------------------------
From: [EMAIL PROTECTED]
Subject: Help needed: Bus error with Netscape browser & core dump with Arena
Date: Tue, 26 Jan 1999 15:45:43 GMT
Hi, I am using Linux 2.0.30. My Netscape browser (Version 2.0) is having
sporatic bus error sometimes when I hit HTTP links. Also, my Arena browser is
having sporatic core dump. Any help would be appreciated!
Mike
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: John McKinney <[EMAIL PROTECTED]>
Subject: Re: PPP dial-up connection with RH5.2
Date: Tue, 26 Jan 1999 22:22:30 GMT
steve wrote:
> I recently installed RH5.2. I used netcfg to configure my ppp connection
> as instructed by RH support, I believe everything there to be right. I
> click activate and the modem dials out, connects and then hangs up in
> about 20-30 seconds.
>
Your ISP may be using chap or a scripted login. I would try the later.
Check that your
chat script has a repsone for login: and password: . Actually they normally
set it up to
respond to 'ogin:' and 'sword:' to allow for some dropped characters when
the connection is
first comming up and also to avoid having to deal with capitol letters. All
of this stuff should
be accessable from the 'control-panel' if you are in X-windows as root.
>
> First, where is the log file so I can look at it.(Debug is enabled)
> Second, my ISP says (I don't think they really know for sure) they don't
> use PAP and alas I have tried it with PAP and without to the same end.
>
Your log file should be in /var/logs and the file to read should be named
messages.
Since this log is appended by whatever decides to log to it you can use the
tail command
to read the most recent lines (you can read about this in the man pages as
there are options
to change the default number of lines displayed and such).
>
> Please help, it's getting a little frustrating and I'm about to give up.
> I tired of trying to decipher the endless trail of FAQ's and HOWTO's and
> mini-HOWTO's and man pages.
>
Yes, I hear you.
------------------------------
From: [EMAIL PROTECTED] (Benjohn007)
Subject: Re: pop3 deamon?
Date: 26 Jan 1999 22:52:17 GMT
Install the imap rpm
------------------------------
From: Pete Kringle <[EMAIL PROTECTED]>
Subject: Re: Shotgun (dual modem dialup)
Date: Tue, 26 Jan 1999 11:10:31 -0600
You don't need that. You can use any two modems and enable line balanceing
in the kernel and do it that way.
Tom Shealy wrote:
> Is there any way to use dual-modem dialup under linux? Diamond's shotgun
> technology looks pretty interesting, but there is no linux support.
> (http://www.diamondmm.com/shotgun)
>
> -Tom
--
This is Linux Country. On a quiet night you can hear Windows NT reboot!
------------------------------
From: Elson Liu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.help,nl.comp.os.linux
Subject: Re: Romote "root" login
Date: Tue, 26 Jan 1999 10:02:34 -0700
I don't think that you can logon as root from anywhere other than the
console...I think you'd have to logon as a different user with superuser
privileges.
On Sat, 23 Jan 1999, Edwin Calimbo wrote:
>Remco Nijkamp ([EMAIL PROTECTED]) wrote:
>: Dear Hackers,
>
>: being a newbie to the UNIX world, I dont know if my q is silly, but I'll
>: take the risk.
>
>: I connect from NT4.0 ws to Linux Host (Red Hat 5.2)trought Reflection X
>: (Telnet) and this works fine. I can connect as several users, run X-apps .
>: The thing is that I need to connect as user "root". This does not work.
>: Neither trough Reflection X nor trough Reflection Unix. This might be a UNIX
>: setting, but I cant't find any info on the matter. A local login as "root"
>: works fine. When I try to login through telnet I get the message "login
>: incorrect" but I'm sure my PW is right.
>
>: Does anybody have a clue?
>
>: Thanks in advance.
>
>: (It would be for my convenience if you would also reply by mail)
>
>: Remco Nijkamp MCSE
>: [EMAIL PROTECTED]
>
>
>
>
>--
>---
------------------------------
From: Jeffrey T Kowalczyk <[EMAIL PROTECTED]>
Subject: How to compile with SOCK_PACKET support?
Date: Tue, 26 Jan 1999 17:24:24 -0500
I'm trying my first kernel recompile (third day of using linux). This is
with RH5.2, I ran xconfig and went through all the options, but I saw
nothing on SOCK_PACKET support. I'm supposed to add SOCK_PACKET to use
dhcpcd-1.3.17, so I can use my cablemodem (hopefully).
I took a look at the generated makefile (that is what xconfig does, right?),
but saw nothing related to SOCK_PACKET. In fact, I've never been able to
find anything to read about it.
Help, I'm waiting for someone to lend a tip before starting this compile...
[EMAIL PROTECTED]
------------------------------
From: "Anthony W. Youngman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux --> Company NT RAS - Can it be done?
Date: Mon, 25 Jan 1999 20:07:16 +0000
Reply-To: "Anthony W. Youngman" <[EMAIL PROTECTED]>
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes
>On Sat, 23 Jan 1999 16:17:37 -0800, [EMAIL PROTECTED] (Luca
>Filipozzi) wrote:
>
>>
>>But I think it would be easier to try POP (receive) and SMTP (send) first
>>from an different email package on your laptop (or even from Outlook and
>>set up Internet email accounts). However, if your IS group is really
>>draconian and want you to use Outlook and Exchange only, they may have
>>disabled POP and SMTP in Exchange. In which case IMAP is the only choice
>>you can try. (I believe Exchange uses IMAP as the "normal" channel to
>>Outlook.)
>
>That's what I was wondering! I don't know what the "normal" protocol
>is between Outlook and Exchange. The way Outlook is configured on my
>laptop certainly isn't for POP/SMTP. That would be the "Internet Mail"
>service. It's specifically set for Exchange server. But what does that
>mean...? I'll have to see if I can try IMAP on another client.
>>
As for mail clients etc - the other thing to think about is how do you
want to do it. What you could do is run your own (sendmail/whatever)
mail server, and the client of your choice.
I would hope their server is internet-capable (can it send mail
externally to the internet?) in which case sendmail can forward mail to
it for onward transmission, and you could use fetchmail to log in and
download mail onto your system for you to access however you choose.
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Trousers with a single hole in their waistband are topologically equivalent
to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
outlets! (SuperStrings by F. David Peat)
If replying by e-mail please mail wol. Anything else may get missed amongst
the spam.
------------------------------
Crossposted-To: mn.online-service
From: John McKinney <[EMAIL PROTECTED]>
Subject: Re: PPP Setup for Uswest.net Dial in
Date: Tue, 26 Jan 1999 22:33:01 GMT
Werner wrote:
> Clayton Haapala <[EMAIL PROTECTED]> wrote:
> > Here's the "blow-off" email I got from uswest when I asked about
> > connecting linux. I have followed up with them to ask specifically
> > about "Tell me what I am dialing -- I'll take care of the rest, but
> > haven't gotten that answer yet.
>
> Why on earth would you pick an ISP run by people thousands of miles away whos
> tech support people have expert training on reading flow charts?
>
> I'm sure there are many local ISPs whos tech support people actually use Linux
> and could help you off the top of their heads.
Netcom and Earthlink both have webpages in thier support areas that address this.
They also have tech support folks that seem to know what they are doing but it may
take awhile to talk to them (you always have to go thru the guy who checks to see
if your plugged in first). Your mileage may vary.
------------------------------
From: Mark Shuttleworth <[EMAIL PROTECTED]>
Subject: Funky ipfwadm/sendmail interaction
Date: Tue, 26 Jan 1999 23:27:30 GMT
Hi folk
I have a problem with a system that sends mail from a machine that uses
ipfwadm to filter packets. The symptom is that mail to newer sendmail
instances fails to go through, because the "sendmail can't write" a
particular welcome line. I can manually simulate the SMTP conversation
over a telnet connection from my machine but real mail won't budge.
I used tcpdump to sniff packets coming to and from the machine. Here's
what I saw.
As soon as my machine connects to the remote SMTP server I see the SYN
packets being exchanged. Then I see a packet from a high port on the
remote server to the auth port on my machine. Then I see an ICMP packet
from my machine to the remote machine that says "tcp post auth
unreachable". If I do the same exercise on a different machine I don't
see the ICMP packet.
What's potting? Any ideas? If anyone wants I could send a full packet
dump of that conversation and a similar dump of the same conversation on
a different machine that works without a hitch.
--
Mark Shuttleworth
Thawte Certification
------------------------------
From: [EMAIL PROTECTED]
Subject: ether express 16 and 2.2.0
Date: Tue, 26 Jan 1999 23:36:25 GMT
I'm having some *weird* problems with the new kernel (2.2.0) and my ether
express 16 (which worked flawlessly under 2.0.36).
I upgraded all packages per the README, and I'm currently running net-tools
1.49. I've rebuilt the kernel with various net options (always with IP Masq
enabled--I need it).
Under the new kernel, the eth0 device is initialized and is able to ping with
small amounts of data.
For example, "ping -c 1 -s 32708 172.16.1.101" will send one packet of size
32708 to another machine on the local net. It works fine.
However, "ping -c 1 -s 32709 172.16.1.101" fails. Just one byte over 32,708.
This threshold of packet size moves to 49,092 sometimes, but always is there.
Needless to say, ftp, telnet, http, etc do no work at all.
Trying the above pings on localhost result in the same problem.
The same behavior exists on the ppp0 device, when it's connected. I don't have
anything set in IPChains.
My routing table has the 172.16.0.0/255.255.0.0 network listed TWICE, and I
can't find where or why it does this. If I try to delete the route it returns
a "process not found" error.
Has anyone encountered this problem before? Is it just a result of my routing
table's double-entry? Is there a newer, less stable ether express driver in
the newer kernel?
Any help would be appreciated!
-Kevin Hunt
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Gary Lake <[EMAIL PROTECTED]>
Subject: Re: remote access to a samba server
Date: Sat, 23 Jan 1999 13:23:24 -0500
I did it directly dialing into the samba host, but I guess it could be done
through an ISP (no promises). I know with a static IP I was able to telnet
to my samba host through an ISP. I bet it would painfully slow though
Andy Skunza wrote:
> I would like to install a Linux/Samba server to provide file and print
> sharing for 25 win95/98 clients. The Linux box would also need to
> provide IP Masquerading for the clients. I think I can figure that
> stuff out. But what I can't figure out is: How could a remote win95/98
> client, once on the internet thru their ISP dial up connection, mount
> the Samba share? Also, would a pentium 266 w/ 64MB of ram be enough
> machine for these tasks. Thanks for any suggestions.
>
> Andy
------------------------------
From: [EMAIL PROTECTED] (Andy Neverowsky)
Subject: Re: IPX/PPP Client Problem
Date: Tue, 26 Jan 1999 17:12:41 GMT
On Mon, 25 Jan 1999 21:32:04 -0700, Joe Loyall <[EMAIL PROTECTED]>
wrote:
>I am trying to connect to the Novell network at my office from my home
>machine, which runs RH 5.1. I read the IPX-HOWTO, the PPP-HOWTO, and the
>pppd man page & configured /etc/ppp/options as follows:
>
>lock
>ipxcp-accept-network
>ipxcp-accept-remote
>ipxcp-accept-local
>ipx
>
>When I connect, I get the following:
>
>Jan 25 21:03:38 Rastaman ifup-ppp: pppd started for ppp0 on /dev/modem
>at 115200
>Jan 25 21:03:38 Rastaman kernel: CSLIP: code copyright 1989 Regents of
>the University of California
>Jan 25 21:03:38 Rastaman kernel: PPP: version 2.2.0 (dynamic channel
>allocation)
>Jan 25 21:03:38 Rastaman kernel: PPP Dynamic channel allocation code
>copyright 1995 Caldera, Inc.
>Jan 25 21:03:38 Rastaman kernel: PPP line discipline registered.
>Jan 25 21:03:38 Rastaman kernel: registered device ppp0
>Jan 25 21:03:38 Rastaman pppd[2015]: pppd 2.3.3 started by root, uid 0
>Jan 25 21:03:57 Rastaman pppd[2015]: Serial connection established.
>Jan 25 21:03:58 Rastaman pppd[2015]: Using interface ppp0
>Jan 25 21:03:58 Rastaman pppd[2015]: Connect: ppp0 <--> /dev/modem
>Jan 25 21:04:00 Rastaman pppd[2015]: Remote message:
>Jan 25 21:04:00 Rastaman pppd[2015]: Received bad configure-ack: 01 06
>23 90 32 31 02 08 00 00 00 00 5d 6f
I find the bug in pppd 2.3.5. You must correct 2 strings in
ppp-2.3.5/pppd/ipxcp.c.
1) Near line 149 correct from:
if (internal & IPX_NONE)
external = IPX_NONE;
To:
if (internal & BIT(IPX_NONE))
external = IPX_NONE;
2)Near line 514, from:
#define ACKCIPROTO(opt, neg, val) \
if (neg) { \
To:
#define ACKCIPROTO(opt, neg, val) \
if (neg && (len>0)) { \
Then in directory ppp-2.3.5:
configure
make
make install
>Jan 25 21:04:00 Rastaman pppd[2015]: local IP address 146.18.37.227
>Jan 25 21:04:00 Rastaman pppd[2015]: remote IP address 146.18.37.193
>Jan 25 21:04:03 Rastaman pppd[2015]: Received bad configure-ack: 01 06
>23 90 32 31 02 08 00 00 00 00 5d 6f
>Jan 25 21:04:27 Rastaman last message repeated 8 times
>Jan 25 21:04:30 Rastaman pppd[2015]: IPXCP: timeout sending
>Config-Requests
>
>Needless to say, I get no IPX information at all in /proc/net. The
>network I am trying to reach uses 802.2 type frames, which may be the
>problem. The only way I know to set the frame type is the ipx_interface
No problem ! Trere will be new interface in /proc/net/ipx-interface
for ppp0 and frame type for this one - EtherII. But I can see and
connect to servers with frame 802.3.
>command, which doesn't work until after the ppp interface is up.
>
>I'm not very network literate, and am new to Linux, so I'm sure I'm
>missing something obvious.
>
>Any pointers will be welcome.
------------------------------
From: Thorsten Kukuk <[EMAIL PROTECTED]>
Subject: Re: ypserv problem
Date: 26 Jan 1999 17:54:52 GMT
Hello,
Ken Roberts <[EMAIL PROTECTED]> wrote:
> Hey gurus -
> I've upgraded my home systems (somewhat) and now I'm having problems
> with YP services on the server side:
> Old setup:
> 468DX40 - 16M ram - 3G hard disk running Slackware 3.2 (kernel source
> upgrade to 2.0.33)
> ypserv (I forgot which version)
> (bunch of other services)
> New setup:
> p100 - 65M ram - 8G hard disk running Slackware 3.5 (kernel version
> 2.0.35)
> ypserv - NYS YP Server version 1.3.6 (with securenets)
> (other services)
> The problem is with the new setup:
> - On the server I run "p350:~#ypserv -d"
> /usr/etc/ypserv.conf:
> # Host : Map :
> Security : Passwd_mangle
> 192.168.1.0:255.255.255.0 : * :
> port : yes
This is a bad idea, only root could see the maps on that hosts.
Use /var/yp/securenets for access restrictions, and let this
empty.
> - On the other machines, I run ypcat (or some other yp service):
> p350:~$ ypcat passwd (or passwd.byname, or some other map)
> No such map passwd.byname. Reason: YP server error
> p350:~$
> When I run "~# ypserv -d", I see the connection requests, open requests,
> close requests, but about 1 minute later I get segmentation fault in
> ypserv.
> Anyone have any ideas what's happening with this?
Which libc are you using ?
Thorsten
--
Thorsten Kukuk http://home.pages.de/~kukuk/ [EMAIL PROTECTED]
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.
------------------------------
From: Gary Lake <[EMAIL PROTECTED]>
Subject: Re: smtp and pop3 on a Linux box
Date: Sat, 23 Jan 1999 13:13:58 -0500
Check out www.sendmail.org
They have a page specifically dedciated to connecting a LAN to an ISP
with Linux and PPP
Hope this helps
Vichharaks ROS wrote:
> PC1 PC2 Linux
> | | | | ppp
> ---------------- --------------- Internet PROVIDER
>
> PC1 and PC2 runs windows 95 98 or NT
> On PC Linux : smtp and pop3
>
> user1 is working on PC1
> user2 is working on PC2
> user1 and user2 can send and get messages on local network area using
> smtp and pop3 on the Linux box.
>
> user_provider is the user login to connect to the provider
>
> user_provider can send and receive email from the internet
> using the smtp and pop3 of the provider
>
> QUESTIONS :
> - Are user1 and user2 able to send an email to the internet ?
> If yes is there something to do on the Linux box ?
>
> - Are user1 and user2 able to receive an email from the internet ?
>
> Thanks for every feedback.
>
> Vic.
> [EMAIL PROTECTED]
------------------------------
From: Gary Lake <[EMAIL PROTECTED]>
Subject: Re: Nt & linux
Date: Sat, 23 Jan 1999 13:11:41 -0500
I would look into running Samba (free) on the Linux box. I've had great luck
with it.....it effectively makes the Linux box look like another NT machine.
Good Luck....there's lots of info out there on Samba
FireDragon wrote:
> I have a question...
>
> We run a little NT LAN at home, and have recently aquired another machine,
> which is running Linux, which we would love to have on the LAN, but somehow,
> it just doesn't want to co-operate. I can telnet into the Linux machine from
> one of the NT machines, but that is about it. Is it possible for us to get
> the Linux machine to actively participate in the rest of our domain, or will
> it remain an outcast for ever?
>
> Any suggestions would be appreciated.
> FireDragon
------------------------------
From: Andy Skunza <[EMAIL PROTECTED]>
Subject: Re: remote access to a samba server
Date: Tue, 26 Jan 1999 18:38:51 -0500
Thanks for all the suggestions. One more question: This will be for a company
LAN, is there a way to do this with some kind of security, like through an ssh
session?
Thanks again,
Andy
Gary Lake wrote:
> I did it directly dialing into the samba host, but I guess it could be done
> through an ISP (no promises). I know with a static IP I was able to telnet
> to my samba host through an ISP. I bet it would painfully slow though
>
> Andy Skunza wrote:
>
> > I would like to install a Linux/Samba server to provide file and print
> > sharing for 25 win95/98 clients. The Linux box would also need to
> > provide IP Masquerading for the clients. I think I can figure that
> > stuff out. But what I can't figure out is: How could a remote win95/98
> > client, once on the internet thru their ISP dial up connection, mount
> > the Samba share? Also, would a pentium 266 w/ 64MB of ram be enough
> > machine for these tasks. Thanks for any suggestions.
> >
> > Andy
------------------------------
From: Martin J Ferguson <[EMAIL PROTECTED]>
Subject: Re: Web spider?
Date: Tue, 26 Jan 1999 13:21:01 -0500
Jim Richardson wrote:
>
> On Fri, 22 Jan 1999 16:53:03 GMT,
> [EMAIL PROTECTED], in the persona of <[EMAIL PROTECTED]>,
> brought forth the following words...:
>
> >Hi all,
> >
> >Is there a webspider/internet robot application available for Linux? <snip>
http://www.htdig.org
Marty
------------------------------
** 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
******************************