LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Kubuntu Kppp dial-up tool (https://www.linuxquestions.org/questions/ubuntu-63/kubuntu-kppp-dial-up-tool-360761/)

obnascar 09-10-2005 10:56 AM

Quote:

Originally posted by snarkout
Well, here's where the "/dev/modem" issue is coming from.

# Default modem (you better replace this with /dev/ttySx!)
/dev/modem



Sorry snarkout, I am getting confused here ! I tried everything you suggested in your last post and nothing changed. Am I supposed the change /dev/modem with /dev/ttyS0 in some file manually ? I can not find any file in fact that has a /dev/modem in it. Please let me know where I can find this.

Also, you wanted me to post the provider file again. Nothing changed so I didn't think it would be necessary. Still shows: " # Default modem (you better replace this with /dev/ttySx!)
/dev/modem"


snarkout, I appreciate the effort you are putting into this with me,
jerry

snarkout 09-10-2005 11:21 AM

No problem!

Okay - I guess I should ask - are you running pppconfig from the command line? You may need to do:

sudo pppconfig

When you type that in a console window, it should start menu driven, curses based app that asks you to answer questions about your modem and ISP. This is the program that generates the /etc/ppp/peers/ files. Provider is just the default name for the configuration you've setup. Once you've finished, you should have a file that looks like this:

Code:

# This optionfile was generated by pppconfig 2.3.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/ttyS111
115200
defaultroute
noipdefault
user "snarkout"
remotename provider
ipparam provider

usepeerdns

The file you've posted appears to me to be an unedited default configuration file - one that will not work. If you have been running pppconfig from the command line, have you been choosing to save your settings? If not, I believe the default setting is to revert to the default file you've posted. If you have already done all this, try creating a new connection, and naming it "my-isp" - once you are finished, do:

pon my-isp

and see what happens. My guess, though, is that somehow we've never completed a pppconfig session successfully/correctly.

obnascar 09-10-2005 01:22 PM

Originally posted by snarkout
No problem!

Okay - I guess I should ask - are you running pppconfig from the command line? You may need to do:
Code:

sudo pppconfig


Yes, I have been using the sudo command line.

Ok, here it is, hot off my Kubuntu /ect/ppp/peers/provider directory:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# This optionfile was generated by pppconfig 2.3.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/Centurytel"
debug
/dev/ttyS0
115200
defaultroute
noipdefault
user "XXXXXXXX"
remotename Centurytel
ipparam Centurytel

usepeerdns
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is the way it has been from the get-go. What do you think ? Let me know !
Now I am not so confussed..........LOL........as long as I figured out which file it was that you needed.

snarkout 09-10-2005 02:21 PM

Okay - now I'm completely confused. If you cat /etc/ppp/peers/provider, which output do your get? The first one you posted (with the /dev/modem line) or the second one (the one you just posted)? The second one looks like it should work fine. I guess you can try:

pon provider

and see how that works. You shouldn't get any errors having to do with /dev/modem since your provider file has the correct tty port listed. If it doesn't please try the suggestion I made in my last post - create a new connection config named my-isp, and try to pon that config.

obnascar 09-10-2005 04:15 PM

Originally posted by snarkout
If you cat /etc/ppp/peers/provider, which output do your get?


obnascar@ubuntu:~$ sudo cat /ect/ppp/peers/my_ISP
Password:
cat: /ect/ppp/peers/my_ISP: No such file or directory

(The directory and file do exist)

I guess you can try:

pon provider


Same: "/user/sbin/pppd: in file /ect/ppp/peers/provider: unreconized option '/dev/modem"

create a new connection config named my-isp, and try to pon that config.

------------------------------------------------------------------------------------
# This optionfile was generated by pppconfig 2.3.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/my_ISP"
debug
/dev/ttyS0
115200
defaultroute
noipdefault
user "XXXXXXXX"
remotename my_ISP
ipparam my_ISP

usepeerdns

--------------------------------------------------------------------
I'm so slow at navigating around in Kubunbu, but it is getting better, ha ha !

snarkout 09-10-2005 07:03 PM

AH! I think I see what you're doing here - that file you posted last time was called Centurytel, not provider.


What happens now if you do:

pon my_ISP

or

pon Centurytel

?

obnascar 09-10-2005 08:00 PM

Snarkout, I didn't tell you, just before my last post I wiped off my install of Kubuntu and reinstalled. I didn't like the swap size or partition size anyway. Do not know if that had anything to do with it but I just booted up Kubuntu, run "sudo pon my_ISP and it dialed out and connected right away. In fact I am doing this post from it.

Your hard work helping me paid off. Now I can start to get familiar with Kubuntu, I'm excited ! What was this a full week I think at least, and two full web pages of post.......WHEW !

thanks again Snarkout, see you in the forums again (but not on this subject I hope),
jerry

snarkout 09-10-2005 08:18 PM

Excellent! I'm glad everything worked out in the end, even if it involved a reinstall. I hope you enjoy kubuntu.

Marewani 09-11-2005 10:09 AM

kppp not works
 
I my problem using kppp with kubuntu.
I tried to launch kppp by console and I gave the following error message:
> Segmentation fault

and I don't know what it means!
I use a laptop but I don't use the internal modem rather than an external one: the fun is that with ubuntu gnome everything works fine and even if I use the gnome network-admin tool under kubuntu the modem works as well!
Someone can help me?
Thanks a lot

:D

snarkout 09-11-2005 11:49 AM

Marewani,


The story:
Seg Faults are, in non-technical terms, bad, bad crashes. I'm sure you guessed that on your own.
kppp, as far as I can tell, seems to be badly broken in one way or another under kubuntu.

The good news:
You've found something that works - stick with it until kppp is fixed.

The disclaimer:
I can't swear kubuntu's kppp is broken, only that I have never had trouble with it with other distros, and that I don't personally know anyone who has been able to get it to work. This may be extremely bad luck on my part. If someone can say for certain it isn't broken, I'd love to know it.

Marewani 09-13-2005 12:14 PM

kppp
 
kppp seems to work fine: it finds modem; the console works as well, initializing the modem wich gets ready at the end. If try to connect from the gui, kppp starts to initialize the modem then crash. I think I made some mistakes somewhere, rather than have found a bug in kppp... sigh!
Thank you a lot!


All times are GMT -5. The time now is 10:14 PM.