UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Kubuntu right now set up on a dual boot with Linspire five-0. I set up the Kppp tool in Kubuntu with the same info as I did in Linspire .
But, my problem in Kubuntu is, it dials up fine but then freezes at the: logging on to network. When I lift up a telephone on the line it has a dial tone. To me that would indicate that it has hung up for some reason.
Has anyone ever had this happen and knows what the solution is, or would anyone else know what the fix would be. Maybe it is just a simply thing as re-adjusting some setting in configuring.
My modem is a "Actiontec", 56k, v.90 external serial port.
Try running kppp from the command line (open up konsole and type kppp there) and see what output it gives you. It appears to me that ubuntu's kppp is broken - it's never been able to create a ppp0 interface for me. No other distro I use has this problem, and using pppconfig and pon from the command line works perfectly.
Originally posted by snarkout Try running kppp from the command line (open up konsole and type kppp there) and see what output it gives you.
using pppconfig and pon from the command line works perfectly.
Hi snarkout, I did have some documentation on using the command line which sounds simular to what you are speaking about. I most likely did something wrong. I entered my info but did not know for sure what "pon" is ? Sounds like I need "pon". Are there any hints, tips or tricks that you can give me about "pon" and then I will try it, ok ? I am used to using Kppp.
I will boot up Kubunta and see what the output says and will post back with that.
Start by running kppp from the command line - it will dump a good bit of log info to the console when you do this. My guess is that you'll get a long string of "interfece ppp0 not found" messages. Also query the modem in kppp, but my guess is that if it actually initializes and dials, everything there is fine with the modem/tty port/driver.
Start there, and see what you find out. Beyond that, look at the man pages for pppconfig and pon. Pppconfig is a command line utility that creates a modem config for you. Pon is a command line utility that dials out for you (poff hangs up).
snarkout wrote:
Start by running kppp from the command line - it will dump a good bit of log info to the console when you do this. My guess is that you'll get a long string of "interfece ppp0 not found" messages. Also query the modem in kppp, but my guess is that if it actually initializes and dials, everything there is fine with the modem/tty port/driver.Start there, and see what you find out.
When I ran the command line "Kppp" I did not get ppp0 not found, instead I got about two pages full of /dev/ttyS0 thur /dev/ttyS48 and other odd dev's. Yes the modem query in Kppp, initializes, and dials.
Beyond that, look at the man pages for pppconfig and pon. Pppconfig is a command line utility that creates a modem config for you. Pon is a command line utility that dials out for you (poff hangs up).
I did try though to use the documentation that I had for setting up ppp in a terminal.
After I set ppp up in the command line, when I run "pon", I get this: /user/sbin/pppd: in file /ect/ppp/peers/provider: unreconized option '/dev/modem'
So what is this unreconized option '/dev/modem' mean ?
When I did use the Kppp tool I always got this error: /etc/resolv.conf is missing or can not be read. That file does exist and has read & write permission but does not have exec. Does it need exec ? If so I am not able to figure out how to change it because the options are grayed out. Does the ppp I set up in the terminal also use this file ?
If you need anything else just let me know....thanks
Looks like pppconfig wants the actual ttyS device you are using. This might be simple, or might take a little work. in a console, do:
ls -l /dev/modem
if your response shows the /dev/ttyS# it's linked to, just substitute that for /dev/modem in ppp config and/or kppp. If there is no /dev/modem, or it isn't linked to anything, post the output of:
lspci
resolv.conf shouldn't need anything more than rw-r--r-- and be owned by root (this means root can read and write, and everyone else can read it). However, you probably want to use dynamically provided dns rather than putig IPs in in any event. In kppp this would mean choosing "automatic" on the account setup DNS tab.
Oops - I just reread your first post, and saw this: "Actiontec", 56k, v.90 external serial port." I've been making the incorrect assumption that you have an internal modem or pcmcia card. You have an external modem hooked to one of your serial ports, correct? If that's the case, please post the output of:
Originally posted by snarkout Okay - perfect. Try using "/dev/ttyS0" as the device in pppconfig rather than /dev/modem.
Well, that is the bad news snarkout, /dev/ttyS0 is what I have it set to now and is what I originally had it set at also. Sorry, I did not post what device I actually had it set on or other ones I tried.
Is this begining to look like a lost cause ? If it is I'll just remove Kubuntu for now and replace it with PCLinuxOS. I should have tried the ubuntu live CD first, dah !
But if there is someting else I can try, just let me know, ok ?
I tried the sudo pppconfig/sudo pon from the ubuntu live CD. It partly worked. It would dial out but would not connect, the same thing as when I used the Kppp tool in Kubuntu.
Now the question is, why in Kubuntu is it giving me this error as mentioned in a previous post:
After I set ppp up in the command line, when I run "pon", I get this: /user/sbin/pppd: in file /ect/ppp/peers/provider: unreconized option '/dev/modem'
--------------------------------------------------------------------------------
obnascar:~# cat /etc/ppp/resolv.conf
nameserver 207.230.192.251
nameserver 209.142.152.253
---------------------------------------------------------------------------------
obnascar:~# cat /etc/ppp/peers/provider
# These are the options to dial out to your default service provider.
# Please customize them correctly. Only the "provider" file will be
# handled by poff and pon (unless with extra command line arguments).
# You usually need this if there is no PAP authentication
noauth
# The chat script (be sure to edit that file, too!)
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
# Set up routing to go through this PPP link
defaultroute
# Default modem (you better replace this with /dev/ttySx!)
/dev/modem
# Speed
38400
# Keep modem up even if connection fails
persist
-----------------------------------------------------------------------------------
Well, here's where the "/dev/modem" issue is coming from.
# Default modem (you better replace this with /dev/ttySx!)
/dev/modem
This provider file looks untouched, though, are you certain you ran through all of the pppconfig options?try it again, and choose (assuming your ISP uses standard stuff):
provider is fine here
dynamic dns
PAP (more common IME than CHAP, but if it fails to negotiate, re-reun pppconfig, edit your provider config , and try CHAP)
your username
your password
the default speed should be fine to start with
I'm guessing tone, but pulse if you need to
your correct local dialup access #
Try to have pppconfig detect your modem - if it fails, choose manual and type in /dev/ttyS0 - that's a zero, not an o
save your work and exit
try dialing out again with pon
if this doesn't work, and switching PAP to CHAP doesn't work either, post the provider file again, leaving your password and perhaps username off the post (I forgot that it kept those in plain text - sorry!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.