2
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Telnet plugin  (Read 24519 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Telnet plugin
« Reply #15 on: August 16, 2011, 06:28:15 PM »
For this plugin to run, you need to have B3 installed from sources instead of from the windows installer

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #16 on: September 05, 2011, 11:53:35 PM »
How to configure putty to connect to telnet server? Where should I put the B3 id and password?
Python, Php, UrT SourceCode

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Telnet plugin
« Reply #17 on: September 06, 2011, 09:29:09 AM »
once connected it asks you to type your login and password in

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #18 on: September 06, 2011, 10:21:15 AM »
I try telnet in MsDos or Putty but the result is the same, the session close before or during user id typing.

I have B3 V1.5.0 no standalone, and python v2.6.

Log from b3 :
Quote
110905 23:42:22   INFO   TelnetPlugin: telnet client connecting from 192.168.1.2:2299
110905 23:42:22   INFO   TelnetPlugin: ('PC_Dell', [], ['192.168.1.2'])
110905 23:43:00   INFO   STDOUT ----------------------------------------
110905 23:43:00   INFO   STDOUT

110905 23:43:00   INFO   STDOUT Exception happened during processing of request from
110905 23:43:00   INFO   STDOUT 
110905 23:43:00   INFO   STDOUT ('192.168.1.2', 2299)
110905 23:43:00   INFO   STDOUT

110905 23:43:00   ERROR   STDERR Traceback (most recent call last):

110905 23:43:00   ERROR   STDERR   File "C:\Python26\lib\SocketServer.py", line 558, in process_request_thread

110905 23:43:00   ERROR   STDERR     self.finish_request(request, client_address)

110905 23:43:00   ERROR   STDERR   File "C:\Python26\lib\SocketServer.py", line 320, in finish_request

110905 23:43:00   ERROR   STDERR     self.RequestHandlerClass(request, client_address, self)

110905 23:43:00   ERROR   STDERR   File "C:\Python26\lib\SocketServer.py", line 615, in __init__

110905 23:43:00   ERROR   STDERR     self.handle()

110905 23:43:00   ERROR   STDERR   File "C:\B3_ServeurBeber\b3\extplugins\telnet\telnetserver.py", line 137, in handle

110905 23:43:00   ERROR   STDERR     while self.working and not self.server.shutdown_requested():

110905 23:43:00   ERROR   STDERR   File "C:\B3_ServeurBeber\b3\extplugins\telnet\telnetserver.py", line 73, in shutdown_requested

110905 23:43:00   ERROR   STDERR     return self._BaseServer__shutdown_request

110905 23:43:00   ERROR   STDERR AttributeError: TelnetServer instance has no attribute '_BaseServer__shutdown_request'

110905 23:43:00   INFO   STDOUT ----------------------------------------
110905 23:43:00   INFO   STDOUT


Log from putty :
Quote
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2011.09.05 23:36:45 =~=~=~=~=~=~=~=~=~=~=~=
HELLO from B3 Telnet plugin v1.5.0

user id :
Python, Php, UrT SourceCode

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Telnet plugin
« Reply #19 on: September 06, 2011, 01:48:07 PM »
do you use B3 installed from the Windows setup or B3 from sources ?

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #20 on: September 06, 2011, 05:44:02 PM »
B3 v1.5.0 from source I will try with v1.7.1
The problem is the same with B3 v1.7.1 installed from zip source.
« Last Edit: September 06, 2011, 06:09:50 PM by Beber888 »
Python, Php, UrT SourceCode

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #21 on: September 07, 2011, 06:29:28 PM »
Any ideas ?
Python, Php, UrT SourceCode

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Telnet plugin
« Reply #22 on: September 07, 2011, 08:58:11 PM »
No idea :s have you tried python 2.7 ?

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #23 on: September 07, 2011, 10:55:58 PM »
No I will if you think that's a good idea. With witch version of python did you test your plugin?
Python, Php, UrT SourceCode

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #24 on: September 07, 2011, 11:08:15 PM »
Hmm, I use py 2.6.4 on one box and had issues as well (it would connect, but not even ask me for a username...)

@Beber888 - if 2.7 fixes it please let me know and I will retry with 2.7
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #25 on: September 07, 2011, 11:18:29 PM »
Hey I just tried python 2.7.2 and it works.
I have a problem with the password but the telnet session don't die !!!
Python, Php, UrT SourceCode

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: Telnet plugin
« Reply #26 on: September 08, 2011, 12:02:55 AM »
I use
Code: [Select]
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #27 on: September 08, 2011, 03:07:18 PM »
Ok, so it seems this plugin needs python 2.7
Oh well, there is no easy way for me to update python on that box...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Beber888

  • B3 Contrib/Support
  • Sr. Member
  • *
  • Posts: 179
Re: Telnet plugin
« Reply #28 on: September 08, 2011, 09:56:47 PM »
Just install python.exe and install mysql python (3 minutes)...
Python, Php, UrT SourceCode

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: Telnet plugin
« Reply #29 on: September 08, 2011, 09:59:11 PM »
Just install python.exe and install mysql python (3 minutes)...
it is a linux box  - no exe

It is funny, cause I have 3 windows servers running py 2.7.1 but this one linux box runs 2.6.4. oh well
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

 


Rate this page +1 at Google Search

anything