TYTN and LINUX Challenges - 8525, TyTN, MDA Vario II, JasJam General

I am fighting with these challenges, i am near to the final positive result,but still have problems...
I hope you can help me.
1) connect to internet via DUN
2) Connect to internet via PAN
3) Connect to internet via USB modem
4) Connect to internet via USB Internet sharing
5) Browsing and synchronizing the device
These are the little result so far :
1) Installed this cab :
http://forum.xda-developers.com/showpost.php?p=1351044&postcount=21 (thanx to the Author) and DUN is again available.
IT works without problems with Winzoz, but i am not succeeding with Linux.
I made the usual steps (like this post explain, i.e. : http://klamstwo.org/evad/archives/20 ) linux finds the modem but cannot make it call... (init strings for the modem perhaps?)
What the init string for the TyTN modem?
Any Hints?
( an A1000 works perfect via DUN and the same stick)
2) I followed this guide (thanks to the author) http://www.klamstwo.org/evad/archives/40
And the whole thing works (bnet is connected with IP address 192.168.0.187 and has gateway 192.168.0.1 ) except the fact that i cannot browse internet pages.
Could it be a DNS problem?
I'll try manual configuration and let you know.
3) I tried the connection using the ttyUSB0, modem is ready but does not initialize... HINTS ?
4) SYNCE or something easier?
5) I think Synce is the answer, but at the moment it does not work in my distribution (mandriva). A lot of problems during installation (RPMs and source compiled, non difference). I'll try again. I've followed the How to published around here, (http://forum.xda-developers.com/showpost.php?p=1550906&postcount=4) but i have problems with odccm... it does not install.
other ideas?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.

Are these challenges so HARD?
No one here around uses linux and TYTN?
Let's try solving one by one,
let's start with USB.
I tried this one
http://www.mobile-stream.com/usbmodem_wm.html
with windoz it is immediately recognized as a usb mmodem, but with linux the ppp scripts waits for "OK" till timeout.
I also tried the old wirelessmodem, the one for WM5, posted here
http://forum.xda-developers.com/showthread.php?t=306041 ,
but it does not show the kind of connection in the box (it is blank).
I tried to start it even if the box is blank, Windows recognizes it as a serial device, linux gets a lot of "OK" (KPPP) and Tytn shows the message "Please end data call first!"
I also tried this:
http://www.myehud.com/xv6600/usbmodem.html
But when i hit start It says "Not registered to the network!".
This is about Linux and USB moden... perhaps someone of you has succedeed?
Please report.
The other issue would be having internet sharing working with linux and usb ...
So linux users, let's try...

i'm a ubuntu user, and i feel you.. i don't want to run virtual box, so i just deal with no direct pda syncing.
i tried synce, and failed twice, months apart. (probably my fault somehow)
i do however have to use windows at work, so i end up doing most of my flashing and such there.
though, if you find a good NATIVE solution, let me know!

I am using Kubuntu, and can browse the My Documents folder of my PDA, so at least everything is talking to each other. However, I have not got round to configuring the synchronisation side of things; hopefully it should be possible.

Neil,
did you install synceor is somethingnative in your distribution?
Ahd what about the point 1 to 4?
Whether as internet sharing or modem, usb o BT, are you using the Tytn to connect thelinux box to the net?
I am really coing mad, i feel i am so near but i still cannot...
I don't understant why the Pand does not work for example, bnet has the right IP, has it's gatewaqy but still i cannot browse the net...

devilman - no, it was not native; I think it was SynCE, although, I can't be sure. It took some tinkering to get it going, but, now the device is immediately recognised when it is plugged in (USB) and ActiveSync is run.
To get the next stage working, I need to override the choice of library, as it continually tries to use an old version (libsync, I think), even though a new one is installed.
I have not tried 1-4, and, would not be sure how to do them, other than just trying to mount the device as a modem, and then using *99# as the number. In terms of init strings, these vary slightly by service- for example, for Vodafone UK, it is:
Code:
z+cgdcont=1,”IP”,”internet”
(The "z" at front is the AT command for modem reset; it might or might be necessary, but, sometimes helps the connection to work.)

well, I tried, as said in the first post,to use tytn asmodem.
To have it working with BT you have to install the hack in order to have DUn again.
To have it recognizedas a modem you have to put in in in the "modem" status (again, in WM6 wireless modem is not available,so you have to use the old one or the third party product).
In both case the lnux box connects with modem but i son't succeed in having it call the number...
I used the "usual" AT commands, like the "z" and the cgdcount...
Ideas?

I saw you'd got as far as having the device recognised as a modem, but didn't know quite how far you'd got. However, my Linux skills are so poor, I honestly wouldn't know where to go if the standard init. script did not work.
If terms of calling a number, would that not be *99# though?

Please, has noone found out how to have it working?
I am going mad about this.
I need a way to connect my linux box via tytn, usb or bt...
Any hint?

Uhm, for the last one (browsing the pocket pc) I use wm5torage. That turns your pocket pc into a USB disk and Ubuntu easily recognizes that as a removable drive. It is not the perfect solution but it is easy, fast and works.

and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?

ss1271 said:
and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?
Click to expand...
Click to collapse
there is another 3d all for this issue.

devilman said:
Please, has noone found out how to have it working?
Click to expand...
Click to collapse
I'm on Ubuntu 7.10 and running the official T-Mobile Austria WM6 upgrade on my Vario 2, Bluetooth PAN works flawlessly:
Code:
sudo pand --connect XX:XX:XX:XX:XX:XX
sudo dhclient bnep0
Back in WM5 days Bluetooth DUN worked as well, using the following chatscript in /etc/chatscripts/provider which I created with pppconfig:
Code:
# This chatfile was generated by pppconfig 2.3.17.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ+cgdcont=1,"IP","gprsinternet"
# ispnumber
OK-AT-OK ATDT*99#
# ispconnect
CONNECT ''
# prelogin
# ispname
#ogin: replace_with_name
# isppassword
#ssword: \qreplace_with_password
# postlogin
'' \d\c
# end of pppconfig stuff
and the corresponding /etc/ppp/peers/provider:
Code:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/rfcomm0
115200
defaultroute
noipdefault
remotename provider
ipparam provider
usepeerdns
of course, for this solution to work you would have to set up the rfcomm port for your tytn in /etc/bluetooth/rfcomm.conf
Code:
rfcomm0 {
bind yes;
device XX:XX:XX:XX:XX:XX;
channel 4;
comment "T-Mobile Vario II Bluetooth Dial-Up";
}
you should now be able to connect using the "pon" command.
I hope this post is of some help to you... good luck!

http://forum.xda-developers.com/showthread.php?t=344396
ya, too bad ;(
i still can`t use calendar or contact sync functions.
greets, Nik

devilman said:
4) Connect to internet via USB Internet sharing
4) SYNCE or something easier?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.
Click to expand...
Click to collapse
Depending on your kernel version (I think this applies to 2.6.21 and greater, but check other docs to be sure), there is a kernel module known as usb-rnds-lite. Get it (links from synce wikis), make it, use it, love it.
I have used it to ICS several devices, 8525, 8925, BlackJack I and II... only quirk is that is works best to start ICS _then_ connect the USB cable.

I suggest you to read this article:
http://ubuntu-utah.ubuntuforums.org/showthread.php?t=598890
You can also search by Google: "bnep0 pand pda linux"

Related

Sinchronizing Magigian on Linux with Synce

I followed both steps (usb and bluetooth) with no success...
are there any brave persons that are able to sync this device on Linux?
http://synce.sourceforge.net/synce/howto.php (USB)
If yes, could you please tell me which kernel did u use and yours secret tips? :wink:
What's exactly the problem you encounter? I use Raki and synce on one debian machine, but just to connect, show the magicians screen on the pc's screen and copy files between them, not to sync any data (appointments, etc.).
Greetings,
BGK
Which guide did you follow to set it up?
The device is recorgnized by dmesg but i can't connect to it with pppd
Have you tried multisync? It should be the bridge between synce and evolution
I have also successfully used RAKI on KDE desktop (Debian Testing) to connect to the Magician. It transfers files back and forth, with the right iptables masquerading entry (done manually) I can use the Internet, but I cannot sync anything either
I forget exactly what I installed, but everything should b plug&play.
Kernel 2.6.10, Hotplug, Synce-KDE...kernel installed manually, the rest from the Debian dselect program. There are certain things you have to set up with the kernel config.
What distro are you using? Any other details?
Re Multisync; I really do want to get synch'ing going like ActiveSync. I installed it, tried various configs, but I do not get anything in the program... Can anyone else help?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
uau, could you please post your software version?
did you pass some arguments to modprobe ipaq ?
If you made raki work you should install multisync and the evolution plugin..
it's already in http://www.multisync.org/files/multisync-cvs-snapshot.tar.gz
Hi metnik, sorry for the late reply.
My device is an O2 Mini (aka Magician), information at Settings => System => About, is
Windows Mobile 2003 Second Edition
Version 4.21.1088 (Build 14235.2.0.0)
I did not have to pass any arguments to ipaq module. It did everything auto; I guess it is because of the 2.6.10 kernel.
I have installed Multisync from Debian Testing, and it has SynCE and Ximan Evolution 2 plugins. I have created the synchronization pair with these, but NOTHING happens when I press the "Sync" button.
Raki, on the other hand, works nicely with the USB cable; even the KCeMirror works very nicely (window of the device on your desktop).
The only problem with Raki is the synchroniztion setup errors with "No Synchronizer found for (Contact)..."; i.e. I don't know how to get synchronization working with that either... It really would be nice to have a copy of my address book on my Linux partition somewhere. So far it is only on MS Outlook, which I don't use...:-(
Also, I have bluetooth transfers working between the Mini and my laptop, however, I havent figured out how to get bluetooth working with Raki. It would be rather nice.
Any clues?

Use Universal under Linux as UMTS modem

I would like to use my MDA pro as Modem under Linux (Ubuntu 5.10).
I tried it with USB connection and with Bluetooth, both with no luck.
My Question is, wether someone got this working and if yes, I would like to ask then also for a kind of howto, please.
umts modem
HI, I connect my universal via bluetooth under linux to /dev/rfcomm0 by using rfcomm tools. Next I run pppconfig tool to create a new connection, dialed number is *99# username and password - none..
On universal
1] start wireless modem over bluetooth
On linux box
1] # pon connectionname
tail -f /var/log/messages -- look at this for debug
connection may works fine for me..
at first can you pair your device with linux of course
sorry for my bad english..
hi!
i'm a linux newbie and have some problems to get my mda connected via usb to an ubuntu 5.10 distribution.
could someone please explain me how to use rfcomm? when i connect the mda, how can i find out name, port and mac adress of the device?
is there a tool out there, which shows me some informations for attached usb devices?
it would be very nice if someone could give me a step-by-step instruction for connecting my mda correctly to my pc and connecting both via umts to the internet.
on windows i got the usb-modem dialer which allows me to enter an apn. how do i handle this under ubuntu?
sorry for the newbie questions and my bad english. anyhow i hope someone would help me.
many thanks and best regards
sebone
umts
If your bluetooth is working correctly, you have to set a rfcomm device.
# hcitool scan
this show you mac address of your bt device
# rfcomm connect 0 MAC channel
this can make a node rfcomm0 in /dev
instead of channel you can type number from 1 to x
I don't remember exact number of channel..
right number can test for example with minicom.
thanks for your reply but i need to get it working via usb connection.
is anybody able to help me in this case?
thank you very much.
usb modem
However, I'am didn't find any usb modem linux drivers for universal ..
BT is best choice for now.
sebone said:
i need to get it working via usb connection.
Click to expand...
Click to collapse
serial over USB did not work for wince5 last time i have checked.
http://synce.sourceforge.net/synce

Universal as USB modem on linux

Hi,
There are plenty of posts related to this, but I cannot find one exactly dealing with this particular problem: I have linux installed on my laptop, and I would like to use my universal as a USB modem (UMTS modem would be great, but Gprs should be just fine). I do not really care about bluetooth, I just want to make it work with the usb cable, this would already be great.
Thank you,
Buzz.
Here's a cliff notes version of what worked on my tmobile MDA under linux...not sure how different the universal is.
Turn on modem link on the universal with USB as the type connection.
Run the following (and if this works you will want to have it run each time the pc boots up)
modprobe usbserial
modprobe ipaq vendor=0x0BB4 product=0x00cf
When you connect the universal to the linux box you should be able to run "dmesg" and see what the vendor and product #'s should be.
Once these have been ran the universal should map to /dev/ttyUSB0 (you will see it say so in dmesg)
You then setup a normal gprs type connection to your provider..dialing *99# etc....
Thanks for hint! The following commands:
"modprobe usbserial
modprobe ipaq vendor=0x0BB4 product=0x00cf"
really got my Himalaya to be detected as modem.
The modem is being succesfully queried with KPPP.
But I still can't connect to GPRS. There are 3 leds in WModem (connection, input, output), and noone flashes when i start to connect.
The modem is being initialized, then "Modem is ready", then "Dialing *99#...".
I use the following initialization string: AT+cgdcont=1,"IP","Internet",""
System is ALTLinux 3.0 Sisyphus, kernel 2.6.18.
What I did wrong?

Prophet similar to HTC Wizard - Help porting Linux to them!

Hello there,
as many of you may already know, the HTC Prophet shares a lot of its hardware with the HTC Wizard. We, the Linwizard Project, aim to port Linux to this OMAP-platform, as other users did port Linux for PXA-based devices like HTC Universal...etc.
I just want to invite you Prophet Users to checkout our project. Our procedure and yet available kernel should also run on your phone....
http://linwizard.sourceforge.net
Greetings,
Maui
Hi, I want to install Linux on my new Qtek s200, but I don't know how to do that. What is the project's actual status? I hate WM5
Is there any updates to this as yet? I would really love to see this ported/Running to my HTC prophet
Running it now
Yes, there has been some progress... the basic PDA functions are available: X runs, touchscreen works making it possible to run GPE on it:
Here's a link to a recent build which works reasonably well. It contains the f*ugly GPE shell so it is not pretty to look at, but it does work.
http://tinderbox.dev.gentoo.org/embedded/linwizard/gizard-20081108.tar.bz2
To try this for yourself, download the image, unpack the tarball and copy the entire contents to a directory on your SD-card. Go into that directory and run haret-0.5.2.exe. Run the 'default.txt' configuration.
Once the kernel boots it will start a telnet daemon on 10.100.0.1:23. Configure your side of the rndis network to be 10.100.0.2 (ifconfig usb0 10.100.0.2 on Linux, whatever on Windows) and telnet 10.100.0.1. Login as root, there is no password. Once logged in run startx to get GPE up and running.
Once GPE runs you'll want to add the onscreen keyboard to the panel. To do this tap-and-hold on the taskbar (bottom of screen) and add the 'input selector'. This gives you an on-screen keyboard just like the WM-one. Add a terminal launcher as well to get access to an xterm.
If all this is gibberish to you you might want to learn some unix/linux before you try...
Thanks alot it works on my prophet it's very fast to but am unable to login as root is there a way I can login to linux without using typing root? if not can u help me with the telneting into it please what software do I have to use on my pc it's a Windows is there anysite with instructions? I like it alot but since the prophet dont got a keyboard on it's own am not able to login please help and Thanks in Advance
Booting and running Linux on the Prophet
Most of what you need to boot and run Linux is described on the linwizard project site:
http://linwizard.wiki.sourceforge.net/
The version offered on the site is out of date - it does not do much more than boot the kernel which you can control through SSH (on 10.100.0.1:22).
To do some more with Linux you'll want to get a newer release. The one mentioned in the previous posting is a good example of where the project is now: relatively complete PDA-support but no real GSM support - so you can not use it as a phone...
To see Linux in action you download the tarball, untar it on your SD-card (either in a card reader on your PC or by untarring it on the PC and transferring all files to a directory below /Storage Card/. Once that is done you are well advised to do a soft reset to clear some memory as haret - the program used to push Windows Mobile out of the way and replace it with Linux - likes memory. After the (optional but advisable) soft reset you take your $favourite_file_manager to the directory where you put the contents of the tarball, execute haret-0.5.2.exe and run the default configuration (just click Run). Linux should boot, albeit slowly (it takes a long time to read the initrd - initial ramdisk - from the SD card). If you get a white screen which stays white for a long time you might as well reboot and try again. If you get a screen with a penguin with a hat on you're in. Plug in the USB cable if you haven't done that yet. You'll be staring at a login: prompt with no obvious means to type anything anywhere... that is because this Linux distribution is made for the Wizard instead of the Prophet, and the Wizard *does* have a keyboard. For now you'll have to resort to telnet to login and get things going. The phone is now listening on the cdc_ethernet interface (over the USB connection) on IP 10.100.0.1 so you'll want to configure the PC-side of the connection to something within that network range - 10.100.0.2 seems a logical choice. Configure the PC-side of the connection with IP 10.100.0.2 (ifconfig usb0 10.100.0.2 up on Linux, many many mouseclicks in the network manager on Windows). Once you have the network configured you can login with *telnet* (NOT ssh as mentioned on the linwizard site, the gizard tarball only has an active telnet daemon!), username is root, there is no password.
Once logged in use 'startx' to get the GPE shell running. It will complain about not being able to find a keyboard. The 'X' cursor appears, follwed shortly by the butt-ugly GPE interface. Once in the shell you can add a keyboard to the taskbar (tap-and-hold, choose add->input manager). There's more stuff to add, like a terminal (always handy) etc. Wifi does not work yet, GSM does not work yet, you just got yourself an iPaq...
If you're looking for eye-candy this is not it - yet. But as it is Linux, and free, and open, it can become anything you want it to...r
Am still getting error when trying to connect to my prophet useing usb is there anyway anything I need windows cant find the drivers is there a site I can download one from that supports my HTC prophet? And I tryed to connect to it but no luck I change my ip address to 10.0.0.2 255.0.0.0 and tryed to telnet to 10.0.0.1 but nothing, is there anyway to ping the device to see if it's up and running am upset, you sure there is no way to use it without having to login as root? This is giving me stress but al keep trying but am sure am missing somthing but what is it do you know? BTW I used the Drivers from http://forum.xda-developers.com/showthread.php?t=385129&highlight=linwizard&page=4
hope thats works for the prophet if not can you please help me find a driver for my prophet thanks again and good work
Sorry I got it to work I made a mistake its ip address 10.100.0.2 255.255.0.0 telnet 10.100.0.1 it works I even uploaded some pictures of it enjoy
I used a Nokia 3595 to take the pictures
just more pictures
Just a more pictures I love it I wish we can use it as a phone
They were taken with the Iphone
if Linux works on the HTC prophet then the Google operating system andriod must work to right? If so any information about it being ported to run on our phones?
hi all, i'm trying to make linux booting, but as just i start the haret and press run to execute the default.txt, it tell me :
kernel syncing panic.... and reboot after 30 seconds
any suggestion? i'm using vista 64bit and a qtek s200 wm6.1
Well am not to sure about this but al try to help Now tell me first did the linux boot on your ppc? to the screen were its asking for username? if so its ok if Not and it resets your mobile then something is wrong tell me what does it say and to tell net to it first you need the drivers did you get it? if not al post a link to download it ok I never had that problem before try running it on your SD card did you download all the files needed? I just updated my prophet rom so al try it my self it could be a firmware problem al try my best to help you ok
umh i havent installed any driver on my pc...... on the profhet, all i do was extracting files and run harted 0.5.2 .... and then press run. shell start, but then i got this error, i think it's more a pc-phone related problem..... i'll try do some other test
PS: telnet or ssh doesnt work
when i had BA phone, i was able to install linux on it, but i had just to start harted and all was working then.
Well it could be a ROM issue try to close unused programs it might help were is the files located? in the main memory or storage card? Anyway keep trying I don't understand much the drivers I posted a link for it already read my older replys ok And try a different ROM becouse am not getting this problem on mines
is it already found how to call with linux?
that is fantastic, I will refresh my Xda neo
Hi everyone!!
I'm trying to boot linux on my device, but when I type "startx" it not start the GUI..
Which version did you try??
To boot linux, I always need a pc to do the login??
Hi, i have one prophet and yesterday runned one old version of android (0.8 think), i follow one tutorial of this forum(think, i visited a lot of web for this...) plus to it one haret(0.5.0 i think because download a lot of haret) and android runned in my prophet..but it were very very very slow and i'dont like it...
How can i put GPE in my prophet?
can i make it with linwizad 0.2.0?are all necesary files into?
is need one pc with linux for start it(i don't have it, any solution)?
Thanks
PS Sorry about my bad english
I found this in the web:
http://usblinux.org.ru/archives/category/setup/from_windows
http://anterior-linuxlive.blogspot.com/200...fiish-m700.html
http://4pda.ru/forum/index.php?showtopic=89832&hl=linux
Can it help us?
I would like run linux in my prophet..but i never use Linux...
Is possible OPIE in prophet?
Also this:
http://4pda.ru/forum/index.php?showtopic=55392&hl=linux
Is interesting post #10 OpenMoko s100...not?

Linux and USB

I've been trying to get my trinity to work as an USB modem to Ubuntu Linux not succeeding in it. I've gotten the phone say connecting but nothing. Can anyone help me?
I'm sorry if this has been gone through already but I'm surfing with my PDA and trying to find info is killing me with this screen..
BTW I also don't have gps under the settings.. I've upgraded the official ROM. Should I have it?
Thanks to everyone.
I've got the same your problem...
I can't understand ... usually I do it by a rfcomm connection next I use the dev /dev/rfcomm1 like a modem device
con this windows mobile it doesn't work
solution is here....
http://forums.gentoo.org/viewtopic-t-564041-highlight-.html
you should have pand and have to activate remote connections on the phone
so you will be able to navgate by phone trought bluetooth
this is a simple script that I have configured
#!/bin/bash
MACTELEFONO="xx:xx:xx:xx:xx:xx"
echo "connessione a $MACTELEFONO"
pand --connect $MACTELEFONO
dhcpcd bnep0

Categories

Resources