Linux-Networking Digest #146, Volume #11         Thu, 13 May 99 22:14:09 EDT

Contents:
  Re: NFS server (mountd/nfsd) won't start -- PLS HELP (L J Bayuk)
  Re: ppp hangup after connect (Clifford Kite)
  Re: Setting up a Linux-box as a Router (Clifford Kite)
  Re: Problem connecting to the Samba Server!! (Rob G)
  Why does pptp say Call Manager is already running (Scott Ellsworth)
  Messages on console with smbprint... ("Daniel G�linas")
  ppp hangup after connect (Baboulen)
  Re: Default ppp route keeps messing up. (DonJr)
  Re: PPP: where, how? (Bill Unruh)
  Re: mgetty blocks dialout (M. Buchenrieder)
  Re: Help me...I've been hacked! (Bill Unruh)
  Re: Networking Cards and Sound Blaster 16 (Lothar Krenzien)
  Hostile Takeover of Linux!!!!!!!! (dan)
  Re: root login denied over telnet in RH6.0 ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: NFS server (mountd/nfsd) won't start -- PLS HELP
Date: 14 May 1999 00:42:08 GMT

[EMAIL PROTECTED] wrote:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] writes:
>|> 
>|> I assume you checked that portmap was up and running,
>|> can you do a "rpcinfo -p <hostname>"?
>
>/etc/rc.d/init.d/portmap status reports:
>
>    portmap (pid 820) is running...
>
>/usr/sbin/rpcinfo -p myhost reports:
>
>   program vers proto   port
>       100000    2   tcp    111  rpcbind
>       100000    2   udp    111  rpcbind
>
>From reading the NFS-HOWTO and the stuff in /usr/doc/portmap-4.0
>I gather that rpcbind is used in lieu of portmap on some systems.
>When I "/etc/rc.d/init.d/portmap stop", then the rpcbind entries
>go away.  And, they comeback when I restart it.  Also, reading
>"back issues" of news postings, I gather that rpcbind shows up
>instead of portmap in rpcinfo output of working Linux NFS
>servers.
>
>Anyone with a functional Linux NFS server want to confirm this?

Re: rpcbind vs portmap:
It's actually just whatever is in the /etc/rpc service list
as the name for progam "100000". Older /etc/rpc files called
it "portmap", and the newer ones call it "rpcbind" with
an alias of "portmap". So the output of rpcinfo -p just
depends on which /etc/rpc service list file you have.

Sorry this doesn't help you. There have been other reports like
yours: nfsd/mountd won't register with portmap (aka rpcbind).
Have you tried running portmap with a debug option and watching
when mountd or nfsd tries to register?

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: ppp hangup after connect
Date: 13 May 1999 18:42:33 -0500

Baboulen ([EMAIL PROTECTED]) wrote:

