Bryan Tran
Forum Replies Created
-
AuthorPosts
-
Bryan Tran
ModeratorHi Terry,
Maybe in the Introduction a description of the SDK/Java could be described with its own Prerequites, Getting Started etc sections – it would definitely help newbies like me!
*Good point. Will try to work on that.
Regards,
BT
Bryan Tran
ModeratorHi Terry,
1. Does this board come with any pre-installed Linux image?
*Yes. it does. Look for the status LED on the DK board and see if it is blinking. If so, you can hook up a 3 pin serial debug cable and try to boot it up in minicom and see if you are getting any booting up messages.
If you do, then log in with root/root, then type ifconfig eth0 and see what is the IP address of the board. Also, check your PC IP address to make sure it is in the same subnet.
2. If it doesn’t come pre-installed do I have to go thru the whole bitbake build on a Linux platform or is there an off the shelf image I can use?
* Yes. You can load a precompile image onto the device.
Here is the instruction for how to flash upgrade your device with out the need of rebuilding the source code.
a. Go to this link below and download two files:
http://www.multitech.net/corecdp/images/2.2.2/mt100eocg
i. CoreCDP-corecdp-full-image-eglibc-ipk-2.2.2-mt100eocg.rootfs.jffs2
ii. uImage-2.6.35-r4.corecdp11-mt100eocg.bin
b. Rename the above two files as follow:
i. rootfs.jffs2
ii. uImage.bin
c. Create a /flash-upgrade folder on your SD card.
d. Copy the rootfs.jffs2 and uImage.bin to /flash-upgrade folder.
e. Insert the SD card into the MT100EOCG device.
f. Either connect the 3 pin serial debug cable to the MT100EOCG board or ssh into your MT100EOCG device and type:
cd /media/card/flash-upgrade and then ls to make sure the rootfs.jffs2, uImage.bin files are there.
g. Type: touch /var/volatile/do_flash_upgrade
h. Type: reboot
We want to use the Multitech SDK with Java so not sure if we need to use bitbake or not.
*You can just compile your Java code and run it on the device without using any bitbake if you want. However, you would want to use bitbake to include your Java code into the final image so that you can take the final image and flash it with production units.
Regards,
BT
Bryan Tran
ModeratorHi Terry,
It looks like, you also need to order an additional MT100EOCG-H5/G2/EV2 module. Pls, Talk to our Sales at – 1-800-328-9717 ext 2401
Regards,
BT
Bryan Tran
ModeratorHi Suhas,
The log looks fine. However, after the complete boot up where it shows the last line is:
‘Starting daemon…’
I am not sure what daemon, it is starting. I looked at my device boot up messages with original factory default, I did not have that line. (Using same version corecdp-2.2.2)
I was wondering, did you add/modify anything with the source code, recompile and upload that image to the device and it is causing this problem ?
Regards,
BT
Bryan Tran
ModeratorHi Suhas,
Sorry I gave you a wrong link. Here is the correct link:
http://multitech.net/corecdp/images/
Regards,
BT
Bryan Tran
ModeratorAndy,
I am not sure. You will need to test it and compare it to your monthly bills. Also, the cellular modem may get disconnected/reconnected from/to the tower and in this case, the ifconfig value will get reset back to 0.
Regards,
BT
Bryan Tran
ModeratorHi Suhas,
1. Could you post the complete output of the reboot messages ?
2. Also, can you try to reload a precompiled image at the following site on your device and see if it helps.
https://webfiles.multitech.com/engineering/unofficial-releases/corecdp-2.2.2/
Regards,
BT
Bryan Tran
ModeratorHi Andy,
I think that statistic is only good with that connected call. If the call is disconnected, the statistic will be reset. So, you need some way to accommodate this situation.
Regards,
BT
Bryan Tran
ModeratorHi Ignacio,
1. We have an rcell (MTCBA-G2-EN2) that can be used in this scenario. However, this device only supported serial port (DB9). But you can have an USB to Serial cable to connect from USB sensor to the rcell’s serial port. (Not sure if this is possible for you).
With this rcell device, we have a web interface that will allowing you to configure the device to ‘Wake up on Ring’ and connect to it via a TCP server that is running on the rcell itself..etc..
This device might be shortest path for you to consider.
http://www.multitech.com/en_US/PRODUCTS/Families/MultiModemrCell/
2. With the MTCDP-G2-1.0, you must write/develop your own application to do the same functionality as the rcell. This device has both serial and USB supported.
Regards,
BT
Bryan Tran
ModeratorHi James,
1. Go to /etc and type: cat corecdp-version[Enter]
2. Or reboot your cdp and the version should display at the login prompt.
Regards,
BT
January 25, 2013 at 2:43 pm in reply to: bitbake corecdp-base-image fail: guile-native_1.8.7.bb #4460Bryan Tran
ModeratorHi David,
What version of your Debian ? If you are not at 6.0, then pls try this version. This version tested here and known to work.
Regards,
BT
Bryan Tran
ModeratorHi Billy,
I would look at:
1. It looks like the eth0 interface does not have an ip address set. Try to set it with command – ifconfig eth0 xxx.xxx.xxx.xxx netmask 255.255.255.0 up. (xxx.xxx.xxx.xxx is private ip like 192.168.1.x).
To make it permanent, you need to edit configuration file according to your Linux distribution.
2. resolv.conf file and see if there is an entry for: nameserver 63.84.143.13 in there. If not try to set it.
3. type ‘route’ command and see if the default is pointing to ppp0 interface.
4. iptables or firewall and see if it is blocking the pinging command.
Regards,
BT
Bryan Tran
ModeratorHi Billy,
By looking at the log:
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp> <auth pap>]
No auth is possible
It looks like to me that, the remote host is sending pap authentication packet and the linux box is saying: No auth is possible.
*Should check with synapse-wireless.com people to see why the linux box is saying: No auth is possible.
Regards,
BT
Bryan Tran
ModeratorHi Ian,
I would say no. However, the OCG device itself is just a small linux computer. So, some part of the development on the OCG would be able to develop it on your PC linux machine.
For example, working on Web interface or accessing the serial port for reading and writing data, internal accessing the database, writing TCP/UDP server/client..etc..
Regards,
BT
Bryan Tran
ModeratorHi Billy,
You should contact people at synapse-wireless.com and ask them – how to setup/configure the SNAP Connect E10 device to make a ppp connection using external wireless modem.
Regards,
BT
Bryan Tran
ModeratorHi Billy,
Also, I am also assuming you are working on the MultiConnect™ OCG-D Open Communications Gateways – Device or the CDP Device.
Otherwise, what is the model number of the device that you are working with ?
Regards,
BT
Bryan Tran
ModeratorHi Billy,
I was thinking like this:
1. Update etc/ppp/options, etc/ppp/peers/gsm and gsm_chat file to included your information.
2. Then either give the command: pppd call gsm & to initiate the ppp connection from the command line or send this command from your python.
3. Check to see if the ppp is established, by sending a command “ifconfig” and look for the response with ppp0. If there is a ppp0, it means the ppp link is up.
4. Excute your code block to send a POST to the remote server.
Regards,
BT
Bryan Tran
ModeratorHi Billy,
You should make a ppp connection to the internet first and check to see if the ppp link is up, then you can make the POST request.
Here is a link to show how to make a ppp connection.
http://www.multitech.net/developer/products/multiconnect-ocg/applications/ppp-peers/
Regards,
BT
Bryan Tran
ModeratorHi Tudor,
We did not have a lot of luck trying to use the SD card without the detect pin. For one thing they could not swap cards without the detect pin unless the made the SD card driver a module and unloaded/loaded it every time they need to change the card. Also in the kernel they would need to either not define the protect and detect pins or set them to the pullup level.
We have tested up to 8 GB sized cards successfully.
Regards,
BT
Bryan Tran
ModeratorHi Jim,
Also, I think the command:
mts-id-eeprom –infile /sys/devices/platform/i2c-gpio/i2c-0/0-0056/eeprom[Enter]
will listed out the ESN number in decimal format instead of hex format. You may need to convert them to hex format using the calculator if needed.
Regards,
BT
Bryan Tran
ModeratorHi Neil,
1. Are these two devices (one that is working and one that is not working) are in the same place ? If not, you could try to bring the bad one to the place of the working one and see if it works.
2. Had these bad devices working before and now they are not ?
Regards,
BT
Bryan Tran
ModeratorHi Jim,
1. Are you refer to MTCDP-EV2-GP ? If so, could you try:
mts-id-eeprom –infile /sys/devices/platform/i2c-gpio/i2c-0/0-0056/eeprom[Enter] – and see if it list out the MEID/ESN number (8 hex chars) ?. Other wise, I don’t know if there is any command line that will give you this info.
2. Also, the MEID/ESN is listed on the label on the bottom of the device.
Regards,
BT
Bryan Tran
ModeratorHi Ian,
Could you pls create a new support portal case for this at http://www.multitech.com/en_US/SUPPORT/ and I will attach our precompiled corecdp-2.2.2 and io-app.jar for you to try and see if you are getting any error.
I tried with corecdp-2.2.2 and it is still working fine for me.
Regards,
BT
Bryan Tran
ModeratorHi Ian,
What version of corecdp are you using ? I am using version 2.1.0.
Regards,
BT
Bryan Tran
ModeratorHi Ian,
I just tried it with both commands: ‘java -jamvm -jar io-app/dist/io-app.jar’ and ‘java -zero -jar io-app/dist/io-app.jar’ on my CDP and I did not get any ‘Segmentation fault” error. I am using corecdp-full-image and with the original precompiled version /io-app/dist/io-app.jar.
Did you make any changes on the source code in the io-app/ folder and recompile it ?
Otherwise, would you please try with new fresh corecdp-full-image and just copy the original precompiled version that came with MultiConnect SDK onto your CDP and try it again to see if you are still getting the same problem ?
Regards,
BT
Bryan Tran
ModeratorBrad,
I just tried it with telnet program from windows 7 command prompt and I don’t see any problem. I am using MTCBA-C1-EN2.
Regards,
BT
Bryan Tran
ModeratorRon,
1. It looks like it is a 2.6.9 firmware version.
2. Have you tried to go a Command Prompt and type: telnet xxx.xxx.xxx.xxx 5000 (xxx.xxx.xxx.xxx) is your MTCBA-C1-EN2 device IP addresss and try to send the sms from there and see if you are seeing the same problem ?
Note: Make sure you have webbed into your rcell and disable the PPP option -> Disable -> Click on Submit button and do a save and reboot.
3. If you still have a problem, I suggest go our http://www.multitech.com/en_US/SUPPORT/ and create a case for it.
Regards,
BT
Bryan Tran
ModeratorIf you web into your device, it should show the firmware version at home page. Or you can go to statistic&logs -> System Information.
Bryan Tran
ModeratorHi Ron,
1. What is the exact model number of the device ?
2. What is the firmware version of the device ? If you do not have it, then give us the serial number of the device ?
Regards,
BT
Bryan Tran
ModeratorHi Jim,
Take a look at this sms-utils code and may by take out the serial port part http://git.multitech.net/cgi-bin/cgit.cgi.
Regards,
BT
-
AuthorPosts