Join Today
+ Reply to Thread
Page 1 of 9 12345 ... LastLast
Results 1 to 10 of 83
Like Tree3Likes

Thread: [APP] samba and inetd - telnetting into A1200

  1. #1
    Join Date
    Nov 2005
    Location
    France
    Posts
    99

    Arrow [APP] samba and inetd - telnetting into A1200

    Attached to this topic is my archive to be unziped at the root of the /mmc/mmca1 transflash on the a1200 that enables telnet (on everyhost) and samba.
    It requires that you enable usbnet by yourself and have a working loader in your .system (please refer to the other topics of this forum to achieve these goals).
    The archive contains sbin/ and Myprograms/ directories.
    In the sbin you have all the native inetd tcpd smbd in.telnetd aplpications and a program called tnlg.
    All the binaries are taken from the a780. The only difference is that I modified the call in in.telnetd to telnetlogin to redirect it to /mmc/mmca1/sbin/tnlg though a simple sed. Thus you need to preserve the same directory structure otherwise it will not work.
    All you have to do to launch samba or inetd(telnetd) is to click respectively on samba.lin or inetd.lin in MyPrograms.
    Enjoy!
    Attached Files Attached Files
    boolean22 likes this.

  2. #2

    Default Re: inetd (telnet) and smbd working solution (at least for m

    works like a charm thanks man

  3. #3
    Join Date
    Nov 2005
    Location
    France
    Posts
    99

    Default Re: Telnetting into A1200

    Since the topic is now sticky, please find attached the packaged version of the inetd and smbd daemon configured to launch telnetd and smbd for the a1200.
    Note that this package is working on firmware revisions 44p but is known not to work with higher versions since some libraries are missing (I am fixing the issue...).
    It requires mpkg for installation. When touching the inetd or smbd icons it simply enables/disables the daemon. The icon is used as an on and off switch.
    Note that though on the icon ssh is printed it is not yet enabled. I plan to install a dropbear client/server but it is not done yet...
    Compared to previous version it forces the phone to get into usbnet mode.
    Attached Files Attached Files
    Phones: a780/a910/a1200/rokre2/rokre6
    http://www.courville.org/mediawiki/index.php/EZX

  4. #4
    Join Date
    Jul 2006
    Location
    Vancouver, B.C.
    Posts
    1

    Default Re: Telnetting into A1200

    I am having some problems with the inetd package, I am not sure it is starting correctly. I have installed the package on my phone and usblan on my pc (adapter name Motorola_NA USB LAN LINK), but I cannot seem to connect via telnet, although I can ping the ip.

    I have tried port scanning it and port 23 is not open... when I try to connect it gives the same error each time:

    telnet 172.16.16.5
    Connecting To 172.16.16.5...Could not open connection to the host, on port 23: Connect failed

    I was just wondering if anyone had any suggestions for me..

    a1200 Firmware version is 44p

  5. #5

    Default Re: Telnetting into A1200

    try connecting to 172.16.16.6

  6. #6

    Default Re: Telnetting into A1200

    ok tryin to telnet into the phone do i change the ip settings in network connections or what, or is it auto-configured, and im tryiung to use explorer to view the files.

  7. #7

    Default Re: Telnetting into A1200

    # cat /proc/cpuinfo
    Processor : Intel XScale-PXA27x rev 7 (v5l)
    BogoMIPS : 103.76
    Features : swp half thumb fastmult edsp
    CPU implementor : 0x69
    CPU architecture: 5TE
    CPU variant : 0x0
    CPU part : 0x411
    CPU revision : 7
    Cache type : undefined 5
    Cache clean : undefined 5
    Cache lockdown : undefined 5
    Cache unified : harvard
    I size : 32768
    I assoc : 32
    I line length : 32
    I sets : 32
    D size : 32768
    D assoc : 32
    D line length : 32
    D sets : 32

    Hardware : Motorola Ezx Platform
    Revision : 0000
    Serial : 0000000000000000
    # df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 52M 53M 0 100% /
    /dev/root 52M 53M 0 100% /
    /dev/roflash1 16M 17M 0 100% /usr/language
    /dev/roflash2 9.5M 9.5M 0 100% /usr/data_resource
    /dev/roflash3 436k 436k 0 100% /usr/setup
    /dev/roflash4 104k 104k 0 100% /usr/securesetup
    /dev/mtdblock8 6.0M 2.0M 4.0M 33% /ezx_user
    /dev/mtdblock9 7.9M 3.0M 4.9M 38% /ezxlocal
    /dev/mmca1 484M 192M 292M 40% /mmc/mmca1
    #


    NICE!!!!!!

  8. Default Re: Telnetting into A1200

    I used to own a A780 phone and I already get most of stuffs working from here - USBLan, telnet over the bluetooth, sync the phonebook with evolution in Linux and etc....

    Unfortunately, it was stolen last week. And so I brought a new A1200 phone, but I still couldn't manage to get it connected to my Linux PC. My phone's firmware revisiion is 48P.

    Is there anyone out there can show me how to telnet to phone from my Linux PC? I already installed MKPG and Loader package onto the phone, and I tried the telnetd and smbd packages here, but it seemed not to work. Anyway what is IP address used by phone when it switchs to USB Lan - 172.16.16.6? It looked it is different from A780.

    Please help... Thanks.

  9. #9

    Default Re: Telnetting into A1200

    How do you see the /mmc/mmca1/ directory ?
    I don't see those directory when I'm connected with USB Storage
    or when I try to use the a1200's file manager ... ?

    In the a1200's file manager, I can navigate to the TransFlash section but in there I don't see /mmc/mmca1/

    any help appreciated
    thanks
    Motorola Ming, 46p Generic Firmware, Fido

  10. #10

    Default Re: Telnetting into A1200

    the /mmc/mmca1 folder is the transflash card.

    For example a file called MyFile.txt in the root of your transflash card is actually /mmc/mmca1/MyFile.txt
    Motorola A1200, 46p Generic firmware, Rogers


 
+ Reply to Thread
Page 1 of 9 12345 ... LastLast

Similar Threads

  1. Problem telnetting
    By khizerk in forum E6 General Chat
    Replies: 4
    Last Post: 02-07-2008, 07:27 AM
  2. Replies: 3
    Last Post: 10-29-2007, 12:22 AM
  3. MacOS X A1200 46p working with telnet & samba, FINALLY !
    By sschaubach in forum A1200 General Chat
    Replies: 18
    Last Post: 11-15-2006, 03:05 PM
  4. inetd daemon containing telnetd package for a1200
    By bragon in forum A1200 General Chat
    Replies: 3
    Last Post: 07-16-2006, 01:35 AM
  5. samba daemon package for a1200
    By bragon in forum A1200 General Chat
    Replies: 2
    Last Post: 07-15-2006, 08:51 PM

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