PPPOE - No internet connection

Hello everybody,

Yesterday I’ve downloaded and installed openSUSE, but I still cannot connect to the internet. My internet connection is WiMax PPPOE. I’ve downloaded rp-pppoe-3.10-1.60.x86_64.rpm and installed it. Configuration seems to be fine, because pppoe-start says that it successfully connected and I am able to ping provider local network, but there is no internet connection. I disabled firewall, run iptables --flush, nothing helps. But the same internet connection works for me on windows (currently I am using it). Hope somebody can help me with this.

Thanks in advance,
Tigran

On 04/04/2009 azesmcar wrote:
> Configuration seems to be fine, because pppoe-start says that it
> successfully connected and I am able to ping provider local network,
> but there is no internet connection.

What do you mean with “able to ping provider local network”?

Uwe

I mean that I can ping some local provider IPs (I guess it’s server IP address) given me after connection

If I connect manually with pppoe-connect it gives me information like that

Local IP address 172.10.10.23
Remote IP address 172.10.10.1

I am able to ping Remote IP and of course Local.

  • azesmcar,

sounds like the connection is up, but DNS isn’t working. What happens if you try a DNS lookup like
dig www.opensuse.org

Uwe

I thought about it, but I tried to connect to internet having an IP address of site, it still doesn’t work.
For example 217.73.200.72 is my site IP address, but it doesn’t open and ping failed on it.

Here is the result of dig and other commands that can be usefull.

Thanks

linux-4718:~ # pppoe-connect &
[1] 5092
linux-4718:~ # Using interface ppp1
Connect: ppp1 <–> /dev/pts/3
CHAP authentication succeeded
CHAP authentication succeeded
not replacing default route to wlan0 [192.168.0.50]
local IP address 172.30.3.112
remote IP address 172.30.2.3
Script /etc/ppp/ip-up finished (pid 5106), status = 0x0

linux-4718:~ # ping opensuse.org

ping: unknown host opensuse.org

linux-4718:~ # dig opensuse.org

; <<>> DiG 9.5.0-P2 <<>> opensuse.org
;; global options: printcmd
;; connection timed out; no servers could be reached

linux-4718:~ # ping 172.30.2.3
PING 172.30.2.3 (172.30.2.3) 56(84) bytes of data.
64 bytes from 172.30.2.3: icmp_seq=1 ttl=255 time=35.9 ms
64 bytes from 172.30.2.3: icmp_seq=2 ttl=255 time=43.4 ms
64 bytes from 172.30.2.3: icmp_seq=3 ttl=255 time=43.0 ms
64 bytes from 172.30.2.3: icmp_seq=4 ttl=255 time=40.4 ms
^C
— 172.30.2.3 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3016ms
rtt min/avg/max/mdev = 35.928/40.712/43.441/2.989 ms
linux-4718:~ # ping 217.73.200.72
PING 217.73.200.72 (217.73.200.72) 56(84) bytes of data.

^C
— 217.73.200.72 ping statistics —
55 packets transmitted, 0 received, 100% packet loss, time 54030ms

linux-4718:~ #

It looks like you have a default route via the wireless interface. Can you check your routing table?


/sbin/route

That’s the route result

192.168.0.50 - is my wireless access point IP address

linux-4718:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 2 0 0 wlan0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.50 0.0.0.0 UG 0 0 0 wlan0

192.168.0.50 is the default gateway. However, your local and remote addresses of the PPPOE connection are looking different (172.30.x.x).

I think you should have a gateway reachable from the 172.30.0.0 network.

I think you should have a gateway reachable from the 172.30.0.0 network.

I tried, but how should I change the default gateway? If I change it from the Wireless Network config I am not able to activate network (because system doesn’t see that gateway). I guess I should change it after connecting to provider via pppoe-start and I guess there is way to do it from setup (setup pppoe to change default gateway after connect). How can I do it? What can you recommend me?

In Yast, under “Network Settings”, go to the “Global Options” tab and check “Change Default Route via DHCP”.

In Yast, under “Network Settings”, go to the “Global Options” tab and check “Change Default Route via DHCP”.

I am using KNetworkManager. Could you please tell me how to disable KNetworkManager and manage my connections from Yast?

You don’t have to switch off Network Manager for this. However, if you want to do it, it is in the same “Global Options” tab of the Yast tool. Instead of the choice “User Controlled with NetworkManager”, choose “Traditional Method with ifup”.

The problem solved. Thanks everybody for help.
I set DNS and router manually and it worked. I don’t understand only why it doesn’t take automatically via DHCP? Do I need to switch something on?

I had the problem that I had to dial-up with the router insteat of dialing-up with kinternet. In Windows it’s vice versa maybe you switched that on while you changed the dns in the router.
Do you still have to connect with kinternet or any other pppoe tool?