LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-22-2009, 09:46 AM   #1
SmLem
LQ Newbie
 
Registered: Dec 2009
Location: Ukraine
Posts: 2

Rep: Reputation: 0
Another PPPoE


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.
 
Old 12-22-2009, 09:49 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Can you ping on IP?
Code:
ping 212.100.160.51
If yes, there is a problem with your DNS
Try to use the DNS from your provider
 
Old 12-22-2009, 10:34 AM   #3
SmLem
LQ Newbie
 
Registered: Dec 2009
Location: Ukraine
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
Can you ping on IP?
Code:
ping 212.100.160.51
If yes, there is a problem with your DNS
Try to use the DNS from your provider
Thanx! I don know how but i can connect to web from linux. It works!
Now i have to understand how it works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rp-pppoe as PPPOE server with RADIUS hostmaster Linux - Networking 4 09-25-2009 02:59 AM
pppoe/rp-pppoe on Debian DaveQB Linux - Networking 12 08-20-2007 05:14 PM
PPPOE/xDSL any alternatives for rp-pppoe package.. deepclutch Linux - Software 2 02-04-2006 09:59 PM
pppoe & pppoe-server warning (solved) ggalvan Slackware 0 02-04-2006 05:58 AM
adsl-status can't read pppoe PID file with rp-pppoe program setup Smarvy Linux - Newbie 2 03-13-2004 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration