Linux-Networking Digest #380, Volume #12         Fri, 27 Aug 99 04:13:27 EDT

Contents:
  Re: PPP, no chat (Simon Green)
  Re: Modem Dialup from Windows via Linux? (Raphael Bossek  (Raphael Bossek))
  Re: pppd dialin (David Efflandt)
  Re: ipfwadm and irc? should work but how? ("Scott Simpson")
  Semaphore/Thread/Socket synchronization ("Christian Weisz")
  Re: System being probed (David Efflandt)
  Re: where can I buy an email alias? ("Phil")
  Re: Semaphore/Thread/Socket synchronization ("Scott Simpson")
  X window problem (linux-mandrake 6.0) lock-up (Chris)
  SMB: only 120kByte/s within 100Mbit network (Raphael Bossek  (Raphael Bossek))
  Re: Telnet from Win98 to Linux doesn't work (David Efflandt)
  Re: Terminal emulator for Linux (David Efflandt)
  Re: Slow connection to ISP ("macooper")
  Re: slow telnet (not a dns/resolve issue) (David Efflandt)
  Re: TFTP Server??? (David Efflandt)

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

From: Simon Green <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: PPP, no chat
Date: Fri, 27 Aug 1999 15:53:00 +1000

This is a multi-part message in MIME format.
==============4B496D279F63B42FF86F3576
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

You could try sing DIP instead. It has a "test" mode that you may be able to
use. However, I have to say I've never tried it.

"Matthew O. Persico" wrote:

> In order to log into my job, I must use a defender key. The sequence goes
> like this:
>
> 1) Dial the job. Get a terminal.
> 2) Put my name in the terminal. Put my PIN in the defender hardware on my
> desk.
> 3) Enter the number presented on the screen into the defender. It presents
> a number that I have to type back into the terminal.
>
> This cannot be chat'ed. I need to dial, interact and then start ppp with no
> dial and no chat, just ppp negotiation.
>
> I tried dialing with minicom, entering all the stuff and then firing up
> ifup. I removed the chat file  for the particular interfac and modified
> ifup to not exit if the chat file was missing and to not use the 'connect'
> parameter in the PPP call. It didn't work - the negotiation timed out with
> an LCP error really quickly.
>
> Does anyone out there have scripts to do this? I seem to remember doing
> this many moons ago, but w/o minicom.
>
> --
> Matthew O. Persico
>
> You'll have to pry my Emacs from my cold dead oversized
>    control-pressing left pinky finger. -- Randal L. Schwartz

==============4B496D279F63B42FF86F3576
Content-Type: text/x-vcard; charset=us-ascii;
 name="simong.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Simon Green
Content-Disposition: attachment;
 filename="simong.vcf"

begin:vcard 
n:Green;Simon
tel;cell:+61 419 479 908
tel;fax:+61 2 9202 8199
tel;work:+61 2 9202 8192
x-mozilla-html:FALSE
org:Logica Aldiscon;Customer Support
adr:;;5th floor, 76 Berry St    ;Nth Sydney;NSW;2060;Australia
version:2.1
email;internet:[EMAIL PROTECTED]
title:Support Engineer
x-mozilla-cpt:;28288
fn:Simon Green
end:vcard

==============4B496D279F63B42FF86F3576==


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

From: Raphael Bossek <[EMAIL PROTECTED]> (Raphael Bossek)
Subject: Re: Modem Dialup from Windows via Linux?
Date: Fri, 27 Aug 1999 06:02:45 GMT

Hi Michael,

>Any input greatly appreciated.
i've the same problem and solved it with masqdialer :-) For Debian/GNU
Linux look at the masqdialer package...

An anouter solution could be a router configuration. Requests that are
not localy avilable will be forwarded to the isp. Linux establish the
connection and disconnect if no one use it after a defined amout of
time.

