This is a discussion on Re: Dial-up and Windows Networks within the Linux Networking forums, part of the Linux Forums category; "Aix Tom" <thomas.NOSPAMgaukel@t-online.de> wrote in message news:Xns9433E3AB2C89Ethisisjustanotherdum@69.22.12 8....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Aix Tom" <thomas.NOSPAMgaukel@t-online.de> wrote in message news:Xns9433E3AB2C89Ethisisjustanotherdum@69.22.12 8.14... > "James Hastie" <jameshastie@NOSPAM.iprimus.com.au> wrote in > news:3fb4d8a9_1@news.iprimus.com.au: > > > Hi, > > > > I have a debian box configured on a network of 4 windows pcs, running > > as a gateway/firewall , proxy server, apache server and dns server. > > > > Each of the win pcs connects to the dial-up internet thru the linux > > box. Currently if one of these windows computer is to establish a > > connection, a win ssh client is needed to login onto the linux > > computer and to initiate the dial-up script. > > > > So if you have understood me.............. > > > > I want for each of hte win computers to have a simple way to connect > > to the internet, without going through the ssh client, etc. ie maybe a > > webpage (hosted with apache) with a dialon button. > > Someone has suggested creating a perl/php script and then calling that > > on a website using cgi, but i dont understand how to code in perl or > > php. > > > > So im looking for anyone who has this situation or can help me resolve > > it. > > > > James > > > > > > > > Remote shell comes to mind. I don't know if the client is available in > your windows version, I'm pretty shure it's in NT4 upward, but I'm not > shure if it's in the "Home" versions. > > You can use a DOS command (e.g. started by a Desktop Icon or someting in > the Start Menu) > > rsh -l linuxuser linuxbox "command" > > to run a command on the Linux Box. You obviously will notice that there > is no password given. But the command is executed only when the hostname > of the sending machine is present in a file called .rhosts in the home - > directory of the linux user. Otherwise the login is denied. > > For more information have a look at "man rshd" > > Tom I had to change the syntax of ur example command. But the format seems to make sense However i dont have a .rshosts file James |