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
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?
Hi,
Where can I find a list of AT modem commands for the HTC Wizard (a.k.a. Qtek 9100) ?
I would like to retrieve the cellid. The command "AT+CREG" returns "ERROR". I have found a list for HTC Hermes on this website, but they don't seem to be compatible.
Many thanks,
Niko
AT commands are standard, should be the same in all devices.
Make sure you are registered to the GSM network before you run AT+CREG.
This sequence should work on wizard too:
Code:
AT+CFUN=1
AT+CPIN=1234 <---- replace 1234 with your SIM PIN code
AT+CREG=2
Thanks for your help !
I tried it, doesn't work.
When I send "AT (enter)" I get an "OK" back.
When "AT+CFUN=1 (enter)" I get an "ERROR" back.
This is my test setup:
- on my windows xp notebook I run a program http://www.ircomm2k.de/ which connects my infrared (irda) port to COM8
- using Hyperterminal I connect to COM8 to manually type AT commands
- on my mobile device XDA Wizard (Qtek 9100) I use the program "Modem link" to connect "IrCOMM" (the infrared port) to the modem
My mobile device is connected to the GSM network. I can even send AT commands to call a number, that works.
Thanks again,
Niko
same problem here with HTC kaiser on mac OSX Leopard.
Did anybody solve this??
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
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"