cu Raphael Bossek <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: pppd dialin
Date: 27 Aug 1999 04:58:30 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 25 Aug 1999 15:54:25 -0700, sbc <[EMAIL PROTECTED]> wrote:
>    When I dial in to my linux pppd server from a windows 95 machine it
>just hangs there for about 30 seconds and then terminates the
>connection. I have read all the docs (ie. serial-howto,pppd-howto)
>anlong with a lengthy explanation in my linux networking book, but seem
>to be getting nowhere. I use pap for authentication and that seems to be
>alright. Also when I dial in I bring up the post-dial terminal window in
>windows 95 DUN and get no activity whatsoever in this window, not even
>any gibberish.... ??

Use the auth and login options for pppd, but do NOT use the pap option,
since that asks the other machine (instead of user) to authenticate
itself.  For more info see http://www.xnet.com/~efflandt/linux/dialin.txt

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: "Scott Simpson" <[EMAIL PROTECTED]>
Subject: Re: ipfwadm and irc? should work but how?
Date: Thu, 26 Aug 1999 22:40:09 -0700


JG <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> I've got diald and ipfwadm running on a 2.0.36 kernal.
> I can use netscape just fine, but when I try to use
> irc or pop3/smpt, the system just spins...

I don't know what "spins" means, but you can try my rules at
http://home.earthlink.net/~simpson3 if you wish.





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

From: "Christian Weisz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.development.system
Subject: Semaphore/Thread/Socket synchronization
Date: Fri, 27 Aug 1999 07:40:48 +0200


Hi all ,

i have the following design problem.

My application have to wait for some events, that are
    Thread terminations ,
    Socket traffic ,
    Semaphores (which synchronizing a communication via shared memory)

I want to implement a method where all of the events are handled
sequentially in a democracy order. In case of socket (file descriptor based)
events only, I think I can use the select call. But how can I include
semaphores and threads in such a process ?

Suggestions are very appreciated.

Thanks in advance ,

===========================================================================
Christian Wei�
===========================================================================
Segue Softwareentwicklung Ges.m.b.H
Tel: ++43-732-336694-62
[EMAIL PROTECTED]
===========================================================================




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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: System being probed
Date: 27 Aug 1999 06:29:03 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 25 Aug 1999 16:01:34 GMT, YouDontKnowWho <[EMAIL PROTECTED]> wrote:
>My system is being probed on a regular basis by what I think is the
>same person using a dialup account.
>
>My logs show the various IPs this person is using as he/she attempts
>to get in using telnet, ftp, and other services.
>
>On many ocassions, I read the logs very soon after the attempts, so I
>can run traceroute and other things.
>
>But, I'm not an expert at this and don't quite know what to do.  I
>know that probing and access attempts are a regular thing on the net,
>but I think this is the same individual trying to get in.
>
>What can I do to find out who this person is, or to let him/her know
>that I know what's going on, or maybe probe back.

You can put things like this in /etc/hosts.deny for services you do not
have installed or do not use.  It sends e-mail to your root, although,
you are unlikely to get any listing from safe_finger unless the hacker is 
truly an amature:

imapd: ALL: spawn (/usr/sbin/safe_finger -l @%h | \
        /bin/mail -s %d-%h root) &
ipop3d: ALL: spawn (/usr/sbin/safe_finger -l @%h | \
        /bin/mail -s %d-%h root) &

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: "Phil" <[EMAIL PROTECTED]>
Subject: Re: where can I buy an email alias?
Date: Thu, 26 Aug 1999 21:37:01 -0700

huh?

John Doe <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I would like to buy a reliable email alias.
>
> Thanks,
>
>



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

From: "Scott Simpson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.development.system
Subject: Re: Semaphore/Thread/Socket synchronization
Date: Thu, 26 Aug 1999 22:31:50 -0700


