Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ivan

Pages: 1 ... 102 103 [104] 105 106 ... 109
1546
Applications / Re: Java applications
« on: September 20, 2013, 10:43:40 pm »
Martin, you did note that both of those programs require the JDK or SDK in OS/2-eCS speak not the runtime.

I might see about downloading one of them over the weekend and see if I can do anything with it.

1547
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 28, 2013, 09:14:59 pm »
Sorry Barbara but I can't find the notes I made in 2009 when this first came up so at the moment I'm working off the top of my head.

Our version of usb-modeswitch was ported from the Linux version here http://www.draisberghof.de/usb_modeswitch/  On that site there is a little more information that might be of use to you.

Now another question.  What do you get when you type ppp in an OS/2 window after your usb modem is mounted?

The ppp usage is as follows if you need to know.

┌─────────────┐
│     PPP     │ OS/2 TCP/IP Point-to-Point Protocol Driver
│    2.00     │ Copyright(c) IBM Corp. 1994, 1995
└─────────────┘ Revision: 1.18a   10 Jan 1997 00:00:00

Usage: ppp [options], where options are:
        <device>        Communicate over the named device
        <speed>         Set the baud rate to <speed>
        <ip>:<ipdest>   Set the local and/or remote interface IP
                        addresses.  Either one may be omitted.
        asyncmap <n>    Set the desired async map to hex <n>
        auth            Require authentication from peer
        connect "cmd"   Invoke command cmd to set up the serial line
                            Ex. connect "slattach atdt9,999-9999 CONNECT"
        defaultroute    Add default route through interface
        file <f>        Take options from file <f>
        idle <n>        Set the idle timeout period to <n> minutes.
        modem           Set/Reset modem control lines
        mru <n>         Set MRU value to <n> for negotiation
        netmask <n>     Set interface netmask to <n>
        notify          Display notification message when DCD signal drops
        priority <n>    Set process scheduling priority to <n>
        rtscts          Use hardware RTS/CTS flow control
        silent          Don't send connect request to peer, wait for request

If you get some indication that ppp sees the modem on the com port it shouldn't take too much to get you connected.


1548
Applications / Re: Pdfsam and JAVA1.6.0ga5
« on: August 28, 2013, 01:49:57 pm »
Very strange in deed.  Maybe there is some interaction between Odin and the latest java but that is just clutching at straws.

The two attachments show the PDFSam about page and the program object settings notebook page.

1549
Applications / Re: Pdfsam and JAVA1.6.0ga5
« on: August 28, 2013, 10:10:41 am »
I am using PDFSam 2.2.2 with java 1.6.0ga5 without any problems.  I start it from a program object with the Parameters -Duser.home=h:\java-apps\pdfsam -Xmx256m -jar pdfsam-2.2.2.jar

1550
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 24, 2013, 02:16:15 pm »
Hi Barbara, because something was niggling at the back of my mind I downloaded the usb-modeswitch package from hobbes.

The following is the readme from that package:


usb_modeswitch.exe for OS/2
===========================

This version of usb_modeswitch has been compiled using gcc 3.3.5.  I
have compiled it using
   usb_modeswitch 1.0.2 from http://www.draisberghof.de/usb_modeswitch
   libusb-0.1.10a-os2.zip from hobbes.nmsu.edu
   usbcalls-20090823.zip from http://ecomstation.ru/projects/developer/downloads/usbcalls-20090823.zip

NOTE: usb.h is from libusb-0.1.10a-os2.zip and *not* from usbcalls-20090823.zip

For convenience I have copied the pre-compiled libraries and headers
into this distribution.

INSTALLATION
============
Copy boot/usbresmg.sys to e:/ecs/boot

!!!!!!Don't forget to make a backup of the original !!!!!!!
                            
Make sure that the usbresmg.sys is in config.sys as
   DEVICE=E:\ECS\BOOT\USBRESMG.SYS                               
REM out any older line in config.sys

