Cant connect to internet. Can ping only my firs DNS server. Setup internet conection via 'pppoe-setup' Fedora 12.
Code:
[root@trap smlem]# pppoe-setup
** Summary of what you entered **
Ethernet Interface: eth1
User name: d36kv12
Activate-on-demand: No
Primary DNS: 10.1.8.253
Secondary DNS: 192.168.1.253
Firewalling: NONE
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/resolv.conf
(But first backing it up to /etc/resolv.conf.bak)
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
(But first backing it up to /etc/ppp/chap-secrets.bak)
(But first backing it up to /etc/ppp/pap-secrets.bak)
Congratulations, it should be all set up!
Type '/sbin/ifup ppp0' to bring up your xDSL link and '/sbin/ifdown ppp0'
to bring it down.
Type '/sbin/pppoe-status /etc/sysconfig/network-scripts/ifcfg-ppp0'
to see the link status.
[root@trap smlem]# ping ya.ru
ping: unknown host ya.ru
[root@trap smlem]# ping google.com
ping: unknown host google.com
[root@trap smlem]# ping google.com
ping: unknown host google.com
[root@trap smlem]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:31:D3:B6:D5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:E0:4C:4D:19:9E
inet addr:10.1.8.6 Bcast:10.1.8.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe4d:199e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:432 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:52432 (51.2 KiB) TX bytes:10035 (9.7 KiB)
Interrupt:18 Base address:0xcc00
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:480 (480.0 b) TX bytes:480 (480.0 b)
[root@trap smlem]# /sbin/pppoe-status
pppoe-status: Link is down (can't read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
[root@trap smlem]# /sbin/ifup ppp
/sbin/ifup: configuration for ppp not found.
Usage: ifup <device name>
[root@trap smlem]# /sbin/ifup ppp0
[root@trap smlem]# ping google.com
ping: unknown host google.com
[root@trap smlem]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:31:D3:B6:D5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:E0:4C:4D:19:9E
inet addr:10.1.8.6 Bcast:10.1.8.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe4d:199e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:616 errors:0 dropped:0 overruns:0 frame:0
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:80681 (78.7 KiB) TX bytes:23273 (22.7 KiB)
Interrupt:18 Base address:0xcc00
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:480 (480.0 b) TX bytes:480 (480.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:91.201.178.133 P-t-P:91.201.177.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1480 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30 (30.0 b) TX bytes:30 (30.0 b)
[root@trap smlem]# ping ya.ru
ping: unknown host ya.ru
[root@trap smlem]#
Link to "ipconfig /all" from windows xp via work conection.