Linux-Networking Digest #374, Volume #10 Thu, 4 Mar 99 03:13:47 EST
Contents:
Re: Printing Accounting (Grant Taylor)
Re: Xhosting 101 (Rick Onanian)
Re: Any assistance please? (David Kirkpatrick)
Re: PPP can't use ISP's Name Server (David Kirkpatrick)
Re: pppd to isp (David Kirkpatrick)
Re: SendMail (Erik Hensema)
Ethernet Card Problem with Accton and SMC with slackware 2.2.2
([EMAIL PROTECTED])
Re: what an evil -genius bastard ("GA")
Re: ppp problems with rh 5.2 (David Kirkpatrick)
Re: Problems with "rsh" ("Ren� Fosdal")
----------------------------------------------------------------------------
From: Grant Taylor <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Printing Accounting
Date: 03 Mar 1999 13:33:17 -0500
[EMAIL PROTECTED] (Alan Curry) writes:
> In related news, I'd like to know if there is any lpd replacement
> with some access control. In some places it doesn't make sense to
> allow every user to print just because there happens to be a printer
> there, but the administrator might want to print something once in a
> while, so having lpd running is convenient. If lpr would do a
> getuid() and compare against a list of allowed users (kinda like
> /etc/minicom.users, only for lpr), that would be ideal.
LPRng is the likely candidate. The stock BSD lpd shipped with most
Linux distributions is rather poor for use in any "real" environment.
LPRng includes various proper authentication options like Kerberos as
well as some of the more lax authentication methods...
I beleive LPRng is at www.astart.com, but don't quote me on that. The
proper URL is in the Printing HOWTO if that isn't it.
--
Grant Taylor - gtaylor@picante<dot>com - http://www.picante.com/~gtaylor/
Cellphone information: http://www.picante.com/~gtaylor/cell/
Libretto information: http://www.picante.com/~gtaylor/portable/
Linux Printing HOWTO: http://www.picante.com/~gtaylor/pht/
------------------------------
From: Rick Onanian <[EMAIL PROTECTED]>
Subject: Re: Xhosting 101
Date: Wed, 03 Mar 1999 13:27:25 -0500
[EMAIL PROTECTED] wrote:
>
> > The man page is just not doing it for me today.
>
> "Not doing it for you"? What the fuck.
>
> Just read the man page and don't try to sponge free advice off the
> readership of this list.
>
> You lazy sot. You make me sick.
Dude! Chill out! Sometimes, the man pages aren't completely clear, or
don't help with the problem someone's having...and often, there' no man
page for that problem. Not to mention, some people have differant
thought
processes than the guy who wrote the man page..so lay off!
There's no reason to get nasty about it!
If you don't want to contribute, that's okay. If you do want to, please
do it nicely and don't scare people away..this newsgroup is here for
people to 'sponge free advice', you know. I bet you did the same, at
some point.
To your credit, after busting his balls, you did at least give him
an answer. Now just relax a little...It's okay. Really, everything will
be alright.
Any reason you haven't set up your newsreader correctly, Mr. Mailer?
Do you offer shell acounts on localhost.localdomain, your wonderfully
set up machine?
--
rick - a guy in search of raw (ISO) cd images of SuSE and Slackware
===============
My opinions don't exist, and as such, are not anyone elses. I do not
represent anyone, not even myself, and especially not my employer.
---
Looking for a 1968 Camaro SS convertible, black interior,
beat-up rustbucket that is in need lots of restoration and TLC.
---
Reply to me at either thc <at sign here> psynet <dot> net or
rick <at sign> mail <dot> artmold <dot> com
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: Any assistance please?
Date: Wed, 03 Mar 1999 13:21:39 +0000
Reply-To: [EMAIL PROTECTED]
What things are setup in Network Configurator. What are the eth0
messages on boot and in the logs /var/log/messages?
What's in /etc/sysconfig/network-scripts/ifcfg-eth0
What does ifconfig eth0 report?
Jimmy Bands wrote:
>
> In trying to network my Linux machine, I find that Linux does not recognize
> the "eth0" interface. I know it's there because all the relevant details are
> available through linuxconf.
> Additionally, the card was configured during installation with the
> appropriate drivers.
>
> However, "netstat -i" only reveals the loopback driver and "ifconfig eth0"
> says:
> eth0:unknown interface.
>
> Please help me find my network card.
>
> Any assistance or suggestions would be appreciated.
>
> Regards,
> Jimmy Bandouvakis
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: PPP can't use ISP's Name Server
Date: Wed, 03 Mar 1999 13:24:08 +0000
Reply-To: [EMAIL PROTECTED]
Generic info for RH 5.2. Assumption: you installed PPP.
===================================================================
RH puts ppp scripts in /usr/doc/ppp-2.3.5
Copy ppp-on, ppp-on-dialer, options to /etc/ppp.
BTW:I have copied /dev/null to options.
===================================================================
Modify ppp-on by editing the following:
TELEPHONE, ACCOUNT, PASSWORD
==================================================================
For exec command. put in correct device probably
cua1 (for RH5.2) and modem speed
===================================================================
Edit /etc/resolv.conf and put in ISP nameserver given you by your
ISP.
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
You usually get two from your isp.
====================================================================
execute ppp-on & and monitor logs with
tail -f /var/log/messages.
+++++++++++++++++++++++++++++++++++++++
OR:
Control Pannel: Modem configuration. Select
correct device. (used in ppp-on script)
===================================================================
Control Pannel: Network Configurator: Routing: Defaults blank
PPP0 will use this so needs a blank here.
===================================================================
Network Configurator: Names: insert ISP
nameserver addresses.
===================================================================
System Configurator: PPP/SLIP/PLIP: Configurations, Add
Fill in Hardware, Communication. Assumes PAP not
required - If things do not work check with ISP.
==================================================================
Save quit. Verify /etc/resolv.conf has your ISP
addresses.
==================================================================
The linuxconf sets up most things but does not
setup the ppp-on script - that must be done by hand.
==================================================================
Testing:
cd /etc/ppp
execute ppp-on
Ping locally between your network machines to insure your ok.
Ping some net address by ip number like 10.220.10.120. Once ppp
is connected.
Verify your name server working, ping boston.com or do an
nslookup microsoft.com
When not dialed in ping someother box locally by name
to insure yor local resolution is working say if
done by the /etc/hosts and /etc/lmhosts.
Mike Niemann wrote:
>
> OK, I'm a newbie... although it has taken me about 4 installs, and a
> couple hundred boots to get this far.
>
> I finally can get connected to my ISP (via Minicom), and I start PPP
> with: pppd -d /dev/cua1 38400 defaultroute
>
> I can ping across my peer-to-peer lan, which uses the eth0 network
> card. When I ping to an internet address... I get no response (all
> lost packets).
>
> If I load Netscape, I can access an internet site with the IP address,
> but not the www.xxxx.com name. Oddly enough the site responds to
> Netscape although not to ping (perhaps that is normal).
>
> Using route -n, I see the four entries expected... and the ppp0 route
> has picked up the ISP provided IP address. [I'm using the networking
> info at http://rlz.ne.mediaone.net/usr/doc/LDP/install-guide/ ]. There
> the example output shows:
>
> Destination
> default
>
> and mine shows
>
> Destination
> 0.0.0.0
>
> Any help would be truly appreciated.
>
> Regards, Mike
>
> PS - I seem forced to use Minicom because my ISP is Netcom.... and my
> login starts with #... which isn't a cool character in Linux'ville.
> I'm sure there is some sort of escape character... just haven't found
> it yet.
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: pppd to isp
Date: Wed, 03 Mar 1999 13:26:49 +0000
Reply-To: [EMAIL PROTECTED]
I'm not sure about LCP timeouts. They can occur when the ISP is
down or PAP is required and you do not have it on your end. If
their supporting out of the box NT/98/95 then you can probably
get in with a generic PPP setup.
Generic info for RH 5.2. Assumption: you installed PPP.
===================================================================
RH puts ppp scripts in /usr/doc/ppp-2.3.5
Copy ppp-on, ppp-on-dialer, options to /etc/ppp.
BTW:I have copied /dev/null to options.
===================================================================
Modify ppp-on by editing the following:
TELEPHONE, ACCOUNT, PASSWORD
==================================================================
For exec command. put in correct device probably
cua1 (for RH5.2) and modem speed
===================================================================
Edit /etc/resolv.conf and put in ISP nameserver given you by your
ISP.
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
You usually get two from your isp.
====================================================================
execute ppp-on & and monitor logs with
tail -f /var/log/messages.
+++++++++++++++++++++++++++++++++++++++
OR:
Control Pannel: Modem configuration. Select
correct device. (used in ppp-on script)
===================================================================
Control Pannel: Network Configurator: Routing: Defaults blank
PPP0 will use this so needs a blank here.
===================================================================
Network Configurator: Names: insert ISP
nameserver addresses.
===================================================================
System Configurator: PPP/SLIP/PLIP: Configurations, Add
Fill in Hardware, Communication. Assumes PAP not
required - If things do not work check with ISP.
==================================================================
Save quit. Verify /etc/resolv.conf has your ISP
addresses.
==================================================================
The linuxconf sets up most things but does not
setup the ppp-on script - that must be done by hand.
==================================================================
Testing:
cd /etc/ppp
execute ppp-on
Ping locally between your network machines to insure your ok.
Ping some net address by ip number like 10.220.10.120. Once ppp
is connected.
Verify your name server working, ping boston.com or do an
nslookup microsoft.com
When not dialed in ping someother box locally by name
to insure yor local resolution is working say if
done by the /etc/hosts and /etc/lmhosts.
Peter Downs wrote:
>
> I have this strange problem while trying to connect to my isp with my
> linux box.
> chat seems to get the connection live properly however when pppd sends
> the lcp,
> the server doesn't respond... (im sending this from a win95 machine,
> fyi) Unfortunately,
> I don't have another isp to try to connect to and the admin at my isp
> only knows winnt
> so won't support linux connectivity.
> I've considered using my win95 box as a proxy but i'd much rather be
> free of any
> sort of ms dependencies... Any suggestions? Regards,
> Ragnar
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Erik Hensema)
Subject: Re: SendMail
Date: Wed, 3 Mar 1999 18:18:38 +0100
Reply-To: [EMAIL PROTECTED]
Lorenzo morbidelli wrote:
>Hello,
>
>someone know what file I have to edit to allow me to read mail form an
>external server?
>I have my PC Linux attached to an internet connection, where on a sun
>Workstation I receive mail.
>I would like when I type "mail" that Linux goes and check on the Sun
>server for my mail..
If you've got a pop account, use fetchpop:
AUTHOR
fetchpop was written by Seung-Hong Oh <[EMAIL PROTECTED]
state.edu> <http://www.cis.ohio-state.edu/~oh">
--
Erik Hensema ([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED]
Subject: Ethernet Card Problem with Accton and SMC with slackware 2.2.2
Date: Thu, 04 Mar 1999 07:18:17 GMT
I'm having a bugger of a time trying to figure out what the problem is with
this slackware install. I have two ethernet cards (1 pci and 1 ISA) and a
video card (pci) in a slackware 2.2.2ac7 AMD 233 Box. The machine runs fine,
and the SMC Ultra ISA ethernet card runs great, as well as the Stealth 2500
Video card.
The problem comes with the Accton MPX card (PCI 10/100). It simply won't
be detected. I've tried compiling in support using modules or directly into
the kernel (according to the Ethernet-HOWTO it's fully NE2000 compatible).
I've tried editing conf.modules to alias it to eth0 and eth1.
Ultimately, I would have suspected that the boot process detects one card
and then quits, but I've tried adding append="ether=10,0x340,eth0 (my SMC
card) ether=0,0,eth1" to the lilo and still nothing. I've tried doing
modprobe ne manually and it never detects the pci card. I've tried adding
io=0xxxx and its still no good. I'm sure the card is installed correctly
hardware wise. I've booted into dos and used the setpci can detect the
interrupt (11) and memory location (0x6200). (which leads me to a separate
question... do all pci cards have such high memory locations? all the other
items (serial ports, other cards) are all between 0x000 and about 0x380)).
I'd really really appreciate if anyone could help me out with this!
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "GA" <[EMAIL PROTECTED]>
Subject: Re: what an evil -genius bastard
Date: Thu, 04 Mar 1999 07:32:43 GMT
Okay, now this is a little extreme... blaming Bill Gates 'cuz your WinModem
won't work in a different OS???
WinModems are shit in DOS, too. That's why they're called WINmodems, DUH!
Ju wrote in message <7bl2pu$[EMAIL PROTECTED]>...
>Yeah, mr gates.
>
>i'm new to Linux, x environment, all of it. after installation pains i
find
>out that winmodems are shit in Linux. i guess no internet connect until i
>get a new modem.
>
>i've seen posted some where, a script that enables winmodem use. it's
>probably beyond my capabilities now, but i'm interested, but need pretty
>complete info to just to understand how to get it, run it etc......
>
>thanks for any info
>jullian
>
>
------------------------------
From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: ppp problems with rh 5.2
Date: Wed, 03 Mar 1999 13:33:24 +0000
Reply-To: [EMAIL PROTECTED]
Mat,
I don't have any real answer but the question has been
unanswered so I'll toss in some comments. On the asyncmap I can
only say reset the defaults and if that does not work query your
ISP and ask them if they are the cause. Do you have an MS disk
you can put on and try to get into the ISP with?
Mats Ekelund wrote:
>
> Trying to connect to my ISP (telia Sweden) via ISDN and a Zyxel omni.net
> ISDN I get the following log:
>
> Mar 1 20:40:21 foo pppd[398]: pppd 2.3.5 started by root, uid 0
> Mar 1 20:40:23 foo pppd[398]: Serial connection established.
> Mar 1 20:40:24 foo pppd[398]: Using interface ppp0
> Mar 1 20:40:24 foo pppd[398]: Connect: ppp0 <--> /dev/cua1
> Mar 1 20:40:24 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:26 foo pppd[398]: rcvd [LCP ConfReq id=0x30 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:26 foo pppd[398]: sent [LCP ConfAck id=0x30 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:27 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:28 foo pppd[398]: rcvd [LCP ConfReq id=0x31 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:28 foo pppd[398]: sent [LCP ConfAck id=0x31 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:30 foo pppd[398]: rcvd [LCP ConfReq id=0x32 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:30 foo pppd[398]: sent [LCP ConfAck id=0x32 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:30 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:32 foo pppd[398]: rcvd [LCP ConfReq id=0x33 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:32 foo pppd[398]: sent [LCP ConfAck id=0x33 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:33 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:34 foo pppd[398]: rcvd [LCP ConfReq id=0x34 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:34 foo pppd[398]: sent [LCP ConfAck id=0x34 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:36 foo pppd[398]: rcvd [LCP ConfReq id=0x35 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:36 foo pppd[398]: sent [LCP ConfAck id=0x35 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:37 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:38 foo pppd[398]: rcvd [LCP ConfReq id=0x36 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:38 foo pppd[398]: sent [LCP ConfAck id=0x36 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:40 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:40 foo pppd[398]: rcvd [LCP ConfReq id=0x37 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:40 foo pppd[398]: sent [LCP ConfAck id=0x37 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:42 foo pppd[398]: rcvd [LCP ConfReq id=0x38 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:42 foo pppd[398]: sent [LCP ConfAck id=0x38 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:43 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:44 foo pppd[398]: rcvd [LCP ConfReq id=0x39 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:44 foo pppd[398]: sent [LCP ConfAck id=0x39 <asyncmap 0x0>
> <auth pap> <magic 0x4e9e2cf7>]
> Mar 1 20:40:46 foo pppd[398]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <magic 0x6a7db57b> <pcomp> <accomp>]
> Mar 1 20:40:47 foo pppd[398]: Hangup (SIGHUP)
> Mar 1 20:40:47 foo pppd[398]: Modem hangup
> Mar 1 20:40:47 foo pppd[398]: Connection terminated.
> Mar 1 20:40:48 foo pppd[398]: Exit.
>
> pppd is started with:
>
> exec /usr/sbin/pppd debug lock modem crtscts /dev/cua1 115200 \
> asyncmap 0 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
> noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
>
> where $LOCAL_IP is 0.0.0.0, $REMOTE_IP is 0.0.0.0 and $NETMASK is
> 255.255.255.0
>
> My options is: name my_isp_user_name
>
> Does anyone have a clue what to do?
>
> Regards,
> Mats Ekelund
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: "Ren� Fosdal" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Problems with "rsh"
Date: Thu, 04 Mar 1999 07:47:07 +0100
Ren� Fosdal wrote:
> Hi,
>
> I have for the last few days tried desperately tried to get PVM
> (Parallel Virtual Machine) to work but I am have trouble with "rsh". On
> both PC's I have renamed the /etc/hosts.allow and /etc/hosts.deny so
> that these are non-existing (granting everyone access to everything - I
> know: bad idea). Then I have put the following in /etc/hosts.equiv on
> PC-1:
>
> localhost
> pc2.homenet
>
> and in /etc/hosts.equiv on PC-2:
>
> localhost
> pc1.homenet
>
> but if I try the following (as root): "rsh pc1 ls" on PC-2 I get a
> "Permission Denied" and the same on PC-1 (with pc1 replaced by pc2, of
> course).
>
> The /etc/hosts is correct (I can use telnet and ftp between the two
> machines).
>
> What on earth could be wrong? Any hint/help would be appreciated.
>
> Tanks in advance,
>
> Rene Fosdal
Well, I spend a few hours yesterday. It turns out that you cannot use
"rsh" as "root" to start a program on remote account for "root". So for PVM
I created a new user account which will be used to development of PVM
programs.
And I also missed the correct .rhosts configuration (is there a global
rhosts file or is this a user-level security?).
Rene Fosdal
------------------------------
** 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
******************************