Ok folks, quick question.
I succeeded in making a linux box a dial-in system, and it authenticates and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure I'm forgetting something simple, but can't think what. Clues gratefully received!
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
On Thu, Oct 07, 1999 at 11:49:31PM +0100, Laurie Brown wrote:
and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure
export DISPLAY=win32boxaddress:0 perhaps?
MJR
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
MJ Ray wrote:
On Thu, Oct 07, 1999 at 11:49:31PM +0100, Laurie Brown wrote:
and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure
export DISPLAY=win32boxaddress:0 perhaps?
I thought of that, but through IP, I simply connect to the linux bow, and it works. Therefore, I assume, if I can work out how to make it happen, the same *should* work over ppp. The presumption being that ppp link through modem == IP link through eth0.
I am going to try adding a shell to the end of the pppd script.
More info in a reply to Raphaels's mail...
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
On 07-Oct-99 Laurie Brown wrote:
Ok folks, quick question.
I succeeded in making a linux box a dial-in system, and it authenticates and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure I'm forgetting something simple, but can't think what. Clues gratefully received!
What are you dialling in with and what are you respondign with? Is it PPP/SLIP at both ends, or are you dropping straight into a shell?
Assuming that you ahve a PPP/SLip link, can you ping over it?
Do hosts.allow/hosts.deny permit telnet?
Is telnet enabled in inetd.conf?
X over a dial-up line will be painful. It is bad enough on my ADSL link, but then I do tend to run several sessions simultaneously ;-)
Raphael Mankin wrote:
On 07-Oct-99 Laurie Brown wrote:
Ok folks, quick question.
I succeeded in making a linux box a dial-in system, and it authenticates and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure I'm forgetting something simple, but can't think what. Clues gratefully received!
What are you dialling in with and what are you respondign with? Is it PPP/SLIP at both ends, or are you dropping straight into a shell?
I'm using ppp. I have a special user set up with a shell of /usr/bin/ppd. Authentication is done against /etc/passwd. All other users are excluded vis pap-secrets.
Assuming that you ahve a PPP/SLip link, can you ping over it?
Yes. I can ping the box I'm dialling into, and myself on the assigned IP address I've set up in ppp.options. I can also ftp into it withput problem
Do hosts.allow/hosts.deny permit telnet?
Yeah. Well, it works, but I have no idea why!
Is telnet enabled in inetd.conf?
Yep.
X over a dial-up line will be painful. It is bad enough on my ADSL link, but then I do tend to run several sessions simultaneously ;-)
I know. The priciple use of the PC is to allow dial-in access to a LAN with firewalling and some degree of security. Mostly, I ubderstand, it'll be used for ftp. However, the bloke (a mate) will need X because he knows sod-all about Linux!
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Try using the ppp option proxyarp (if you ain't already) (in /etc/ppp/options That tells the rest of the lan that you exist :) Though you probably knew that.
Dan
On Fri, 8 Oct 1999, Laurie Brown wrote:
Raphael Mankin wrote:
On 07-Oct-99 Laurie Brown wrote:
Ok folks, quick question.
I succeeded in making a linux box a dial-in system, and it authenticates and all that a treat. However, I want to telnet in over the dialled-in connection, and can't, and I want to use X (X-Win32) and can't. I'm sure I'm forgetting something simple, but can't think what. Clues gratefully received!
What are you dialling in with and what are you respondign with? Is it PPP/SLIP at both ends, or are you dropping straight into a shell?
I'm using ppp. I have a special user set up with a shell of /usr/bin/ppd. Authentication is done against /etc/passwd. All other users are excluded vis pap-secrets.
Assuming that you ahve a PPP/SLip link, can you ping over it?
Yes. I can ping the box I'm dialling into, and myself on the assigned IP address I've set up in ppp.options. I can also ftp into it withput problem
Do hosts.allow/hosts.deny permit telnet?
Yeah. Well, it works, but I have no idea why!
Is telnet enabled in inetd.conf?
Yep.
X over a dial-up line will be painful. It is bad enough on my ADSL link, but then I do tend to run several sessions simultaneously ;-)
I know. The priciple use of the PC is to allow dial-in access to a LAN with firewalling and some degree of security. Mostly, I ubderstand, it'll be used for ftp. However, the bloke (a mate) will need X because he knows sod-all about Linux!
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Dan Jones wrote:
Try using the ppp option proxyarp (if you ain't already) (in /etc/ppp/options That tells the rest of the lan that you exist :) Though you probably knew that.
Dan
Yep, that's set... I followed a really good guide to be found at http://www.swcp.com/~jgentry/pers.html At least, I think it's good!
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Okay, turn the ppp debugging on with the debug option
Then check in pppd.log whether it has found and arped on the ethernet card (99% of my dialin server faults were due to this)
Also, a blatently obvious thing, but you have set the ppp dilain (client side) as the default route?
Dan
On Sun, 10 Oct 1999, Laurie Brown wrote:
Dan Jones wrote:
Try using the ppp option proxyarp (if you ain't already) (in /etc/ppp/options That tells the rest of the lan that you exist :) Though you probably knew that.
Dan
Yep, that's set... I followed a really good guide to be found at http://www.swcp.com/~jgentry/pers.html At least, I think it's good!
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]
Dan Jones wrote:
Okay, turn the ppp debugging on with the debug option
Ok.
Then check in pppd.log whether it has found and arped on the ethernet card (99% of my dialin server faults were due to this)
Ok. It seems to dial in ok, and I can telnet over the link, just can't ftp or use X
Also, a blatently obvious thing, but you have set the ppp dilain (client side) as the default route?
Yeah, I've asked for the default gateway on remote client.
I've been a-fiddling, and I've found the problem with ftp. This is a classic, I knew it had to be something simple... I pruned the install right down, but was a shade more enthusiatic than I should have been... I didn't install the wuftpd daemon! Tart!
I'll see what happens with X now I've enabled tftp.
Cheers, Laurie.
[ This email came to you via the Anglian Linux User Group list ] [ If you only wish to recieve event announcements, email the ] [ SUBJECTs of "unsubscribe alug" and "subscribe alug-announce" ] [ to listserver@stu.uea.ac.uk -- We do need your support, tho' ]