: I'm trying to connect to the internet via ppp and linux, but i get config
: problems. I read a lot of papers (ppp-howto, ppp-faq, isp-howto, ...), got
: files, try them, but the modem hangs up :-(( 
:   
: Here are my config files : 
:   
: /etc/ppp/net-chat 
: ----------------- 
: "" AT&FS95=0W0S38=0 
: ABORT 'BUSY' 
: ABORT 'NO CARRIER' 
: ''              AT&F\r 
: OK              AT&D2&C1\r 
: OK              ATD0557015000\r 
: \~  eric\.baboulene 
: \~  my_passwd
: \~  '' 
: ''  ppp 

If you are trying to connect to AOL then I believe you are wasting
your time.  If not then something is amiss with your login procedure -
which is very strange looking.  To send a login name after connecting by
having chat expect a `~' is extraordinary, in fact it just isn't sensible.
If you're doing login/password then you would expect prompts.  If you're
doing PAP or CHAP authentication then expecting the `~' is at least
understandable and you are likely to never need to do login/password.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* The wealth of a nation is created by the productive labor of its
 * citizens. */

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Setting up a Linux-box as a Router
Date: 13 May 1999 19:39:43 -0500

Friedrich Kirsch ([EMAIL PROTECTED]) wrote:
: I have two subnets 195.168.3.0 und 195.168.4.0 und one Linux-box with
: two Network-Cards. I'd like to use the Linuxbox as a router between the
: two nets, without writing routingtables (except Default-gateway) for
: each host. Is it possible to set up the routing with static routes just
: on the router? Do I have to use "gated" or "routed"?

You can configure the default gateway for all the LAN boxen to point to
the gateway box.  The gateway kernel needs IP forwarding compiled into
it and turned on with "echo -n 1 > /proc/sys/net/ipv4/ip_forward" .  You
need specific network routes on each box for the LAN that the box is
attached to.  I *think* that's all that is needed provided that these
two LANs are the only ones that you have.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Editing with vi is a lot better than using a huge swiss army knife. */

------------------------------

From: [EMAIL PROTECTED] (Rob G)
Crossposted-To: comp.os.linux.help,comp.os.linux.questions,it.comp.linux.setup
Subject: Re: Problem connecting to the Samba Server!!
Date: Thu, 13 May 1999 22:36:42 GMT

How to disable encrypted passwords in Win98 is also explained in
C:\Windows\networks.txt

On Fri, 16 Apr 1999 00:32:02 +0800, "SS" <[EMAIL PROTECTED]> wrote:

>Hi All,
>
>I have both win98(client) and Linux(Samba Server) Machine on my network.
>While I can find the Linux machine from my win98 machine in
>network-nightborhood, but I can't get into it because when I click the linux
>icon, I was asked to input a password. after input the password, the error
>message"invalid password, try again" come out.
>I don't know why... Please help ^_^
>
>P.S. I can login linux machine by telnet and ftp from my win98 machine
>
>
>
>
>
>


------------------------------

From: Scott Ellsworth <[EMAIL PROTECTED]>
Subject: Why does pptp say Call Manager is already running
Date: Fri, 14 May 1999 00:37:33 GMT

Howdy, all

I am trying to set up pptp from my linux box (directly on the net) to a
pptp server.  It is giving me grief.

The names, passwords, and numbers below have been changed, but they are
consistent

The pptp server is internally known as PPS, but has no external dns name
The domain is INTDOM
The ip of the server is 123.456.789.123
My user name over there is scottremote
My password is scottpass

I am running ppp 2.3.7-2, and pptp-linux-1.02.  I will also want to do
the masq thing, but not until I have it working from this side.

When I say

./pptp 123.456.789.123 debug name INTDOM\\scottremote remotename PPS
kdebug 7 noauth

I get the response
warn[open_unixsock:pptp_callmgr.c:308]: Call manager for
123.456.789.123 is already running.
fatal[callmgr_main:pptp_callmgr.c:124]: Could not open unix socket for
123.456.789.123
Call manager exited with error 256

Now, this machine is on the net via a cable modem, and so already has a
route to the outside.  My understanding is that after pptp connects
with ppp, I add a new route.  Before I can do that, though, I need it
to connect and the ppp interface to come up.  The machine does not use
ppp in any other way.

I do not want this to kill my other routes, since this machine does
firewall for other machines.

What am I doing wrong?
--
Java/C++ consulting
[EMAIL PROTECTED]
To transcend, understand.  To understand,
experience.


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

------------------------------

From: "Daniel G�linas" <[EMAIL PROTECTED]>
Subject: Messages on console with smbprint...
Date: Thu, 13 May 1999 22:44:18 GMT

Hi!

    I'm new in the world of samba. But, I have succeed to configurate samba
for printing in both ways, Win95 <--> Linux.

    But, when a user print, from Linux to Win95, with samba, I have a lot of
messages at console, and I don't want to have it at all.

    My samba printer is configured in my printcap file, with the script
"smbprint" that I have found in the samba package.

      The messages are displayed on the console when the instruction "eval",
contained in the smbprint script is executed. I have tried to redirect the
ouput of the instruction to "/dev/null" with no success.

  Than you very much for your help!

Daniel G�linas
Qu�bec (Canada)
[EMAIL PROTECTED]



------------------------------

From: [EMAIL PROTECTED] (Baboulen)
Subject: ppp hangup after connect
Date: 13 May 1999 21:56:45 GMT

Hi, 

I'm trying to connect to the internet via ppp and linux, but i get config
problems. I read a lot of papers (ppp-howto, ppp-faq, isp-howto, ...), got
files, try them, but the modem hangs up :-(( 
  
Here are my config files : 
  
/etc/ppp/net-chat 
================= 
"" AT&FS95=0W0S38=0 
ABORT 'BUSY' 
ABORT 'NO CARRIER' 
''              AT&F\r 
OK              AT&D2&C1\r 
OK              ATD0557015000\r 
\~  eric\.baboulene 
\~  my_passwd
\~  '' 
''  ppp 

/etc/ppp/net-connect 
====================== 
#!/bin/sh 
/usr/sbin/chat -v -t 60  -f /etc/ppp/net-chat 

/etc/ppp/options 
================ 
debug 
-d 
-detach 
/dev/ttyS1 
57600 
modem 
crtscts 
lock 
connect /etc/ppp/net-connect 
asyncmap 0 
defaultroute 
: 
  
Te result in /var/adm/messages : 
  

May 13 17:35:41 swanee pppd[508]: pppd 2.2.0 started by root, uid 0 
May 13 17:35:42 swanee chat[510]: send (AT&FS95=0W0S38=0^M) 
May 13 17:35:43 swanee chat[510]: abort on (BUSY) 
May 13 17:35:43 swanee chat[510]: abort on (NO CARRIER) 
May 13 17:35:43 swanee chat[510]: send (AT&F^M^M) 
May 13 17:35:43 swanee chat[510]: expect (OK) 
May 13 17:35:43 swanee chat[510]: AT&FS95=0W0S38=0^M^M 
May 13 17:35:43 swanee chat[510]: OK -- got it 
May 13 17:35:43 swanee chat[510]: send (AT&D2&C1^M^M) 
May 13 17:35:43 swanee chat[510]: expect (OK) 
May 13 17:35:43 swanee chat[510]: ^M 
May 13 17:35:43 swanee chat[510]: AT&F^M^M 
May 13 17:35:43 swanee chat[510]: OK -- got it 
May 13 17:35:43 swanee chat[510]: send (ATD0557015000^M^M) 
May 13 17:35:43 swanee chat[510]: expect (~) 
May 13 17:35:43 swanee chat[510]: ^M 
May 13 17:35:43 swanee chat[510]: AT&D2&C1^M^M 
May 13 17:35:43 swanee chat[510]: OK^M 
May 13 17:36:21 swanee chat[510]: ATD0557015000^M^M 
May 13 17:36:21 swanee chat[510]: CONNECT 31200 V42bis^M 
May 13 17:36:25 swanee chat[510]: ~ -- got it 
May 13 17:36:25 swanee chat[510]: send (eric\.baboulene^M) 
May 13 17:36:25 swanee chat[510]: expect (~) 
May 13 17:36:25 swanee chat[510]: ^?}#@!}!>} $}!}$}$} }"}&} }*} } }#}$@#}$}(@%}
}}#h}%}&F}1`&}'}"}(}"c,~ -- got it 
May 13 17:36:25 swanee chat[510]: send (my_passwd^M) 
May 13 17:36:25 swanee chat[510]: expect (~) 
May 13 17:36:27 swanee chat[510]: ~ -- got it 
May 13 17:36:27 swanee chat[510]: send (^M) 
May 13 17:36:27 swanee chat[510]: send (ppp^M) 
May 13 17:36:27 swanee pppd[508]: Serial connection established. 
May 13 17:36:28 swanee pppd[508]: Using interface ppp0 
May 13 17:36:28 swanee pppd[508]: Connect: ppp0 <--> /dev/ttyS1 
May 13 17:36:32 swanee pppd[508]: Modem hangup 
May 13 17:36:32 swanee pppd[508]: Connection terminated. 
May 13 17:36:32 swanee pppd[508]: Exit. 

If anyone has an idea
Thanks 
Eric 

------------------------------

From: DonJr <donjr@[127.0.0.1]>
Subject: Re: Default ppp route keeps messing up.
Date: Thu, 13 May 1999 20:02:52 -0400

Captain Panic wrote:
> 
> I use Xisp to connect to the internet, the only problem is everytime
> I connect my default route is screwed up.  And I have to do "route del
> default", "route add default dev ppp0"  How can I fix it to do this
> automatically.
> Thanks,
> Bri

Check your /var/log/message file if you see two or so lines from PPP to
the effect "Default device already defined. Default device NOT reset."

Then if you are running RedHat 5.0 - 6.0 and don't need a 'default
route' when not connected by ppp. This is almost always true for any
outging ppp using system.

 edit /etc/sysconfig/network
 and change the line
 GATEWAYDEV=eth0  { or whatever }
 to
 GATEWAYDEV=''

 Now when you next reboot and/or restart networking It won't define a
default device anymore. So when you start ppp0 it will automaticly set
the default device correctly.

Note: I don't use Xisp but almost all *nix ppp-service-driver work
generally the same concerning the 'default device'.
  If the default device is already defined at startup then pppd won't
reset it.

--
 -----------------------
  Don E. Groves, Jr.
  my Email is jetnick AT erols DOT com
   
  I'll add a witty saying here later.

================

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.setup
Subject: Re: PPP: where, how?
Date: 13 May 1999 23:20:22 GMT

In <7hfgmd$[EMAIL PROTECTED]> . <[EMAIL PROTECTED]> writes:

]I still cannot get mine working but here are the RTFM I always get. You will
]find alot of wannabe 3133t around here with bad attitudes. Just read the faqs
]and pray you do not need to ask for help because all you really get is RTFM
](although there are a few kindly souls that help most won't - heaven help you 
]if it cannot easily be referanced).

]http://axion.physics.ubc.ca/ppp-linux.html
]http://www.knowplace.org/ppp.html
]http://www.redhat.com/support/docs/rhl/PPP-Tips/PPP-Tips.html
]http://howto.linuxberg.com/LDP/HOWTO/PPP-HOWTO-6.html#ss6.2

