Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 9.04 pppoe problem

  1. #1
    Join Date
    Sep 2008
    Beans
    41

    9.04 pppoe problem

    i am using a pppoe connection in XP which works well .

    in ubuntu i have tried

    sudo pppoeconf and sudo pon dsl-provider

    i have also tried sudo /etc/init.d/networking restart but there is no result...

    i have faced the same problem in 8.04 and 9.10

    thats why i am changing version one after one

    any suggestion ??

  2. #2
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!

    Re: 9.04 pppoe problem

    after you run pon dsl-provider chk the logs using this command
    Code:
    plog
    this will show you what exactly is going on..
    post the output too..

  3. #3
    Join Date
    Sep 2008
    Beans
    41

    Re: 9.04 pppoe problem

    Dec 25 08:45:31 ubuntu pppd[3898]: Connect: ppp1 <--> eth0
    Dec 25 08:45:31 ubuntu pppd[3898]: Remote message: Login ok
    Dec 25 08:45:31 ubuntu pppd[3898]: PAP authentication succeeded
    Dec 25 08:45:31 ubuntu pppd[3898]: peer from calling number 00:11:3B:13:4F:ED authorized
    Dec 25 08:45:31 ubuntu pppd[3898]: not replacing existing default route through ppp0
    Dec 25 08:45:31 ubuntu pppd[3898]: Cannot determine ethernet address for proxy ARP
    Dec 25 08:45:31 ubuntu pppd[3898]: local IP address 192.168.8.218
    Dec 25 08:45:31 ubuntu pppd[3898]: remote IP address 113.11.40.1
    Dec 25 08:45:31 ubuntu pppd[3898]: primary DNS address 114.31.0.66
    Dec 25 08:45:31 ubuntu pppd[3898]: secondary DNS address 210.4.77.180

  4. #4
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!

    Re: 9.04 pppoe problem

    as you can see you are connected to internet..
    you have been assigned the IPs.
    you may try running the following command to chk if internet is working or not..
    Code:
    ping ubuntu.com
    i think your internet was always working.. but by looking at the network icon (which will show disconnected) you thought that you are unable to connect..

  5. #5
    Join Date
    Sep 2008
    Beans
    41

    Re: 9.04 pppoe problem

    this is the output


    maruf@ubuntu:~$ ping ubuntu.com
    ping: unknown host ubuntu.com
    maruf@ubuntu:~$ ping google.com
    ping: unknown host google.com

  6. #6
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!

    Re: 9.04 pppoe problem

    post the output of plog when you get this error...
    and also post the output of
    Code:
    ifconfig ppp1
    and
    Code:
    cat /etc/resolv.conf
    btw.. see if you are able to ping only the IP
    Code:
    ping 114.31.0.66

  7. #7
    Join Date
    Sep 2008
    Beans
    41

    Re: 9.04 pppoe problem

    maruf@ubuntu:~$ ping google.com
    ping: unknown host google.com

    maruf@ubuntu:~$ plog
    Dec 25 09:53:51 ubuntu pppd[3724]: PAP authentication succeeded
    Dec 25 09:53:51 ubuntu pppd[3724]: peer from calling number 00:11:3B:13:4F:ED authorized
    Dec 25 09:53:51 ubuntu pppd[3724]: not replacing existing default route through ppp1
    Dec 25 09:53:51 ubuntu pppd[3724]: Cannot determine ethernet address for proxy ARP
    Dec 25 09:53:51 ubuntu pppd[3724]: local IP address 192.168.8.218
    Dec 25 09:53:51 ubuntu pppd[3724]: remote IP address 113.11.40.1
    Dec 25 09:53:51 ubuntu pppd[3724]: primary DNS address 114.31.0.66
    Dec 25 09:53:51 ubuntu pppd[3724]: secondary DNS address 210.4.77.180


    maruf@ubuntu:~$ ifconfig ppp1
    ppp1 Link encapoint-to-Point Protocol
    POINTOPOINT NOARP MULTICAST MTU:1492 Metric:1
    RX packets:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:54 (54.0 B) TX bytes:378 (378.0 B)

    maruf@ubuntu:~$ cat /etc/resolv.conf
    nameserver 114.31.0.66
    nameserver 210.4.77.180
    # Generated by NetworkManager

    maruf@ubuntu:~$ ping 91.189.94.156
    PING 91.189.94.156 (91.189.94.156) 56(84) bytes of data.
    ^C[i have forcefully quited it ... it was halted]
    --- 91.189.94.156 ping statistics ---
    122 packets transmitted, 0 received, 100% packet loss, time 121675ms

  8. #8
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!

    Re: 9.04 pppoe problem

    its really strange..
    your plog shows that you are connected to internet.. but it is still not working and ppp1 is not even assigned the IP.
    plz post the output of
    Code:
    ifconfig -a
    since, you didn't get a reply by pinging the IP either.. so i guess its not even a dns issue, ur resolv.conf file seems to have the required entries..

    i think the IP address might be assigned to eth0 and even if it is the system should be able to use internet. I don't even understand why ppp1 was used, i always got the default ppp interface ppp0.

  9. #9
    Join Date
    Sep 2008
    Beans
    41

    Re: 9.04 pppoe problem

    maruf@ubuntu:~$ ifconfig -a

    eth0 Link encap:Ethernet HWaddr 00:1c:c0:0e:aa:2a
    inet6 addr: fe80::21c:c0ff:fe0e:aa2a/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1620 errors:0 dropped:0 overruns:0 frame:0
    TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:148226 (148.2 KB) TX bytes:5100 (5.1 KB)
    Interrupt:251 Base address:0x4000

    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:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

    pan0 Link encap:Ethernet HWaddr 12:51:d3:1a:22:e4
    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:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    ppp0 Link encapoint-to-Point Protocol
    inet addr:192.168.8.254 P-t-P:113.11.40.1 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
    RX packets:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:54 (54.0 B) TX bytes:526 (526.0 B)

    ppp1 Link encapoint-to-Point Protocol
    inet addr:192.168.8.254 P-t-P:113.11.40.1 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
    RX packets:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:54 (54.0 B) TX bytes:378 (378.0 B)

    maruf@ubuntu:~$

  10. #10
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!

    Re: 9.04 pppoe problem

    As you can see here you are assigned the IP addresses in both the ppp0 and ppp1 interfaces..
    But in the previous post there was no address assigned to the interface ppp1.

    Lets give a last try to it. After you start your system run this command
    Code:
    sudo tail -f /var/log/syslog
    I will need the complete output of this command in case we don't succeed.

    Whenever you start your system and the connection check thru "plog" what's the status of ur connection. The plog output you submitted above was when you were assigned the IP.. this means that you are connected now. If it shows you are connected then continue.

    Now, the check the output of
    Code:
    ifconfig ppp0
    Code:
    ifconfig ppp1
    you should see the assigned addresses. The output should be same as in your last post.

    Now, ping some website first and see what output you get.. if its not working.. try pinging the IP address I mentioned in the post above or the DNS servers you were assigned (look at the last 2 IPs in the output of plog).

    If you are unsuccessful.. check the output of plog and again do "ifconfig ppp0" and "ifconfig ppp1" to check if you still have got the assigned addresses.

    Remember to post the output of the "tail" command in case of a failure.. either use "code" tags to post it here or you may post it on http://paste.ubuntu.com and mention the link here.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •