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!
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.
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?
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.
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
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.
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.