Menjalankan wvdial menggunakan user biasa

Secara default, saat kita menjalankan dialer menggunakan wvdial, memerlukan akses root/sudo.
Tapi ada cara agar user biasa memungkinkan menjalankan wvdial, dengan cara :

$su
Password:
#adduser yourname dip
#adduser yourname dialout
#chmod 664 /etc/wvdial.conf

Kemudian logout dari sistem dan login lagi untuk mengaktifkannya
dan test
~$ wvdial axis
--> WvDial: Internet dialer version 1.60
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","axis"
AT+CGDCONT=1,"IP","axis"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Wed Jan 18 14:58:40 2012
--> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 7685
--> Using interface ppp0
--> local IP address 10.90.69.42
--> remote IP address 10.64.64.64
--> primary DNS address 203.78.115.215
--> secondary DNS address 203.78.120.215

dan wvdial running menggunakan user biasa 🙂

Sebetulnya ada alternatif lain lewat sudoers, tapi mudah-mudahan bisa di lain waktu

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: