ritu@ritu-laptop:~$ wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get 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+CSQ
AT+CSQ
+CSQ: 14,99
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Oct 15 15:38:30 2008
--> 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: 5795
--> Disconnecting at Wed Oct 15 15:38:30 2008
--> The PPP daemon has died: pppd options error (exit code = 2)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> The PPP daemon has died. (exit code = 2)
ritu@ritu-laptop:~$ cat /etc/udev/rules.d
cat: /etc/udev/rules.d: Is a directory
ritu@ritu-laptop:~$
Tuollaiset tuli siis kun mokkula kiinni, mutta pimeänä. Piti laittaa verkkoon jotta sain nämä tulosteet. Loppuja laittelen kohta.
Tässä muutamia lisää:
ritu@ritu-laptop:~$ ls -l /usr/bin/wvdial /usr/sbin/pppd /etc/ppp /etc/ppp/peers
-rwxr-xr-x 1 root root 103068 2008-01-03 21:28 /usr/bin/wvdial
-rwsr-xr-- 1 root dip 269256 2007-10-04 22:57 /usr/sbin/pppd
/etc/ppp:
yhteensä 72
-rw------- 1 root root 102 2008-10-15 10:11 chap-secrets
-rwxr-xr-x 1 root root 1754 2007-10-04 22:57 ip-down
drwxr-xr-x 2 root root 4096 2008-10-02 20:48 ip-down.d
-rwxr-xr-x 1 root root 1892 2007-10-04 22:57 ip-up
drwxr-xr-x 2 root root 4096 2008-10-02 20:48 ip-up.d
-rwxr-xr-x 1 root root 784 2007-10-04 22:57 ipv6-down
drwxr-xr-x 2 root root 4096 2007-10-04 22:57 ipv6-down.d
-rwxr-xr-x 1 root root 922 2007-10-04 22:57 ipv6-up
drwxr-xr-x 2 root root 4096 2007-10-04 22:57 ipv6-up.d
-rw-r--r-- 1 root root 13486 2007-10-04 22:57 options
-rw------- 1 root root 1650 2008-10-15 10:11 pap-secrets
drwxr-x--- 2 root root 4096 2008-10-01 16:26 peers
-rwxr-xr-x 1 root root 137 2007-10-04 22:57 pppoe_on_boot
drwxr-xr-x 2 root root 4096 2007-06-22 07:55 resolv
-rw-r--r-- 1 root root 50 2008-10-15 10:11 resolv.conf
ls: hakemiston /etc/ppp/peers avaaminen ei onnistu: Permission denied
ritu@ritu-laptop:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ritu@ritu-laptop:~$ ping
www.csc.fiping: unknown host
www.csc.firitu@ritu-laptop:~$ ls -l /usr/bin/wvdial /usr/sbin/pppd /etc/ppp /etc/ppp/peers
-rwxr-xr-x 1 root root 103068 2008-01-03 21:28 /usr/bin/wvdial
-rwsr-xr-- 1 root dip 269256 2007-10-04 22:57 /usr/sbin/pppd
/etc/ppp:
yhteensä 72
-rw------- 1 root root 102 2008-10-15 10:11 chap-secrets
-rwxr-xr-x 1 root root 1754 2007-10-04 22:57 ip-down
drwxr-xr-x 2 root root 4096 2008-10-02 20:48 ip-down.d
-rwxr-xr-x 1 root root 1892 2007-10-04 22:57 ip-up
drwxr-xr-x 2 root root 4096 2008-10-02 20:48 ip-up.d
-rwxr-xr-x 1 root root 784 2007-10-04 22:57 ipv6-down
drwxr-xr-x 2 root root 4096 2007-10-04 22:57 ipv6-down.d
-rwxr-xr-x 1 root root 922 2007-10-04 22:57 ipv6-up
drwxr-xr-x 2 root root 4096 2007-10-04 22:57 ipv6-up.d
-rw-r--r-- 1 root root 13486 2007-10-04 22:57 options
-rw------- 1 root root 1650 2008-10-15 10:11 pap-secrets
drwxr-x--- 2 root root 4096 2008-10-01 16:26 peers
-rwxr-xr-x 1 root root 137 2007-10-04 22:57 pppoe_on_boot
drwxr-xr-x 2 root root 4096 2007-06-22 07:55 resolv
-rw-r--r-- 1 root root 50 2008-10-15 10:11 resolv.conf
ls: hakemiston /etc/ppp/peers avaaminen ei onnistu: Permission denied
Nää komennot tosi hankalat toteuttaa, kun ei verkossa...