Use Universal under Linux as UMTS modem - JASJAR, XDA Exec, MDA Pro General

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

Related

Wireless Modem in new ROM updates

Hi,
Ok after the breakthrough regarding the ROM updates for QTEK 1010 and it was first revealed here on xda-develpers.com we have some new options in the QTEK now one of them is the WM.
Did anyone manage to use the Wireless Modem via IRDA because its not working the first thing is that the computer is seeing the device on infrared but not as a modem and i dont have an *.inf file to indentify it. If anyone managed to use his QTEK or any XDA via infrared to connect his laptop to the internet using GPRS plz explain how.
thanks
to irda on win2k/xp
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Ummm its a good idea but i am not sure if this will work on Windows XP... what do you think?
it does
it does, but as with all things apply with care
Tried it
I tried this a long time ago, IRCOMM2k works on XP but the problem is that i couldn't figure out how to setup a IR generic Modem working on that port.
Yes please, this is a good article,
I installed the ircomm2k on my XP, but how to configure the connection from my laptop to connect to the internet via my XDA PDA as an external modem?
to setup xda as a modem
1. Install Ircomm. note which com port is assigned as permanent.
2. Add new modem: standard 33600
3. Select com port from item 1 as the com port of choice
4. Edit modem profile in devices settings, in Extra Initialisation Commands add AT+CGDCONT=1,"IP","apn name"
5. VERY IMPORTANT: set flow control to OFF
6. Set port speed to 115200 ONLY
Set up a Mobile Web net connection as per your operator
Select your above modem
Align xda with irda port; select start on Wmodem app
Double click Mobile Web connection.
Surf. It's OK but not as fast as a GPRS card.
OR you can wait for O2 to eventually post some instructions...
Thank you very much for your feedback
I did all what you asked me to do, but its not working it gave me an error message:
Error 692: There was a hardware failure in the modem (or other connecting device).
I replaced AT+CGDCONT=1,"IP","apn name" BY AT+CGDCONT=1,"IP","apn01" same as Im using in my PDA. Am I right?
Something I didn't understand in your reply:
(Set up a Mobile Web net connection), you mean a normal dial-up connection?
One more thing, what do you mean by (select start on Wmodem app)?
Do I have to do anything in my PDA before I connect from my laptop? or do I have to do anything in my PDA configuration or connections settings?
Please help me, I want to use the Gprs on my laptop, no need to pay for 2 services, one for the PDA and other for my laptop
Best regards, Ali Alsaffar [email protected]
"select start on Wmodem app" - this means go into the Wireless Modem application on the xda, select IrDA (if thats now you are connecting) and then tap the Start button.
When you've done that, go the the DUN connection on laptop and connect as you normally do.
Unfortunatly I dont have "Wireless Modem application" on my XDA from where I can get it?
I thought the command was:
AT+CGDCONT=1,"IP","apn name","",0,0
I don't know about the command but what Im sure about it is that wModem application is mandatory, so from where I can get it?
Re: to irda on win2k/xp
guest said:
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Click to expand...
Click to collapse
HI. I HAVE AN OLDISH LAPTOP RUNNING WIN ME. WILL IRCOMM2K WORK ON ME OR IS IT INTENDED (AS NAMED) FOR WIN 2K AND XP ONLY?
From: Helpdesk (source O2) Sent: 30 May 2003 13:54
Subject: RE: wireless modem
Hi
The wireless modem will be available in the next ROM update from the xda team. I understand that this will be released in the next couple weeks - they are in the final stages of testing.
We will highlight the new ROM on our homepage with a link to the downloadable files.
regards
source O2
Re: to irda on win2k/xp
Anonymous said:
guest said:
visit http://www.ircomm2k.de
Install software at own risk, but this exposes a permanent COM port using IrDA. Also nukes Wireless Link in the process.
Setup a manual modem, select the COM port from above, presto!
Click to expand...
Click to collapse
HI. I HAVE AN OLDISH LAPTOP RUNNING WIN ME. WILL IRCOMM2K WORK ON ME OR IS IT INTENDED (AS NAMED) FOR WIN 2K AND XP ONLY?
Click to expand...
Click to collapse
Hmm... really good question. ME is an update to 98 as I recall, but a clunky upgrade.
Way to check: Setup a new modem. When it asks which COM port you wish to use, if you can select Virtual Infrared COM port then it should work fine.
Get the instructions at www.o2.co.uk/xda on Help and Support.
Anyone know what the T-Mobile USA network connections for using WModem are?
For UK O2 they are:
Primary DNS - 193.113.200.200
Alternate DNS - 193.113.200.201
User name - O2Web
Password - password
Has anyone used wmodem in the US with T-Mobile as a service provider?
Thanks,
JP
Qtek as wireless modem
I also have oldish ME Laptop computer. I did exactly as described on O2 support site. It does not work. The modem on laptop immediately disconnects saying it's not responding properly.
I have tried several cooked versions of the 4..00.16 Eng T-Moble and the 4.00.11 ENG WM2003 roms and niether one installs the WModem app. Any ideas why?
I have a T-Mobile version of the PPC, radio stack 6.24
WM with old laptop computer
It worked for me. I could connect my oldish ME notebook computer to internet over gprs using WM in xda. I used the extra string from o2 and just changed the access point name.
It goes as this:
AT+CGDCONT=1,"IP","apn"
It works, but the WM just stops responding the moment you disconnect the connection from PC. The PC waits and waits for the confirmation and then hangs up saying no reponse. But as long as you are connected it works very well.

GPRS thru laptop

I have a XDA II with 2k3 which is getting connected to GPRS Internet. I have also configured my HTC modem in XP.
Could someone help me with the USB modem dialer so that I can get onto Internet from my laptop thru HTC modem GPRS? It should ask for username, password and APN.
Thanks in advance
tushar
Sorry team.
I want a dialer...forgot to mention
tushar
Can i know
Hello I`m From Indonessian.... i`m interes this topic.... can i know where can i download the driver and program to make my pda can use to be a modem on my computer..
hi
steps to use the xda2 as usb modem to laptop
1 close all running program...make sure active sync is not running on the pda
2. go to wireless modem option in program
3. in connection type choose usb and then press start at the bottom of the screen
3. now connect the serial cable to usb
4, u shd hear a notification sound...bingo now click on the dial up
assuming tat u have already configured the htc modem as u have said..this shd work
Dear all,
I got a document from http://www.ppcw.net (very old though 16/01/04) states that I need to use USBModem_Dialer.exe for dialing GPRS. Tried finding many places but failed.
Please help me to get it.
cheers
tushar
hi tussar
i myself have a xda2 n i use it as a usb modem try doing it as mentioned it shd work fine,,no need for anything else
ankesh
pune
Hi Ankesh,
U seem to be next door as I am also from Pune. Please call me on 30915259 or lemme know your no. so that I can call u.
cheers
tushar
...
For those,who want to connect via BT stack. Yes it is not so clear about the APN,but this will connect via your default internet connection,that you're using on the go(The APN is described there):
1.Pair your Himalaya with a PC.
2.Start the Wireless Modem app.and choose Bluetooth. Then tap to Start button. Your device must be in Discoverable mode!
3.Now in computer click to the 'My Bluetooth Places' icon on the desktop.
4.Open the connected Himalaya and click to the SSA service.
5.Now the connection window will appeared. Choose the *99# as a dialed number and click to Dial.
That's it.

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?

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

TYTN and LINUX Challenges

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"

Resources