Motorola Development Community

Member Login

Quick Search



A1200 Applications A1200 complied application


Reply
  #1  
Old 06-25-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
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
File Type: zip a1200_smbd_inetd.zip (375.7 KB, 9008 views)
Reply With Quote
The Following User Says Thank You to bragon For This Useful Post:
boolean22 (12-30-2007)
  #2  
Old 06-26-2006
MotoFans MODR
 
Join Date: Jan 2006
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: inetd (telnet) and smbd working solution (at least for m

works like a charm thanks man
Reply With Quote
  #3  
Old 07-15-2006
bragon's Avatar
MotoFans JUNR
 
Join Date: Nov 2005
Location: France
Posts: 99
Thanks: 0
Thanked 11 Times in 6 Posts
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
File Type: zip inetd-a1200-v1_1.zip (380.1 KB, 5261 views)
File Type: zip smbd-a1200-v1_1.zip (344.6 KB, 1938 views)
__________________
Phones: a780/a910/a1200/rokre2/rokre6
http://www.courville.org/mediawiki/index.php/EZX
Reply With Quote
  #4  
Old 07-22-2006
cyph3r's Avatar
MotoFans NWBE
 
Join Date: Jul 2006
Location: Vancouver, B.C.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #5  
Old 07-22-2006
linelock's Avatar
MotoFans MODR
 
Join Date: May 2006
Posts: 135
Thanks: 0
Thanked 4 Times in 1 Post
Default Re: Telnetting into A1200

try connecting to 172.16.16.6
Reply With Quote
  #6  
Old 07-22-2006
MotoFans NWBE
 
Join Date: Jul 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #7  
Old 08-06-2006
MotoFans NWBE
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
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!!!!!!
Reply With Quote
  #8  
Old 08-12-2006
MotoFans NWBE
 
Join Date: Feb 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #9  
Old 08-18-2006
MotoFans NWBE
 
Join Date: Aug 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #10  
Old 08-18-2006
valkur's Avatar
MotoFans XPRT
 
Join Date: Jan 2006
Posts: 380
Thanks: 0
Thanked 5 Times in 3 Posts
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 With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem telnetting khizerk E6 General Chat 4 02-07-2008 06:27 AM
a1200 busybox based inetd (telnet,ftp,httpd, cli utils) and tcl Petroffich Development 3 10-29-2007 12:22 AM
MacOS X A1200 46p working with telnet & samba, FINALLY ! sschaubach A1200 General Chat 18 11-15-2006 02:05 PM
inetd daemon containing telnetd package for a1200 bragon A1200 General Chat 3 07-16-2006 01:35 AM
samba daemon package for a1200 bragon A1200 General Chat 2 07-15-2006 08:51 PM

 
Advertisement

Partner Links





Web Analytics