Christian Weisz <[EMAIL PROTECTED]> wrote in message
news:7q58cp$h0i$[EMAIL PROTECTED]...
> I want to implement a method where all of the events are handled
> sequentially in a democracy order. In case of socket (file descriptor
based)
> events only, I think I can use the select call. But how can I include
> semaphores and threads in such a process ?

You'll have to poll (if using a single thread).  This is actually an area
(gasp) where I like Windows better.  Windows has a single abstraction for
waiting for something: WaitForMultipleObjects. If any of the above are
ready, you use one call to find out which.
    Scott





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

From: Chris <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: X window problem (linux-mandrake 6.0) lock-up
Date: Fri, 27 Aug 1999 06:30:58 GMT

I have installed linux-mandrake 6.0 several times now and the same problem 
keeps occuring. After the boot up and logon, a real quick set of boxes 
flash in the upper left corner and disappear, then what appears to be a 
system monitor opens in the lower right hand corner.  Neither the mouse or 
the arrow and tab key work to navigate the screen.  I am left with only 
the option to reboot.  I am a newbie and need all the help I can get with 
as much detail as possible.  I am trying to make this system and machine 
our small office server.

Thanks,
Chris

==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

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

From: Raphael Bossek <[EMAIL PROTECTED]> (Raphael Bossek)
Crossposted-To: comp.os.linux.setup
Subject: SMB: only 120kByte/s within 100Mbit network
Date: Fri, 27 Aug 1999 06:02:36 GMT

hi,

system configuration:
Network: IntelPro, 3Com, Xircom PCMCIA, 3Com PCMCIA (all are 10/100)
with a D-Link 10/100 Hub/Switch (no 10Mbit devices within the
environment while benchmarking so 100Mbit are all the time avilable!)
Pentium233MMX, 126MByte of RAM
Linux 2.2.11, Debian GNU/Linux potato, Samba 2.0.5b

with this speed i can not convince anyone using windows switch to
linux ! i thing that it is a problem of my configuration but where
should i begin to search ?! i know that the smb.conf file is
responsible for that but how can i speed it up ?! i run smb as daemon
within a window/novell network environment where file sharing services
should be avilable, but with this speed ?!