Well if you have read those and still cannot get it to work, you do know
how to debug the connection and tell people on the newsgroup exactly
what went wrong-- eg include your log files so that they can see what
you are doing.

If you have not read them, then you should. It is inefficient in the
extreme for people to keep rewriting the same thing in the newsgroup tht
they have already written in those files. (and there are about 20 pleas
for help on the newsgroup every day asking how to hook up to ppp.)

So, what is your trouble in detail (ie include the output on
/var/log/messages (or /var/log/ppp if you follow the axion.physics
page)) Also include your pppd script and chat script (making sure that
you remove your passwords)

And occasionally it really is the ISP's fault.

------------------------------

From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: mgetty blocks dialout
Date: Thu, 13 May 1999 22:21:00 GMT

Zeljko Cvrkotic <[EMAIL PROTECTED]> writes:

>Darren McClelland wrote:
>> 

[...]

>> Mgetty
>> S2:2345:respawn:/sbin/mgetty ttyS2 -D /dev/ttyS2l
>> in inittab to start the mgetty
>> 
>> mgetty.config:
>> speed 38400
>> debug 8
>> 
>> Chat:
>> /usr/sbin/pppd connect '/usr/sbin/chat -v -f /usr/local/etc/ppplogin'
>> debug crtscts modem defaultroute /dev/ttyS2 19200 asyncmap 0
>> 
>Try to using /dev/cua instead /dev/tty in chat script.


