mndar
23rd October 2005, 08:55 PM
This one is for all those from India using the connection of ISP, Pacenet
Pacenet provides you with a dialer that works only under Windows and you are forced to use it. To use their connection under Linux, you have to apply for a linux id which is userid@linuxuser. Using this ID you can connect to Pacenet with the regular windows broadband pppoe dialer too. Under linux you connect using rp-pppoe.
I didn't like the idea of having two UserIDs. So I found a little trick
Pacenet 'encrypts' the password which works as follows. Take notice of the word encrypt. You'll probably laugh when you read the rest of this post
1> Each character of your password is represented for 4 digits.
2> The first three digits divided by the fourth gives the ASCII value of the character
Thats it, its as simple as that. Here is an example to make it clearer. Suppose your password is 123 then
character ASCII value(first 3 digits) Fourth digit Calculation Four digit representation of character
1 049 1 049*1=049 0491
2 050 2 050*2=100 1002
3 051 3 051*3=153 1533
Therefore your 'encrypted' password will be 049110021533
This is just one example. You can use any fourth digit upto 5(thats what pacenet does)
Anyway, a simple C program can be used to calculate a 'encrypted' password
The password isn't time dependent. The password generated once can be used anytime. Therefore the 'encryption' doesn't make much sense
You can now use this password under Linux with your original UserId!
Pacenet provides you with a dialer that works only under Windows and you are forced to use it. To use their connection under Linux, you have to apply for a linux id which is userid@linuxuser. Using this ID you can connect to Pacenet with the regular windows broadband pppoe dialer too. Under linux you connect using rp-pppoe.
I didn't like the idea of having two UserIDs. So I found a little trick
Pacenet 'encrypts' the password which works as follows. Take notice of the word encrypt. You'll probably laugh when you read the rest of this post
1> Each character of your password is represented for 4 digits.
2> The first three digits divided by the fourth gives the ASCII value of the character
Thats it, its as simple as that. Here is an example to make it clearer. Suppose your password is 123 then
character ASCII value(first 3 digits) Fourth digit Calculation Four digit representation of character
1 049 1 049*1=049 0491
2 050 2 050*2=100 1002
3 051 3 051*3=153 1533
Therefore your 'encrypted' password will be 049110021533
This is just one example. You can use any fourth digit upto 5(thats what pacenet does)
Anyway, a simple C program can be used to calculate a 'encrypted' password
The password isn't time dependent. The password generated once can be used anytime. Therefore the 'encryption' doesn't make much sense
You can now use this password under Linux with your original UserId!