my test showed that the nfs is faster then smb but slower then a pure
windows/novell network environment. where can i find more information
about optimization linux file server services (HOWTO's are to simple
and only for beginners so i could not find any usable stuff there :-(

any kind of help is welcome !

Raphael Bossek <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Telnet from Win98 to Linux doesn't work
Date: 27 Aug 1999 06:33:37 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 24 Aug 1999 12:23:23 -0400, Yury Donskoy <[EMAIL PROTECTED]> wrote:
>Hi there,
>
>I've posted about this problem before, and thought I'd post it again,
>adding some more information.
>
>Basically, the problem is that telnetting from a Win'98 box to my Linux
>doesn't work, but Samba and FTP both do work.  What happens during
>telnetting is that a telnet process gets spawned on the Linux box, which
>then prints the contents of the /etc/issue.net file and then freezes.
>Eventually, the connection gets dropped.  Now, I have looked a bunch of
>files like nologin(doesn't exist), securetty, etc.  Everything seems to
>be configured correctly, though obviously not, since telnet won't
>work<g>.  I have multiple users set up in the system.  The problem is
>not that a particular user can't telnet into my Linux box, but that I am
>not even given a chance to type in a user name and password.

It could be the usual DNS problem (reverse lookup timeout).  Do you have
hostnames for any machines that want to connect in /etc/hosts (or DNS)?
Also having unconnected nameservers in /etc/resolv.conf can cause other
slowdowns, particularly with the 'who' command.

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Terminal emulator for Linux
Date: 27 Aug 1999 06:38:35 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 22 Aug 1999 15:05:38 -0700, Josh Gentry <[EMAIL PROTECTED]>
wrote:
>
>when I configure a router from console, I usually plug into 
>the console port with a PC running windows and use 
>Hyperterminal.  What is a good alternative terminal emulator 
>I can use with a Linux box.

If the router is connected to your network, can't you simply telnet into
it?  However, it may not recognize a TERM type of 'linux', so you might
want to use xterm or export TERM=vt100 before connecting.

>Josh
>[EMAIL PROTECTED]
>(other email address is spam shielded)

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: "macooper" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Slow connection to ISP
Date: Thu, 26 Aug 1999 22:04:25 +0100

Have a look at the man page for setserial.  You probably need to set the
modem port to 115200 bps.  I think the default configuration sets it to run
at 38400 hence the speed problem.  The man page gives full details.

    Martin

Ganesh <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I just finished installing RH6.0, aand have sucessfully setup PPP to
> connect to
> my ISP. However,  I find that the connection in general is slow -
> retrieval of pages etc. seems slower than what I see on NT.
> Further, I  tried to set up my newsgroups through netscape, and it takes
> forever
> to refresh my newgroups list. I had to give up afer 10 minutes.
>
> Are there any parameters that I can set in any config files to improve
> the thruput ?
>
> BTW, I have a 56KB modem from US Robotics.
>
> Thanks,
>
> Ganesh - [EMAIL PROTECTED]
>



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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: slow telnet (not a dns/resolve issue)
Date: 27 Aug 1999 06:20:17 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 24 Aug 1999 15:13:41 -0700, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>I have recently bought a "dedicated server" from an isp 
>and the telnet access to the machine is very slow("blind" 
>typing, slow echo of characters typed in).

What processor and speed and RAM?  Maybe they gave you an old 386, not
enough RAM or your webserver or their network is getting heavy traffic.
Some commands that may enlighten are free, ps aux and top.

>I have accounts on other shared machines(virutal server) and
>they are much, much faster - just about as fast as being on 
>the actual console of a machine.
>
>Is there some trick to setting up telnet to respond faster
>(i.e. echoing of characters?). The box is running redhat 
>5.2 with all updates.

I am running RH 5.2 locally (200MHz MMX 96meg).  I don't hardly notice any
slowdown when running setiathome (at nice 1 lower priority) that uses 100%
of available processor time to analyze radio telescope data.

>One thing I noticed in particular is that when I ping the 
>fast hosts, it's TTL is high - 246  while the slow hosts
>TTL is low - about 55. Would this matter any? How can I 
>change this?

That seems normal.  You don't say what the ping is.  TTL is just the
allowable routers minus routers in the path.  Linux starts with TTL of 64
and others start at 255, so that means you are going through 9 router.
These are some examples:

Linux           0.2ms   64 TTL  Elgin, IL (local PPP IP)
Solaris         140ms   253 TTL Chicago Suburbs ISP
BSDI            210ms   244 TTL Vserver in Utah
Linux           220ms   50 TTL  from Utah to Elgin

-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: TFTP Server???
Date: 27 Aug 1999 07:01:10 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 24 Aug 1999 22:49:13 -0500, Todd K. Tuttle <[EMAIL PROTECTED]> wrote:
>Does the tftpd work or is it just for show??? Seems like it ought to be
>pretty straight forward, but I can't get it to work. I have it starting in
>the inetd.conf file. Things will connect, but nothing past there. It would
>be nice to have for upload router flashes. Have tried since an early version
>of Slackware, but no go. Anyone ever get this to work?

I got it to work from a Cisco router.  Read 'man tftpd'.  Note that a file
has to already exist with permission for anybody to write to it (666).
After I write to a file, I set more restricted permissions.  I also set
/etc/hosts.allow is set to only allow in.tftpd to be run from a restricted
list of IP's:  ALL EXCEPT in.tftpd: 192,168.1.1

>Thanks in advance,
>Todd K. Tuttle
>
>


-- 
David Efflandt   [EMAIL PROTECTED]   http://www.xnet.com/~efflandt/
http://www.de-srv.com/   http://cgi-help.virtualave.net/

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


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