If you don't know what you're talking about, please don't post.
Your advice is completely wrong.

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Help me...I've been hacked!
Date: 13 May 1999 23:35:13 GMT

In <knI_2.24264$[EMAIL PROTECTED]> bryan <[EMAIL PROTECTED]> 
writes:
]Kyler Jones <[EMAIL PROTECTED]> wrote:
]: What the hell?

]: I thought I was pretty secure, I've turned off a lot
]: of servcies, no remote root login, shadow passwords, etc..

I know the feeling. Been there.

]: And yet, I'm pretty sure someone has gained entry.

Yes, he definitely has.
But not very good since the files are so easily visible.


]: Here's the scoop:
]: I was looking around yesterday and I noticed a file :
]: /sniff.pid
]: Due to the alarming nature of this file name, I chcked the pid
]: and it's owned by:
]: /usr/sbin/in.sockd
And it is probably running.
ps aux|grep sockd

]: the next pid is owned by:
]: /usr/local/sbin/sshd1 -q
]: What are these files? 

I don;t know, but they are daemons up to no good.

]: Further more, there is a file called "tcp.log" in my root, world
]: readable, except for some reason root can't see the file, the
]: file contains text characters of all kinds of stuff, including
]: passwords, root and all.

They typically replace system files like ls, find, ps, etc so you cannot
even see the extra files that have been added. You do not say what your OS is.



]: How the hell did this guy do this, what can I do to protect
]: myself and possibly make him pay??

