Results 1 to 1 of 1
  1. #1
    offline Itty Bitty Modder
    Join Date
    Sep 2009
    Location
    Germany
    Posts
    2
    Thanks
    1
    Thanked 2 Times in 1 Post
    Downloads
    56
    Uploads
    0

    Z6 Trouble with Telnet under Linux - Working from XP

    Hi there!

    I'm having some trouble connecting via telnet from my Linux Box to my Z6.
    When connecting from Windows XP, telnet ist working like a charm.
    Under Linux i tried anything i could think of.
    I set the IP adress of the USB0 interface to 192.168.16.1and even tried getting an adress with DHCP (I read somewhere that another Moto Phone had an DHCP-Daemon running) and set the route with "route add 192.168.16.2 dev usb0" - to no avail.
    My linux box is running Archlinux with a 2.6.30.2 kernel (non-vanilla), usbnet-, zaurus- and cdc_ether-modules are all built and loaded.
    The Phone is a Motorola Z6 running WK Tools 2.8 on top of R60_G_80.33.44R.

    Any help is greatly appreciated

    Regards,

    Steffen

    Hi there!

    I just found a solution that works for me.
    Apparently the Z6 doesn't automatically set IP for usbl0, but is waiting for a DHCP lease.
    I just wrote a shell script which sets the IP adress when run on the phone.
    This is the script:
    Code:
    busybox killall inetd
    mount -t devpts devpts /dev/pts
    inetd /etc/inetd.engr
    ifconfig usbl0 192.168.16.2 netmask 255.255.255.248
    /sbin/telnetd
    After running the script with zLauncher and setting up usb0 on my Linux Box, i can finally telnet and ftp to my phone.

    I hope this is helpful for anyone who's having a problem connecting to the phone.

    Cheers,

    Steffen
    Last edited by stlang75; 09-25-2009 at 10:50 AM. Reason: Automerged Doublepost

  2. 2 Users Say Thank You to stlang75 For This Useful Post

    renesis24 (01-15-2010), thetuxracer (06-14-2010)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •