Solved

PAP and CHAP with win95 dialup networking

Posted on 1997-09-20
8
286 Views
Last Modified: 2010-03-18
Hi all!!

ok here's the go . .

I want to be able to type a username and password directly into the win95 dialup networking screen and login to my linux box over dialin . .

without a script of course :)

Is it PAP and CHAP that I should be setting up ? or what exactly do I need to setup to get this to work? and how?

Thanx!

Andrew
0
Comment
Question by:Q010797
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 2

Expert Comment

by:nicademus
ID: 1586614
When you ask this do you mean you are asking how to set it up on the win95 machine or the Linux machine...?
I assume you have some particular reason for doing this?
Also what sort of connection do you have between the two systems?

get back and I'll see what's the go...


Nica...(someone else who's spent far too long networking...Quake, etc.)=)
0
 
LVL 4

Expert Comment

by:unicorntech
ID: 1586615
The answer is quie simple. On the linux end go to /etc/inittab and uncomment the line referring to the port you wish to answer dial-in calls. The on your win95 end setup dial-up networking to dial the no. AND set the option bring up terminal window after dialling. This will cause a black box to pop up on your win95 machine and you will be able to manually login. If you just want to use the dial in box (ie where you enter the username and password) you will have to setupo a login script on the win95 machine. This would look as follows.

#Login script
proc main
delay 2
transmit $USERNAME
transmit "^M"
delay 1
transmit $PASSWORD
transmit "^M"
delay 2
endproc

#End of script

Point the dial-up networking to use this script and this will automatically send the username and password that you type into the dialopgue box to be sent to the Linux box upon connection and will give you access to the Linux box.

need more help e-mail me at jasons@aone.com.au

Regards,

Jason
0
 
LVL 1

Author Comment

by:Q010797
ID: 1586616
I did say without a script . . not with!

And I want to know how to setup the Linux side of things not the windows 95 side . .

Thanx
Andrew
0
 
LVL 4

Expert Comment

by:jlms
ID: 1586617
If you want the nice things happening you have to work, so if you want to use the nice window that asks your username and password you have to write a script. Maybe there is an application that helps you, but the script is still there. The answer of  unicorntech (in the W95 side) is completly correct. Maybe it should be added that depending how old is your W95, you could need to get the dial up scripting support. In new machines with W95 preinstalled this is not a problem.


Now, dial-up networking handles ppp and slip connections to other machines,  so to connect both machines you have first to understand how to set up a ppp connection or a slip connection (less desirable) in your Linux box.  With your linux distribution there must be a how-to explaining this, if not go to:
http://sunsite.unc.edu/LDP/HOWTO/PPP-HOWTO.html
and several other about SLIP in
http://sunsite.unc.edu/LDP/HOWTO/HOWTO-INDEX-3.html

0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 4

Expert Comment

by:jlms
ID: 1586618
I should add:

Once you write the script in the W95 machine (it is not more than the script posted here, you could even paste it from here to your text editor) you don't have to write it again and will work for all the users connecting to the same machine.

What else do you need to know?
At least when you reject an answer let everybody know what are the fleaks of th answer or what is missing on it.


0
 
LVL 1

Author Comment

by:Q010797
ID: 1586619
ok..

it works almsot perfectly at the moment anyway as is . .with scripts etc . . . i want it done without scripts.. no scripts..

Thank You

If you have other suggestions please add comments and NOT answers
0
 
LVL 4

Accepted Solution

by:
unicorntech earned 300 total points
ID: 1586620
Further to our offline discussion I have followed up on mgetty and it is true there is a release with AutoPPP.

Go to http://www.buoy.com/isp/ for config details and where to get it.

I left this as an answer as it does set up with no scripts involoved,

Regards,

Jason
0
 
LVL 1

Author Comment

by:Q010797
ID: 1586621
haha :)  even tho I was the one who told you about autoPPP??  yea I can live with you getting the points ;)

Andrew
0

Featured Post

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now