[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPP connection.



On Tue, Dec 05, 2000 at 03:12:06PM -0800, Junaedi Kartawijaya wrote:
> I use pppconfig. 

Do You try connect as a root or as a user?
(I can as a root and as a selected user...)

Try wvdial - is better and most simply (there is also kwvdial for
KDE)

> I add the user to 'dip' group and 'dialout' group 

Have You a "set uid root" for /usr/sbin/pppd?

Have You a "group right to write" for device /dev/ttyS0?

In my system:

debian:~# ls -l `which pppd`
-rwsr-x---    1 root     dip        183504 lis 11 00:33
/usr/sbin/pppd
debian:~# ls -l /dev/ttyS1
crw-rw----    1 root     dialout    4,  65 gru  6 21:53
/dev/ttyS1


> (for /dev/ttyS0).

Why /dev/ttyS0? This device is often "reserved" for a mice.
I've ps2 mouse on /dev/psaux but modem is on /dev/ttyS1.
As a ttyS0 doesn't want to work!!!

Usual wvdial can scan ports and "find" properly modem.

> pon <connectionname> starts the connection. However, when I try to
> telnet (outside), a message appears: 'Hostname lookup failure'.
> My /etc/ppp/resolv/ contains files. Each contains:
> nameserver xxx.xxx.xxx.xxx
> nameserver xxx.xxx.xxx.xxx

It looks as a DNS problem. In /etc/resolv.conf must be right DNS
server (depends on your ISP).

best regards


-- 
~~~~~~~   /*       | 
QLIVER  /  |     / | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~/____|   /   | ~~~~~~~~~Marcin Landowski~~~~~~~~
      _    | /_____| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   *_|o|___|_______|______@   qliver@koti.pl~~~~~~~~~~
~~~ \___________________/ ~~~~qliver@poczta.wp.pl~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	 



Reply to: