LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-06-2005, 12:15 PM   #1
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Rep: Reputation: 30
Kubuntu Kppp dial-up tool


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.

Any suggestions or comments are welcome.
 
Old 09-07-2005, 10:12 AM   #2
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
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.
 
Old 09-07-2005, 12:53 PM   #3
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
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.
 
Old 09-07-2005, 02:45 PM   #4
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
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).
 
Old 09-07-2005, 06:07 PM   #5
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
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

Last edited by obnascar; 09-07-2005 at 07:42 PM.
 
Old 09-07-2005, 09:21 PM   #6
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
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.
 
Old 09-08-2005, 09:18 AM   #7
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Kubuntu Kppp dial-up tool

obnascar:~# ls -l /dev/modem
ls: /dev/modem: No such file or directory

obnascar:~# lspci
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:02:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
 
Old 09-08-2005, 09:16 PM   #8
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
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:

dmesg | grep -3 ttyS
 
Old 09-09-2005, 08:52 AM   #9
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Kubuntu Kppp dial-up tool

Quote:
Originally posted by snarkout
You have an external modem hooked to one of your serial ports, correct?


Yes that is correct:

Emachines:~# dmesg | grep -3 ttyS
ts: Compaq touchscreen protocol output
input: PC Speaker
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
parport_pc: Ignoring new-style parameters in presence of obsolete ones
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
 
Old 09-09-2005, 09:08 AM   #10
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
Okay - perfect. Try using "/dev/ttyS0" as the device in pppconfig rather than /dev/modem.
 
Old 09-09-2005, 09:41 AM   #11
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Quote:
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 ?

Last edited by obnascar; 09-09-2005 at 10:46 AM.
 
Old 09-09-2005, 11:32 AM   #12
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
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'
 
Old 09-09-2005, 03:46 PM   #13
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
Strange. Post the output of:

cat /etc/ppp/resolv.conf

and

cat /etc/ppp/peers/provider

There shouldn't be any reference to /dev/modem in provider if you used /dev/ttyS0.
 
Old 09-09-2005, 08:06 PM   #14
obnascar
Member
 
Registered: Aug 2005
Location: Wisconsin USA
Posts: 185

Original Poster
Rep: Reputation: 30
Kubuntu Kppp dial-up tool

Ok, here ya go snarkout !

--------------------------------------------------------------------------------
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
-----------------------------------------------------------------------------------
 
Old 09-09-2005, 09:52 PM   #15
snarkout
Member
 
Registered: Apr 2005
Location: The Land Of Entrapment
Posts: 77

Rep: Reputation: 15
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!)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KPPP crashing on dial Klaus Paiva Linux - Software 1 11-20-2005 05:28 AM
Dial-up/KPPP/GNOME Cards_STL Linux - Networking 5 11-01-2005 02:57 PM
Cousin having trouble with dial up in kppp with SBC dial, please help Fear58 Linux - Networking 1 07-03-2004 09:11 PM
fedora network configuration tool and kppp? carjumble Linux - Networking 1 12-22-2003 06:51 PM
pppsetup v. KPPP in dial-up use rich442 Slackware 7 04-15-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration