Linux-Networking Digest #871, Volume #9 Wed, 13 Jan 99 20:13:51 EST
Contents:
Setting up a news server ([EMAIL PROTECTED])
look for some GATED.conf (smaraux)
Re: Obtaining MAC address from remote computer (George MacDonald)
Re: Where do I find NIC drivers? (Mike Ching)
Re: Telneting as "root" (Alexandre Dulaunoy)
re: pppd and users permissions (Frank Hale)
Re: Utterly clueless about PPP (Norman Elliott)
Re: Setting up a news server (bill davidsen)
DNS help and NT help (Graffix192)
Re: need paging software for linux ([EMAIL PROTECTED])
ISDN and PPP over HDLC (Alex)
Re: Does anyone play net Quake2? (John Wolanski)
SIOCSIFFLAGS ??? (Aegnor)
tcp wrappers (No Spam)
Somebody know....? ("seung han, SHIN")
What does this mean? Please? (Nazeeh Amin)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Setting up a news server
Date: Wed, 13 Jan 1999 15:25:30 GMT
Hello. I have a redhat 5.2 linux box, and I want to set up a news server.
Where could I get throughout information about it? I'd like to know what
server I should use (INN or CNEWS) and also where can I get a feed. I'm
planning to start with just a few groups for testing purposes, and then add
most of the news groups available. I have no hardware limitations, my line is
not that fast tough.
Thanx
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: smaraux <[EMAIL PROTECTED]>
Subject: look for some GATED.conf
Date: Wed, 13 Jan 1999 15:33:29 +0100
I'm trying to find documents and files dealing with gated, especially
the gated.conf files
I would like to recieve any RIP, OSPF, Hello, Mospf, EGP and BGP
configuration examples.
I would like to make a new tutorial, more simple than the one of
merit.edu
thanks in advance for sending me those files at :
[EMAIL PROTECTED]
------------------------------
From: George MacDonald <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Obtaining MAC address from remote computer
Date: Wed, 13 Jan 1999 23:39:18 GMT
Sander Pilon wrote:
>
> I want to obtain the MAC (Hardware) address of another computer.
>
> I searched through Dejanews and Excite, but none of the I found programs
> work. Most of them failed on the IOCTL() with SIOCGARP call.
>
> I have two ethernet cards. (3Com PCI) on Linux 2.0.34.
>
> Is there anyone out there that has a decent example showing
> how to do get a MAC address from a remote computer?
>
I use "arp -a" for local segments, don't know about getting them from
farther away.
--
We stand on the shoulders of those giants who coded before.
Build a good layer, stand strong, and prepare for the next wave.
Guide those who come after you, give them your shoulder, lend them your code.
Code well and live! - [EMAIL PROTECTED] (7th Coding Battalion)
------------------------------
From: [EMAIL PROTECTED] (Mike Ching)
Subject: Re: Where do I find NIC drivers?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 13 Jan 1999 15:57:52 GMT
On Mon, 11 Jan 1999 18:18:46 -0500, Roy Jones <[EMAIL PROTECTED]> wrote:
>I'm learning Linux and I have two machines I want to network. I want to
>use RedHat 5.2 from InfoMagic "Linux Developer's Source" November 1998.
>I have Microdyne NE2500 NICS in each box and I need a little help
>finding the appropriate drivers.
>
>Are they lurking on the installation disks or do I need to look
>elsewhere?
>
>Roy
The Microdyne NE2500s are PCnet boards. Best bet is to use the DOS utility
to configure them as non-P&P at one of the four ports that are probed by the
lance/PCnet driver, ie., 0x300, 0x320, 0x340 or 0x360. You can pick whatever
is available in your system for the IRQ and DMA since they'll get detected
by the probe. I have heard that they don't work when you try to install the
driver as a module so you might have to compile support in the kernel. The
install disk has the driver in the kernel so this last part may not be
necessary if you use the installation kernel.
------------------------------
From: Alexandre Dulaunoy <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,comp.os.linux.setup
Subject: Re: Telneting as "root"
Date: Wed, 13 Jan 1999 17:00:13 +0100
This is a multi-part message in MIME format.
==============E294474D87156B9C0D1B82A1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
http://www.ssh.fi ...
it's the solution...
you can have GPLed Server & client for Unix ...
I use ssh everyday and it's wonderful ...
alx
benjamin j snyder wrote:
> Correct me if I'm wrong, but if someone has a 'packet sniffer' running they
> could strip the packets and get the root password anyway (assuming you telnet
> and then su), they could get the exact command you typed, so there's really no
> secure/safe way to log in as root remotely. Granted, this 'hacker' would have
> to be inside the local network, or could have hacked their way into a normal
> users account (there are MANY posibilities) to start the stripper.
>
> Packet strippers arent too hard to come accross, or even write (assuming you
> know the ins and outs of TCP/IP (or IPX or whatever protocol) packets.
>
> I know a guy who runs a packet sniffer on his network (at home) just to play,
> dont know the specifics of it, but anything that is passed between computers
> he gets a duplicate of, and it's translated and logged for him automatically.
>
> In article <01be3eca$c8fecbd0$0a01a8c0@eng-1>,
> Meindert Sprang <[EMAIL PROTECTED]> wrote:
> >If you want to play safe, start a telnet session as an ordinary user, then
> >issue the 'su' command to change to super user (=root) and enter the
> >password for root.
>
> >> The reason that root is disabled from telnetting in is to prevent a
> >hacker
> >> from breaking root's password. With the securetty file implemented, a
> >> hacker needs to break TWO passwords.
> --
> Ben Snyder
==============E294474D87156B9C0D1B82A1
Content-Type: text/x-vcard; charset=us-ascii;
name="adulau.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Alexandre Dulaunoy
Content-Disposition: attachment;
filename="adulau.vcf"
begin:vcard
n:Dulaunoy;Alexandre
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Alexandre Dulaunoy
end:vcard
==============E294474D87156B9C0D1B82A1==
------------------------------
From: Frank Hale <[EMAIL PROTECTED]>
Subject: re: pppd and users permissions
Date: 13 Jan 1999 23:44:10 GMT
Mark Giesbrecht wrote:
>
> Hey there Frank,
>
> What I had to do in this case was to change the setuid permissions, so
> pppd can be started and killed by the _user_; this was done by:
>
> # chmod a+s /usr/sbin/pppd
>
> I read this about a month and half ago in this newsgroup, and have
> been thankful ever since. Hope this helps,
>
Yes the command in deed does set it to have root privileges. But it
still will not execute for a user. Here is the command I use in my perl
script which calls the pppd command.
$command="/usr/sbin/pppd name \"".$NAME."\"".
" -d connect \'/usr/sbin/chat -t 45 -v ABORT BUSY \"\" ATDT".
$PHONE." CONNECT \"\"\' ".$MODEM.
" 115200 noipdefault modem defaultroute crtscts";
As you can see I pass pppd the name option here. The error message I get
is
FranksPC frank ~> ppp-on
/usr/sbin/pppd: using the name option requires root privilege
If I look at the file with a ls -l I get the following output
FranksPC root /home/frank> ls -l /usr/sbin/pppd
-rwsr-sr-x 1 root root 106876 Jun 8 1998 /usr/sbin/pppd*
Showing in fact that it is indeed setuid root.
If it is setuid root how come a user cannot execute the command? Am I
missing something silly here? I have tried every possible combination of
permissions but no luck only root can execute the script.
Thanx in advance.....
--
From: Frank Hale
Email: [EMAIL PROTECTED]
ICQ: 7205161
Homepage: http://members.xoom.com/frankhale/
Jade: http://jade.netpedia.net/
------------------------------
From: Norman Elliott <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Utterly clueless about PPP
Date: Wed, 13 Jan 1999 23:46:36 +0000
If you are running Slackware then run pppsetup
It will ask various questions.
You will need
the domain name of your ISP
your login name for the ISP
your password for the ISP
your ISP's DNS (Domain Name Server ) IP Address
your phone number for the ISP ( note well to read the questions fully eg
at this question your answer will be ATDT123456 not just 123456 )
unless you have a special setup you answer no to call back
My version screws up if you put in any initiaisation string just press
Enter on this. If you want to know how to correct it email me. I might
edit the source and re-compile some day.
When it has finished
run ppp-go
do tail -f /var/log/messages if you want but it will come back with a
local and remote IP address eventually
If it fails at this point make sure you have no default route already
set.
do
route del default
if you have.
HTH
norm
Juergen Fiedler wrote:
>
> Hi,
>
> I'm trying to get PPP to work, but I just can't seem to get anywhere. As
> recommended in the PPP-HOWTO, I first set up my /etc/resolv.conf and
> /etc/ppp/options. My /etc/ppp/options looks like this:
>
> -detach
> modem
> lock
> crtscts
> defaultroute
> asyncmap 0
> mtu 552
> mru 552
> lcp-max-configure 30
>
> After setting up everything, I use minicom to connect to my ISP and upon
> establishing the connection, quit without resetting the modem. Then, I type
>
> pppd file /etc/ppp/options /dev/modem 57600
>
> This produces some lines in /var/log/messages that look like that:
>
> Jan 7 22:08:14 CaveMaus kernel: PPP: version 2.2.0 (dynamic channel
> allocation)
> Jan 7 22:08:14 CaveMaus kernel: PPP Dynamic channel allocation code
> copyright 1995 Caldera, Inc.
> Jan 7 22:08:14 CaveMaus kernel: PPP line discipline registered.
> Jan 7 22:08:14 CaveMaus kernel: registered device ppp0
> Jan 7 22:08:14 CaveMaus pppd[539]: pppd 2.3.3 started by root, uid 0
> Jan 7 22:08:14 CaveMaus pppd[539]: Using interface ppp0
> Jan 7 22:08:14 CaveMaus pppd[539]: Connect: ppp0 <--> /dev/modem
> Jan 7 22:09:27 CaveMaus pppd[539]: Modem hangup
> Jan 7 22:09:27 CaveMaus pppd[539]: Connection terminated.
> Jan 7 22:09:28 CaveMaus pppd[539]: Exit.
>
> Having watched the activity with 'tail -f /var/log/messages', I can say that
> it takes a while for the modem to hang up - as you can see from the log
> file.
> If I leave the 'lcp-max-configure 30' line out of the options file, I get a
>
> Jan 7 21:58:50 CaveMaus pppd[494]: LCP: timeout sending Config-Requests
>
> instead of the modem hangup.
> I am completely stumped. And very frustrated, too. I managed to hook my
> Linux machine up to the Net using WinGate - but using a Windows proxy for a
> Linux machine is a shame and an abomination.
> Could someone please help me get online the Linux way? I'm really desperate.
>
> TIA,
> Juergen
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: Setting up a news server
Date: 13 Jan 1999 23:42:23 GMT
In article <77idst$qlc$[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
| Hello. I have a redhat 5.2 linux box, and I want to set up a news server.
| Where could I get throughout information about it? I'd like to know what
| server I should use (INN or CNEWS) and also where can I get a feed. I'm
| planning to start with just a few groups for testing purposes, and then add
| most of the news groups available. I have no hardware limitations, my line is
| not that fast tough.
Good that you have no hardware limitation. I handle a small part of
what's available, about 26k groups, and I handle about 11GB/day, keeping
my article size small.
I would use INN, Cnews probably won't keep up with "most of the news
groups available" any more. Diablo is nice, also.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
------------------------------
From: [EMAIL PROTECTED] (Graffix192)
Subject: DNS help and NT help
Date: 13 Jan 1999 22:50:22 GMT
Hello we just got a Linux box up and running we are using redhat 5.2 and we
need some help with 2 things. people from the outside world can come into the
box via ftp and http but for some reason when we try to go out through netscape
to a website we get a dns error so I'm sure we are over looking something
trivial. also how can we set up linux to work with our exsititng windows NT
network? is it possible?? any help would be greatly apperciated. if you can
help with 1 of these problems we would be very greatful! thanks!
Patrick Hill
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: need paging software for linux
Date: Wed, 13 Jan 1999 15:18:13 GMT
Another stabe option is to setup sendpage on your Linux box. This was a great
free solution for solving paging problems that I once had.
http://www.cpoint.net/projects/sendpage/
This post is a bit late, but I hope that it helps.
Jeremiah
===========================
Jeremiah Sahlberg
Computer Security Engineer
Para-Protect Services, Inc.
[EMAIL PROTECTED]
http://www.para-protect.com
In article <[EMAIL PROTECTED]>,
David Barnes <[EMAIL PROTECTED]> wrote:
> I did that several years ago. A Perl script grabbed whatever page needed to
> be sent out and emailed it to the paging company. It worked very well for
us.
>
> Barnes
> [EMAIL PROTECTED]
>
> Stephen Carville wrote:
>
> > Daddy Rabbit wrote:
> > >
> > > I have a communications server (windblows machine) that is used for
> > > accessing the net, sending message to pagers, etc. I would like to get
> > > rid of windblows alltogether. The only thing preventing me from doing
> > > this is finding a paging program for linux.
> >
> > Most major paging services allow for paging by email. If yours does, then
> > create a mail alias like page_username with the correct address format for
> > your provider and hand the message off via your mail server.
> >
> > --
> > Stephen Carville
> > [EMAIL PROTECTED]
> > ----------------------------------------------------
> > Management: The art of hiring intelligent, skilled individuals and then
> > ignoring their advice.
>
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Alex)
Subject: ISDN and PPP over HDLC
Date: 13 Jan 1999 16:18:04 GMT
Reply-To: [EMAIL PROTECTED]
Hello all,
I have an Lasat unique 1280i external ISDN modem which has a RS232
interface. It works fine under Windows, but I can't make it work on Linux.
I am using the same init string as the windows software. It is
AT&FE0V1&C1&D2S95=47S0=0\P1&B2\C1&K3 which puts the modem in PPP over
HDLC mode (rfc1662). PPP negotiation goes well and ppp interface goes
up. But the IP packet does not go through this connection. Actually
what happens is that PPP frames are not received correctly from the kernel.
I tried a lot of ACYNCMAP and ESCAPE option combinations (and the most
wide used asyncmap a0000, escape FF) but it still does not work.
I have also PPP packets from the Windows software printed. The windows
software starts with LCP ConfReq asyncmap 0xa0000, pcomp, accomp, callback
0x600. The peer at the other side is a cisco router.
Thank you for any help or ideas.
Alex
------------------------------
From: John Wolanski <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Does anyone play net Quake2?
Date: Wed, 13 Jan 1999 11:32:10 -0500
I can't answer that. I seriously doubt that it's a problem with the
router. I'd almost bet money on it! By all means, try the udprelay and
I hope it works! Maybe this has something to do with the fact that
you're using a modem and udprelay would help that out. Like I said,
I've never masqued with a modem before so I know nothing about that.
If you have the HDD space, or an extra HDD laying around (heh, don't we
all??), try installing Linux on the Windows computer, establishing your
ISP connection, and then playing Quake from there, if your box is
inaccessible.
At any rate, good luck and I hope udprelay solves your problem!
jasonvp@@m1ndspr1ng.NOSPAM.com wrote:
> Someone here at work suggested I look into a package called "udprelay." He
> uses it on his Linux IP forwarder to play Quake2 over the net and doesn't have
> a problem with it. So that leads me to believe that if there's a "problem"
> with the masquerader, it's UDP related?
--
-John Wolanski
Remove the "_removethis" from my email address to reply.
------------------------------
From: Aegnor <[EMAIL PROTECTED]>
Subject: SIOCSIFFLAGS ???
Date: Wed, 13 Jan 1999 16:54:42 +0100
when i try an ifconfig eth0 myIp i've got this error message:
"SIOCSIFFLAGS: resource temprarily unavailable"
I don't know what that's mean ? someone can help ?
Is this error due to a shared irq ? Because my eth0 (ne2000 pci clone)
use the same irq as my pci scsi card do (and the serial USB controller
too also)..
thanks
------------------------------
From: [EMAIL PROTECTED] (No Spam)
Subject: tcp wrappers
Date: Wed, 13 Jan 1999 15:36:40 GMT
I've just tried to set up tcp wrappers on my server and have come
across a problem I can't work out.
Following the examples given in the default hosts.deny and .allow
files that came with the RH5.1 install I added the following;
hosts.deny
portmap: ALL <-- this was already in the file
ALL: 0.0.0.0/0.0.0.0 <-- added by me
hosts.allow
portmap: 194.129.122.0/255.255.255.192 <- this was already in the file
in.telnetd: 194.129.122.0/255.255.255.192 <-- added by me
in.ftpd: 194.129.122.0/255.255.255.192 <-- added by me
The problem is that when I do this I can't use ftp or telnet even
though the address of my PC is definitely in the network supplied. I
can only get it to work if I make the IP addresses 0.0.0.0/0.0.0.0.
Does anyone have any pointers as to where I've gone wrong?
TIA,
Scott.
------------------------------
From: "seung han, SHIN" <[EMAIL PROTECTED]>
Subject: Somebody know....?
Date: Thu, 14 Jan 1999 09:39:39 +0900
First of all ...
thank you for your attention..and sorry for my poor english.
My problem is This....
Suppose there is one linux box named "foo.com"
and user named " bar ".
I am not want to allow telnet login for user bar.
I mean
bar must can't login for foo.com using telnet.
but ftp login is o.k....
I wanna this.....
Already I was find Tcpwraper's man page...but.....
help me.....
------------------------------
Date: Thu, 14 Jan 1999 02:45:44 +0200
From: Nazeeh Amin <[EMAIL PROTECTED]>
Subject: What does this mean? Please?
hi..
I am trying to setup a small 2 computer lan using ethernet cards.
now... It worked on Windows (useless..) My Linux box seems to have a
problem pinging the Windows machine... my card is a PCI cheap thing...
the driver i used was the NE2000 PCI which loaded fine. I setup my IP:
eth0 Link encap:10Mbps Ethernet HWaddr 00:C0:26:C0:90:59
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0xd400
and my routing : using route add -net 10.0.0.0 netmask 255.255.255.0
eth0
now... my machine does not ping the other one at all... and in my syslog
i get this error :
eth0: timeout waiting for Tx RDC.
What does this mean?! I really gotta get this working so that i can
convince my Boss at work to drop out on NT and get Linux up and
running.. can someone please help me..
email me if you can help.. it's urgent... thanx....
Nazeeh Amin..
--
Second Law of Business Meetings:
If there are two possible ways to spell a person's name, you
will pick the wrong one.
Corollary:
If there is only one way to spell a name, you will spell it
wrong, anyway.
------------------------------
** 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
******************************