OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by Trevo » Sun, 19 Apr 2009 04:21:24



Hello,

I have researched this for hours and hours and am getting no where.

I just installed OpenSuse 11.1 (KDE). I setup kinternet and setup my
ISP with username and password and correct dialout number.
It also detected my UsRobotics 56k modem just fine as it is connected
via a serial cable. The problem is that no matter what I do it won't
dial. I have check permissions on pppd, pap-secrets, chap-secrets to
no avail. I know this modem works fine as it was working under Ubuntu
just the other day. I am trying out the different distros of Linux and
like what I'm seeing with opensuse.

What might I try to do to get this dialup to work?

Thanks for any help.

Respectfully,

Trev

= = = = = = = = = = = = = = = = = =
Borrowed:
All learning begins in darkness,
eternally searching for the Light!
= = = = = = = = = = = = = = = = = =
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by ibuprofi » Mon, 20 Apr 2009 00:31:40

On Fri, 17 Apr 2009, in the Usenet newsgroup comp.os.linux.networking, in



man pppd Look at the section 'EXIT STATUS'

2 An error was detected in processing the options
given, such as two mutually exclusive options being
used.

then add the option 'dryrun' or 'dump' to /etc/ppp/options


The error message says you have some options that do not work together.
Without knowing what options you have, we can't say. Note also that
SUSE had altered the pppd package to add two or three options that the
maintainers found unsatisfactory and rejected.


It's not permissions, or the modem. See the man page for pppd and
read what the options that you have enabled do.

Old guy

 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by Trevo » Mon, 20 Apr 2009 01:35:47

This is what <Moe Trin> shared with us today ...




Thank you "Old guy". I had already read up on that error and it didn't
really shed any help on the problem as I'm fairly new to Linux.

I added the word dump to /etc/ppp/options but don't know where to look
from there. Does that create a log file somewhere I can look at?

Also, do you know which file gets updated when I'm using Kinternet?
When I was using Ubuntu, I got it all to work using wvdial.

I find it so frustrating that most distros of Linux seem to make you
fight hard to get dial-up to work.

What distro of Linux would you recommend for dial up users and user
friendliness?

Thanks again!
Respectfully,

Trev

= = = = = = = = = = = = = = = = = =
Borrowed:
All learning begins in darkness,
eternally searching for the Light!
= = = = = = = = = = = = = = = = = =
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by ibuprofi » Mon, 20 Apr 2009 05:32:32

On Sat, 18 Apr 2009, in the Usenet newsgroup comp.os.linux.networking, in



What it _should_ do is to provide output to the place where you are running
the command (stdout), but I guess Kinternet is stealing that device.
Become root, and _move_ the file /etc/syslog.conf to a safe spot, and make
a copy of it:

[compton ~]#
mv /etc/syslog.conf /etc/syslog.conf.original
cp /etc/syslog.conf.original /etc/syslog.conf
[compton ~]#

Now add the following line to /etc/syslog.conf (you have to be root to do
this as well) using your favorite editor:

daemon.debug /tmp/some.file.name

and then check that your editing has ONLY added that one line:

[compton ~]$ diff /etc/syslog.conf.original /etc/syslog.conf
19a20
>daemon.debug /tmp/some.file.name
[compton ~]$

The '19a20' may show different numbers, as 'diff' is telling that the
only difference in those two files is the addition of line 20 which
says mumble, mumble, and so on. As long as this is the ONLY change
you make, we're fine. If you *** up, you can run that 'cp' command
again, to copy the original back. Once you've got this line added,
tell the syslog daemon to re-read the configuration file

killall -HUP sysklogd

and then run Kinternet. This should put data into the file you've
identified (/tmp/some.file.name). After you're finished with this
task, you can move the original /etc/syslog.conf to stop adding the
log data to the temporary log file.


Sorry - I'm a dinosaur, and use a simple three line script to run
dialout. I don't use KDE or Gnome, as I got rid of DOS/windoze back
in 1992.


Yes, dialup is getting less popular, and no one ever developed a good
simple tool to run pppd. Every application author seems to have been
caught up in the mystique that using *nix is complicated and dialin is
no exception. They seem to miss the fact that when microsoft invented
the telephone in 1995, they forced all of the ISPs in the world to use
a simple non-shell based connection mechanism. Copying the function
of windoze DUN into a *nix tool should be easy, but everyone is off
doing their own thing even if they haven't got a clue as to how simple
it could be.


