From 5f82e7d92c3d2bf856158067153ccef5e37dc558 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 13 Jun 2021 19:55:10 +0200 Subject: wwan: T3622: add support for APN authentication Some APNs require a username/password. Add CLI nodes (matching the PPPoE syntax) for client authentication. One APN would be the IPv4/IPv6 APN from Deutsche Telekom (Germany) APN Name: Telekom Internet IPv6 APN: internet.v6.telekom Benutzername: telekom Passwort: tm (cherry picked from commit c667a45a8fb06cb76c907348c4f1e3ec708b6e03) --- .../include/interface/authentication.xml.i | 27 ++++++++++++++++++++++ interface-definitions/interfaces-pppoe.xml.in | 18 +-------------- interface-definitions/interfaces-wwan.xml.in | 1 + 3 files changed, 29 insertions(+), 17 deletions(-) create mode 100644 interface-definitions/include/interface/authentication.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/interface/authentication.xml.i b/interface-definitions/include/interface/authentication.xml.i new file mode 100644 index 000000000..c097ca9dd --- /dev/null +++ b/interface-definitions/include/interface/authentication.xml.i @@ -0,0 +1,27 @@ + + + + Authentication settings + + + + + User name + + txt + Username used for connection + + + + + + Password + + txt + Password used for connection + + + + + + diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in index 8c2b50eba..96479e057 100644 --- a/interface-definitions/interfaces-pppoe.xml.in +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -25,23 +25,7 @@ Access concentrator name must be composed of uppper and lower case letters or numbers only - - - Authentication settings - - - - - User name - - - - - Password - - - - + #include #include diff --git a/interface-definitions/interfaces-wwan.xml.in b/interface-definitions/interfaces-wwan.xml.in index 55ac8eab1..ea3184a11 100644 --- a/interface-definitions/interfaces-wwan.xml.in +++ b/interface-definitions/interfaces-wwan.xml.in @@ -27,6 +27,7 @@ #include #include + #include #include #include #include -- cgit v1.2.3