LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Some PPP Questions (https://www.linuxquestions.org/questions/linux-newbie-8/some-ppp-questions-403896/)

Infernal211283 01-16-2006 02:42 AM

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" ?

Tinkster 01-16-2006 08:10 PM

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

xinix 01-16-2006 08:25 PM

dmesg | grep -i SERIAL
or
dmesg | grep SERIAL

Tinkster 01-16-2006 08:57 PM

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


All times are GMT -5. The time now is 11:25 PM.