Click to See Complete Forum and Search --> : no error mssg
mcmillan48
03-17-2002, 03:03 AM
i was on xchat and comp froze and I couldn't get out of it so I had to reset.When I went to open internet connection I got to dialing and it said can't open modem with no accompanying error mssg. I checked all the settings and they are the same as before where do I look to find out why? The modem works on windows98 so its not it.
carlywarly
03-17-2002, 03:20 AM
Probably, there is a lock file still active, stopping you from opening kppp or whatever dialer program you used. ( lock files are created by apps to stop you from opening up a second version of the app at the same time, obviously you can't do 2 connections on a modem at the same time...)
If you are using KDE and KPPP, it will be called kppp.pid and you should be able to find it in your home/.kde2/share/apps/kppp directory.
If you are using another dialer, such as gnome, it will be in your home/.gnome direcrory somewhere ( if necessary, run search for all .pid files )
When you are sure you have the right file, just delete it, and your connection should be fine.
Failing that, open up kppp, enter setup, choose Modem tab, and then open a mini terminal. Then choose reset modem from the menu. That may also help. Good luck.
mcmillan48
03-17-2002, 04:26 PM
I get no such file or directory when I do that,can't find pid files I'm hopeless for crying out loud.I realize this is second nature to most of you but I am relly green at this and am hoping you are not rolling your eyes here but any suggestions would be appreciated. :confused: p.s. also tried the mini terminal to no avail
camelrider
03-17-2002, 04:38 PM
Try "locate lock."
You might have to look through a bunch of results but if you find a file with this name in a directory under /etc/ppp/ it's probably the one you need to delete.
bwkaz
03-17-2002, 05:14 PM
Or try either find /etc -name 'lock.*' (single quotes) or find /var -name 'lock.*' (again, single quotes).
This way, the searching is restricted to only under either /etc or /var.
mcmillan48
03-17-2002, 05:53 PM
Ok this is going to sound stupid as it does to me as I'm typing but I've done what you suggested in both cases and came back no results.when as the second gentleman told me to do the find /etc -name "lock" what is that I should be putting in for name and what is the single quotes?I would like to thank you both for the help. :confused:
mdwatts
03-17-2002, 06:57 PM
Try searching your home directory for a kppp lock file or kppp.pid
find /home/<username> -name 'lock*'
find /home/<username> -name 'kppp.pid'
Or try searching the entire filesystem for kppp.pid
find / -name 'kppp.pid'
mcmillan48
03-17-2002, 07:30 PM
I still get "no such file or directory" I am obviously not getting this.I am totally ignorant here so forgive me for being frustrating.What am I doing wrong I would love to figure this out. :confused:
mdwatts
03-17-2002, 07:47 PM
Which of those commands are you getting the error message? You are not typing <username> as is are you?
/home/mcmillan
Just try
find / -name 'kppp.pid'
and the same for lock and it will search your entire filesystem.
bwkaz
03-17-2002, 08:40 PM
My find argument was supposed to be single quote (a.k.a. apostrophe), lock, period, star, single quote. The star is shift-8.
Yeah, just try what WattsMD suggested, search the entire filesystem. Be prepared to wait a while though, because it won't come back soon.
mcmillan48
03-17-2002, 09:40 PM
Ok This is what I got (/var/lock) ,(/root/.netscape/lock) and (/usr/x11r6/lib/xii/xkb/symbols/lock) Ok what do I have and what do I do? Thanks everybody for your patience Oh yeah and (find:/proc/5/fd :permission denied
mdwatts
03-18-2002, 07:51 AM
Sorry I don't know myself as I was just trying to help with the locating of those files. I've never used a modem or kppp with Linux.
How about doing that same search of the filesystem for kppp.pid as that would be my guess as to the file that needs to be deleted.
Anyone else know?
mcmillan48
03-19-2002, 12:21 AM
thanks everyone for your patience and help.System (o/s)got trashed which makes this question redundant.(helpful friend)Off to reinstall.Thanks again