204 lines
7.8 KiB
HTML
204 lines
7.8 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.1H.i">
|
|
<TITLE>The Answer Guy 37: modem disconnect problem?</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
|
|
border="0" align="middle">
|
|
<font color="#B03060">The Answer Guy</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
|
|
border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>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>
|
|
</center>
|
|
|
|
<p><hr><p>
|
|
<!-- endcut ======================================================= -->
|
|
<!-- begin 29 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>modem disconnect problem?</H3>
|
|
|
|
|
|
<p><strong>From Osborne A. Martin on Thu, 14 Jan 1999
|
|
</strong></p>
|
|
<P><STRONG>
|
|
Hello,
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I am a Linux novice but successfully managed to load, configure
|
|
and get RedHat on the net. However, I ran into problems when
|
|
trying to close my connection. I am using the "exec pppd ..."
|
|
command to make the modem connection. Everything is great here,
|
|
but the thing doesn't want to disconnect. I use "ps ax" to find
|
|
the running 'pppd' and "kill -9 <PID>" but I still don't
|
|
disconnect. Any idea how to solve this one?
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Thanks in advance,
|
|
Osborne
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Sounds weird to me. What if you just run 'pppd' (without
|
|
the 'exec' command)? What user are you running the 'kill'
|
|
command as? (If you get a "permission denied" or
|
|
"operation not permitted" error --- it would be because
|
|
pppd is setting itself into its own process group and
|
|
running as 'root' --- while you are trying to issue the
|
|
'kill' command as an unprivileged user).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
For a simple home system where console security is a
|
|
non-issue --- just leave a 'root' shell laying around
|
|
on one of your virtual consoles or in an 'xterm' and
|
|
issue your 'kill' command from there.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
You could install can configure 'sudo' to run a kill script
|
|
as 'root' --- listing your normal login ID as one of the
|
|
users that's allowed to execute this command. You could
|
|
write an SUID perl (sperl) script or a small C wrapper to
|
|
accomplish the same thing (but that requires more background
|
|
than I have time to give at the moment).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Sometimes the fact that Linux is a multi-user operating
|
|
system with a tendency to protect system processes and
|
|
files from "normal" users can be a bit inconvenient. On
|
|
the other hand it is the principle reason why computer
|
|
viruses are virtually unheard of under Linux or any other
|
|
form of Unix. (I've only encountered one case of virus
|
|
infection "in the wild" in all the years that I've used
|
|
Linux and none for any other version of Unix --- and that
|
|
victim was just being silly).
|
|
</BLOCKQUOTE>
|
|
<P><STRONG><IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
P.S. Every Linux site should have in large bold letters at the
|
|
top of the site; "stay away from win modems of any type and modems
|
|
with the Rockwell driver set". I purchased one of each before
|
|
buying a Zoom Modem that actually worked with my Linux box. I
|
|
found this type of info. very hard to find when it should be
|
|
shouted from the mountain tops.
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Every responsible retailer should also ask if you're
|
|
running Windows before selling you one of the blasted
|
|
things. Every responsible manufacturer should clearly
|
|
label the package as
|
|
<em><font color="#FF0000">FOR WIN '95 AND WIN '98 ONLY</font></em>.
|
|
</BLOCKQUOTE>
|
|
|
|
<BLOCKQUOTE>
|
|
At this point I have not sympathy for any losses of
|
|
business that winmodem manufacturers suffer as a result
|
|
of the RMAs (return merchandise authorizations) they get
|
|
from sell these pieces of junk to us (and Mac users, et al).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
It's not just a matter of educating new Linux users ---
|
|
it's a matter of educating the whole industry; this is
|
|
not an MS Windows world! (It never really was --- though
|
|
a big chunk of the media and market place have been
|
|
so deluded for the past few years).
|
|
</BLOCKQUOTE>
|
|
<!-- sig -->
|
|
|
|
<!-- end 29 -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1999, James T. Dennis
|
|
<BR>Published in <I>The Linux Gazette</I> Issue 37 February 1999</H5>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<P align="center">
|
|
<table width="98%"><tr valign="center" align="center">
|
|
<td rowspan="3" colspan="4"><A HREF="../lg_answer37.html"><IMG
|
|
SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Index ]"></A></td>
|
|
<TD width="8%"><A HREF="./1.html">1</A></TD>
|
|
<TD width="8%"><A HREF="./2.html">2</A></TD>
|
|
<TD width="8%"><A HREF="./3.html">3</A></TD>
|
|
<TD width="8%"><A HREF="./4.html">4</A></TD>
|
|
<TD width="8%"><A HREF="./5.html">5</A></TD>
|
|
<TD width="8%"><A HREF="./6.html">6</A></TD>
|
|
<TD width="8%"><A HREF="./7.html">7</A></TD>
|
|
<TD width="8%"><A HREF="./8.html">8</A></TD>
|
|
<TD width="8%"><A HREF="./9.html">9</A></TD>
|
|
<TD width="8%"><A HREF="./10.html">10</A></TD>
|
|
|
|
</tr><tr valign="center" align="center">
|
|
<TD><A HREF="./11.html">11</A></TD>
|
|
<TD><A HREF="./12.html">12</A></TD>
|
|
<TD><A HREF="./14.html">14</A></TD>
|
|
<TD><A HREF="./15.html">15</A></TD>
|
|
<TD><A HREF="./16.html">16</A></TD>
|
|
<TD><A HREF="./17.html">17</A></TD>
|
|
<TD><A HREF="./18.html">18</A></TD>
|
|
<TD><A HREF="./19.html">19</A></TD>
|
|
<TD><A HREF="./21.html">21</A></TD>
|
|
<TD><A HREF="./22.html">22</A></TD>
|
|
|
|
</tr><tr valign="center" align="center">
|
|
<TD><A HREF="./23.html">23</A></TD>
|
|
<TD><A HREF="./28.html">28</A></TD>
|
|
<TD><A HREF="./29.html">29</A></TD>
|
|
<TD><A HREF="./30.html">30</A></TD>
|
|
<TD><A HREF="./31.html">31</A></TD>
|
|
<TD><A HREF="./32.html">32</A></TD>
|
|
<TD><A HREF="./33.html">33</A></TD>
|
|
<TD><A HREF="./34.html">34</A></TD>
|
|
<TD><A HREF="./37.html">37</A></TD>
|
|
<TD><A HREF="./38.html">38</A></TD>
|
|
|
|
</tr><tr valign="center" align="center">
|
|
<TD><A HREF="./39.html">39</A></TD>
|
|
<TD><A HREF="./41.html">41</A></TD>
|
|
<TD><A HREF="./42.html">42</A></TD>
|
|
<TD><A HREF="./43.html">43</A></TD>
|
|
<TD><A HREF="./44.html">44</A></TD>
|
|
<TD><A HREF="./45.html">45</A></TD>
|
|
<TD><A HREF="./46.html">46</A></TD>
|
|
<TD><A HREF="./47.html">47</A></TD>
|
|
<TD><A HREF="./48.html">48</A></TD>
|
|
<TD><A HREF="./49.html">49</A></TD>
|
|
|
|
</tr></table>
|
|
</P>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<P> <hr> <P>
|
|
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<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_bytes37.html"
|
|
><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
|
|
<A HREF="../york.html"
|
|
><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
|
|
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|