Copy dll/usbcalls.dll to a dll directory which is in your LIBPATH.
(Make sure that there isn't an older copy)

Copy usb_modeswitch.conf to /etc directory.  I had to make an etc
directory because usb_modeswitch.exe doesn't seem to use the ETC
variable set in config.sys

Edit usb_modeswitch.conf for your device.  I have an Cricket A600
and so I uncommented

########################################################
# Cricket A600
#
# Switches to ACM device.  Might need a ResetUSB after switching - or not
#
# Contributor: Jeffrey Hoogland

DefaultVendor=  0x1f28
DefaultProduct= 0x0021

TargetVendor=   0x1f28
TargetProduct=  0x0020

# only for reference
MessageEndpoint=0x08

MessageContent="555342431234567824000000800108df200000000000000000000000000000"

# Afterwards (optional): "usb_modeswitch -v 0x1f28 -p 0x0020 -R"

########################################################

Running
=======

Running usb_modeswitch with my Cricket A600 USB modem gives me

********************************
Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found default devices (1)
Accessing device 001 on bus 000 ...
Using endpoints 0x08 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
 Cant't do driver detection and detaching on this platform.
 Could not send INQUIRY message (error -22)

Device description data (identification)
-------------------------
Manufacturer: Cal-comp E&CC Limited
     Product: USB Micro SD Storage
  Serial No.: 215973138300
-------------------------
 Cant't do driver detection and detaching on this platform.
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x08 ...
 OK, message successfully sent
Device is gone, skipping further steps ...
-> Run lsusb to note any changes. Bye.
*********************************

Compiling
=========

Make sure you have gcc 3.3.5 installed.
Then the following command with make usb_modeswitch.exe

make -f Makefile.os2

--------------------------------------------------

Cheng-Yang Tan
cytan299@yahoo.com
25 Aug 2009

=========================================================================

Now the question is, what do you have in your usb_modeswitch.conf file and in particular what setup message content are you using?

1551
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 21, 2013, 01:14:22 pm »
Andi, this thing is a smartphone without the screen and other odd bits.  It connects to a 3G network using a SIM card and makes use of your monthly data allowance to connect you to the web.  It was a long time ago when this first came up for discussion and I never bothered to keep the notes I made at the time believing that the info was safe on the forum. 

1552
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 21, 2013, 09:59:26 am »
It is a pity that all the past info on this site appears to be lost because there was a full discussion on this subject that lead first to the porting of the usb-modeswitch from linux to OS/2 and then on to the actual use of the device.  I suspect the ecomstation.ru article is based on this the information we had here.

What I did then was look at the way linux activated and used the device.  Fortunately, the person asking about it was able to port the modeswitcher and so get his device seen and bypass the virtual CD that is presented (to allow the install of a windows control panel for the device before it switches to the modem).  Once that switching was accomplished, it was a fairly simple matter to use the modem.  Sorry but I can't remember the procedure because I don't have a unit to play with.  All I had at the time were the spec sheets that allowed me to know what it was supposed to do.

Now if Martin could find that old thread....
 

1553
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 19, 2013, 09:59:33 pm »
Hi Barbara,

I assume this is the 3G stick that needs a sim card in it to run.  If it is then I don't think you need any sort of dialler program to use it, in fact according to the specifications all it requires is a network connection (NDIS driver).

1554
Applications / Re: Java applications Jedit 5.1.0
« on: August 15, 2013, 07:17:29 pm »
Hi Ian,

I'm not quite sure how a compiler cockup would cause a problem just for OS/2, especially when all the other java applications that I use run the file open without problems - even their earlier version works.  It is more like they were attempting something smart that works on windows and have now out smarted themselves.

1555
Applications / Re: Java applications Jedit 5.1.0
« on: August 15, 2013, 11:12:31 am »
Ian, the latest is jAlbum 11.4.0 and is just jalbum.zip.  They only put the version numbers on the older versions, the current version is always jalbum.zip which can be a bit confusing if you don't rename them after download.

1556
Applications / Re: Java applications Jedit 5.1.0
« on: August 15, 2013, 12:01:30 am »
Hi Pete,

jAlbum 11.4.1 works here without any problems but you do have to get the zip file - as Doug said - because none of the installers work on OS/2.  In fact I may have been partly instrumental in them keeping the zip version because I complained when the installer wouldn't work on OS/2 and asked that they reinstate the zip version.  I will praise them for the effort they take to keep it working on our OS.

1557
Applications / Re: Java applications Jedit 5.1.0
« on: August 13, 2013, 01:36:50 pm »
To bypass the problems with the cmd file I created a program object for this version, just as I have for the older versions.

As everyone has found it can be started but it is impossible to open any files - which as Pete says makes it useless.

The two attachments show the problem is with the way the file open dialogue just keeps on adding to the string by repeating everything - it will do this until it eventually causes a fault in java and libc065.

This raises the question of what has changed in the file open code in the new version as opposed to that which still works in the older versions?  Until that is answered and fixed, we OS/2 users are restricted to the older versions.

1558
Networking / Re: FTP
« on: August 03, 2013, 12:16:33 pm »
Thank you everyone for your helpful ideas, several of which have been noted down for possible future use.  I went the multi hop route and the VMs are now up and running in their new server.

Now another question.

During the course of trying various things I loaded the latest OS/2 version of firefox on the server and all went well.  That is until I found a picture of a circuit board I was interested in and clicked MB2 to bring up the save image menu.  On clicking ok firefox vanished - it did save the image though.  I tried it several times with different images all giving the same results.  I also get the same thing happening on other multi core processor boxes so the question is, is firefox SMP safe?

1559
Networking / Re: FTP
« on: August 02, 2013, 12:27:21 pm »
Andy, I've already tried ncftp and it appears to be stuck at the 2GB barrier on OS/2.  It did flag up a warning that it couldn't continue though which is more than the others did.

It now looks as if I will borrow a windows notebook and use FileZilla to transfer the files from the old server to it and then transfer them to a NAS box.  Then use SAMBA to transfer the files from the NAS to their new home.

I have to agree with Ben we do need a GOOD FTP client for OS/2 that has no restrictions on file size.

1560
Networking / Re: FTP
« on: August 01, 2013, 11:32:28 pm »
Thank you all for the suggestions which I will try out tomorrow if it's not as hot as it was today (45 degree C outside and about 60 C inside because the AC is off for its yearly check).

I have the IBM FTP update for greater than 2GB files from testcase and so far it has died after transferring just under 5GB (maybe a standard DVD).

As I said these are larger than 12GB, actually 12.5GB to 25.8GB virtual machine files that my client now wants to put back in operation after the arson of last year. 

Pages: 1 ... 102 103 [104] 105 106 ... 109