L2TP failing with AR-750s

I’m trying to set up an L2TP connection to my ISP, but I’m fundamentally failing. ifstatus gives me this : -

root@GL-AR750S:~# ifstatus l2tpisp
{
	"up": false,
	"pending": false,
	"available": false,
	"autostart": true,
	"dynamic": false,
	"proto": "none",
	"data": {
		
	},
	"errors": [
		{
			"subsystem": "interface",
			"code": "NO_DEVICE"
	    	}
	]
}

My network config for my added l2tp interface is : -

root@GL-AR750S:~# uci show network | grep l2tpisp
network.l2tpisp=interface
network.l2tpisp.proto='l2tp'
network.l2tpisp.server='l2tp.aaisp.net.uk'
network.l2tpisp.username='<user>'
network.l2tpisp.ipv6='auto'
network.l2tpisp.password='<password>'

Stock firmware (I might have flashed the latest testing but same result) and xl2tpd installed.

Any ideas?

Regards,
David

Is there any log about l2tp in logread?

I eventually resolved it by putting lots of echo statements into the l2tp script. It seemed to be a problem that the host I’m using resolves to IPv4 and IPv6 addresses, and the v6 address seemed to throw a spanner in the works. I changed the l2tp server to be the naked IPv4 address and it started working.

1 Like