File: numlock.html

package info (click to toggle)
lg-issue34 3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,396 kB
  • ctags: 194
  • sloc: ansic: 261; sh: 186; makefile: 34
file content (174 lines) | stat: -rw-r--r-- 6,713 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!--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 &copy;</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 ========================================================= -->