Join Today
+ Reply to Thread
Page 5 of 6 FirstFirst 123456 LastLast
Results 41 to 50 of 51
  1. #41

    Default Re: A1200 telnet discuss

    Thanks Valkur,

    After I connect the USB cable I restore my eth1 and set an IP for usb0 using this command:

    ifconfig usb0 up 172.6.6.5 netmask 255.255.0.0

    The routing table is now as follows:

    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
    169.254.0.0 * 255.255.0.0 U 0 0 0 lo
    172.6.0.0 * 255.255.0.0 U 0 0 0 usb0
    default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1

    I can ping 172.6.6.5, but again this appears to be the IP number of the notebook itself. If I telnet to it, I end up on my notebook. Since the telnet daemon is not running (yet) on my A1200, I would expect a "connection refused" or something along those lines.

    What am I missing/doing wrong?

    Thanks again.

  2. #42

    Default Re: A1200 telnet discuss

    the phone should be on 172.6.6.6

    Make sure you have the telnet daemon running on the phone as well.
    Motorola A1200, 46p Generic firmware, Rogers

  3. #43

    Default Re: A1200 telnet discuss

    Unfortunatley no success The ip 172.6.6.6 does not respond to a ping. If I try to telnet to it, it says "Unable to connect to host.: No route to host".

    The inetd daemon is running on the phone. I installed the netd-a1200-v1_1.zip package from another thread and that appears to work OK. If I write a script (ps aux | grep inetd) and execute that on the phone, I can see that ./inetd is in the process list.

    Even though the author (bragon) claims that the phone should get into usbnet mode, I still need to use minicon from Linux to issue the AT+MODE=13 command.

    Any more pointers? Any Linux user on this forum that has telnet running from a Linux box to the A1200?

    Thanks

  4. #44

    Default Re: A1200 telnet discuss

    Quote Originally Posted by basd

    Any more pointers? Any Linux user on this forum that has telnet running from a Linux box to the A1200?

    Thanks
    basd,

    I don't know if you have figured your issues out yet, but if you have not it looks like your halfway there since you have the usb0 interface up on your workstation and the inetd process running on the A1200. I use linux as well and here are a few things I found when configuring the A1200 for telnet access.

    The interface that will be exposed on the A1200 side of the connection will be assigned an IP address of 192.168.1.2 (it is usbl0 on the phone) if the script that contains the commands to bring the interface up does not set an IP. This is true on my phone at least, I'm running firmware R532H2_G_11.20.03P_B which came on my phone and I installed bragon's latest telnet pkg. It seems the script is executed by hotplug on the phone when the usbl0 interface comes into existence. The script is located at /etc/hotplug/network_fd.agent on the A1200's file system, and the relevant part of the script is below:

    Code:
    # configuring a handheld device
            usbl*)
                    # did we get an IP address during enumeration?
                    if [ "$IP" != "0.0.0.0" ] ; then
                    
                            echo -n " get an IP addr during enumeration! "
                            ifconfig $INTERFACE $IP up
    
                    # default to a static IP
                    else
                            ifconfig $INTERFACE 192.168.1.2 up
                    fi
    Here is the output of ifconfig ran on the phone after USB networking has been enabled:

    Code:
    # ifconfig
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:180388626474 errors:0 dropped:0 overruns:0 frame:0
              TX packets:180388626474 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:10462540335492 (2.3 Kb)  TX bytes:0 (3.3204447280  ç)
    
    usbl0     Link encap:Ethernet  HWaddr 0E:63:5C:D1:3E:55  
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:40531606381789 errors:2 dropped:2 overruns:0 frame:2
              TX packets:27483495733503 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              RX bytes:2212698431937648 (503.1 Kb)  TX bytes:0 (6.3204447280  ç)
    It seems the Windows methods may set the IP address to 172.XXX.XXX.XXX somehow, but in my case not so for linux. So bring your usb0 interface up on your workstation up with a 192.168.1.0/24 address as follows:

    Code:
    ifconfig usb0 192.168.1.3 pointopoint 192.168.1.2 mtu 900
    man ifconfig for what pointopoint does if your not famaliar with it Basically it sets up a direct link between two interfaces. Of course change the 192.168.1.3 interface to whatever is available on your network. At the bottom of this page it is recommened to set the mtu to 900:
    http://www.courville.org/mediawiki/index.php/EZX

    Hope that helps.

  5. #45

    Default Re: A1200 telnet discuss

    Thanks dabtech. Much appreciated! Yes, I did work out by running ifconfig -a on the phone that the IP number was set to 192.168.1.2. My approach was to change that IP number on the phone side so it would talk to my pc, however, your approach of using point-to-point is much more convenient.

    Thanks again!
    Bas.

  6. #46

    Default Re: A1200 telnet discuss

    Let me add another link:

    http://www.linux-usb.org/usbnet/

    Have not studied it in much detail, but this should give the answers how can get the device to get an automatic IP number.

    Also this link : http://embedded.seattle.intel-resear...ting_up_USBnet is handy to get it up and running quickly.

  7. Default Re: A1200 telnet discuss

    Is anyone else having trouble getting the Belcarra driver installed under XP?

    Here's what I'm doing:

    * download Belcara INF
    * modify it with device ID lines as described above
    * wipe previous USB net entries from registry
    * plug in phone
    * when Found New Hardware window appears, I navigate to the inf. Windows reads the INF ok, but then errors out with:

    Cannot Install this Hardware...A service installation section in this INF is invalid.

    The problem seems to be with the original INF because the message appears whether I add the USB IDs or not.

    Here's a sample set of IDs from the INF (I added the last 2):

    %BTCUsbLan.DeviceDesc% = BTCUsbLan.ndi, USB\VID_22B8&PID_6027

    %BTCUsbLan.DeviceDesc% = BTCUsbLan.ndi, USB\VID_22B8&PID_6027&Rev_0000

    %BTCUsbLan.DeviceDesc% = BTCUsbLan.ndi, USB\VID_22B8&PID_6027\5&75451E6&0&2


    Any ideas how I can get this INF to install so I can begin telnetting?

    Thanks!!!!!

  8. #48

    Default Re: A1200 telnet discuss

    Yantse,

    Have you tried to connect A1200 under Linux?
    What drivers need to be load?

    Quote Originally Posted by yangtse
    How to telnet to A1200 in windows
    1 download telnet_A1200.rar
    ftp://down:ccmove%2Ecom@211.140.138....lnet_A1200.rar

    2 connect to windows(not linux or mac) in modem mode

    3 install telnet_A120.pkg

    4 click telnet in the menu.and install usbnet driver

    5 cp 1200.bat and nc.exe to d:\

    6 <win>+R type d:\1200.bat
    after this you can input "\\172.16.16.6\system" in the iexplorer


    how to install .pkg files

    download this,just as what you have done with E680/E680i
    http://60.191.254.153/download.asp?f...11887/yan0.rar
    Motorola A1200

  9. Default Re: A1200 telnet discuss

    I have an A1200 bought in India (firmware 08p). I am trying to telnet from my Linux box to the phone. I can set the phone to USB modem mode and set the AT+mode=13 from minicom. This gives me the MotoNet message on minicom.

    dmesg gives me the correct output (motolan). So I figured everything was ok. But telnet just does not work. The phone is apparently at 192.168.1.2 because none of the other IP addresses work. I had a bit of problem initially as my DHCP had assigned the same IP address to the linux box. I then changed the IP address of the linux box to 192.168.1.3.

    I tried setting the linux box ip on the usb0 interface to different values but to no avail (tried 192.169.1.3, 192.168.1.10, etc.) with different netmasks (255.255.0.0 and 255.255.255.0). If I do a telnet 192.168.1.2, I get the message: Connection refused. With any other IP address, I get: No route to host.

    smbclient and smb4k (kde front end to samba) cannot see any shares on the phone as well.

    Is there any further setting that needs to be done?
    Thanks in advance for any replies.

  10. #50

    Default

    after reading all the hits, i still not get it. there are too many files need to be installed, configerations and many ways to do, i mess up, please help!

    I have a1200, and want to use telnet via XP, I installed telnet_a1200.pkg and usbNet_1200.pkg, and successfully ping 192.168.16.1, but i can't, or i dont' know how to use telnet to brower internet/email stuff.

    i dont' understand :
    1: cp 1200.bat and nc.exe to d:\

    2: <win>+R type d:\1200.bat
    after this you can input "\\172.16.16.6\system" in the iexplorer( i am not use iexplorer)

    3: the file "btblan-demo-15ec-f001_204.zip" for? can anyone explain to me how to use it?


 
+ Reply to Thread
Page 5 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Telnet A1200 from Windows XP
    By alokm in forum A1200 General Chat
    Replies: 25
    Last Post: 10-02-2009, 10:28 AM
  2. A1200 telnet problem
    By kotnik in forum A1200 General Chat
    Replies: 14
    Last Post: 12-12-2008, 07:39 AM
  3. A1200 MacOS X telnet via usb or bt
    By sschaubach in forum A1200 General Chat
    Replies: 8
    Last Post: 10-02-2006, 01:13 PM
  4. Discuss-What is the major problem og A780
    By xufuchang in forum A780 General Chat
    Replies: 7
    Last Post: 09-23-2006, 11:24 PM
  5. about a1200's telnet
    By zhangyang in forum Development
    Replies: 15
    Last Post: 02-27-2006, 05:36 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