Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
when i am playing with the net after awhile (or when i bump my pcmcia slot or the cord wiggles) it loses connection.. but it leaves the modem open
so i cant disconnect even when i kill kppp.. is there a way i can free up the modem without rebooting?
if so how?
hi
don't know if this will work, but i use it from time to time to
check and free up my cdrom, because some prog or process
is claiming it and therefore i can't unmount it.
try
lsof /dev/modem (or any link/device you know for certain that
is connected to your modem device)
do a kill -9 idnumberofprocess
o and make sure you are root before trying this
good luck
ok
first when i type isof or lsof (or Isof) it dosent know the command
and to lynch-
in setup all i could find is disconnect on x-server shutdown
that is already marked
i put on auto reconnect
but the problem is
when you get the resolving host thing happening
you can tell it to disconnect
its just the modem is still being used after you are disconnected from the internet
so it dosent let you reconnect
just says "modem is busy"
Since it sounds like although you lose the connection (seemingly) to your ISP, the modem is not resetting itself unless you reboot obviously. I can't say why, but I do believe that you could try updating pppd or, along with the other suggestions do---> killall pppd
That usually kills any link between my modem and pppd.
I was typing from memory,which is always a bad proposition.
Disconnecting on Xserver shutdown was what I was referring to.Funny but thats worked for me.
If it's not too big of problem, and you have the option to restart on Xserver shutdown, why not do an Xserver shutdown? CTRL+ALT+F2 and login, then type init 3 That will kill your Xserver, then you can type either init 5 or startx, and start it over again. Better than restarting anyway. Or, like has been suggested a few times, kill pppd.
rpm -qa|grep -i lsof
should return the name of the package
like for inst lsof-4.60-1mdk
if not install it from one of your cd's
rpm -ivh lsof-4.60-1mdk or use rpmdrake to do this
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.