Motorola Development Community

Member Login

Quick Search



A780 General Chat The A780 sports a 1.3 megapixel camera, TransFlash slot and supports EDGE networks.


Reply
  #1  
Old 09-19-2007
ctw ctw is offline
MotoFans NWBE
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation How to- telnet the a780 with ubuntu linux?

HI People,
This is my first post in this forum.
2 Weeks ago I bought me by Ebay this super mobile.
I want to ask if anybody knows a how-to (for newbies) to conect by Telnet the A780 with linux.

I've tried this e-link but for me doesn't work.


TIA.
Reply With Quote
  #2  
Old 09-19-2007
swifty's Avatar
mostly harmless
 
Join Date: Jul 2005
Location: Franconia
Posts: 4,767
Thanks: 77
Thanked 197 Times in 173 Posts
Default

what is an e-link?
try this:
http://www.troodon.org/a780/a780-linux-howto.htm
Reply With Quote
  #3  
Old 09-20-2007
ctw ctw is offline
MotoFans NWBE
 
Join Date: Aug 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks swifty.
I'll try it.
Reply With Quote
  #4  
Old 09-21-2007
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Default

Hello i will give you a short overview what is needed to connect per telnet with linux:

Changes: Special things to do for Ubuntu.

On your Phone
-------------

- you will need to install linloader
- make a "acmattach.lin" with an unix-compatible editor copy to the phone ones it needed open with linloader

echo MotNet > /proc/usbd-switch


Linux
-----

Kernel Options:
- usblan must be active 2.6.x-Kernel (It's active in Ubuntu)

Device Drivers --> Network device Support --> USB Network Adapters: (M) Multi-purpose USB Networking Framwork --> (M) Sharp Zaurus (stock ROMs) and compatible

How to Connect
--------------

on your phone:

- set the USB-options to modem
- execute acmattach.lin

- connect the wire with usb interface

on linux now:

Ubuntu: sudo modprobe usbnet

- set ip to the new usblan-interface usb0
ifconfig usb0 192.168.1.5 netmask 255.255.255.0 up

Ubuntu: sudo ifconfig usb0 192.168.1.1

- telnet 192.168.1.2

now your ready and you can login as root without password
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.

Last edited by Halftux; 10-03-2007 at 12:18 PM.
Reply With Quote
  #5  
Old 09-21-2007
swifty's Avatar
mostly harmless
 
Join Date: Jul 2005
Location: Franconia
Posts: 4,767
Thanks: 77
Thanked 197 Times in 173 Posts
Default

nice and short!
thanks
Reply With Quote
  #6  
Old 10-04-2007
Halftux's Avatar
EZX Parser
 
Join Date: Sep 2007
Location: Germany
Posts: 358
Thanks: 28
Thanked 81 Times in 52 Posts
Default

So i checked it with Ubuntu 6.10 and it's easy and works fine.
__________________
-------------------------------------
In any apple is a worm. Through each window flies a bug.
That's why I take Linux, because what does not fly can not crash.
Reply With Quote
  #7  
Old 10-04-2007
swifty's Avatar
mostly harmless
 
Join Date: Jul 2005
Location: Franconia
Posts: 4,767
Thanks: 77
Thanked 197 Times in 173 Posts
Default

yes, Ubuntu is easy and works fine (6.06 here)
next fun thing is telnet over bluetooth.
look out for macks connectivity pack and bluez
Reply With Quote
  #8  
Old 05-30-2008
HITMAnsOFT's Avatar
MotoFans NWBE
 
Join Date: May 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using Ubuntu Hardy 8.04 that does not have zaurus support by default, so the usblan mode didn't work with my A1200.

Here are the steps I've performed to make the driver work (should work on Gutsy too):

1. Install kernel sources

Code:
sudo apt-get install linux-source
2. Extract the archive (x.x.x is your version of kernel)

Code:
tar xf /usr/src/linux-source-x.x.x.tar.bz2
3. Configure the kernel
Code:
cd linux-source-x.x.x

make gconfig
The configuration window should open.

4. Select "device drivers->network device support->USB network adapters->Multi-purpose USB Networking Framework->Sharp Zaurus (stock ROMs) and compatible" and set the value to 'M' (by double-clicking)

5. Save and exit

6. Compile the module

Code:
make drivers/net/usb/zaurus.ko
7. Install the driver

Code:
sudo cp drivers/net/usb/zaurus.ko /lib/modules/<your kernel version>/kernel/drivers/net/usb/

sudo depmod -a
8. Load the module

Code:
modprobe zaurus
the usb0 should appear at this point (assuming the phone is connected)
Reply With Quote
  #9  
Old 06-02-2008
MotoFans NWBE
 
Join Date: May 2008
Posts: 22
Thanks: 1
Thanked 0 Times in 0 Posts
Default

So, I tried this with my 8.04 install and it works great. Got me up to the usbppp section. Now I can't seem to get that to work, and the bluetooth connections seem to lock up the computer. Still working through this.

Statik
Reply With Quote
  #10  
Old 06-15-2008
Ravindran's Avatar
MotoFans JUNR
 
Join Date: Jun 2005
Location: Bangalore,India
Posts: 93
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Ravindran
Default

Quote:
Originally Posted by Statik View Post
So, I tried this with my 8.04 install and it works great. Got me up to the usbppp section. Now I can't seem to get that to work, and the bluetooth connections seem to lock up the computer. Still working through this.

Statik
Hi Statik,

Even I have the same issues.. When I try to pair my A780 on Hardy 8.04, the whole computer freezes. Will file a bug soon.
__________________
----------------------------------
Linux Rocks!!
Reply With Quote
 
Reply

Tags
a780, linux, telnet, ubuntu

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
mount E680i on Linux (ubuntu dapper) leo_tzao E680i General Chat 9 11-10-2008 11:21 PM
Q: How can I use Ming as GPRS Modem in Ubuntu (Linux) sina_saeedi82 A1200 General Chat 3 03-03-2008 05:20 PM
TELNET from LINUX aksd A1200 General Chat 2 04-29-2007 08:42 AM
how to use linux telnet to E680? doromoji Development 5 02-20-2006 03:51 PM
problem using ubuntu telnet to e680i doromoji E680i General Chat 3 02-01-2006 08:07 AM

 
Advertisement

Partner Links





Web Analytics