*BSD News Article 53740


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!pencotts.demon.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP and or SLIP, connection problem, ijppp, xearth, X11
Date: Sat, 21 Oct 1995 16:44:48 GMT
Lines: 93
Message-ID: <814293888.22580@pencotts.demon.co.uk>
References: <46aqqj$su@sydney1.world.net>
NNTP-Posting-Host: pencotts.demon.co.uk
X-NNTP-Posting-Host: pencotts.demon.co.uk
X-Mailer: Mozilla 1.1N (X11; I; BSD/386 uname failed)
MIME-Version: 1.0
To: hbw@world.net
X-URL: news:46aqqj$su@sydney1.world.net
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

"Hanns B. Wetzel" <hbw@world.net> wrote:
>The system appears to be running fairly well. Very stable in text mode, but it 
>does suffer from random hangs under X11 R6 3.1.1 when running xearth in the
>background. When that happens, it stops dead completely. No response to Ctrl-Alt
>-Backspace or nay other key(s) or mouse. Turning off the power is the only way
>to get things going again. I think this is a major flaw because after all that
>is why we are running Unix instead od DOS based OS's, since Unix is supposed 
>have the ability to run processes independently. I hope X11 R6 3.1.2 and/or
>FReeBSD 2.1. will overcome this because xearth is a very nice background. There

Unlikely, since other people are not reporting this type of problem, and you say
yourself that it is stable except when running xearth.

1) Can you ctrl-alt-F1 to get back to a non-graphics vt where an error
message might be displayed?

2) Are you perhaps running out of swap and hence your X server is getting killed?
xearth itself uses quite a lot of resource, and on top of all the other things
you say you are running, it may be the last straw.

>is possibly also a problem with xearth, because when running top it shows 
>processor usage as high as 36+% every time xearth updates the image. Don't know
>wether that is as it should be or an indication of something wrong.

I believe this is normal.  Since it is calculating the image from raw map data,
it has really quite a lot of work to do.

>1.	Simulated Internet
>	Have pppd running to accept logins from other machines running
>	Trumpet Winsock, Windows TCP/IP or whatever. Have my machine running
>	httpd "serving" html files and othe stuff that exists on my machine's
>	HDD. Now there are several apparent problems:
>	Although there are no problems with ordinary logins via modem as a 
[snip]
>
>	Also I frequently use ijppp under X11 R6 3.1.1as a client side process
>	in interactive manual dialing mode with either Netscape 1.1.2 or
>	Chimera. Nearly every session it simply stops running for no apparent
>	reason in the middle of a session. There are no error messages, just
>	the normal diagnostic message "write: No such process" followed
>	by my FreeBSD command prompt. Running ps shows that it has in fact
>	exited.

Go look in /var/log/ppp.log for an explanation.  Quite possibly you have a
problem
with link quality monitoring (eg. your ISP doesn't support it).  If so, put
'disable lqr' in your ppp.conf, or type it at the prompt.

>	Now please can someone (hopefully someone like Jordan Hubbard) tell me
>	why ppp was diabled in the kernel. Can I rebuild the kernel with both
>	ppp and tun as pseudo devices and can I have more than one instance

The ppp driver was removed from the standard configuration (AFIK) because you
can do almost anything that ppp + pppd does by using tun + iijppp instead,
plus the iijppp does dial-on-demand and is much easier to set up.  Having two
different drivers for the same job makes the kernel more bloated, wasting
valuable
RAM, making it a tighter fit on the install media etc. etc.

There is nothing to stop you having both if you really want, you just have to
build your own kernel.

>	of each (for example in the slip.FAQ, Satoshi Asami states "first make
>	sure you have pseudo-device   sl  2"), or must there be either one or
>	the other. Why are there only one instace of these devices in the
>	2.0.5 GENERIC kernel. I have been talking about ppp because from what

You can happily have 


pseudo-device   sl      32               #Serial Line IP
pseudo-device   ppp     16              #Point-to-point protocol
pseudo-device   tun     27               #Tunnel driver(user process ppp)


or whatever you need, provided you can afford the memory.

>	My question no is:- Do I need a real Internet address to test drive
>	either PPP or SLIP login or can (as should be possible) it be done
>	under simulated conditions as inicated above.

You can set up your own private internet and do whatever you like.
There is nothing magic about 'real' internet addresses, other than that they
allow you to communicate with other 'real' internet users.

Depending how elaborate a setup you have in mind, you will most likely need to
run your own root nameserver.  This is not particularly hard, but is a
non-standard setup and you are unlikely to figure out how to do it from the
man pages.  I suggest buying a copy of the book 'DNS & BIND' published by
O'Reilly
which covers teh subject comprehensively.