LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2006, 03:42 AM   #1
Infernal211283
Member
 
Registered: Nov 2004
Location: Mid. East / Israel
Distribution: Slackware 10.2, Gentoo
Posts: 157

Rep: Reputation: 30
Some PPP Questions


I started to learn how to configure a ppp connection, as far as i understand now there is a configuration file that has all kinds of parameters and software like 'wvdial' uses this file for dialing

I also saw in some document that the baud rate in the configuration file is the rate of the UART not the modem...
So how can i know what my UART is capable of without messing with my CPU's guts?

I have 2 more questions.. if i understand correctly, according to the manual of wvdial:

" [Dialer Defaults]
Modem = /dev/ttyS2
Baud = 57600
Init = ATZ
Init2 = AT S11=50
Phone = 555-4242
Username = apenwarr
Password = my-password

[Dialer phone2]
Phone = 555-4243

[Dialer shh]
Init3 = ATM0

[Dialer pulse]
Dial Command = ATDP "

if i want to ppp through adsl that connects to my box using ethernet i'll modify the line "Modem = /dev/ttyS2" to something like "Modem = /dev/eth0" (i know there's no such device in /dev/), or for modem connected through usb "Modem = /dev/sda1" ?
 
Old 01-16-2006, 09:10 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Do a
dmesg | less
/SERIAL

That should take you to a block looking like this:
Code:
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en
abled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
In my case the UART Chips is a 16550A with a 16Byte fifo, which should easily
cope with 115200 BAUD.


Cheers,
Tink
 
Old 01-16-2006, 09:25 PM   #3
xinix
LQ Newbie
 
Registered: Sep 2005
Posts: 8

Rep: Reputation: 0
dmesg | grep -i SERIAL
or
dmesg | grep SERIAL
 
Old 01-16-2006, 09:57 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by xinix
dmesg | grep -i SERIAL
or
dmesg | grep SERIAL
Not quite enough, it wouldn't give him the UART.

Maybe with a
dmesg | grep -A 1 SERIAL



Cheers,
Tink
 
  


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
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 06:01 AM
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Some questions about PPPOE & PPP in OpenBSD 3.6 VertX *BSD 1 03-26-2005 07:45 AM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 09:49 PM
PPP questions of another kind =) kadaver Slackware 4 11-16-2003 07:00 PM


All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration