[hsflinux] modem hangs up in few minutes

Mengxiong Gong mgong758 at hotmail.com
Thu Jun 26 21:39:05 EDT 2003


Hi, Dana:

Thank you very much for your prompt reply and wonderful help. I have tried a 
few connection using your methods exactly. The situation has got improved: 
the internet connection can last 3-30 minutes (instead of lasting only a few 
minutes before), althogh the problem has not been solved completely. I think 
that besides the priority issue, there might be also other probelms. I will 
use other browse other than Konquror to try again.

I appreciate for your help.

Michael Gong


>From: Dana Lacoste <dana.lacoste at peregrine.com>
>To: Mengxiong Gong <mgong758 at hotmail.com>
>CC: hsflinux at lists.mbsi.ca
>Subject: Re: [hsflinux] modem hangs up in few minutes
>Date: 20 Jun 2003 13:51:51 -0400
>
>After months and months and months and months
>of dealing with a similair problem, I added
>this to my startup scripts :
>
>--
>file /etc/init.d/rest.modem.priority.sh
>--
>#!/bin/sh
>
>/bin/echo "Increasing priority of HSF modem handler"
>MODEM_PID=`ps -wwaux|grep cnxthsf_mdmthrd \
>            |grep -v grep |sed 's/root *//'| \
>            sed 's/ .*//'`
>
>if [ -z "${MODEM_PID}" ] ; then
>    /bin/echo "WARNING : Could not find modem handler thread"
>else
>if [ -n "${MODEM_PID}" ] ; then
>    /bin/echo "Resetting modem handler priority level"
>    /usr/bin/renice -10 ${MODEM_PID} > /dev/null 2>&1
>fi
>--
>
>Basically, the modem driver creats a kernel thread that
>shows up in the process table with the name "[cnxthsf_mdmthrd]"
>and I reset the priority level of the process to be -10
>(it defaults to 0, and lower is better)
>
>Now it never crashes (whereas before it would run fine until
>I put a significant amount of data on the line, when it would
>die in about 2 minutes)
>
>I had no idea you could adjust the priority of kernel threads,
>but doing this has made the modem unkillable for me, so I'm
>very very very very happy with it :)
>
>(You'd have to copy the text I gave into a file, make the script
>executable, then run the script sometime after the modem driver
>loaded.  Seeing as I don't use RedHat, I can't help you do that :)
>
>Dana "modem bought in November, modem working in May" Lacoste
>Ottawa, Canada
>
>On Thu, 2003-06-19 at 23:02, Mengxiong Gong wrote:
> > Hi,
> >
> > I have system Red Hat 7.3 with kernel 2.4.18-3, and I use the driver
> > hsflinmodem-5.03.27lnxbeta03042700....... The problem I encountered is 
>that
> > the modem hangs up in  a few minutes after connection to internet. I 
>have
> > tried several different settings, but they were failed. The driver I use 
>now
> > seems the most updated version. I don't know what causes this problem.
> > Please give some ideas and instructions. I greatly appreciate.
> >
> > Michael Gong
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
> >
> > _______________________________________________
> > hsflinux mailing list
> > hsflinux at lists.mbsi.ca
> > http://www.mbsi.ca/mailman/listinfo/hsflinux
>
>
>_______________________________________________
>hsflinux mailing list
>hsflinux at lists.mbsi.ca
>http://www.mbsi.ca/mailman/listinfo/hsflinux

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the hsflinux mailing list