John Klug
Forum Replies Created
-
AuthorPosts
-
John Klug
ModeratorTo flash the image during reboot for mlinux, you will do:
mlinux-firmware-upgrade upgrade-file.bin
You will always need a file.
John Klug
ModeratormLinux factory default settings does not include passwords, unless you write your own code.
root/root are the default settings for mLinux, but if you build your own image, the password is found in password.txt in the build directory.
If you cannot log in, you could re-flash your Conduit using U-Boot and tftp.
See Using U-boot & TFTP:
John Klug
ModeratorIf you mean the built-in ethernet (not an accessory card) it is the Atmel macb Linux driver using the KSZ8091.
John Klug
ModeratorIt should automatically take it from the mirror when the primary source fails. However, our system was a little overtaxed the last couple of days.
John Klug
ModeratorThis seems strange, as we mirror libmpsse on multitech.net:
http://www.multitech.net/mlinux/sources/libmpsse-1.3.tar.gz
You should be able to retrieve the file from multitech.net and place it in your downloads directory for the build as well.
But if you are using our Yocto source, it should be able to retrieve from multitech.net as a mirror.
John Klug
ModeratorTo reset to defaults:
The debug port is the micro-USB connector on the opposite side of the board as the Ethernet port.
John Klug
ModeratorAEP provides a variety of options for restarting PPP.
Carriers will not hold PPP up forever, and if AEP is not used, you will need to write your own PPP monitor, or find one. As Jeff said, this is not provided in mLinux.
An mLinux system may use AEP software, if you contact customer support.
John Klug
ModeratorFile password.txt will contain the password. It is in the same directory with setup.sh.
John Klug
ModeratorFrom the command line, you can type “/sbin/poweroff”.
It is easier on the flash memory (less likely to create a bad block). Also, it is better for the battery backed up real time clock (if you have a battery).
John Klug
ModeratorFactory defaults using the reset button.
John Klug
ModeratormLinux 4 is almost through test. If nothing comes up it should be out this month.
John Klug
ModeratorThe default is the maximum power.
Did you connect an antenna to the wifi/bt port?
BLE power is set in the rs9113 driver in /etc/default/rs9113:
# Power selection
# 0x00 – For Both TX and RX High Power
# 0x11 – For Both TX and RX Medium Power
# 0x22 – For Both TX and RX LOW Power
# 0x10 – For High Power TX and Medium RX Power
# 0x20 – For High Power TX and LOW RX Power
# 0x01 – For Medium TX and RX High Power
# 0x21 – For Medium Power TX and LOW RX Power
# 0x02 – For Low Power TX and RX High Power
# 0x12 – For LOW Power TX and Medium RX Power
WLAN_RF_PWR_MODE=0x00
BT_RF_PWR_MODE=0x00#Power_mode type
# 0 – HIGH POWER MODE
# 1 – MEDIUM POWER MODE
# 2 – LOW POWER MODE
BT_RF_TX_POWER_MODE=0
BT_RF_RX_POWER_MODE=0It is set to the highest power by default.
These same variables apply simultaneously to BLE and standard Bluetooth.
If these values are changed, it is necessary to reload the driver:
/etc/init.d/rs9113 stop
/etc/init.d/rs9113 startIf you are using bluetoothd, it will need to be restarted as well.
/etc/init.d/bluetooth stop
/etc/init.d/bluetooth startLikewise if you are using wpa_supplicant, or hostapd, in one of the modes that also supports wifi, these will need to be restarted.
John Klug
ModeratorLooking back, this issue was fixed in 3.3.13.
John Klug
ModeratorIn some levels of mLinux, the file /etc/opkg/mlinux-feed.conf there is a bug, and the URL’s in the file are bad.
To determine the correct URL, cat /etc/mlinux-version to determine which level of mLinux is installed. (maybe 3.3.6?).
Then look at available URL’s. They are found by going from:
This has a link called pre-built packages.
This goes to a directory called:
http://www.multitech.net/mlinux/feeds/Then you pick the level you desire. If you just want to install additional packages, I would recommend the directory that matches the version of mLinux you already have.
Then you must edit /etc/opkg/mlinux-feed.conf file, and modify the ‘3.3’ to the exact micro-level of 3.3 you have, such as 3.3.6. There will be several lines in the file with the incorrect path in the URL.
John Klug
ModeratorYou must successfully do “opkg update” before you can install more packages.
John Klug
ModeratorPython 3 will be installable from feeds in mLinux 4.
Default will be 2.7.12.
Release date is currently end of June, but that has been a moving target.
John Klug
ModeratorYou would not want to install -dev packages on a Conduit, since usually these are for building objects, and development tools will not fit. You must cross compile if you are to compile objects.
The list of pre-built packages is referenced on this page:
Look for pre-built packages. If you follow the links, you will find both MTCAP and MTCDT hardware at various levels.
Installation instructions are here:
If none of the packages are what you want, you will need to investigate open-embedded, and build what you want using our tools:
The title of this is building images, but you can build individual packages as well with the bitbake command:
You could then copy the files in build/tmp/deploy/ipk onto an HTML server of your own, and reconfigure /etc/opkg/mlinux-feed.conf to point at your packages.
-
This reply was modified 7 years ago by
John Klug.
John Klug
ModeratorThe battery (if present) powers the SAM9G25 Real Time Clock.
See page 124, section 14:
-
This reply was modified 7 years ago by
John Klug.
John Klug
ModeratorThe still unreleased mLinux 4 is based on Morty currently.
John Klug
ModeratorFor WiFi access point, see this:
For station, see this:
For access point you will probably want dnsmasq, which is available from the feeds using the opkg command.
John Klug
ModeratorIt is not reliable to use two LoRa cards with MTCDT, since the power supply would be marginal, and it would be unreliable. A Serial port uses less power. It should be possible to use serial to USB converter. I have not tried this.
John Klug
ModeratorIf ntpd is running, it will periodically update the real time clock (hardware clock). Also, shutdown (/etc/init.d/hwclock.sh stop) will update the real time clock with the system clock.
There is also the script /etc/network/if-up.d/ntpdate-sync script that can be configured through /etc/default/ntpdate to update the hardware clock, if it can reach an ntpserver, when a network is brought up.
hwclock –systohc will set the hardware clock to UTC, based on the system clock.
John Klug
ModeratorYou must get AEP images from customer support. They are not publicly available. Only mLinux images are available, which have no GUI. mLinux requires editing files to configure Lora-Network-Server, etc.
John Klug
ModeratorYou can use u-boot to re-flash the firmware:
John Klug
ModeratorI should add that /etc/network/interfaces is ignored in AEP, I believe.
John Klug
ModeratorYour netmask is questionable:
netmask 255.255.255.252
10.x.y.z is usually class A.
Your netmask would then be 255.0.0.0
I have never had problems with the gateway line in /etc/network/interfaces.
John Klug
ModeratorDid you try:
ping 8.8.8.8
How about:
ping [gateway address]?
John Klug
Moderator255.255.255.0 would correspond to 192.168.2.6/24
Not sure if it will fix the issue, but it might
John Klug
ModeratorI thought some SIM/modems did not work in context 1. Here is an example chat script with context 3.
OK ‘AT+CGDCONT=3,”IP”,”YourAPN”‘
OK ‘ATD*99***3#’
John Klug
ModeratorConduits use U-Blox, not Venus.
The uBlox documentation is here:
GPSFIXOK is documented on page 307 and is a single bit.
If you are seeing an even value, this means you have a bad signal strength, and the GPS was not able to get a “FIX”.
You can observe the gps output with the gpsmon command run over ssh.
The conduit documentation for gpsd is here:
-
This reply was modified 7 years ago by
-
AuthorPosts