Linux-Misc Digest #833, Volume #23 Mon, 13 Mar 00 05:13:05 EST
Contents:
Re: how can my scripts know Linux has made a ppp connection? (Koos Pol)
Re: Telnet to Unix box (Floyd Davidson)
Re: Netscape Bookmarks in Linux and Windows????? (Richard Steiner)
Re: depmod: unresolved symbol(s) ("David ..")
Re: No Sound ("Jason Byrne")
Re: Sendmail and win95 clients ("Jason Byrne")
Re: Q: pax (UNIX 98) for Linux? (fred smith)
Rebuild Kernal (cwlau)
seeking foreign language help (digs)
Re: Rebuild Kernal ("David ..")
Re: follow-up regarding ("A Favored Son")
Re: Problems after compiling kernel 2.2.14 ("David ..")
Re: how can my scripts know Linux has made a ppp connection? (Floyd Davidson)
[TLD Registrars] Onerous Fine Print vs. Alternative (``OpenSRS''?; Grassroots?)
(John Robie)
Re: [TLD Registrars] Onerous Fine Print vs. Alternative (``OpenSRS''?; Grassroots?)
(John Robie)
NFS and non-private IP address (Heinz Oswald)
----------------------------------------------------------------------------
From: Koos Pol <[EMAIL PROTECTED]>
Subject: Re: how can my scripts know Linux has made a ppp connection?
Date: Mon, 13 Mar 2000 08:14:26 +0100
* wrote:
>
> pppd will execute the contents of the file /etc/ppp/ip-up when it
> successfully negotiates a ppp connection (see the pppd man page, it's near
> the end) and the link is available to send/receive IP packets. You can
> place whatever you need in this file to let either you or your scripts
> know the ppp connection is really "up".
Congrats! Of all options, this is the only *real* solution. ALL others
solutions (netstat, ifconfig, etc) can NOT be trusted to be working correctly
in all sitiations. This is the only one to have a guaranteed valid result.
(This question keeps popping up. You don't want to see the Deja list of people
suggestions...)
> (...) This is kinda crude, but it works OK for me.
You give yourself to little credit. There is no other way... (pad, pad,
pad...:-))
Koos Pol
======================================================================
S.C. Pol T: +31 20 3116122
Systems Administrator F: +31 20 3116200
Compuware Europe B.V. E: [EMAIL PROTECTED]
Amsterdam PGP public key available
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.networking
Subject: Re: Telnet to Unix box
Date: 12 Mar 2000 21:31:15 -0900
[EMAIL PROTECTED] (Herb Stein) wrote:
>Now wait a minute Floyd. I do not actually use Linux in the
>windowing environment, but my Unix recollection is that an
>rlogin or telnet window can easily be VT100 compatible. It has
>been a while but it works like that from another non-windows
>system.
Why would it? It's invoked from a command line, so you
necessarily are already using either a terminal or a terminal
emulator of some kind. All it does is pass the TERM variable to
the environment at the remote host so that it knows what kind of
a terminal is being used.
Try setting your TERM variable to some wierdly named vt100 type,
say for example a DT80. Telnet to some distant host and see
what the TERM variable has been set to! (You might want to
leave it set to a DT80, it might be a better description of the
terminal attributes than is a vt100 description!)
Hmmm... if your are really brave, try it from a shell inside GNU
Emacs, where "emacs" is the terminal type. Or at least that is
what it will be unless the init files for your shell on the
distant host reset it.
Floyd
>Floyd Davidson <[EMAIL PROTECTED]> wrote:
>>[EMAIL PROTECTED] (Herb Stein) wrote:
>>>Unix to Unix, consider rlogin.
>>
>>Which has exactly the same problem...
>>
>>Note that none of the discussion below addresses the problem.
>>From a virtual console on a Linux box one does NOT get a vt220
>>emulation with either telnet or rlogin. What you get is a
>>"linux" terminal.
>>
>>The difficulty is that the distant host might be so old and
>>crufty that it does not have a proper terminal description in
>>its TERMCAP or TERMINFO database. Hence a user can attempt to
>>use one that does exist and which is similar, such as vt100, but
>>the results are not a perfect match and certain things, which
>>differ from one terminal to another and may differ with older
>>database entries, will not match. (There are roughly 101.3
>>different xterms, and 524 different terminal descriptions for
>>those xterms. Hence it is very arbitrary in which way they
>>do not match. :-)
>>
>>The only perfect solution is to have a perfect terminal
>>description _for_the_terminal_in_use. (vt220 and ansi terminals
>>are not likely to be close to most xterms or to any UNIX
>>variety's console.) But typically a proper fix can easily be
>>obtained by either 1) getting the systems admin people on the
>>distant host to add a "linux" description, which any Linux box
>>can provide easily (rtfm on infocmp), or 2) setting up the
>>user's login profile on the distant host to use a private
>>terminal description database, which has a "linux" (or the
>>approprite xterm) description in it. RTFM on terminfo.
>>
>>Using other terminal names to set TERM, whether it is
>>accomplished using "TERM=xxzzy telnet host", or manually setting
>>TERM at the distant end via tset or any other way, will *NOT*
>>provide a better match between a linux console (or an xterm)
>>and any of the various incorrect terminal descriptions that have
>>been suggested.
>>
>> Floyd
>>
>>>In article <[EMAIL PROTECTED]>, "G. Roderick Singleton"
>>><[EMAIL PROTECTED]> wrote:
>>>>Mike McDade wrote:
>>>>>
>>>>> a simple fix is to emulate a terminal the UNIX box probably knows
>>>>> such as a vt220
>>>>>
>>>>
>>>>Simple yes but if you login from various places using various
>>>>type of terminal emulations, you should be using tset(1) to
>>>>handle this.
>>>>
>>>>For example, a cshell user can put the following in his .login
>>>>and be asked which terminal type to use:
>>>>
>>>>if ( $?TERM == 0 ) then
>>>> setenv TERM unknown
>>>> set noglob
>>>> eval `tset -sQ -m :?$TERM $TERM`
>>>> unset noglob
>>>> set term=$TERM
>>>>endif
>>>>
>>>>Well you get idea.
>>>>> as soon as you log in do this (put them in a .profile, .kshrc, or whatever)
>>>>> TERM=vt220
>>>>> export TERM
>>>>>
>>>>> look in the TERMCAPS on the host machine to find out what kind
>>>>> of terminals it likes
>>>>>
>>>>> Mike
>>>>> [EMAIL PROTECTED]
>>>>>
>>>>> Matheus Cunha Torres <[EMAIL PROTECTED]> wrote in message
>>>>> news:[EMAIL PROTECTED]...
>>>>> > I have a Slack 7 box and a SCO 5.05 box in the same network. When I
>>>>> > telnet from the Linux box to Unix box, the function keys and many other
>>>>> > keys don't work properly. For example, backspace is the interrupt key.
>>>>> > I tried to turn the TERM to ansi after connecting to Unix, but the prob
>>>>> > continues...
>>>>> >
>>>>> > Any ideas ???
>>>>> >
>>>>> > TIA,
>>>>> >
>>>>> > Matheus C. Torres.
>>>>> >
>>>>> >
>>>>> >
>>>>
>>>
>>>--
>>>Herb Stein
>>>The Herb Stein Group
>>>www.herbstein.com
>>>[EMAIL PROTECTED]
>>>314 215-3584
>>
>
>--
>Herb Stein
>The Herb Stein Group
>www.herbstein.com
>[EMAIL PROTECTED]
>314 215-3584
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Crossposted-To: comp.os.linux.networking
Subject: Re: Netscape Bookmarks in Linux and Windows?????
Reply-To: [EMAIL PROTECTED]
Date: Sun, 12 Mar 2000 20:59:55 -0600
Here in comp.os.linux.misc, HW <[EMAIL PROTECTED]> spake unto us, saying:
>1) When I make a symlink for the file "bookmarks.html" in the .netscape
>dir, Netscape does use it but as soon as I add a new bookmark, and leave
>Netscape, it removes the symlink and places a COPY of the linked FILE,
>with the added bookmark in .netscape instead!
I've seen this too, and it's extremely annoying behavior on Netscape's
part. It makes using a symlink impractical.
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + BeOS + Linux + Solaris + Win95 + WinNT4 + FreeBSD + DOS
+ VMWare + Fusion + vMac + Executor = PC Hobbyist Heaven! :-)
The mome rath isn't born that could outgrabe me.
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,comp.os.linux.setup
Subject: Re: depmod: unresolved symbol(s)
Date: Mon, 13 Mar 2000 01:53:34 -0600
Could it be reading the /etc/conf.modules file and causing the error?
With the drivers compiled into the kernel you don't need conf.modules.
If that is the problem you will also have to edit a couple of files.
Here is a Book that tells about how to correct the problem if this is
causing it. Page 85 disscusses what may be your problem.
Get Acquainted with Linux Security and Optimization System
Author: Gerhard Mourani
http://www.linuxdoc.org/docs.html#guide
Hope this helps
--
Due to extreme SPAM abuse! Remove z's and x's from above to reply.
Thnak the spammer's A..holes that they are. Still can't reach me?
Then your address range is already blocked due to previous spam.
Sorry! I hate spam!!
------------------------------
From: "Jason Byrne" <[EMAIL PROTECTED]>
Subject: Re: No Sound
Date: Mon, 13 Mar 2000 00:01:36 -0800
You are incredibly spoiled with SuSE...
look in /etc/conf.modules... and you'll see a ton of comments...
In short... uncommenting series of 'char-major-14' config lines to set up
card do the trick.
sb16?
David Steuber <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'm running SuSE 6.2 (kernel 2.2.10).
> Sound card is a soundblaster.
>
> wavplay complains that /dev/dsp does not exist. That file is there.
> The KCD player will quietly not play a CD. The mixer won't open
> /dev/mixer. The /dev files have rw to the world. Sound is compiled
> in as a module. What am I missing?
>
> --
> David Steuber | Hi! My name is David Steuber, and I am
> NRA Member | a hoploholic.
>
> http://www.packetphone.org/
>
> All other things being equal, a bald man cannot be elected President of
> the United States.
> -- Vic Gold
------------------------------
From: "Jason Byrne" <[EMAIL PROTECTED]>
Subject: Re: Sendmail and win95 clients
Date: Mon, 13 Mar 2000 00:12:50 -0800
Hmmm... you are talking about three different things...
POP3, SMTP, and telnet
If you want to retrieve your mail from Linux machine... then you need to
make sure you have a pop server running (look in /etc/inetd.conf for a
'popd' entry or something similar - to make sure the pop server starts up
with the other services)
For the smtp... do you get specific errors when you try to send through the
Linux machine (relaying not allowed, etc...)
As far as telnet to the machine... a regular telnet to the Linux machine
doesn't mean you have either smtp or pop server running.
Try:
telnet 192.168.1.2 110 if you want to check for a pop server (listening on
port 110)
Make sure you have entries for the windows machines in /etc/hosts... so the
Linux machine can resolve the names when the clients try to send mail.
Brian <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Is it possible to use standard POP3 win95 e-mail clients e.g. Pegasus with
> sendmail??
>
> If so, could someone please point me to the relevant HOW-TO. I have looked
> everywhere!!
>
> sendmail8.9.3 is running correctly on RH6.1. I am able to telnet into the
> linux box from a win95 machine using:
>
> telnet 192.168.1.2 25
>
> However setting this as the smtp server in Pegasus does not work...
>
> Any help greatly appreciated.
>
> Brian
>
> --
> Posted via CNET Help.com
> http://www.help.com/
------------------------------
From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Q: pax (UNIX 98) for Linux?
Date: Sun, 12 Mar 2000 18:33:28 GMT
Diethard Ohrt <[EMAIL PROTECTED]> wrote:
: The Open Group's Single Unix Specification
: (http://www.UNIX-systems.org/single_unix_specification_v2/) defines the
: archivers tar(1) and cpio(1) as "legacy", thus no longer being supported
: in future releases: "Applications should migrate to pax(1)."
: So, does anybody know, if there is a pax(1) for Linux? Where?
I'd assume you could find one on sunsite, er, ah, I mean metalab, though
I've not looked.
If all else fails I've got an old PAX here I could send you. it is the
one written back in the late eighties by Mark Colburn, with a few tweaks
of my own added. I've got a version that compiles cleanly (or did when I
last tried it) on Linux, SCO and AIX.
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
I can do all things through Christ
who strengthens me.
============================== Philippians 4:13 ===============================
------------------------------
Date: Mon, 13 Mar 2000 16:37:35 +0800
From: cwlau <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux.networking,comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Rebuild Kernal
Hello
I am a newbie in Linux. I started with Caldera's OpenLinux
but unfortuately it didn't recognise my network card which
is 3com Fast Etherlink XL 10/100 Mb TX (3C905B-TX).
I got the driver patch from 3com's web site but it needed
to rebuild the kernal. I just don't know how to rebuild the
kernal particularly for Caldera's OpenLinux.
Could anyone please tell me how to do it ?
Thank you very much.
Bye.
------------------------------
From: [EMAIL PROTECTED] (digs)
Subject: seeking foreign language help
Date: Mon, 13 Mar 2000 08:27:25 GMT
Reply-To: [EMAIL PROTECTED]
Hello -
We've got a small X11-based script script (x-wvdial)
that is a frontend for wvdial a dialup tool for Linux.
Currently x-wvdial speaks:
Dutch, German, Spanish, and US-English.
We would like to add more langauges to x-wvdial.
Porting to your native tounge is rather simple,
(about 2 pages to convert from english to your lanagauge)
And no coding skills are needed as the langauge files
are external to the script.
If you would like to help please drop me an email at:
[EMAIL PROTECTED]
later on,
digs
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,comp.os.linux.networking,comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: Rebuild Kernal
Date: Mon, 13 Mar 2000 02:44:53 -0600
http://www.linuxdoc.org/docs.html#guide
Boook named:
Get Acquainted with Linux Security and Optimization System
author: Gerhard Mourani
Read it carefully as it tells about building a monolithic kernel but
also includes info about modules.
Also you can do it this way.
I downloaded the kernel-2.2.14-5.0.src.rpm or whatever the correct name
is.
Installed it which puts it in /usr/src/redhat/SOURCES/
Then did a cd /usr/src/redhat/SPECS/ #enter
rpm -bp kernel-2.2.14.spec
Which applies a bunch of patches and puts the patched and un-tarred
directory into /usr/src/redhat/BUILD/
Then I cp /usr/src/redhat/BUILD/linux /usr/src/
cd /usr/src/linux/
make menuconfig
and then did the compile. It worked great and I let rpm install all the
patches.
Just my 2 cents.
--
Due to extreme SPAM abuse! Remove z's and x's from above to reply.
Thnak the spammer's A..holes that they are. Still can't reach me?
Then your address range is already blocked due to previous spam.
Sorry! I hate spam!!
------------------------------
From: "A Favored Son" <[EMAIL PROTECTED]>
Subject: Re: follow-up regarding
Date: Mon, 13 Mar 2000 00:58:13 -0800
32megs of swap should suffice.
I run RHL6.0 with Gnome and Apache on a 486/100 with 16mb or ram,
2 250mb hdd, 2NICs and it's not even breathing hard.
For a web server, a test bed, you're good to go.
It also serves as my firewall and net gateway.
Oh, and I run setiathome as a background process. :-)
Mostly, I use the command line console, though, as it conserves cpu.
Good luck, and don't forget to have fun.
Luke wrote in message <[EMAIL PROTECTED]>...
>A full RHL6.1 server class install will take up about 350 meg. Add as much
>extra space for what you want to do with it, and another 100 or so for a
swap
>partition and you'll be set. Memory will be more of a concern than disk
space
>will. Don't expect to get anything done in a GUI enviornment with only 32
meg
>of ram. KDE will only start to run okay with 64meg. Don't know about
gnome
>or X though. I have a mere 32 meg in my server and it runs really well....
>but that's because it isn't running a window manager... command prompt
only.
>
>> I asked before:
>>
>> "I have a Pentium 133 with 32MB of RAM. I already have another OS
>> installed on it and I still have 2.6GB of space available. Can I still
>> install Linux on it? I want to make my computer a server (to try out some
>> of PhPs and CGIs. Can I still do this with the above hardware?"
>>
>> Everyone said "yes." My follow-up question is how much space should I
>> allot for Linux considering my above needs and that I plan to use a GUI
>> and Netscape to try out my web pages? I still plan to install software
for
>> my other OS so I can't really allot the whole 2.6 for Linux.
>>
>> --
>> Posted via CNET Help.com
>> http://www.help.com/
>
>
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Problems after compiling kernel 2.2.14
Date: Mon, 13 Mar 2000 03:02:01 -0600
You should be using
make dep; make clean; make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.xx (xx=
kernel version)
cp /usr/src/linux/System.map /boot/System.map-2.2.xx
cd /boot
rm System.map
rm vmlinuz
ln -fs vmlinuz-2.2.xx vmlinuz
ln -fs System.map-2.2.xx System.map
vi /etc/lilo.conf
edit line: image=/boot/vmlinuz-2.2.xx
You may also need to run: /sbin/mkinitrd /boot/initrd-2.2.xx.img
2.2.xx
This depends on what you have compiled into your kernel. Depending what
you compiled you may need to just remove the "initrd" line from
/etc/lilo.conf
cd
/sbin/lilo -v
And hopefully it will boot. Be sure to have a boot disk.
--
Due to extreme SPAM abuse! Remove z's and x's from above to reply.
Thnak the spammer's A..holes that they are. Still can't reach me?
Then your address range is already blocked due to previous spam.
Sorry! I hate spam!!
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: how can my scripts know Linux has made a ppp connection?
Date: 12 Mar 2000 23:18:17 -0900
Koos Pol <[EMAIL PROTECTED]> wrote:
>* wrote:
>>
>> pppd will execute the contents of the file /etc/ppp/ip-up when it
>> successfully negotiates a ppp connection (see the pppd man page, it's near
>> the end) and the link is available to send/receive IP packets. You can
>> place whatever you need in this file to let either you or your scripts
>> know the ppp connection is really "up".
>
>Congrats! Of all options, this is the only *real* solution. ALL others
>solutions (netstat, ifconfig, etc) can NOT be trusted to be working correctly
>in all sitiations. This is the only one to have a guaranteed valid result.
How is that more reliable that netstat or ifconfig? What circumstance will
it be correct when ifconfig, for example, will not be?
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: John Robie <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.tcp-ip.domains
Subject: [TLD Registrars] Onerous Fine Print vs. Alternative (``OpenSRS''?;
Grassroots?)
Date: Mon, 13 Mar 2000 09:20:50 GMT
Hi,
I've registered a top-level-domain domain recently. I chose to go
with anyone other than Network Solutions. With the new authorized
and competing tld registrars just unleashed the time is ripe.
However, there is a problem.
As an aside, Tucows' OpenSRS project makes registration access
had for as little as $10 (US) per year, to anyone with the skills
to grapple with their mechanism. They suggest it is worthwhile
for those registering ten or more domains per year. Well, off
hand I can count around five domains which I could register for
my UNIX, Linux, Usenet, networking interests. I guess if I think
hard enough I could approximate that number to ten with other
interests. So figure, 10 TLDs/year x $10 = $100. Say, $150 if I
go with the registrars that use Tucows as an intermediary. Still
very reasonable.
* What is not reasonable if you read the fine print of all these
registrars (old and new or OpenSRS) is the burdensome legal
stranglehold that all these registrars place on you when you use
their services. For example, out of all the registrar legal
agreements I have read so far, all empower the registrar to sell
my contact information, including email and home/office address
and telephone numbers. They entitle the registrar to UCE me at
will, and without a mechanism listed for withdrawing from same.
Astounding! *
Additionally, their domain dispute resolution policy is
draconian; some mention they follow the ICANN model, but then
they proceed to tack-on their own barrelful of whims.
* Thus, is anyone aware of an Open Source / Free Software
community style grassroots registrar or project (that uses the
OpenSRS mechanisms perhaps) that has decided to provide
registration services _without_ "the screw the user" mentality?
And, with the sensible ICANN domain dispute resolution policy?? *
--
John Robie
Yoda of Borg: Futile is resistance. Assimilated you will be.
Defect Borg: Refutile is sistance. Your ass will be simulated.
Boycott Amazon.com
<URL:http://www.gnu.org/philosophy/amazon.html>
------------------------------
From: John Robie <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.tcp-ip.domains
Subject: Re: [TLD Registrars] Onerous Fine Print vs. Alternative (``OpenSRS''?;
Grassroots?)
Date: Mon, 13 Mar 2000 09:37:57 GMT
I <[EMAIL PROTECTED]> wrote:
-snip-
: * Thus, is anyone aware of an Open Source / Free Software
: community style grassroots registrar or project (that uses the
: OpenSRS mechanisms perhaps) that has decided to provide
: registration services _without_ "the screw the user" mentality?
: And, with the sensible ICANN domain dispute resolution policy?? *
It would be nice if a non USA alternative for com, net, org TLDs
was to be had with the above post's qualities. Suppressing the
USA sue-sue mentality by being out of reach of jurisdiction is
especially important. Last week a US judge ruled that a non USA
citizen, or entity was within jurisdiction of US laws as a
consequence of having registered their domain through Network
Solutions, which is located in the USA and the only com, net, org
registrar available in the world at the time of registration.
That they felt they did not need to be present (believing lack of
jurisdiction) or *could not afford to be present* led them to
default ownership of their domain. I'd rather not have to put up
with such nonsense.
--
John Robie
Boycott Amazon.com
<URL:http://www.gnu.org/philosophy/amazon.html>
------------------------------
From: Heinz Oswald <[EMAIL PROTECTED]>
Subject: NFS and non-private IP address
Date: Mon, 13 Mar 2000 10:59:07 +0100
Hello,
I got the following in /usr/var/messages:
Mar 13 09:51:14 stiegler6 nfsd[357]: exports file has anon entries, but
host
Mar 13 09:51:14 stiegler6 nfsd[357]: has non-private IP address
192.12.144.26!
Mar 13 09:54:04 stiegler6 mountd[374]: exports file has anon entries,
but host
Mar 13 09:54:04 stiegler6 mountd[374]: has non-private IP address
192.12.144.26!
Our company is NOT connected to the Internet. We have an very old ( 10
years) installation of some DEC Ultrix boxes. At that time, they had
been configured with addresses 192.12.144.xxx. For us this makes no
problem. At the moment, I can not change their addresses.
I installed a linux box with two NIC's. one in the 192.12.144 network
and the other in the 172.16 (as suggested in RFC1918).
The linux box has some NFS exports but the Ultrix boxes can not write.
See error message above.
What can I do, to let the linux nfsd allow write operation ?
Regards
Heinz Oswald
change
------------------------------
** 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
******************************