Click to See Complete Forum and Search --> : kppp daemon died...unexpectedly


achtung
02-04-2001, 05:14 PM
After trying to connect to my ISP with kppp, I get the following messages in the log...

linux pppd[731]
pppd 2.3.11 started by root, uid 0
Perms of /dev/ttyS1 are ok, no 'mesg n' necessary
ioctl (PPPIOCGFLAGS): invalid argument
tcsetattr:Invalid argument
Exit

I am running kernel 2.4.1 under SuSE 7.0, and I have a US Robotics model 5610A modem. I also tried to use kinternet, but an exit code of 1 shows up. Any ideas on what might be wrong? TIA

Gweedo
02-04-2001, 07:24 PM
try upgrading the ppp daemon to 2.4 and see if you still get the same problems.

Here is a link to the rpm:

http://rpmfind.net/linux/rpm2html/search.php?query=ppp


Suse may have their own version at www.suse.com (http://www.suse.com)

achtung
02-06-2001, 07:20 PM
I downloaded ppp-2.4.0b2-1-i386.rpm and tried to install it using the rpm command. However, I get the message:

Failed dependencies
linux-kernel-binary >= 2.2.3 is needed

I am running kernel 2.4.1, and I have the kernel sources installed under /usr/src/linux, so what gives?

Secondly, I'm not so sure that upgrading my ppp software will solve my connection problems. I've made two changes to the ppp config file in the hopes that it would make it work.....I changed auth to noauth, and I put # in front of lock, which was recommended on the SuSE website. It still won't work. I even tried connecting using gnome ppp. One thing I noticed is that the message 'ppp0 interface not found'.....I think that's what it says.....keeps coming up every time the modem is about to connect. What does this mean?

Thanks again

ColdPack
02-06-2001, 08:02 PM
Are you sure your modem is at /dev/ttyS1? If it's COM1 in windoze, it would be /dev/ttyS0, COM2 = /dev/ttyS1, etc...
Also, did you give permission to regular users to /dev/ttySX(X=whatever one it is)?
While I use debian, these following steps done at the command line may help you.

I gave the pppd file rx permission for users:
chmod a+rx /usr/sbin/pppd

I made /usr/sbin/pppd setuid for root
chmod +s /usr/sbin/pppd

and made the port accessible for users
chmod a+rw /dev/ttyS1

See if some of that nonsense helps you. Using Suse, your mileage may vary, as they say. Some of those directories/files may be different for you. I'm not sure.

achtung
02-06-2001, 08:54 PM
I am positive that my modem is at dev/ttyS1. I entered all three scripts that you recommended at the terminal, but the same error messages keep coming up. I can't even run the logfile for some reason, it keeps on displaying the message 'Can't open ppp logfile'. I've tried to connect both as root and as a regular user.

The command ls /etc/ppp indicates that the following files are installed on my computer:

auth-up, auth-down, callbycall.secrets, chap-secrets, ioptions, ioptions.YaST, ip-up, ip-down, options, options~, pap-secrets, peers, plugins, poll.tcpip

Should files like ppp-on, ppp-on-dialer, etc. be in there as well? I'm starting to run out of ideas on what to do. My ISP is CoreComm, and they supposedly support Linux according to their site.

Sorry if some of my questions sound a bit naive, I just started using Linux about a week ago. I must say that I love it so far, though.

njcajun
02-06-2001, 09:55 PM
...my daemons die all the time, but I expect it, so it's ok. :)

Seriously, though, there are a couple of issues here (maybe).

First, tell me how you know that the current running kernel is 2.4? The error you got about the failed dependencies raises a suspicious brow \:[

Second, have you tried using wvdial? I found that this sometimes gives me better, more useful info, and it even worked a couple of times when kppp didn't :eek:

achtung
02-06-2001, 09:59 PM
The command uname -r tells me that I'm running kernel 2.4.1 . I'll give mvdial a shot.

While I'm here I have another question to pile on top of the others. I somehow corrupted my /sbin/init.d/boot.local file (was logged in as root when I shouldn't have been!). Any other SuSE users know how to restore that file? I'm not sure if it would have any affect on my internet problems, but it's worth a try.

-mvdial didn't work either....where do I go from here?
:confused:

[ 06 February 2001: Message edited by: achtung ]

flintstone
02-06-2001, 11:57 PM
maybe this will help u. it did when kppp used to ask me for password and then die
www.kppp-archive.freeserve.co.uk/console.html (http://www.kppp-archive.freeserve.co.uk/console.html)

njcajun
02-07-2001, 12:23 AM
PS - it's WVDIAL - with a 'w'.

achtung
02-07-2001, 11:32 PM
I still wasn't able to get wvdial to work. At the recommendation of another Linux user, I downloaded eznet and installed it on the system. I still get the same error message, the one that occurs under all of the dial-up programs......"ioctl (PPPIOCGFLAGS):invalid argument". Also, does anyone know why I get the message "failed dependencies kernel >= 2.2.3 needed" when I try to install the latest ppp software? I am absolutely positive that my system has kernel 2.4.1, I just upgraded it the other day.