One of half a dozen ways. You do not say what distribution you use. But all of them 
have security holes that you HAVE to correct. Eg, for redhat, go to 
www.redhat.com -> Support -> Product updates
and download ALL of the updates.

Actually first erase and reinstall your whole system. Then get those updates and 
install
them. Then go into /etc/inetd.conf and put a # in from of every service you do not use
(especially rexecd) Eg the pop, imap, etc daemons.
Then look inot the /etc/rc.d/rc?.d files and shutdown all the daemons you do not need.
(cange the S to K at the beginning of the links.)

Eg, do not run sendmail if you are not a mail receiver. Do not run samba if you are 
not 
a samba server, etc.


------------------------------

From: Lothar Krenzien <[EMAIL PROTECTED]>
Subject: Re: Networking Cards and Sound Blaster 16
Date: Fri, 14 May 1999 00:35:54 +0200

Geoff Roach schrieb:
> 
> Last night, I upgraded from RH 5.2 to RH 6.0. I am still new at Linux, so
> before I got too deep, I though I would make the switch.
> 
> The primary driver was my inability to get networking to run and to get my
> Soundblaster 16 card to work. After I installed 6.0 and after reading
> through this newsgroup, there seems to be some big problem about SB16 cards
> interfering with network cards. On RH6.0, there is a HOWTO on SB16 that
> seems like a pretty complex and over 2 years old. Basically, the SB16 card
> seems to blow away the network config.
> 
> Anyone run into the same problem and have a simple solution? Simple means
> "no changing source and re-compiling kernels".  I may just switch sounds
> cards with a windows PC.  I am hoping the problem us SB16  specific.

Look in <kernel-source>/Documentation/sound . But I think you have to
recompile your kernel. Everybody could have another soundcard. So you
have to build your card (=soundblaster) as modul in the kernel manually.
In a xterm type "cd <kernel-source> " and then "make xconfig". It�s quit
easy. <kernel-source> is by default /usr/src/linux . With your network
card it�s the same.

Lothar

------------------------------

From: dan <[EMAIL PROTECTED]>
Subject: Hostile Takeover of Linux!!!!!!!!
Date: Thu, 13 May 1999 18:37:14 +0000



                       Too bad guy's it was all for nothing.
                       Sylvan has tagged us all as idiots if we
                       don't get their Linux certification.

                       I feared it would be the demise of the Os
                       and now it is so. I guess we leared to
                       hold the rights to certification the next
                       time we build an Os. Nce work to all who
                       participated. But now with all the cheeters
                       entering the Linux field it will be sure
                       to be just another Microsoft and novell
                       "reboot it!" server with a bad track record.

                       Next time the next Linus will have to protect the

                       Os's trademark against these
                       Os killers certification processes.

                       I am sorry to say I have decided to start
                       work on another OS (open source of course)
                       with protection from the Sylvan Empire
                       (dark side).

                       Since Sylvan now has the say as to who can
                       be employed using linux and only if you use
                       Linux they way they say you should. Or in
                       short they now own it!

                       I have decided to start planning another os
                       but hold the rights as to whether or not anyone
can
                       "CERTIFY" people in the OS.
                       Making it fair for all to compete illiminating
the
                       Political B.S. of Sylvan
                       Which Linux has now fallen victim too.

                       Best of luck to Linux anyway. It was hard
                       work and truly is a great os but I can't
                       say I did'nt see it comming either. It almost
made
                       a great Os.

                       If any one has any ideas on how this protection
can
                       be implemented on an
                       already open source product. Maybe we should try
to
                       save it. Have a talk with Linus or something.


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: root login denied over telnet in RH6.0
Date: Thu, 13 May 1999 22:36:45 GMT

In article <7hf1vv$i7s$[EMAIL PROTECTED]>,
  Corus <[EMAIL PROTECTED]> wrote:
> Hello.
> I recently installed RH6.0, but when I tried to login
> as root via a telnet session I got refused access.

>snip<
> Anyway, does anyone have any alternative
> suggestions as to how to enable root to login?
> (Tips or pointers to docs appreciated)

Install sshd.
Go to http://www.google.com/ [the best search engine on earth] and do a
lookup on "linux sshd".

--
-Bill Clark
Systems Architect
ISP Channel
http://locale.ispchannel.com/


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

------------------------------


** 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
******************************

Reply via email to