PPP module
Pages: 1 2
Ronald May (387) 407 posts |
I have been able to do basic internet/mail at home by using a cellphone tethered to a linux machine with a shared connection. |
David Pitt (102) 743 posts |
Found, PPP 1.42 on the Iyonix, a temporary download is here |
Ronald May (387) 407 posts |
Found, PPP 1.42 on the Iyonix, a temporary download is here Thank you for your support. Using usbmon/wireshark, I was able to gather the info needed for the PPP interface and the AT command interface to build the definition file. I am up against a CONNECTION: error now, which looks like Iyonix side network settings to me, as I seem to have got past hardware definition errors. |
Raik (463) 2061 posts |
I’m using ComCentre with a ZTE Surfstick and with a old Nokia 6300. |
Dave Higton (1515) 3526 posts |
My phone (Samsung Galaxy S3) doesn’t work either. It ought to, in principle (no conflict with mass storage; USB tethering enabled in the phone). I can see that there are support files for other devices although the only phone appears to be the Nokia 6303. I tried copying and editing my own file for my phone, but there are three short fields in there that I don’t understand and don’t appear to be documented. A little random experimentation produced 100% failures. Oh well. The solution that I use with that phone, that definitely does work, is to enable the phone’s mobile hotspot and use a small cheap USB-powered Ethernet wifi dongle. |
Raik (463) 2061 posts |
USB tethering is not the same standard like the old phones and surfstick use. Not the same USB modem emulation. |
Dave Higton (1515) 3526 posts |
My phone already has CDC endpoints, according to !USBInfo. I don’t think it needs to be swapped like a surf stick. I have an old surf stick too (its SIM expired years ago) which clearly does need to be swapped – !USBInfo sees it initially as a mass storage device. The phone doesn’t behave like that. |
Dave Higton (1515) 3526 posts |
I just tried tethering the phone to Ubuntu (just works, nothing to do). lsusb tells me that the VID:PID are the same after “Wired connection 2” has been established as before (04E8:6864), though curiously the Samsung model number is now different! |
Ronald May (387) 407 posts |
Look at USBDevSwp. Inside you find devicefiles of theoretical supported devices sorted by Vendor_Product_ID before swapping to the modemmode. My phone has selection for modem mode when inserted to USB port. My Sierra stick modem is not supported by USBDevSwp, but I have got my own Mode switcher that changes the 1199 0003 bulk device to a 1199 68a3 modem. but there are three short fields in there that I don’t understand and don’t appear to be documented.Dave it is documented, but in one of the other BASIC files. Edit: probably an Obey file actually, It is commented with bars. The first number is the interface that PPP happens on, the second number is the interface that the AT commands are on. The third (i3, b2 or ? for none) referrs to if there is an interface for Modem Status channel, and the preceding i or b interrupt or bulk. In my case I have isolated the PPP and AT interfaces, but I am left wondering if I have non standard endpoint numbers, and their is no input for endpoints. I have realised after watching Thomas’s video, that the first step may be to try an AT command from !ModTerm before worrying about internet. |
Dave Higton (1515) 3526 posts |
My apologies – I had always looked at the VID:PID after enabling tethering on the phone. It’s 04E8:6860 with tethering disabled, and 04E8:6864 with it enabled. USBInfo sees the device differently too. Ronald: the phone has interfaces 0 (interrupt in, 224:1:3, RNDIS), 1 (bulk in and out, 10:0:0, CDC Data) and 2 (bulk in and out, 255:66:1, vendor specific). Trying to align that with your explanation, does that mean the fields are 1, 1 and i0? The endpoint numbers are (3) for interface 0, (2 and 1) for interface 1, and (5 and 4) for interface 2. |
Ronald May (387) 407 posts |
The endpoint numbers are (3) for interface 0, (2 and 1) for interface 1, and (5 and 4) for interface 2. With that info you can look at the output from usbsniff or usbmon/wireshark(linux) and look for the AT or PPP commands in the packet descriptions, then look for the endpoints on those packets. That is the perhaps superficial way I’ve done it so far. I’m not sure how you woud recognise a Status interface, looks like it is not always implemented. Deeper diagnosing may require having the cdc documentation at hand. |
Raik (463) 2061 posts |
You not need USBDevSwp if you use a phone or a stick that already is in modemmode. Normally somthing like 0 3 b3 (e.g. Huawei) or 3 1 b1 ( e.g.ZTE) with splitted channel or 0 0 b3 or 3 3 b1 with the same channel. … play around, try and error ;-) |
Ronald May (387) 407 posts |
The key is the first obey. As I remember… sorry long time ago Yes this will set the system variables for the interfaces. Unfortunately it is limited to Bulk interfaces, and if AutoDevGen VID PID USB is anything to go by the requirement is that the interfaces have to be of the class 255.255.255 which rules out cdc class interfaces such as Dave or my phone. |
Raik (463) 2061 posts |
The first success I have with all trying devices was with CCT_Info. It take some time but it shows all aviable mobile networks. Maybe it is enough to try something like … BasicSetup 1199_68a3.
… but not really heplful. |
Ronald May (387) 407 posts |
I found this for Linux usbmodeswitch Sorry I gave the false default PID, My RISCOS switcher switches the 1199 0fff stick to 1199 68a3 modem. The route of the problem I’m having is this part failing.
Can anyone see why this fails with “cant open pipe”? and perhaps make a suggestion. ComCentre uses OS_Find &4F rather than OPENIN BTW Stronghelp does not mention &4F, only &40 and some others. |
Raik (463) 2061 posts |
I know the “cant open pipe” error message. But I can not remember. I will search in the old mails from Thomas. But it takes a (long) while. |
Colin (478) 2433 posts |
I’ve just tried something similar with a usb device and it works fine
The F just determines what happens when there is an error. Are you sure that you have the changed mode working if the usb stack is still seeing the mass storage interface the command you used will fail. |
Andrew Conroy (370) 740 posts |
Doesn’t OS_Find use the bottom bits of R0 to indicate the path if R0 isn’t zero? |
Ronald May (387) 407 posts |
Are you sure that you have the changed mode working if the usb stack is still seeing the mass storage interface the command you used will fail. Yes the lights on the stick do a different dance after the modeswitch, so it is easy to see what mode it is in even without checking
Does open interface 0 and 1, cant get an endpoint on 2 and ’couldn’t open pipe’ on 3 and 4. Interface 3 should be the required AT (com port) Edit: Looking at the descriptors for this stick, and interface 0 and 1 only have bulk in and bulk out endpoints. 3 and 4 also have an interrupt endpoint. |
Colin (478) 2433 posts |
I have a serial device here with 2 bulk and an interrupt endpoint on interface 0 alternate 0 so just copied your program and changed the usb number and it worked fine. Edit: Have you tried !Closefiles to check if the endpoint is alread open? |
Ronald May (387) 407 posts |
Colin, my impression is that ComCentre is suited to FTDI style interfaces without the interrupt endpoint and the Sierra is more like the Prolific style that has an interrupt endpoint. Though I think you mentioned you dont have to do anything with the interrupt endpoint. |
Raik (463) 2061 posts |
It might help to send a mail to Thomas. In my experience he is very helpful. |
Ronald May (387) 407 posts |
It might help to send a mail to Thomas Yes but at this stage the problem is peculiar to the device. |
RonM (387) 60 posts |
Raik said I’m using ComCentre with a ZTE Surfstick and with a old Nokia 6300.A vodafone K3565 Z has become available to buy. Edit: I have now bought the K3565Z. Are there any more later/faster sticks now working? (was gibt’s Neues mit surfsticken?) Here is a serial related pdf with zte modem as example |
John Sandgrounder (1650) 574 posts |
I am having the same trouble trying to use !ComCentre Can anybody point me to a copy of the PPP module? (for a Ras Pi 2.2) |
Pages: 1 2