OS2 World.Com Forum
2012.05.25, 07:21:03 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: USB 3G EVDO Modem  (Read 21333 times)
cytan
Full Member
***
Posts: 213


View Profile
« Reply #30 on: 2009.07.12, 21:19:42 »

I suspect there may be a hangup string because when I tell injoy to hangup, it always says that it tries to do it for 4 times and says:

failed to hangup modem!

then forces an exit. Why it does this, I don't know. However, something interesting is that when injoy hangs up when it detects that there has been no activity (say 15 minutes), I can reconnect and get to the web without a problem.

O, I've also tried hanging up and disconnect, reconnect the USB modem, but again the connect to the web only lasts maybe about a minute.

I'll have to investigate this further ... unless you guys have an insight as to what I should try.

cytan

cytan, so far I've not been able to find the technical information on what chip set the device uses so the following is based on guess work.

Because the device requires a special setup string to activate it there is a possibility it also requires a special string to shut it down.  If that is the case then there is not much chance of it working a second time without being hard reset.

I once had a USB modem that appeared as a comm device and would work with OS/2 the first time it was plugged in but not again unless it was unplugged and re-plugged.  Looking at the communication stream sent to it by the supplied software -windows- I found it needed extra characters at shut down.  I was able to add them to the hangup string and had no more problems.

If that is not the problem and you have to reboot OS/2 then I suspect problems with the USBRESMG.SYS and/or USBCALLS.DLL in which case we need to find out where the failure is.

 
« Last Edit: 2009.07.12, 21:55:22 by cytan » Logged
RobertM
Global Moderator
Hero Member
*****
Posts: 2017



View Profile WWW
« Reply #31 on: 2009.07.12, 22:24:14 »

First, let me thank everyone, especially ivan for helping me get my modem working.

Now, I'm again back to the OS/2 community to try to figure out something weird:

(1) First connection using Injoy works great.
(2) Disconnect by hanging up in Injoy. Reconnect again with Injoy, I can connect to the web for a few times and then nothing can be found. Example:
   ftp hobbes.nmsu.edu

works the first time and then trying to ftp again fails to find hobbes.
Injoy dialer shows no errors.It looks like there's no route to hobbes ...

The only way to get back to good web connection is to reboot.

Any pointers?

cytan

This may be silly... try mode switching the port (back to MSD)... then back again. Then see if it disconnects. Maybe that will free up whatever buffer, chip, connection, etc is possibly hanging.
Logged

|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|

ivan
Hero Member
*****
Posts: 562


View Profile
« Reply #32 on: 2009.07.12, 22:43:48 »

Just a few more thoughts.

Since you can use it with InJoy then I'm assuming it uses at least part of the standard AT command set.  To test that get a copy of Zap-O-Comm and set up logging then use the console to send AT commands and get the responses.  You can also try different hangup commands and see what the results are.

If you don't have a copy of the AT command set let us know and I'll try and find the listing I have in my archive.
Logged
cytan
Full Member
***
Posts: 213


View Profile
« Reply #33 on: 2009.07.12, 23:56:50 »

Just to confirm this observation. When injoy idle times out, I can dial and reconnect  without a problem. I think the thing to do is to figure out what injoy does differently between idle time out and user hang up. I'm going to email injoy support to see what they say ...

cytan
« Last Edit: 2009.07.13, 00:00:54 by cytan » Logged
Sigurd
Full Member
***
Posts: 219


View Profile
« Reply #34 on: 2010.09.27, 08:31:22 »

Hi,
got a quesiton here: Did everything as described in the ReadMe (copied usbcall and usbresmrg.sys) - but when I start the usb_modeswitch.cmd it says: can not find usbmodeswitch.conf.

I did create a ETC Folder on my Bootdrive ( letter = O:  ) and copied the conf there.

Do I have to place it somewhere else? I use eComStation 2 GA.

Thanks for help.

Sigurd
Logged
herwigb
Jr. Member
**
Posts: 97


View Profile
« Reply #35 on: 2010.09.27, 09:39:00 »

You can bet that it wants the usbmodeswitch.conf in %UNIXROOT%\ETC - so if no UNIXROOT variable is defined in config.sys it probably wont work.

If you set UNIXROOT to x:\MPTN where x: is your bootdrive, %ETC% and %UNIXROOT%\ETC will point to the same directory, which is IMHO a good idea (I know others don't think so).

We have/had similar issues with Samba.
Logged

Kind regards,
HerwigB.
Sigurd
Full Member
***
Posts: 219


View Profile
« Reply #36 on: 2010.09.27, 10:15:25 »

Hi Herwig,
thanks for this answer. But I do have no knowledge at all about this (for me this sounds cryptic %..% - sorry!) - I do not know what command in config.sys I do have to add exactly, can you write it down for me, please?

While searching in eCS 2 I found the program "KLIBPATHREWRITER" (or similar) in the Systems Folder, do not understand what that means as well nor if it may be usefull here as well.

Thanks in Advance

Sigurd
Logged
Andi
Sr. Member
****
Posts: 252


View Profile
« Reply #37 on: 2010.09.27, 13:47:05 »

...for me this sounds cryptic %..% - sorry!...
You should try some command line stuff Smiley f.i. 'echo %path%' displays the contents of your path environment variable usually set in your config.sys.

If you have 'set unixroot=o:\' in your config.sys or type it into a command line window (cmd.exe or 4os2.exe Wink ), 'echo %unixroot%' will display 'o:\'

Enviroment variable ETC is usually set during installation and put into your config.sys. I think in your case there is a line 'set ETC=O:\MPTN\ETC'. You can look into your config.sys or try on a command prompt 'echo %etc%' to see what is actually set. Maybe you try these steps -
open command window
set unixroot=o:\
set etc=etc
usb_modeswitch.cmd

HTH

P.S. At evening I'll have a look at my Notebook to see what I've done to let usb_modeswitch work.
Logged
Sigurd
Full Member
***
Posts: 219


View Profile
« Reply #38 on: 2010.09.27, 14:43:08 »

Thanks Andi,

did pass this barrier because of your good explanation!

Try to pass the next one though  Wink
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!