Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
Like Tree1Likes

Thread: A1200 telnet problem

  1. #1
    Join Date
    Nov 2008
    Location
    Novi Sad, Serbia
    Posts
    18

    Default A1200 telnet problem

    Hi there.

    I'm trying to telnet into my A1200 so I could install sshd and start poking Montevista

    But, strange things happen.

    I've installed netcontrol_0.2b package and with it I turned inetd. USB mode is usbnet. Phone's IP is 192.168.1.2.

    On the computer side:

    Code:
    # ifconfig usb0
    usb0      Link encap:Ethernet  HWaddr 6e:4c:34:33:4a:d6  
              inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
    Code:
    # route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.2     0.0.0.0         255.255.255.255 UH    0      0        0 usb0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 usb0
    Code:
    $ nmap 192.168.1.2
    
    Starting Nmap 4.62 ( http://nmap.org ) at 2008-11-19 10:03 CET
    Interesting ports on 192.168.1.2:
    Not shown: 1714 closed ports
    PORT   STATE SERVICE
    23/tcp open  telnet
    
    Nmap done: 1 IP address (1 host up) scanned in 1.790 seconds
    But when I try to actually get to the phone, this happens:

    Code:
    $ telnet 192.168.1.2
    Trying 192.168.1.2...
    Connected to 192.168.1.2.
    Escape character is '^]'.
    Connection closed by foreign host.
    Do you have any idea? I don't. Maybe I need to install some other package?

  2. #2
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    622

    Default

    I use something called MOTnet I found somewhere on these forums. I connect phone to pc, in modem mode, then click the MOTnet icon. then in cmd i type "telnet 192.168.16.2" - this may not be the same for you! then it asks for a login password and i type root, and viola. This is on windows XP though.
    Last edited by Casper; 11-19-2008 at 03:37 PM.

  3. #3
    Join Date
    Oct 2007
    Location
    Portland, OR
    Posts
    279

    Default

    Quote Originally Posted by kotnik View Post
    But when I try to actually get to the phone, this happens:

    Code:
    $ telnet 192.168.1.2
    Trying 192.168.1.2...
    Connected to 192.168.1.2.
    Escape character is '^]'.
    Connection closed by foreign host.
    Do you have any idea? I don't. Maybe I need to install some other package?
    I get the same error when trying to telnet, but cygwin ssh to the ming works. I guess they want the more secure method. I installed ssh on the Ming without using telnet, obviously. I think I used a combination of mass storage mode and ekonsole to set up the keys. I say "I think" because I did it a year ago and am not sure.

  4. #4
    Join Date
    Nov 2008
    Location
    Novi Sad, Serbia
    Posts
    18

    Default

    Thanks for replies

    I'll try to find and use MOTnet or try to setup SSH without working telnet.

  5. #5
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    @kotnik
    I use this package --> http://www.motorolafans.com/forums/a...smbd_inetd.zip

    to telnet to my phone successfully. Something doesn't look right in what you said before, kotnik. You mentioned that your phone's IP is 192.168.1.2. However, I'd expect it to be 192.168.16.2. Did you mistype the IP, perhaps?
    Last edited by intermario_gr; 11-20-2008 at 11:23 PM.

  6. #6
    Join Date
    Nov 2008
    Location
    Novi Sad, Serbia
    Posts
    18

    Default

    No, that's the IP, at least that what netcontrol says

    And if I nmap it, I can clearly see telnet open.

    I'll try that package you suggested me, and see if it works for me. Thanks

  7. #7
    Join Date
    May 2008
    Location
    italy
    Posts
    819

    Default

    hi @all
    for winzoz and linux:
    first install MOTnet.pkg (just remove .zip and install)
    better if you install busybox so you can run more command under win (like vi free ecc.)

    for linux:
    put the phone in USBmode -> modem
    connect with usb cable the phone to pc
    In linux you need the zaurus modules (in sidux there is):
    # modprobe zaurus
    in the phone now clic icon MOTnet
    open a shell and run like root:
    # ifconfig usb0 192.168.1.1 netmask 255.255.255.0 mtu 900
    # telnet 192.168.1.2
    when asked for login just insert root

    for win ( like Casper sayd ):
    put the phone in USBmode -> modem
    connect with usb cable the phone to pc
    in the phone now clic icon MOTnet
    open a terminal -> start run insert cmd
    telnet 192.168.16.2
    when asked for login just insert root
    after connect may be better if you installed busybox and you don't find a command, make a try with busibox:
    # busybox free (just like es.)
    By
    Attached Thumbnails Attached Thumbnails A1200 telnet problem-linux.png   A1200 telnet problem-winzoz.png  
    Attached Files Attached Files
    kotnik likes this.

  8. #8
    Join Date
    May 2007
    Location
    Mumbai
    Posts
    3,010

    Default

    For anyone who gets to telnet successfully in Linux, could you please write a complete tutorial on how to? I dont have a linux machine, not experienced
    something on the lines of this: http://www.motorolafans.com/forums/e...t-into-e6.html
    Last edited by Konig; 11-21-2008 at 04:17 PM.


    We're watching you. Be afraid. Be very afraid.

  9. #9
    Join Date
    Oct 2008
    Location
    Holyoke, MA
    Posts
    3

    Default inetd.conf is broken

    There's something broken in the netcontrol package, at least it was on mine. I had the same problem (also run linux, but that shouldn't matter).

    Netcontrol's inetd.conf file points looks in the wrong location for tcpd and in.telnetd.

    netcontrol/inetd/inetd.conf:
    Code:
    # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
    #ftp	stream	tcp	nowait	root	/usr/sbin/tcpd	in.ftpd
    telnet	stream	tcp	nowait	root	/mmc/mmca1/.system/QTDownLoad/inetd/tcpd	/mmc/mmca1/.system/QTDownLoad/inetd/in.telnetd
    The tools it needs are actually in /mmc/mmca1/.system/QTDownLoad/netcontrol/inetd/

    There are a number of ways to fix this:
    1. Extract netcontrol_0.2b.pkg (.pkg == .tar.gz), edit inetd.conf to reflect the correct path, repackage it, and reinstall to your phone
    2. Create /mmc/mmca1/.system/QTDownLoad/inetd and copy tcpd and in.telnetd there
    3. Edit inetd.conf using vim under eKonsole

  10. #10
    Join Date
    May 2008
    Location
    italy
    Posts
    819

    Default

    @MetalWanderer
    Thanks for check netcontrol_02b.pkg and repoting bug and solution.
    I don't check.
    Just installing motnet.pkg run fine without need for netcontrol.
    By


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. telnet problem
    By flexium in forum E6 General Chat
    Replies: 15
    Last Post: 02-01-2009, 10:28 AM
  2. Yet another telnet problem
    By AplqQ in forum A780 General Chat
    Replies: 7
    Last Post: 07-11-2008, 09:20 PM
  3. Telnet problem
    By qualityking in forum E6 General Chat
    Replies: 12
    Last Post: 12-26-2007, 11:16 AM
  4. A problem with telnet
    By khizerk in forum E6 General Chat
    Replies: 0
    Last Post: 08-10-2007, 05:56 PM
  5. Telnet problem with ROKR E6
    By jaga_m in forum E6 General Chat
    Replies: 2
    Last Post: 06-04-2007, 03:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1