175 lines
6.6 KiB
HTML
175 lines
6.6 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html><head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.1D.l">
|
|
<TITLE>The Answer Guy 34:
|
|
Conflict: Num-Lock, X Window Managers, and pppd
|
|
</TITLE>
|
|
<!-- ORIGINAL SUBJECT:
|
|
... Redhat 4.2/Motif, problem discovered.
|
|
JTD SUBTITLE:
|
|
|
|
-->
|
|
</head>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#A000A0"
|
|
ALINK="#FF0000">
|
|
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H1 align="center"><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="" border="0" align="middle">
|
|
<a href="../index.html">The Answer Guy</a>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="" border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4 align="center">By James T. Dennis,
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a>
|
|
<BR>Starshine Technical Services, <A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H4>
|
|
<p><hr><p>
|
|
<!--endcut ========================================================= -->
|
|
<H3><img src="../../gx/dennis/qbub.gif" alt="(?)"
|
|
width="50" height="28" align="left" border="0"
|
|
>Conflict: Num-Lock, X Window Managers, and pppd</H3>
|
|
<p><strong>From Victor J. McCoy on 11 Oct 1998 </strong></p>
|
|
<!-- begin body -->
|
|
|
|
|
|
<p><strong>Please publish this. After the original question, I received a
|
|
number of inquiries indicating that I'm not the only one with this
|
|
problem.
|
|
</strong></p>
|
|
|
|
<p><strong>Last year <a href="http://www.linuxgazette.com/issue22/issue22.html">LG22</a> (Oct97) I asked a question regarding window manager
|
|
and pppd anomaly.
|
|
</strong></p>
|
|
|
|
<p><strong>Quick answer: Num-Lock key activation.
|
|
</strong></p>
|
|
|
|
<p><strong>Long answer:
|
|
</strong></p>
|
|
|
|
<p><strong>I finally got fed up with the problem, so I tore my machine apart,
|
|
down to a single SCSI controller (with only my root drive),
|
|
keyboard, modem.
|
|
</strong></p>
|
|
|
|
<p><strong>The problem continued. I upgraded to redhat 5.0 since, and the
|
|
problem persisted, different Window managers also exhibit problems
|
|
(just differently). I even changed to <A HREF="http://www.caldera.com/">Caldera</A> lite 1.2, and I
|
|
still had the problem.
|
|
</strong></p>
|
|
|
|
<p><strong>Believe it or not, it turned out to be my NUM-LOCK key. If NL is
|
|
active, then the WM screws up EVERY TIME; different WMs just screw
|
|
up differently. I would turn on Num-lock to ping a host IP addr
|
|
and that would be all it took.
|
|
</strong></p>
|
|
|
|
<p><strong>I have a MS natural keyboard (Of all the products MS has, software
|
|
sucks, but I love the hardware [KB and Mouse].) I'm sure that's
|
|
not the problem, because I've only recently acquired the KB and
|
|
the problem has been around for a couple of years.
|
|
</strong></p>
|
|
|
|
<p><strong>I would like to know if this is a widespread problem. Surely, I'm
|
|
not one of very few people to use the numeric keypad.
|
|
</strong></p>
|
|
|
|
<p><strong>Victor J. McCoy
|
|
</strong></p>
|
|
|
|
<blockquote><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)" height="28" width="50" align="bottom">I'll just let this message speak for itself. I'm
|
|
not really sure what it's saying but it sounds like
|
|
a call for other people to do some testing. What happens
|
|
if you have your NumLock key active when you start up and
|
|
user your ppp link from within an X session.
|
|
</blockquote>
|
|
|
|
<blockquote>As for ways to try to alleviate the problem:
|
|
</blockquote>
|
|
|
|
<ul>
|
|
|
|
<li>Change to a newer (2.1.x) kernel <EM>and</EM> a
|
|
new pppd (must do that to use PPP under the
|
|
new kernels anyway).
|
|
|
|
<li>Try a different X server. If you're currentlly
|
|
using XFree86, consider tying <a href="http://www.xig.com/">Xig</a> or <a href="http://www.metrolink.com/productindex.html">Metro-X</a>
|
|
(one of the commercial X suites for Linux).
|
|
</ul>
|
|
|
|
<blockquote>... I don't know of good ways to troubleshoot or isolate
|
|
this, off hand. Look in your syslog (<tt>/var/log/messages</tt>)
|
|
for "ooops" or similar messages from the kernel. Try
|
|
strace on the X server and the window managers, the pppd
|
|
(also run it under full debugging and kdegug). Try adding
|
|
<tt>ipfwadm</tt> (or <tt>ipchains</TT>) rules with the <tt>-o</tt> switch (to "output"
|
|
details of every packet to your syslogs). You could also
|
|
capture <tt>tcpdump</tt>'s from the <tt>ppp0</tt> interface during the whole
|
|
affair.
|
|
</blockquote>
|
|
|
|
<blockquote>It's probably something specific to your hardware --- since
|
|
you've changed your software completely. I'll be curious
|
|
if you can isolate the problem to a specific library
|
|
function or system call.
|
|
</blockquote>
|
|
<!-- end body -->
|
|
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1998, James T. Dennis <BR>
|
|
Published in <I>Linux Gazette</I> Issue 34 November 1998</H5>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<P align="center">
|
|
<table width="98%"><tr valign="center" align="center">
|
|
<td rowspan="3"><A HREF="../lg_answer34.html"><IMG
|
|
SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Index ]"></A></td>
|
|
<td><A HREF="./apache.html">apache</a>
|
|
<td><A HREF="./current.html">current</a>
|
|
<td><A HREF="./digi.html">digi</a>
|
|
<td><A HREF="./ether.html">ether</a>
|
|
<td><A HREF="./goodtimes.html">goodtimes</a>
|
|
<td><A HREF="./intlX.html">intlX</a>
|
|
<td><A HREF="./largedisk.html">largedisk</a>
|
|
</tr><tr valign="center" align="center">
|
|
<td><A HREF="./maybe.html">maybe</a>
|
|
<td><A HREF="./numlock.html">numlock</a>
|
|
<td><A HREF="./quota.html">quota</a>
|
|
<td><A HREF="./recovery.html">recovery</a>
|
|
<td><A HREF="./script.html">script</a>
|
|
<td><A HREF="./serial.html">serial</a>
|
|
<td><A HREF="./session.html">session</a>
|
|
</tr><tr valign="center" align="center">
|
|
<td><A HREF="./sound.html">sound</a>
|
|
<td><A HREF="./tape.html">tape</a>
|
|
<td><A HREF="./testsuite.html">testsuite</a>
|
|
<td><A HREF="./w95ie.html">w95ie</a>
|
|
<td><A HREF="./w95ras.html">w95ras</a>
|
|
<td><A HREF="./w95virus.html">w95virus</a>
|
|
<td><A HREF="./xdm.html">xdm</a>
|
|
</tr></table>
|
|
</P>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<A HREF="../index.html"><IMG SRC="../../gx/indexnew.gif"
|
|
ALT="[ Table Of Contents ]"></A>
|
|
<A HREF="../../index.html"><IMG SRC="../../gx/homenew.gif"
|
|
ALT="[ Front Page ]"></A>
|
|
<A HREF="../lg_bytes34.html"><IMG SRC="../../gx/back2.gif"
|
|
ALT="[ Previous Section ]"></A>
|
|
<A HREF="../izquierdo.html"><IMG SRC="../../gx/fwd.gif"
|
|
ALT="[ Next Section ]"></A>
|
|
</body>
|
|
</html>
|
|
<!--endcut ========================================================= -->
|
|
|