That would be an opinion, and the question has been asked many, many
times. The answers vary as each person is sure that the distribution
they are using is the best - after all, why would they use anything
else? If you've been to www.distrowatch.com, you would find that
there are over three hundred different distributions, and probably
a thousand opinions of which one of those is the right one.

Old guy
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by Gther Schw » Wed, 22 Apr 2009 04:50:27


If you have a working wvdial.conf on Ubuntu your chances are high that
it will work with SuSE Linux as well. You might have to run it as root.
But then there is no need to use Kinternet if you do not like it.
As the subject line gives 11.1: install all patches, pray and read
https://bugzilla.novell.com/show_bug.cgi?id=429772#c22
This is related to name resolution, so it won't be the source of your
problem.

Gnther
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by Trevo » Fri, 24 Apr 2009 01:53:26

This is what <Gther Schwarz> shared with us today ...



Thanks for your reply. I will try the patches and am hoping I can get
those from a windows computer that does work on dialup.
I don't need to use kinternet but wouldn't mind using a gui for
dialing rather than more typing. But heck, what's a few more
keystrokes?

I have browsing the internet and see that there are many many people
with similar issues using modems. Thanks also for the bugzilla report.
That may be most of the problem but am uncertain at this point.

The only way for me to get broadband is satellite where I live. It is
pricey but I may be forced to switch.

thanks again...
Respectfully,

Trev

= = = = = = = = = = = = = = = = = =
Borrowed:
All learning begins in darkness,
eternally searching for the Light!
= = = = = = = = = = = = = = = = = =
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by Gther Schw » Fri, 24 Apr 2009 03:31:41


For me it is faster to set up and use wvdial as compared to kinternet.


Mobile broadband (3G) does get more and more common as well as
affordable. But not in remote areas, of course ;-)
In case Ubuntu works just fine while SuSE Linux doesn't I'd rather
change the distribution than spending a lot of time with debugging. You
might also run the modem on an embedded router with OpenWRT or the
like. This way the modem has to be configured just once, and all
systems have simultaneous net access.

Gther
 
 
 

OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

Post by ibuprofi » Sat, 25 Apr 2009 04:56:05

On Wed, 22 Apr 2009, in the Usenet newsgroup comp.os.linux.networking, in






[galileo ~]$ cat /etc/ppp/options | column
lock crtscts nodetach defaultroute
/dev/modem modem 115200 noipdefault
[galileo ~]$ ls -l /etc/ppp/*ap-secrets /etc/resolv.conf
-rw------- 1 root root 99 Jun 16 2008 /etc/ppp/chap-secrets
-rw------- 1 root root 94 Jun 16 2008 /etc/ppp/pap-secrets
-rw-r--r-- 1 root root 49 Jun 16 2008 /etc/resolv.conf
[galileo ~]$ cat /usr/local/bin/dialin.example
exec /usr/sbin/pppd user XXXX@XXXXX.COM connect "/usr/sbin/chat
ABORT BUSY \"\" AT\&F1 OK ATDT26662902 CONNECT \"\c\d\""
[galileo ~]$

Watch the quotes and backslashes in the dialin file. That is all one
long line, 119 characters long. You could make it into two lines:

exec /usr/sbin/pppd user XXXX@XXXXX.COM connect "/usr/sbin/chat \
ABORT BUSY \"\" AT\&F1 OK ATDT26662902 CONNECT \"\c\d\""

but make sure nothing follows the \ at the end of the first line - it's
hiding the line break. (The 'connect' option expects one argument, and
is quoted to hide spaces, etc. However, /usr/sbin/chat also needs some
stuff to be quoted, and the backslashes are hiding the quote characters
and ampersand ['&'] from the 'connect' string and shell.) The dialin
file is one of 12 here, because I have several ISPs, each one having
several different phone numbers. Here, the /etc/ppp/options file
contains only the "common to all ISP" options (one option per line).
Note that the string that follows the 'user' (here,
" XXXX@XXXXX.COM ") is the username at the ISP, and must match the
entry in /etc/ppp/*ap-secrets depending on the authentication scheme
(PAP or CHAP) used by your ISP. Each dialin file differs in username
and telephone number, so all I have to remember is that 'dialin0'
through 'dialin3' gets one ISP, and so on. So terribly hard to do.


Yeah, Ubuntu (actually Debian) made fewer ``improvements'' to the ppp
package than SUSE did.

Old guy