Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1

    Default MacOS X A1200 46p working with telnet & samba, FINALLY !

    Fellow motoheadz,
    I have finally got the A1200 talking to my PowerBook 12' G4 MacOS X 10.4.8. After spending a lot of the weekend figuring out the AJZaurusUSB-0.3.2 USB driver's issues, I got it working... what a chore. Anyway here you go, A1200 telnet/smb via a mac!

    A couple of things before I list the steps:
    ^^^^^^^^^^^^^^^^^^^^^^^^
    1-For right now and until a better programmer gets the driver loading automatically, you'll have to load it manually which I go into below.
    2-The get-a-shell wiki page seems to be wrong, too for the Ming entry for the Info.plist". I will try and edit that wiki later today
    (http://wiki.openezx.org/Get_a_shell <<wrong for now>>)

    :: STEPS ::

    1) install mpkg (i will try and provide a link later but search this site)
    2) install Loader (i will try and provide a link later but search this site)
    3) download and install inetd and smbd from here:
    http://motorolafans.com/index.php?na...t=4756&start=0
    4) download and install AJZaurusUSB-0.3.2 from here (mine was PPC):
    http://www.dsitri.de/wiki.php?page=AJZaurusUSB
    5) after install, replace the entire file located "/System/Library/Extensions/AJZaurusUSB.kext/Contents/Info.plist" with the following contents (need to be root or authenticate)
    [marq=right]
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>English</string>
    <key>CFBundleExecutable</key>
    <string>AJZaurusUSB</string>
    <key>CFBundleGetInfoString</key>
    <string>MacOS X 10.4 USB driver for Linux PDAs</string>
    <key>CFBundleIdentifier</key>
    <string>org.lucidcake.driver.AJZaurusUSB</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>AJZaurusUSB</string>
    <key>CFBundlePackageType</key>
    <string>KEXT</string>
    <key>CFBundleShortVersionString</key>
    <string>0.3.2</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>0.3.2</string>
    <key>IOKitPersonalities</key>
    <dict>
    <key>Motorola Ming</key>
    <dict>
    <key>CFBundleIdentifier</key>
    <string>org.lucidcake.driver.AJZaurusUSB</string>
    <key>IOClass</key>
    <string>org_lucidcake_driver_AJZaurusUSB</string>
    <key>IOProviderClass</key>
    <string>IOUSBDevice</string>
    <key>idProduct</key>
    <integer>24615</integer>
    <key>idVendor</key>
    <integer>8888</integer>
    </dict>
    </dict>
    <key>OSBundleLibraries</key>
    <dict>
    <key>com.apple.iokit.IONetworkingFamily</key>
    <string>1.5.0</string>
    <key>com.apple.iokit.IOUSBFamily</key>
    <string>2.5.6</string>
    <key>com.apple.kpi.bsd</key>
    <string>8.8.0</string>
    <key>com.apple.kpi.iokit</key>
    <string>8.8.0</string>
    <key>com.apple.kpi.libkern</key>
    <string>8.8.0</string>
    <key>com.apple.kpi.mach</key>
    <string>8.8.0</string>
    <key>com.apple.kpi.unsupported</key>
    <string>8.8.0</string>
    </dict>
    <key>OSBundleLibrariesDisabled</key>
    <dict/>
    <key>OSBundleRequired</key>
    <string>Network-Root</string>
    </dict>
    </plist>

    6) download and install AJZaurusUSB-0.3.2 source code here:
    http://www.dsitri.de/wiki.php?page=AJZaurusUSB
    7) hang in there this isn't as hard as it seems but goto apple and download "XCode 2.4". You'll have to sign-up (free) here:
    http://developer.apple.com/membership/
    find Xcode 2.4 under Development Tools download & install. It's huge-- be prepared. Perhaps the driver will be fixed soon so you won't have to do this.
    8) replace the Info.plist info from step #5 above for the file(s) in the source folder as well.
    9) read its directions carefully & compile AJZaurusUSB-0.3.2
    10) whew, almost finished. Now, open a terminal and cd to the source code folder AJZaurusUSB-0.3.2 and type "make load"
    11) check that it's loaded by typing:
    "kextstat | grep -i lucid"
    it should look similar to this:
    org.lucidcake.driver.AJZaurusUSB (0.3.2) <44 27 6 5 4 3 2>
    12) put the phone in USBNET mode
    13) make sure inetd & smbd are colored 'yellow' aka ON
    14) connect the phone to the laptop via usb cable
    15) goto System Preferences-->Network then, review the ReadMe from the driver for the next step
    16) for the new port, select tcp/ip manually and give it the ip:
    192.168.1.1
    17) for telnet, open a terminal and type:
    telnet 192.168.1.2
    18) for smb (samba), in the finder click Go menu the select "Connect to Server" and enter:
    Code:
    smb://192.168.1.2/system/
    18) You're done buddy, enjoy and toss that PC laptop from work back in the drawer


    This will only get easier as time goes by but don't be afraid to PM me if you get stuck.

    Best,

    Stephen

    ps. BTW you can use wi-fi at the same time of course
    Attached Thumbnails Attached Thumbnails MacOS X A1200 46p working with telnet & samba, FINALLY !-picture_1.png  

  2. #2

    Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    Good work, I will try this later.

    Thanks
    Motorola A1200, 46p Generic firmware, Rogers

  3. #3

    Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    Wow! Good news!

  4. Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    THANK YOU, SHKABACK!

  5. #5
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    9

    Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    how would i put my phone in usbnet mode? i have the .06 firmware and i dont actually have an option to throw it into this usbnet mode. is there a way to do it from a mac? or would i have to get the 46p firmware?
    thanks

  6. #6

    Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    livebob,

    first of all, I thought that when you click the TELNET icon it put it in USBLAN mode....but here are the instructions anyway

    You will need to communicate with your mac via modem mode then somehow issue the command string:

    AT+MODE=13

    (you may want to do a search for the text AT+MODE for other cool commands)

    Now, you can try and use Zterm for MacOS X or, try this:

    1- set your phone to modem mode & connect via usb cable to mac
    2- go to your network settings in system preferences
    3- add the new modem that was detected
    4- configure the modem PPP and click on advanced
    5- check something like show console
    6- click Connect or dial
    7- it should bring up a white empty window
    8- paste in AT+MODE=13

    hopefully this will work for you at which pointg your phone will be in USBLAN mode, if not post back and I will try it all out for you when I get a sec

    if it works (should) then you can use my instructions above...may have to unplug the phone. BTW, check the /Applications/Utilities/Console.app and follow the console log to see if you get messages

    Best,

    Stephen

    ps. I'm now watching this section via email so I can post back quicker to you

  7. Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    hi stephen,

    i think i might be close, but still no cheese. here's the scoop:

    * my ming came with 53p installed
    * i followed your directions above. the compile went fine and i see that the driver's loaded on my mac (ppc, os x v.10.4.7)
    * i have inetd v1_1 installed on ming, plus loader and mkpg
    * i used zterm to put ming into usbnet mode

    when i plug in the ming and click loader, then go to os x network prefs, os x detects the ming as a network adapter and lets me assign an IP. i give it 192.168.1.5 (because 1.1 is in use on my network).

    i click inetd icon once on ming, then open console in os x and try pinging ming. i get replies back from 192.168.1.5.

    then i try telnetting. os x shell tells me "trying 192.168.1.6..." but it eventually times out.

    i used nmap to scan my lan for any open/valid telnet ports and there are none on either 192.xxxx nor 172.xxxx, so it seems the ming isn't listening properly. i don't have firewall enabled or anything should be blocking access from os x.

    i've tried the rebooting and steps above in all possible orders, and in every single case, i can ping, but no telnet.

    i *am* able to telnet into ming from windoze, but who wants that???

    any other ideas? i must be forgetting a step somewhere....

  8. Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    hi stephen,

    i tried updating to os x 10.4.8 and recompiling the USB driver, but still no go.

    also, both inetd & smbd daemons are yellow--seem ok.

  9. #9

    Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    nukekiller,
    First let's rule out the phone not listening. Download a java telnet client such as mutelnet.com and try to connect to 127.0.0.1 Once that works you should be in business.I should also mention that once you load the driver, sometimes it disappears so check again and load if you need too, again.

    I think you're close, very close! you got the hardest part done...the driver part

    Also, what did your console say when you plug in the phone to the mac?


    *oh, was it a typo that you set the Mac's address to 192.168.1.5 and then ping'd you own mac? try turning off all network (home network, etc) and just use the USB driver and assign 192.168.1.1 and telnet to 192.168.1.2. The reason I say this is the telnet code on your phone opens THAT port on your phone. try putting the phone in mass strorage mode and open a terminal into that directory and cd into .system and the the QTDownloads and then inetd directory (may have spelled wrong) and take a look at all the .sh files as they may give you some good info, too

    Best,

    Stephen

  10. Default Re: MacOS X A1200 46p working with telnet & samba, FINAL

    omgd, you did it! THANK U MR. S!

    notes for anyone else -- avoid my lame mistakes:

    * follow stephen's instructions and get the java telnet client - it makes troubleshooting against your ming's localhost faster

    * if telnetting to 127.0.0.1 doesn't work, rerun inetd on the ming and try telnetting against yourself again (u may need to do this several times)

    * IP address of phone should be set to 192.168.1.1, then telnet to 192.168.1.2, as stephen sez above -- other addresses didn't work for me (i was setting phone to .5 and trying to telnet to .6)

    * u may need to 'make load' the USB driver in OS X from the shell prompt if OS X doesn't load it for you automatically for some reason

    * does anybody have the source for zork?

    --n


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Telnet fails ; samba working
    By srawat_itpro in forum E6 General Chat
    Replies: 0
    Last Post: 06-14-2007, 03:51 PM
  2. Lin, MPKG, Telnet, Samba
    By wertex in forum E6 General Chat
    Replies: 54
    Last Post: 03-22-2007, 04:56 AM
  3. How to telnet and samba e680i
    By starcomplex in forum E680i General Chat
    Replies: 0
    Last Post: 10-21-2006, 04:04 PM
  4. 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
  5. E680i Telnet on MacOS X using LeoPPP MPKG
    By inijohan in forum E680i General Chat
    Replies: 7
    Last Post: 09-14-2006, 08:58 AM

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