in chap-secretsQuote:>I have a free isp account, they suply "an small program" to users to login
>under w98. When i login the connection box says the CHAP is used, so i went to
>linux but realized that
>in chap-secrets file the remote name and password are needed, but i have no way
This is how I did it:Quote:>I have a free isp account, they suply "an small program" to users to login
>under w98. When i login the connection box says the CHAP is used, so i went to
>linux but realized that
>in chap-secrets file the remote name and password are needed, but i have no way
>to find them out (the support guys are useless coz they know nothing but
>windoze98).
>So if i can login under w98 using CHAP, then there must be a way to do it under
>linux, right?
>----------
>You have saved our lives, we are eternally grateful!
1) Make sure the debug option is specified when starting pppd (perhaps in
/etc/ppp/options. This will log packets thru syslog (man pppd).
2) Make sure there is a suitable entry in /etc/syslog.conf for facility daemon,
level debug. For example the following extract from my syslog.conf causes
the messages to able to be viewed in xconsole:
daemon.*;mail.*;\
news.crit;news.err;news.notice;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
3) Start up xconsole (if that's what you're using to view the messages), then
start pppd to dial to your ISP.
4) You should be able to see the CHAP challenge from the remote host after
the connexion is made. Extract the host name from the message and insert
your username (to the ISP) the remote hostname, and the password you chose
(or your ISP provided) and put these in your chap-secrets file. The remote
host you connect to may vary between sessions. I just added a separate
chap-secrets line for each hostname I saw.
5) Your ISP probably won't authenticate itself, so specify the noauth option
to pppd, use the user option to identify yourself to the ISP, and start
pppd again. You should now be able to authenticate yourself using CHAP.
--
=========================================
(To reply: remove Y from e-mail address)
=========================================
>>I have a free isp account, they suply "an small program" to users to login
>>under w98. When i login the connection box says the CHAP is used, so i went to
>>linux but realized that
>>in chap-secrets file the remote name and password are needed, but i have no way
>in chap-secrets
>username * password *
>You must know your username and your password.
>They may demand that your username be in some special form
as a newbie, i have another question. When i send a mail as root, my outgoing
mail looks like this:
yeah, it looks pretty bad.... so how can i alias "root" to "myuserid" as well
as nickname instead of create a new user named "myuserid"? and how to issue
multi email accounts with "root" only?
Thanks in advance
----------
You have saved our lives, we are eternally grateful!
>>I have a free isp account, they suply "an small program" to users to login
>>under w98. When i login the connection box says the CHAP is used, so i went to
>>linux but realized that
>>in chap-secrets file the remote name and password are needed, but i have no way
>>to find them out (the support guys are useless coz they know nothing but
>>windoze98).
>>So if i can login under w98 using CHAP, then there must be a way to do it under
>>linux, right?
>>----------
>>You have saved our lives, we are eternally grateful!
>This is how I did it:
>1) Make sure the debug option is specified when starting pppd (perhaps in
> /etc/ppp/options. This will log packets thru syslog (man pppd).
>2) Make sure there is a suitable entry in /etc/syslog.conf for facility daemon,
> level debug. For example the following extract from my syslog.conf causes
> the messages to able to be viewed in xconsole:
> daemon.*;mail.*;\
> news.crit;news.err;news.notice;\
> *.=debug;*.=info;\
> *.=notice;*.=warn |/dev/xconsole
>3) Start up xconsole (if that's what you're using to view the messages), then
> start pppd to dial to your ISP.
>4) You should be able to see the CHAP challenge from the remote host after
> the connexion is made. Extract the host name from the message and insert
> your username (to the ISP) the remote hostname, and the password you chose
> (or your ISP provided) and put these in your chap-secrets file. The remote
> host you connect to may vary between sessions. I just added a separate
> chap-secrets line for each hostname I saw.
>5) Your ISP probably won't authenticate itself, so specify the noauth option
> to pppd, use the user option to identify yourself to the ISP, and start
> pppd again. You should now be able to authenticate yourself using CHAP.
------------options-----------------
debug
remotename tnttlpg1-1
user myuserid
/dev/ttyS1
115200
modem
crtscts
lock
connect /etc/ppp/net-connect
usepeerdns
asyncmap 0
defaultroute
noauth
:
---------end options-------------
----------net-connect------------
#!/bin/sh
/usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat
---------end net-connect---------
---------net-chat---------------
ABORT '\nBUSY\r'
ABORT '\nNO ANSWER\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
ABORT '\nNO CARRIER\r'
"" AT&F\r
OK AT&D2&C1L0\r
OK ATDTXXXXXXXX\r
CONNECT '\d\c'
:--: myuserid
word: mypassword
------------end net-chat-----------------
------------chap-secrets----------------
myuserid tnttlpg1-1 mypassword
------------end chap-secrets------------
Any suggestion?
Thanks
----------
You have saved our lives, we are eternally grateful!
>>>I have a free isp account, they suply "an small program" to users to login
>>>under w98. When i login the connection box says the CHAP is used, so i went to
>>>linux but realized that
>>>in chap-secrets file the remote name and password are needed, but i have no way
>>>to find them out (the support guys are useless coz they know nothing but
>>>windoze98).
>>>So if i can login under w98 using CHAP, then there must be a way to do it under
>>>linux, right?
>>>----------
>>>You have saved our lives, we are eternally grateful!
>>This is how I did it:
>>1) Make sure the debug option is specified when starting pppd (perhaps in
>> /etc/ppp/options. This will log packets thru syslog (man pppd).
>>2) Make sure there is a suitable entry in /etc/syslog.conf for facility daemon,
>> level debug. For example the following extract from my syslog.conf causes
>> the messages to able to be viewed in xconsole:
>> daemon.*;mail.*;\
>> news.crit;news.err;news.notice;\
>> *.=debug;*.=info;\
>> *.=notice;*.=warn |/dev/xconsole
>>3) Start up xconsole (if that's what you're using to view the messages), then
>> start pppd to dial to your ISP.
>>4) You should be able to see the CHAP challenge from the remote host after
>> the connexion is made. Extract the host name from the message and insert
>> your username (to the ISP) the remote hostname, and the password you chose
>> (or your ISP provided) and put these in your chap-secrets file. The remote
>> host you connect to may vary between sessions. I just added a separate
>> chap-secrets line for each hostname I saw.
>>5) Your ISP probably won't authenticate itself, so specify the noauth option
>> to pppd, use the user option to identify yourself to the ISP, and start
>> pppd again. You should now be able to authenticate yourself using CHAP.
>I thinks i still need some more asistence here...:)
>I've discover the remotename, but it seems that the remote won't take my userid as a valide one, please see below:
>-------------------------------------------------------
>Serial connection established.
>Using interface ppp0
>Connect: ppp0 <--> /dev/ttyS1
>sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x545cd29e> <pcomp> <accomp>]
>rcvd [LCP ConfReq id=0x1 < 00 04 00 00> <mru 1524> <asyncmap 0x0> <auth chap MD5> <pcomp> <accomp> < 11 04 05 f4> < 13 09 03 00 c0 7b 91 2c 45>]
>sent [LCP ConfRej id=0x1 < 00 04 00 00> < 11 04 05 f4> < 13 09 03 00 c0 7b 91 2c 45>]
>rcvd [LCP ConfReq id=0x2 <mru 1524> <asyncmap 0x0> <auth chap MD5> <pcomp> <accomp>]
>sent [LCP ConfAck id=0x2 <mru 1524> <asyncmap 0x0> <auth chap MD5> <pcomp> <accomp>]
>sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x545cd29e> <pcomp> <accomp>]
>rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x545cd29e> <pcomp> <accomp>]
>rcvd [CHAP Challenge id=0x1 <06fd4fd79de3df84888d0e6f5e597da8>, name = "tnttlpg1-1"]
>sent [CHAP Response id=0x1 <fe3a38a7ce0f123949d032b13d47c86e>, name = "myuserid"]
>rcvd [CHAP Failure id=0x1 "\016Request Denied"]
>Remote message: ^NRequest Denied
>CHAP authentication failed
>sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
>rcvd [LCP TermAck id=0x2]
>Connection terminated.
>----------------------------------------------------------
>and here is my options and chat files...
>------------options-----------------
>debug
>remotename tnttlpg1-1
>user myuserid
>/dev/ttyS1
>115200
>modem
>crtscts
>lock
>connect /etc/ppp/net-connect
>usepeerdns
>asyncmap 0
>defaultroute
>noauth
>:
>---------end options-------------
>----------net-connect------------
>#!/bin/sh
>/usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat
>---------end net-connect---------
>---------net-chat---------------
>ABORT '\nBUSY\r'
>ABORT '\nNO ANSWER\r'
>ABORT '\nRINGING\r\n\r\nRINGING\r'
>ABORT '\nNO CARRIER\r'
>"" AT&F\r
>OK AT&D2&C1L0\r
>OK ATDTXXXXXXXX\r
>CONNECT '\d\c'
>:--: myuserid
>word: mypassword
>------------end net-chat-----------------
>------------chap-secrets----------------
>myuserid tnttlpg1-1 mypassword
>------------end chap-secrets------------
>Any suggestion?
You could try to see if you can connect using PAP by commenting out the entry
in the chap-secrets file and adding an entry for PAP in the PAP secrets file.
Choose a name for the remote end, e.g. "my_isp" and change your entry in
ppp/options to "remotename my_isp". The PAP entry would also refer to my_isp.
Even if this doesn't solve the problem, the log data from pppd might help.
--
=========================================
(To reply: remove Y from e-mail address)
=========================================
username: myuseri...@myisp.com
password: 4cb274f0830a3c4876607fbd10e0ba4
well, first, it seems like the program add the isp dns as my
"real" username; second, my password also was changed to an
unreadable string. I went to the program's folder and found
a file named trans.dat looks like this:
FAC6352F35644CA4BEDAD9322A4E1111E9D6B69B7B556708E6D4B4BB93615D3A6682CEA3
AD9D6A4E2B08A3C9A889087F5F2D19E6A2C68A7F41252F1FE5DBA58768496B0110F1B0B7
9765413E6A8ECEDCA89D66412603E788A08F9013563004E2DFC5EF607E5E201AFCDEE092
29472E3372F9D1A78378244C02E4E8D6A39870402F46E6CDD2D59872463C1987ADB48D9F
625A3A0BA1CFA68B0A41592F1BE0BCC49F7A5C372C1AEBD3B6DE6E452A6DE0FACEB4811F
25380CE3CDEDAE8A76573440E8C7A8EB9E784C3A079DA7B9827C49512E16F19CA1897D2F
220408F6C3D9FB7D4E3016EAFECEBCD8705F2063E6C0B4B28F153F221DE5DFA797657A55
3B10BFCDA4850C435B2915E2BEDA99785228184FA396B69D62252802
So my guess is the username and password they gave me are
not real, but sirve as key to determine the real password
to login, and the real password is encryped in trans.dat.
opinion?
Anyway, thanks you, again :)
ps:I have tried pap with both "myuserid" and "myuse...@myisp.com" as
username but the peer keeps on saying that im a stranger.....
Jul 28 02:12:32 localhost pppd[534]: Serial connection established.
Jul 28 02:12:32 localhost pppd[534]: Using interface ppp0
Jul 28 02:12:32 localhost pppd[534]: Connect: ppp0 <--> /dev/ttyS1
Jul 28 02:12:33 localhost pppd[534]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x6fc3c020> <pcomp> <accomp>]
Jul 28 02:12:33 localhost pppd[534]: rcvd [LCP ConfReq id=0x1 <mru
1514> <asyncmap 0x0> <auth pap> <magic 0x8340b1ae> <pcomp> <accomp> <
11 04 05 ea> < 13 03 00>]
Jul 28 02:12:33 localhost pppd[534]: sent [LCP ConfRej id=0x1 < 11 04
05 ea> < 13 03 00>]
Jul 28 02:12:33 localhost pppd[534]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x6fc3c020> <pcomp> <accomp>]
Jul 28 02:12:33 localhost pppd[534]: rcvd [LCP ConfReq id=0x2 <mru
1514> <asyncmap 0x0> <auth pap> <magic 0x8340b1ae> <pcomp> <accomp>]
Jul 28 02:12:33 localhost pppd[534]: sent [LCP ConfAck id=0x2 <mru
1514> <asyncmap 0x0> <auth pap> <magic 0x8340b1ae> <pcomp> <accomp>]
Jul 28 02:12:33 localhost pppd[534]: sent [PAP AuthReq id=0x1
user="myuserid" password=<hidden>]
Jul 28 02:12:33 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:36 localhost pppd[534]: sent [PAP AuthReq id=0x2
user="myuserid" password=<hidden>]
Jul 28 02:12:36 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:39 localhost pppd[534]: sent [PAP AuthReq id=0x3
user="myuserid" password=<hidden>]
Jul 28 02:12:39 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:42 localhost pppd[534]: sent [PAP AuthReq id=0x4
user="myuserid" password=<hidden>]
Jul 28 02:12:42 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:45 localhost pppd[534]: sent [PAP AuthReq id=0x5
user="myuserid" password=<hidden>]
Jul 28 02:12:45 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:48 localhost pppd[534]: sent [PAP AuthReq id=0x6
user="myuserid" password=<hidden>]
Jul 28 02:12:48 localhost pppd[534]: rcvd [PAP AuthNak id=0x0 41 75 74
68 65 6e 74 69 63 61 74 69 6f 6e 20 66 61 69 6c 75 72 65]
Jul 28 02:12:48 localhost pppd[534]: rcvd [LCP TermReq id=0x3]
Jul 28 02:12:48 localhost pppd[534]: LCP terminated by peer
Jul 28 02:12:48 localhost pppd[534]: sent [LCP TermAck id=0x3]
Jul 28 02:12:49 localhost pppd[534]: Modem hangup
Jul 28 02:12:49 localhost pppd[534]: Connection terminated.
Jul 28 02:12:50 localhost pppd[534]: Exit.
At this point, hacking the w98 program could be the only way, i
think.....if anyone is interested...:(
In article <slrn8o198o.o8....@aigialos.thalatta>,
w...@Ysnet.net (Will Parsons) wrote:
> >>In article <200007241804.e6OI4Ap18...@mercurio.feedback.net.ar>,
macefindu wrote
> >>>I have a free isp account, they suply "an small program" to users
to login
> >>>under w98. When i login the connection box says the CHAP is used,
so i went to
> >>>linux but realized that
> >>>in chap-secrets file the remote name and password are needed, but
i have no way
> >>>to find them out (the support guys are useless coz they know
nothing but
> >>>windoze98).
> >>>So if i can login under w98 using CHAP, then there must be a way
to do it under
> >>>linux, right?
> >>>----------
> >>>You have saved our lives, we are eternally grateful!
> >>This is how I did it:
> >>1) Make sure the debug option is specified when starting pppd
(perhaps in
> >> /etc/ppp/options. This will log packets thru syslog (man pppd).
> >>2) Make sure there is a suitable entry in /etc/syslog.conf for
facility daemon,
> >> level debug. For example the following extract from my
syslog.conf causes
> >> the messages to able to be viewed in xconsole:
> >> daemon.*;mail.*;\
> >> news.crit;news.err;news.notice;\
> >> *.=debug;*.=info;\
> >> *.=notice;*.=warn |/dev/xconsole
> >>3) Start up xconsole (if that's what you're using to view the
messages), then
> >> start pppd to dial to your ISP.
> >>4) You should be able to see the CHAP challenge from the remote
host after
> >> the connexion is made. Extract the host name from the message
and insert
> >> your username (to the ISP) the remote hostname, and the password
you chose
> >> (or your ISP provided) and put these in your chap-secrets file.
The remote
> >> host you connect to may vary between sessions. I just added a
separate
> >> chap-secrets line for each hostname I saw.
> >>5) Your ISP probably won't authenticate itself, so specify the
noauth option
> >> to pppd, use the user option to identify yourself to the ISP,
and start
> >> pppd again. You should now be able to authenticate yourself
using CHAP.
> >I thinks i still need some more asistence here...:)
> >I've discover the remotename, but it seems that the remote won't
> >------------options-----------------
> >debug
> >remotename tnttlpg1-1
> >user myuserid
> >/dev/ttyS1
> >115200
> >modem
> >crtscts
> >lock
> >connect /etc/ppp/net-connect
> >usepeerdns
> >asyncmap 0
> >defaultroute
> >noauth
> >:
> >---------end options-------------
> >----------net-connect------------
> >#!/bin/sh
> >/usr/sbin/chat -v -t 60 -f /etc/ppp/net-chat
> >---------end net-connect---------
> >---------net-chat---------------
> >ABORT '\nBUSY\r'
> >ABORT '\nNO ANSWER\r'
> >ABORT '\nRINGING\r\n\r\nRINGING\r'
> >ABORT '\nNO CARRIER\r'
> >"" AT&F\r
> >OK AT&D2&C1L0\r
> >OK ATDTXXXXXXXX\r
> >CONNECT '\d\c'
> >:--: myuserid
> >word: mypassword
> >------------end net-chat-----------------
> >------------chap-secrets----------------
> >myuserid tnttlpg1-1 mypassword
> >------------end chap-secrets------------
> >Any suggestion?
> As far as I can see, your configuration files look OK. I presume
> you're sure that you're specifying the correct username and password?
> You could try to see if you can connect using PAP by commenting out
the entry
> in the chap-secrets file and adding an entry for PAP in the PAP
secrets file.
> Choose a name for the remote end, e.g. "my_isp" and change your entry
in
> ppp/options to "remotename my_isp". The PAP entry would also refer
to my_isp.
> Even if this doesn't solve the problem, the log data from pppd might
help.
> --
> =========================================
> Will Parsons | wbpars...@Ysnet.net
> (To reply: remove Y from e-mail address)
> =========================================
read more »
1. how to setup CHAP for a free isp?
3. Howto dial ISP running NT4 - chap, pap, ms-chap?
5. pppd - PAP, CHAP, MS-CHAP, MS-CHAP-v2 protocol negotiation
6. xircom
7. Free ISP's that will provided ALL setup info?
8. References on: RCS/SCCS and (N)Curses???
9. ODARS ISP Server free for commercial/institutional ISP's
10. ODARS ISP Server free for commercial/institutional ISPs/IPPs
11. Linux Friendly ISP's (spc Free-ISP's)
12. Answers to all your FREE MONEY and FREE ISP
13. ISP CHAP AUTHENTICATION PROBLEM solaris 2.7 x86