Modify

Opened 3 years ago

Last modified 3 years ago

#18077 new defect

PAP/CHAP password cannot be empty

Reported by: nschloe Owned by: developers
Priority: normal Milestone:
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:

Description

I connect to my ISP with my username and an empty password (rather: arbitrary). Since barrier breaker, using an empty password does not work anymore. If I put anything in the password field, the connection is established.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by blogic

please try this patch

diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh
index 0456fda..fe2e909 100755
--- a/package/network/services/ppp/files/ppp.sh
+++ b/package/network/services/ppp/files/ppp.sh
@@ -55,7 +55,7 @@ ppp_generic_setup() {
                nodefaultroute \
                usepeerdns \
                $demand maxfail 1 \
-               ${username:+user "$username" password "$password"} \
+               ${username:+user "$username" ${password:+password "$password"}} \
                ${connect:+connect "$connect"} \
                ${disconnect:+disconnect "$disconnect"} \
                ip-up-script /lib/netifd/ppp-up \

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.