Bryan Tran

Forum Replies Created

Viewing 30 posts - 31 through 60 (of 200 total)
  • Author
    Posts
  • in reply to: Connecting to server using T mobile network #14266
    Bryan Tran
    Moderator

    See my answer through support ticket#5072640

    in reply to: Connecting to server using T mobile network #14264
    Bryan Tran
    Moderator
    in reply to: mDot_LoRa_Connect_Example problem #14253
    Bryan Tran
    Moderator

    Hi Aamir,

    1. If you are running the MTS Network Server – Version 1.0.8 – AU915, then you also need to run the mDot firmware AU915.

    2. If you are running the Lora network server – Version 1.0.8-r0.0, then you can run normal mDot firmware 1.0.8 with mbed-rtos version 111.

    I am assuming that you are running MTS Network Server – Version 1.0.8 – AU915 and it was working fine with mDot-AU915 – firmware. Now you want to have the mbed online version.

    If this is the case, please create a support case, so that I can attach the online mDot-1.0.8-AU915 for you.

    Thanks,

    BT

    in reply to: Connecting to server using T mobile network #14249
    Bryan Tran
    Moderator

    Hi Vijay,

    ssh into your Conduit and issue the following commands:

    killall pppd <–Kill pppd

    microcom /dev/modem_at0 <–Talk directly to the radio

    at+cpin? <–You should get ‘+CPIN:READY’, if not check your SIM to see if you have inserted it in correctly.

    http://www.multitech.net/developer/products/conduit/installing-conduit-sim-card/

    at+csq <–Query Signal Strength. The return will have two digits – first digit should be > 10

    at+creg? <–Query to see if it is registering to home/roaming network. Should be (0,1)

    at#sgact=1,1 <–You should get an IP address back, if not check with your SIM service provider to see if the account is enable..etc.

    at#sgact=1,0 <–Hang up

    ctrl+x <–To exit the microcom

    http://www.multitech.com/manuals/s000574_1_0_2.pdf

    Thanks,

    BT

    in reply to: mDot_LoRa_Connect_Example problem #14248
    Bryan Tran
    Moderator

    Hi Aamir,

    1. ssh into your Conduit and type:

    /opt/lora/lora-network-server –version

    *You should have version 1.0.8, if not please upgrade them.

    Downloads

    Please, choose and download the correct file for your model.

    2. For the mDot, please recompile it with the mbed-rtos set to version 111. To select mbed-rtos to older version – High light the mbed-rtos on left panel and then click on revision button at the main menu bar.

    Then select your revision and then click on ‘switch’ button to switch it. Look on the right panel – It should show your revision.

    Recompile it and upload to the mDot and see if it helps.

    Thanks,

    BT

    in reply to: Newbie Help #14218
    Bryan Tran
    Moderator

    Hi Thane,

    Please open a ticket at support.multitech.com

    Thanks,

    BT

    in reply to: Newbie Help #14181
    Bryan Tran
    Moderator

    Hi Thane,

    I think you should try to setup and build the image on your PC development first.

    Getting Started

    Once you have successfully built it, then the next step would be how to flash the new image onto the device.

    NAND Flash Programming

    Thanks,

    BT

    Bryan Tran
    Moderator

    Sorry. Could you please try to copy them and put them in the notepad program or something. Then change all the double quotes to a normal double quotes. I think the web page is changing it to a weird double quotes.

    Then copy the command from your notepad program and paste it into your web browser.

    Bryan Tran
    Moderator

    yousra mkhakh,

    BTW, if it still does not work, I am assuming that you have an AEP version, you can also bring up your web browser and do a copy and paste the 3 commands below:

    https://192.168.2.3/api/loraNetwork?method=PUT&data={“log”:{“syslog”:false,”path”:”/var/log/lora-network-server.log”}}

    https://192.168.2.3/api/command/save?method=POST

    https://192.168.2.3/api/command/restart?method=POST

    Notes: Replace the IP address with your IP address

    Thanks,

    BT

    Bryan Tran
    Moderator

    Hi yousra mkhakh,

    Try /etc/init.d/lora-network-server restart

    Thanks,

    BT

    in reply to: mDot save and restore session #13696
    Bryan Tran
    Moderator
    in reply to: mDot save and restore session #13688
    Bryan Tran
    Moderator
    in reply to: Upgrade 1.2.2 issue #13638
    Bryan Tran
    Moderator

    Hi Corentin Bourget,

    Could you please try to power cycle the unit and then try the upgrade again and see if it helps ?

    Thanks,

    BT

    Bryan Tran
    Moderator

    Lawrence,

    1. You could compile the source code yourself – https://developer.mbed.org/teams/MultiTech/code/MTDOT-BOX-EVB-Factory-Firmware/ – and then upload it to your mdot-BOX. You just want to make sure the following:

    a. To compile it with the latest libmDot version 1.0.8. High light the libmDot folder on the left pannel and click on ‘Revision’ button, then select ‘revision 14’. Click ‘switch’ button.

    b. Edit the following file to fix the issue with – at+gsdf that shows blank.

    CmdGetSurveyDataFile.cpp:
    ————————-

    int32_t CmdGetSurveyDataFile::action(std::vector<std::string> args)
    {
    mDot::mdot_file file;
    int buf_size = 512;
    char buf[buf_size];
    int read = 0; //BT – Edit it right here – Initialize it with a default value of 0
    int read_size;

    file = _dot->openUserFile(file_name, mDot::FM_RDONLY);
    if (file.fd < 0) {
    setErrorMessage(“Failed to open file”);
    return 1;
    }

    c. Recompile and upload it to your device.

    2. Create a support portal that I can attach a bin file that I have already compiled and you just need to upload it to your device.

    https://support.multitech.com

    Thanks,

    BT

    in reply to: mlinux resolv.conf issue #13623
    Bryan Tran
    Moderator

    Hi Suryadi,

    You only need to modify your /etc/network/interfaces file by adding the following line:

    #Wired interface
    auto eth0
    ….
    ipaddress 192.168.2.1
    netmask 255.255.255.0
    gateway 192.168.2.254
    post-up echo “nameserver 8.8.8.8” > /etc/resolv.conf <– Add this line – Setup to obtain a persistent DNS config on the Conduit.

    Thanks,

    BT

    Bryan Tran
    Moderator

    Hi Quentin,

    There is a new firmware with a latest libmDot 1.0.8 version that I have attached it in your support case (5071851). Please, download and give it a try and see if it helps.

    Thanks,

    BT

    in reply to: DNS configuration on MLinux #12974
    Bryan Tran
    Moderator

    Hi Thierry,

    Also, when you issue the ping – omit the http:// – Try do like: ping http://www.google.com from the Conduit.

    Thanks,

    BT

    in reply to: DNS configuration on MLinux #12973
    Bryan Tran
    Moderator

    Hi Thierry,

    Try this and see if it helps?

    Remove this line: dns-nameservers 8.8.8.8 194.230.55.99

    Add these lines: post-up echo “nameserver 8.8.8.8″ > /etc/resolv.conf
    post-up echo “nameserver 194.230.55.99″ >> /etc/resolv.conf

    Thanks,

    BT

    in reply to: How long for changing from mLinux to AEP Model take? #12747
    Bryan Tran
    Moderator

    Hi Suryadi,

    When the Status LED is blinking, that means the unit is ready. If you connect your USB cable from the USB debug port on your Conduit to your PC, you can see what is going with your unit and once the unit is ready, it will give you a login prompt.

    Thanks,

    BT

    in reply to: Access to the MQTT broker #12734
    Bryan Tran
    Moderator

    Hi Dave,

    Conduit:
    ——–

    Note: Assuming the Conduit IP address is at: 192.168.2.1
    Assuming the remote PC IP address is at: 192.168.2.2

    1. ssh into the Conduit and go to /etc/mosquitto and modify the mosquitto.conf with the following:

    #bind_address 127.0.0.1 <–Put a hash sign infront of this line to commented it out.

    2. Save and exit.

    3. Then type: /etc/init.d/mosquitto restart <–Restart the moquitto

    Remote PC:
    ———-

    1. Install the mosquitto software – http://mosquitto.org/download/

    2. mosquitto_sub -t lora/+/+ -v -h 192.168.2.1

    Then on the mDot – Send some data – You should see it shows up on your remote PC.

    Thanks,

    BT

    in reply to: mDot_LoRa_Connect_Example join problem #12628
    Bryan Tran
    Moderator

    Hi Benjamin,

    Can you try what Jonathan suggested and let me know if it helps ?

    Thanks,

    BT

    in reply to: mDot_LoRa_Connect_Example join problem #12603
    Bryan Tran
    Moderator

    Hi Benjamin,

    The mBed online version is setting – the ‘Public’ mode to True by default. So, try to set your /var/config/lora/lora-network-server.conf on the Conduit to True too and see if it helps.

    ———————————————————————

    “network”: {
    “public”: false, <–Set this to true
    “leasetime”: 0, /* time until mDot join expires (minutes) or 0 for no expiration */
    “name”: “my Name”,
    “passphrase”: “my Pass”
    }

    ….
    ——————————————————————–

    And then do: /etc/init.d/lora-network-server restart

    Thanks,

    BT

    in reply to: Access to the MQTT broker #12582
    Bryan Tran
    Moderator

    Hi Dave,

    There are many ways to do this:

    a. I created a couple of examples that echo the data received back to the end node both in C++ and python. They are on github.com account.

    Python:

    https://github.com/trong63/python_mqtt_sample

    C++:

    https://github.com/trong63/mqtt_sample

    b. http://www.multitech.net/developer/?s=lora-sample

    Thanks,

    BT

    in reply to: mDot_LoRa_Connect_Example join problem #12560
    Bryan Tran
    Moderator

    Hi Bernaud,

    1. Which firmware version do you have on the Conduit ? Make sure you have upgrade them to a latest firmware.

    Downloads

    For the mLinux: Download and install the following:

    – Download Lora Network Server 1.0.8 (Changelog | Upgrade Instructions)
    – Download Lora Packet Forwarder 1.4.1-r9 (Upgrade Instructions)
    – Download Lora Query Utility 1.0.2

    For the AEP: Please, download and install the following:

    – Download version 1.1.2 (Changelog | Upgrade Instructions)
    – Download Lora Network Server 1.0.8 (Changelog | Upgrade Instructions)

    2. Which firmware version do you have on the mDot ? Make sure you have a latest firmware on it.

    Downloads

    The AT command firmware is:

    – Download version 1.0.8 (Changelog | Upgrade Instructions)

    For the mBed online/off line version:

    – libmDot-1.0.8-1

    3. If after upgrade them and you are still having a problem, please post the configuration of both mDot and Conduit.

    a. ssh into the Conduit and do the command:

    cat /var/config/lora/lora-network-server.conf

    /opt/lora/lora-network-server –version

    opkg list | grep lora

    b. For the mDot:

    With AT command firmware, do:

    ATI

    AT&V

    With mBed online firmware, we need the output of the function:

    logInfo(“version: %s”, dot->getId().c_str());

    static std::string config_network_name = “xxxx”;
    static std::string config_network_pass = “xxxxx”;
    static uint8_t config_frequency_sub_band = x;

    Thanks,

    BT

    in reply to: join ABP mode #12529
    Bryan Tran
    Moderator

    Hi francois,

    You can ssh into the Conduit and then using lora-query util or netcat command – http://www.multitech.net/developer/?s=lora+query

    Thanks,

    BT

    in reply to: Restore mlinux #12495
    Bryan Tran
    Moderator

    Seungkyu,

    Please open a portal case at https://support.multitech.com/ and I will send you a script to restore your mlinux on your Conduit.

    Thanks,

    BT

    in reply to: US Spreading factor – indeterminate setting? #12452
    Bryan Tran
    Moderator

    Hi Michael,

    int32_t send(const std::vector<uint8_t>& data, const bool& blocking = true, const bool& highBw = false);

    *Pass in with the third params == true

    Thanks,

    BT

    Bryan Tran
    Moderator
    in reply to: MQTT with NodeRED & Conduit #12408
    Bryan Tran
    Moderator

    Adrian,

    1. You can set the Primary DNS server with the value: 8.8.8.8 (Google DNS server) and see if it helps. You can web into the device and go to – Setup -> Network Interfaces -> Click on the pencil icon and put in the DNS server ip address. Click on ‘Submit’ button and do a save and reboot.

    2. If it is still not working for you, can you ssh into the Conduit and try to ping your router at 192.168.1.1 and do you get any replied ? If not check your Ethernet cable..etc..

    3. If you can ping your router at 192.168.1.1, then try to ping 8.8.8.8 and see if you are getting replied ? Then try to ping http://www.google.com.

    Thanks,

    BT

    in reply to: MQTT with NodeRED & Conduit #12405
    Bryan Tran
    Moderator

    Adrian,

    Does your Conduit have a connection to the internet ? You can check it by ssh into the Conduit and issue the following command:

    ping http://www.google.com

    If not connects, please configure it.

    There are two ways to configure the Conduit to connect to the internet.

    a. Using SIM

    b. Using your Company/Home router. (You Conduit is sitting behind your Company/Home router)

    Using SIM:
    ———

    – Web into your Conduit and go to Cellular -> Cellular Configuration -> Enable.

    – APN: Enter you APN here.

    – Authentication: Select Authentication Type and Enter your Username/Password.

    – Click on ‘Submit’ button

    – Do a save and reboot.

    Using your Company/Home router:
    ——————————-

    Assuming you have a router that can access to the internet and the IP address is as the following:

    Router:
    ——-

    IP address: 192.168.2.254

    Conduit:
    ——-

    IP address: 192.168.2.3

    Gateway: 192.168.2.254 <–Point to your Router ethernet interface.

    Configure the Conduit Ethernet as a WAN interface.

    a. Go to FireWall -> Settings:

    * Inbound Filter rule: Allow Inbound Any 1-65535 TCP/UDP ACCEPT

    * Outbound Filter rule: Allow Outbout Any Any Any ACCEPT

    Click on ‘Submit’ button.

    b. Administration -> Access Configuration:

    * HTTP redirect to HTTPS: Enable all of the checkboxes.

    * HTTPS: Enable.

    * SSH: Enable all of the checkboxes.

    * ICMP: Enable all of the checkboxes.

    Click on ‘Submit’ button

    c. Administration -> Initial Setup -> Click Next

    * Choose Password -> Click Skip.

    * Time Configuration -> Next.

    * IP setup – Eth0:

    – Type: WAN

    – Mode: Static

    – IP address: 192.168.2.3 <–Set to your desire ip address

    – Mask: 255.255.255.0

    – Gateway: 192.168.2.254 <–Point to your company router ip address.

    – Primary DNS server:

    Click Next

    Click Next

    Click Finish

    Do a Save and Restart

    Thanks,

    BT

Viewing 30 posts - 31 through 60 (of 200 total)