делаю следующее:
Код: Выделить всё
[root@localhost sasha]# kppp
...
Couldn't find interface ppp0: Нет такого устройства
Kernel supports ppp alright....
но связь устанавливается
инет при этом не виден
думаю с шлюзом я чего-то не то сделал
Помогите увидеть инет.
файл /var/log/messages:
Код: Выделить всё
Jan 24 15:15:29 localhost pppd[6528]: pppd 2.4.4 started by root, uid 0
Jan 24 15:15:29 localhost pppd[6528]: Using interface ppp0
Jan 24 15:15:29 localhost pppd[6528]: Connect: ppp0 /dev/ttySHSF0
Jan 24 15:15:30 localhost pppd[6528]: not replacing existing default route via 192.168.0.1
Jan 24 15:15:30 localhost pppd[6528]: local IP address 212.57.172.14
Jan 24 15:15:30 localhost pppd[6528]: remote IP address 195.54.1.216
Jan 24 15:15:30 localhost pppd[6528]: primary DNS address 212.57.145.253
Jan 24 15:15:30 localhost pppd[6528]: secondary DNS address 195.54.2.1
Jan 24 15:18:55 localhost pppd[6528]: Terminating on signal 15
Jan 24 15:18:55 localhost pppd[6528]: Connect time 3.5 minutes.
Jan 24 15:18:55 localhost pppd[6528]: Sent 588 bytes, received 2045 bytes.
Jan 24 15:18:55 localhost pppd[6528]: Connection terminated.
Jan 24 15:18:55 localhost pppd[6528]: Exit.вывод ifconfig при установленной связи
Код: Выделить всё
[root@localhost sasha]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0E:A6:4C:45:7B
inet addr:192.168.0.19 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20e:a6ff:fe4c:457b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2442 errors:0 dropped:0 overruns:0 frame:0
TX packets:450 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:366849 (358.2 KiB) TX bytes:38682 (37.7 KiB)
Interrupt:19 Base address:0xb000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:212.57.172.14 P-t-P:195.54.1.216 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:3 errors:1 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:66 (66.0 b) TX bytes:93 (93.0 b)вывод netstat
Код: Выделить всё
[root@localhost sasha]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
195.54.1.216 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0195.54.1.216 и 212.57.172.14 пингуются, другие IP нет