Modify

Opened 2 years ago

Last modified 2 years ago

#20353 new defect

luci display of ppp address

Reported by: ulrich Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: luci ppp Cc:

Description

Hello,

the network overview in luci is displaying the wrong IP address of PPP Connections.
The iP displayed is the Remote Adress of the tunnel and not the local address. This is rather confusing, since the actual IP of the interface is displayed nowhere in the network management tab.

In AA this was working correctly.

Attachments (0)

Change History (3)

comment:1 follow-up: Changed 2 years ago by jow

What is reported by ifstatus wan on the shell?

comment:2 in reply to: ↑ 1 Changed 2 years ago by djp-ow@…

I'm seeing the same problem as described in luci.
In addition, ntpd is trying to bind to the remote ppp gateway, not the local address. It reports the following errors every minute, where

184.100.194.50 is the local pppoe-wan address and
201.228.81.16 is the remote:

Wed Aug 19 23:15:42 2015 daemon.err ntpd[1921]: bind(61) AF_INET 201.228.81.16#123 flags 0x13 failed: Address not available
Wed Aug 19 23:15:42 2015 daemon.err ntpd[1921]: unable to create socket on pppoe-wan (3667) for 201.228.81.16#123
Wed Aug 19 23:15:42 2015 daemon.info ntpd[1921]: failed to init interface for address 201.228.81.16

Everything else is working fine, no other daemon is doing this. Tis problem did not occur in a previous trunk build from three months ago.

Replying to jow:

What is reported by ifstatus wan on the shell?

It seems to be correct for me. When the addresses are as above, it reads:

root@nopenwrt:~# ifstatus wan
{
	"up": true,
	"pending": false,
	"available": true,
	"autostart": true,
	"uptime": 34670,
	"l3_device": "pppoe-wan",
	"proto": "pppoe",
	"device": "eth1",
	"updated": [
		"addresses",
		"routes"
	],
	"metric": 0,
	"delegation": true,
	"ipv4-address": [
		{
			"address": "184.100.194.50",
			"mask": 32
		}
	],
	"ipv6-address": [
		
	],
	"ipv6-prefix": [
		
	],
	"ipv6-prefix-assignment": [
		
	],
	"route": [
		{
			"target": "0.0.0.0",
			"mask": 0,
			"nexthop": "201.228.81.16",
			"source": "0.0.0.0\/0"
		}
	],
	"dns-server": [
		"8.8.8.8"
	],
	"dns-search": [
		
	],
	"inactive": {
		"ipv4-address": [
			
		],
		"ipv6-address": [
			
		],
		"route": [
			
		],
		"dns-server": [
			"205.171.3.65",
			"205.171.2.65"
		],
		"dns-search": [
			
		]
	},
	"data": {
		
	}
}

(Note that I have manually specified a DNS server to use in preference to one handed out by the provider, so that part is as expected.)

comment:3 Changed 2 years ago by anonymous

appears in trunk too

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.