Linux-Misc Digest #737, Volume #19 Sun, 4 Apr 99 17:13:13 EDT
Contents:
Re: Newbie-Best Book (Rob Malpass)
Re: Help! FCS problems with PPP Conection to Net (Greg Lopp)
Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs? (Harry)
Re: Why Linux still isn't my standard boot-up OS, or what are the Linux-equivalents
for these Windoze programs? (Harry)
Re: (Q) Is there a pgp.rpm ? (Frank Sweetser)
Re: How do you hang up pppd? (Andrew Kinsey)
Re: linux for Sparc 5 (Arne Wichmann)
Re: Downloading ftp files (Benjamin Smith)
Re: Problems with replacing hda ([EMAIL PROTECTED])
Re: pppd reports "serial device is looped back" (Bill Unruh)
Default Job Priority ("Geng Wang")
Re: What modules have i loaded? Help! (John McKown)
KDE:something missing!!! (AlexAndre)
Re: Telnet real slow ("K.A. Steensma")
Re: Help - want to add users and passwds not as root. (Bill Unruh)
Re: What is the best Linux to install? (Diane Adams)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Rob Malpass)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.help
Subject: Re: Newbie-Best Book
Date: Sun, 04 Apr 99 19:10:11 GMT
Reply-To: [EMAIL PROTECTED]
In article <7e7oji$7q6$[EMAIL PROTECTED]> [EMAIL PROTECTED] "slick7" writes:
>Which is/are the best books for a beginner. I have a good working knowledge
>of W95/98.---Thanks, Joan
>
>
>
Depending on what you're using it for, I like "Programmer's reference - Linux"
by Richard Peterson. It covers about everything you need as far as the base
shell commands are concerned. I have "Linux for Dummies" as well which is
a bit better for tthe XWindows stuff.
------------------------------
From: Greg Lopp <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.dial-up
Subject: Re: Help! FCS problems with PPP Conection to Net
Date: Sun, 04 Apr 1999 15:14:14 -0400
Paul Davies wrote:
> I'm having the following problem with trying to connect to the Internet
> using Redhat 5.2
>
> The PPP connection appears to work OK from looking at /var/log/messages
>
> It says:
>
> Serial Connection Established
> Using interface ppp0
> Connect: ppp0 <--> /dev/modem
>
> However, after about 15-20s it hangs up with these messages:
>
> LCP: timeout sending Config-Requests
> Connection Terminated
> Receive serial link is not 8-bit clean
> Problem: all had bit 7 set to 0
> Exit
>
> Can someone help me sort this out?
>
> Thanks
>
> Paul
I've been wrestling with a very similar problem for some time now....
My chat script :
#############################################################
#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command. However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=XXXXXXX # The telephone number for the connection
ACCOUNT=XXXXXXX # The account name for logon (as in 'George Burns')
PASSWORD=XXXXXXX # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in. Please use the absolute file name as the $PATH variable is not
# used on the connect option. (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/isp-up-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS2 115200 \
asyncmap 20A0000 escape FF kdebug 7 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
#############################################################
My chat script:
#############################################################
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO CARRIER\r'\
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 45 \
OK 'AT E1 L1 M1 Q0 V1 X4 &D2 &F1 S0=0 S7=60 ' \
OK ATDT$TELEPHONE \
CONNECT '' \
ogin:--ogin: $ACCOUNT \
assword: $PASSWORD
#############################################################
They are both pretty much taken straight from the pppd RPM.
I wrote a similar script and ran it in minicom. After sending the
password, the ISP says the I have entered PPP mode, gives the IP address
and MTU(max transmit packet size) to use. Then I start to receive data
packets, which I assume is the LCP negotiation. Since my pppd script
passes "kdebug 7", I get more information passed to the syslog. This is
what I get :
pppd[364]: Serial connection established.
kernel: ppp_tty_ioctl: set flags to 70000
kernel: ppp_tty_ioctl: set flags to 70000
kernel: ppp_tty_ioctl: set xasyncmap
kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
kernel: ppp_tty_ioctl: set flags to 70000
kernel: ppp_tty_ioctl: set mru to 5dc
kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
kernel: ppp_tty_ioctl: set flags to 70000
pppd[364]: Using interface ppp0
pppd[364]: Connect: ppp0 <--> /dev/ttyS2
kernel: ppp: frame with bad fcs, excess = 17a2
last message repeated 5 times
pppd[364]: LCP: timeout sending Config-Requests
kernel: ppp: channel ppp0 closing.
pppd[364]: Connection terminated.
pppd[364]: Receive serial link is not 8-bit clean:
pppd[364]: Problem: all had bit 7 set to 0
pppd[364]: Hangup (SIGHUP)
pppd[364]: Exit.
I went into the ppp.c code, looking for the source of the "frame with bad
fcs" message. It appears to be the result of a 16 bit checksum. The
process of calculating the fcs will also set a certain flag if any byte in
the packet had its high order bit set.....hence the "not 8-bit clean"
message.
The thing is, I did manage to complete the negotiation at one time. Back
before I had fixed some other issues with nameservers or something, there
was a syslog message indicating that pppd had established a remote
connection and XXX.XXX.XXX.XXX was its IP address or something.
I don't know what next to work on....does anybody else have an idea what
the problem might be?
Thanks
------------------------------
From: Harry <[EMAIL PROTECTED]>
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs?
Date: Sun, 04 Apr 1999 04:44:52 -0400
> Well, this is general lack of either luck or brains.
I call your bluff. What Object-Oriented features does vi
have?
> Well, perhaps you're happy with your editor, but it still
randomly strews strange control sequences across your
postings.
That's not the editor, it's Compuserve.
Harry
------------------------------
From: Harry <[EMAIL PROTECTED]>
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs?
Date: Sun, 04 Apr 1999 04:49:10 -0400
> C++, Java
Have you ever tried an IDE?
> HTML
Homesite? Hotmetal?
Harry
------------------------------
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: (Q) Is there a pgp.rpm ?
Date: 04 Apr 1999 15:50:03 -0400
[EMAIL PROTECTED] (Timothy Murphy) writes:
> Could some kind soul tell me where to find an rpm for pgp (Pretty Good
> Privacy)? (Preferably the latest version.)
ftp.replay.com would be your best bet. it's a nice repository of crypto
stuff in general.
> Is there some reason why this is not on the RedHat CDs?
because the US govt, in it's infinite wisdom, has declared any and all
non-trivial crypto to be considered munitions. therefore, anyone exporting
these deadly items to outside the US can be tried as an international arms
dealer. importing them is, of course, just fine though, so such packages
are typicaly developed and released in more crypto friendly places, such as
.fi (where replay is located, IIRC).
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
Sam: Beer, Norm?
Norm: Have I gotten that predictable? Good.
-- Cheers, Don't Paint Your Chickens
------------------------------
From: Andrew Kinsey <[EMAIL PROTECTED]>
Subject: Re: How do you hang up pppd?
Date: Sun, 04 Apr 1999 15:49:39 -0400
Jet wrote:
> I have Red Hat 5.2. I can connect just fine, but haven't figured out how
> to hang up. So I just pull the cord out of the back. :)
>
> Thanks
> J
> --
> 2000.txt: The sig file for the Next Millennium
>
> email me at jetgal at earthlink dot net
Try the following:
/sbin/ifdown ppp0
Andy
------------------------------
From: [EMAIL PROTECTED] (Arne Wichmann)
Subject: Re: linux for Sparc 5
Date: Sun, 4 Apr 1999 01:34:49 +0200
In article <[EMAIL PROTECTED]>,
Michael E. O'Sullivan <[EMAIL PROTECTED]> wrote:
>I've got a Sparc 5 70 Mhz (with 80 Mb RAM and a 1.2 gig disk)
>and I've been using Solaris 2.5.
>My hard disk died, so I am facing the question of what new OS to
>install. Most of the postings compare Linux with Windows. How
>does it compare with Solaris?
Ok, I'll try. Below are my views, which may be different for other people.
First they are both Unix-like systems, so they behave quite similarly. If
you want to compare them from a user perspective, you will find that
different versions of Linux differ as much among each other as they differ
from Solaris. Most of them tend to contain many more applications as stock
Solaris does, though there are add-on CD's for Solaris which contain many
of these applications.
I use Debian GNU/Linux at home and at work, which contains a package
management concept which I consider significantly superior to similar
concepts in Solaris. The packages are of a finer granularity and there is a
very well thought out concept of dependencies between packages which is
made to assure that packages on which other packages depend are also
installed and conflicting packages are not installed together. An example
for the first is libc for many other packages, an example for the second is
sendmail and smail. Another point for Debian package management is that the
packages are extremely well configured if I compare them to the default
Solaris configuration. My experiences with Redhat are almost zero, so I can
not really tell about that, but I am told that they are similar though
maybe not quite as good.
Some limitations for Linux on SPARC which come to my mind are following.
Linux on SPARC is considered stable for quite a short time now compared to
Linux on PC compatible machines, so there might still be some uglinesses
hidden in some corner. Commercial software for Linux on SPARC is not very
abundant, though it is possible to use the binary compatibility to Solaris.
For example I am not aware of a version of Maple for Linux on SPARC.
Another point is that XFree, the usual X port for Linux, does not support
multiple colordepths on one display, which is quite common for Solaris X
servers as far as I remember.
These are the things which come to my mind. I like Linux more, which has
philosophical reasons though, which was a question not asked.
>I want an OS that will be trouble free more than anything.
>I run the machine as a stand alone with access to a network.
> I dont do anything very fancy
>(emacs, gcc, netscape, latex, maple and some freeware math packages)
>I dont mind learning a bit, but I'll never be a true hacker.
Linux is not difficult for anyone who has understood any Unix system.
I hope I was of help.
cu
AW
--
Neulich in detebe:
>... und ewig loggt das Weib?
------------------------------
From: Benjamin Smith <[EMAIL PROTECTED]>
Subject: Re: Downloading ftp files
Date: Sun, 04 Apr 1999 04:53:49 GMT
You really need to be using a real FTP client for this kind of thing. A
browser is only really good for getting the odd single file. I'd
recommend "ncftp". For example, to get KDE, you would do something like
this:
ncftp ftp.kde.org
Once logged into the KDE site, still in ncftp:
cd /pub/kde/stable/current/distribution/rpm/RedHat-5.2/i386
get *.rpm
This will download all the KDE rpms for RedHat 5.2 into the current
directory. Obviously you'll need to modify that path to cd if you're
running something other than RedHat.
Type:
quit
to close down the ncftp session. Read up on the ncftp man page and get a
good book that explains this sort of thing.
Hope this helps.
Ben.
Henry Ostrowski wrote:
>
> Can anyone help me. I have been trying to download KDE and some other
> programs from the internet. I have been told to right click on the directory
> eg: < Stable > then click on < Save as link > then I get a screen asking
> where to save it etc. When I go to retrieve the file I get a list the same
> as the one I right clicked on at the web site and nothing happens???
> What do I do from here ??
> Thanks in advance
> Henry
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Problems with replacing hda
Date: Sun, 04 Apr 1999 20:00:12 GMT
I shall answer my own problem..... Cos I've been dippy
After much faffing about I tried to repartition drive, and lo, only 2.1 Gig.
Interesting since it's got three gig on it, but my seagate only had 2.1.
Sometime in the distant past I fed the 'right' disk geometry into my bios,
and since lilo uses bios calls to read the disk, it's in for an 'interesting'
time dealing with a bios that 'knows' the disk geometry, especialy since lilo
really knows what it looks like.
Told bios to probe disk for layout and had the thing working in 10 secs.
mja
In article <7e7jga$e1i$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I have a dodgy hda and I'd like to replace it. I have all the data from hda
> on this new disk (currently hdb). However whenever I swop and make hdb into
> hda LILO hangs at the LI bit.
>
> I think that, no I'm sure that, LILO is writing a map for hda which is a
> seagate onto my hdb which is a Quantum. How do I ensure that the map file
> that gets used is relevant to hdb?
>
> I've tried the stuff in the LILO howto but I still reckon the wrong map file
> is being written, the reason for me thinking this is if I write same boot
> info to a floppy, it won't boot the Quantum, but will boot the seagate, even
> though I'm running lilo from a chroot session on hdb with boot disk set to
> hdb.
>
> Anyway any help would be appreciated.
>
> mja
>
> lilo.conf.hdb looks thus :-
>
> boot=/dev/hdb
> disk=/dev/hdb
> bios=0x80
> map=/boot/map
> install=/boot/boot.b
> prompt
> compact
> vga=7
> timeout=50
> image=/boot/vmlinuz
> label=linux
> root=/dev/hda2
> read-only
> other=/dev/hda1
> label=dos
> table=/dev/hda
> image=/boot/linux-2.2
> label=22
> root=/dev/hda2
> read-only
>
> with hdb2 mounted on mnt2 and bash chrooted in /mnt2 command executed is :-
>
> lilo -C /etc/lilo.conf.hdb
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: tw.bbs.comp.linux
Subject: Re: pppd reports "serial device is looped back"
Date: 4 Apr 1999 20:20:07 GMT
In <[EMAIL PROTECTED]> shu ling <[EMAIL PROTECTED]> writes:
>When I run "pppd /dev/ttyS1 38400", I read "serial device is looped
>back" from my /var/log/messages.
>Anybody has simliar experience and offer me some pointers? Thanks.
Your modem or something is sending back the same stuff which was sent
out. Tis should not happen, but sometimes using the intialisation
ATE0
helps. (It should not-- the modem should echo only when not online, but
sometimes this helps.)
------------------------------
From: "Geng Wang" <[EMAIL PROTECTED]>
Subject: Default Job Priority
Date: Sun, 4 Apr 1999 15:24:20 -0500
hi, there,
how can I change some user's default task priority to make it other than
"0"?
thanks in advance.
Geng Wang
------------------------------
From: [EMAIL PROTECTED] (John McKown)
Subject: Re: What modules have i loaded? Help!
Date: 4 Apr 1999 19:19:45 GMT
Reply-To: [EMAIL PROTECTED]
try
cat /proc/modules
On Sun, 04 Apr 1999 11:39:34 GMT, razoon <[EMAIL PROTECTED]> wrote:
>Whats the commandline to see what modules i have loaded?
>tnx
------------------------------
From: AlexAndre <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,linux.redhat.misc
Subject: KDE:something missing!!!
Date: Sun, 04 Apr 1999 15:38:08 -0400
==============A7882A452740662FFFE30572
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi!
When I boot I don't see the kde on the screen ...
What I did I went to /home where I found .xinitrc
I clicked on .xinitrc " et voila " kde !beautifull!!
But I got this message:# ./.xinitrc
Using old audio server with talk id 3
kpanel:waiting for windowmanager
kwm: it looks like there's already a window manager runing. kwm not
started
End of message.
Info:RedHat 5.2
Can you please help me.
Many thanks!
[EMAIL PROTECTED]
==============A7882A452740662FFFE30572
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
Hi!
<BR>When I boot I don't see the kde on the screen ...
<BR>What I did I went to /home where I found .xinitrc
<BR>I clicked on .xinitrc " et voila " kde !beautifull!!
<BR>But I got this message:<FONT SIZE=-1># ./.xinitrc</FONT>
<BR><FONT SIZE=-1>Using old audio server with talk id 3</FONT><FONT
SIZE=-1></FONT>
<P><FONT SIZE=-1>kpanel:waiting for windowmanager</FONT>
<BR><FONT SIZE=-1>kwm: it looks like there's already a window manager runing.
kwm not started</FONT>
<BR><FONT SIZE=-2>End of message.</FONT>
<P>Info:RedHat 5.2
<BR>Can you please help me.
<BR>Many thanks!
<BR>[EMAIL PROTECTED]
<BR>
<BR>
<BR>
<BR> </HTML>
==============A7882A452740662FFFE30572==
------------------------------
From: "K.A. Steensma" <[EMAIL PROTECTED]>
Subject: Re: Telnet real slow
Date: Sun, 04 Apr 1999 20:45:32 GMT
Create a '/etc/hosts' file and put it on your Win9X machines also.
EICONYC wrote:
> When I telnet into my Red Hat 5.2 Linux server, there is about a 2 minute wait
> before I get the login prompt. Any clues as to where I should look?
>
> P.S. I am using the Win98 Telnet program
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Help - want to add users and passwds not as root.
Date: 4 Apr 1999 20:24:07 GMT
In <[EMAIL PROTECTED]> Nico Zigouras <[EMAIL PROTECTED]>
writes:
>I need your help desperately. I am setting up a web site and I want to
>have users be able to add themselves to my linux system through a web
>page. They should be able to add themselves as a user and set their
>passwords.
>I have tried many ways but all require that I am logged in as root to do
>it.
This sounds incredibly dangerous. I could come in give myself an account
on your system and at that point hacking you r system becomes very easy.
Do you really want to give anyone in the world the ability to assign
themselves accounts on your system?
It would be possible to do what you want with scripts wrapped in suid
wrappers, but it would feel to me like handing dynamite and matches to a
child.
------------------------------
From: Diane Adams <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.setup,comp.os.linux.networking
Subject: Re: What is the best Linux to install?
Date: Sun, 04 Apr 1999 21:26:12 +0200
Roberto Alsina wrote:
> In article <Lw4N2.65$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
> > On Fri, 2 Apr 1999 05:54:49 -0700, Paul Bary wrote:
> > >Gotta agree...Mandrake is terrific...all the advantages of RH 5.2 plus the
> > >lastest release version of KDE...I
> > >couldn't be more tickled....I got mine from CheapBytes...1.99 and off you
> > >go...
> >
> > What is the latest version of KDE? When you look for
> > distribution-specific packages they tend to be relatively old. For instance,
> I
> > think the latest RedHat RPMs of KDE are 1.1-3, whereas you can get 'generic'
> > KDE parts in 1.1-6 or so.
>
> Last official KDE release was 1.1. There have been a few minor updates, by
> security reasons, and a few updates that were specific to a distribution by
> packaging issues, so the numbers are not really comparable, because if you
> merge the security updates in a single, say, rpm update, it deflates the
> number, and if you need to make another release by packaging reasons, it
> inflates it.
>
> Anyway: the tarballs have latest released dource, and the rpms probably have
> the same, or very close.
>
> --
> Roberto Alsina (KDE developer, MFCH)
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
I also love Mandrake 5.3. I have installed several diferent Linux distributions
and Mandrake takes the ease of a Red Hat install and ads KDE. I would highly
recomend it.
Chris
Check out my Linux Newbie web site:
http://www.angelfire.com/sc/linux/linux.html
------------------------------
** 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.misc) 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-Misc Digest
******************************