SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0000022: Can't connect to German ISP Kamp with PPPoE T-DSL, the sign % within the userid is changed in / - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000022Endian FirewallSecuritypublic2006-09-11 14:272011-09-11 12:45
Reportertneumann 
Assigned Topeter-endian 
PrioritynormalSeveritymajorReproducibilityalways
StatusfeedbackResolutionreopened 
PlatformEmbedded Server VIA C3OSEFW/LinuxOS Version2.0
Product Version2 
Target VersionFixed in Version 
Summary0000022: Can't connect to German ISP Kamp with PPPoE T-DSL, the sign % within the userid is changed in /
DescriptionThe username demand a sign % (e.g. something like that: kdsl/d21099%kamp-dsl). The sign % within the userid is changed in /. So the login to kamp-dsl doesn´t work.
Steps To ReproduceTry with any userid and password from Kamp and the login doesn´t work.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000031)
pixeldoc (reporter)
2006-09-11 23:09

try to set username via ssh manually with:

nano /var/efw/uplinks/main/settings
or
vi /var/efw/uplinks/main/settings

change line:
username=kdsl/d21099%kamp-dsl

maybe this will help, cant test it.
(0000032)
tneumann (reporter)
2006-09-12 11:04
edited on: 2006-09-13 07:10

Thank you pixeldoc for your response. I have looked in var/efw/uplinks/main/settings, the username is correct set.

But in etc/ppp/pap-secrets and etc/ppp/chap-secrets no username and no password (only if I try with Kamp-parameter. E.g. 1und1 works correct and I can see the userid and password in this files). Also I found in etc/ppp/peers/main is no username set when I try with Kamp-parameter, e.g. 1und1 is the username set. If I set the username (Kamp-parameter) manually, the username is deleted after update the connection status with the efw interface.

(0000033)
tneumann (reporter)
2006-09-12 11:06

My 1. statement “The sign % within the userid is changed in /” is not correct.
(0000034)
peter-endian (administrator)
2006-09-13 21:19

hi

i found the part which caused the problem

edit /etc/rc.d/efw_lib.sh and search for "readhash"
this function reads out the efw settings files, but accepts only some defined characters within the settingsfile variables. the % sign will not be accepted.
add it somewhere to the VARCHARS variable

or replace the line
    VARCHARS='A-Za-z0-9=/,._@#+-'
with:
    VARCHARS='A-Za-z0-9=%/,._@#+-'

then it should work
at least the config files chap-secrets, pap-secrets and the peers file will be created correctly.
(0000040)
tneumann (reporter)
2006-09-14 09:03

many thanks to peter !!!!!!
It works.
(0000041)
peter-endian (administrator)
2006-09-14 17:22

thank you for testing, i added the fix to our source tree
(0007396)
tomakos (reporter)
2011-09-11 12:45
edited on: 2011-09-11 12:47

Hi Peter,

I just had exactly the same issue with PAP authentication while using a PPPoE password that included a "!" character.

Adding "!" to the parameters of VARCHARS in /etc/rc.d/efw_lib.sh did the trick, too. Right after saving the file, endian went online.

(Endian Version 2.4.1)


- Issue History
Date Modified Username Field Change
2006-09-11 14:27 tneumann New Issue
2006-09-11 23:09 pixeldoc Note Added: 0000031
2006-09-12 11:04 tneumann Note Added: 0000032
2006-09-12 11:06 tneumann Note Added: 0000033
2006-09-12 11:16 tneumann Note Edited: 0000032
2006-09-12 11:17 tneumann Note Edited: 0000032
2006-09-13 07:10 tneumann Note Edited: 0000032
2006-09-13 21:19 peter-endian Note Added: 0000034
2006-09-13 21:19 peter-endian Status new => assigned
2006-09-13 21:19 peter-endian Assigned To => peter-endian
2006-09-13 21:33 peter-endian Status assigned => confirmed
2006-09-14 09:03 tneumann Note Added: 0000040
2006-09-14 17:22 peter-endian Status confirmed => resolved
2006-09-14 17:22 peter-endian Resolution open => fixed
2006-09-14 17:22 peter-endian Note Added: 0000041
2007-01-02 07:57 ra-endian Status resolved => closed
2011-09-11 12:45 tomakos Note Added: 0007396
2011-09-11 12:45 tomakos Status closed => feedback
2011-09-11 12:45 tomakos Resolution fixed => reopened
2011-09-11 12:46 tomakos Note Edited: 0007396
2011-09-11 12:47 tomakos Note Edited: 0007396

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker