Maybe silly question, but... did you press ENTER in that console? Should login prompt show up after that.
Jakub K
@Jakub K
Best posts made by Jakub K
-
RE: console problem
-
RE: Omega2 cannot reconnect to wifi automatically
Look at https://community.onion.io/topic/1260/omega2-wifi-shut-down-apcli-link-down/7
You could modify my script to run in cron and check if it's connected to any AP and if not, restart wifimanager. Should help in your case.
Cron version would look like this:
#!/bin/sh AP=$(iwconfig apcli0| awk '/Access Point: .*/ {print $5}') if [ "$AP" = "Not-Associated" ] ; then logger -t wifi-watch "WiFi not assosiated, restarting wifimanager"; ifconfig apcli0 up wifimanager fi
-
RE: onionI2C Import Error
Check if you have both libonioni2c and pyOnionI2C installed in same version:
$ opkg list-installed| grep -i onioni2c libonioni2c - 0.5-1 pyOnionI2C - 0.5-1
Probably you have incompatible version of libonioni2c. Upgrade it.
-
RE: C Compiler, how to install?
Just follow LEDE instructions (Omega2 OS is a fork of LEDE):
https://lede-project.org/docs/guide-developer/compile_packages_for_lede_with_the_sdk
Short instruction:
- Download SDK from https://downloads.lede-project.org/releases/17.01.4/targets/ramips/mt7688/
- Unpack, enter, run: make menuconfig
- In menu "Global Build Settings" unselect ALL (including "Cryptographically sign package list"
- Exit menu (saving config)
- Run: make (or make -j4 or make -j9 depending on how meny CPUs/Cores you have)
Voila, you got working SDK buildroot for ramips MT7688 (Omega2) Rest is the same as all others cross-compile buildroots (export env STAGING_DIR as $BUILDROOT/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/, export PATH with STAGING_DIR as first in chain, etc).
If using e.g. make, remember to use variables for corss-compile:
CC=mipsel-openwrt-linux-musl-gcc
CCC=mipsel-openwrt-linux-musl-g++
CXX=mipsel-openwrt-linux-musl-g++If you need configuration for IDEs (like Netbeans) let me know. All you need to do is setup new configuration with custom paths to buildroot compilators.
P.S. In future, remember to NOT download and use buildroots/SDKs from unofficial sources like dropbox, etc, it's a big security risk.
-
RE: Ethernet & MicroPython
Just use as it was any other PC. Just use telnetlib, asyncio or any other library (may need to install package).
P.S. Remember to upvote answers if they fit your needs
-
RE: Ethernet & MicroPython
Yes, Ethernet interface is already in your system. Board adds only phisical layer (M3066ANL votage transformer + RJ45 connector).
Latest posts made by Jakub K
-
RE: The same issue on both cards: cannot connect to Wifi
@Johan-Adler in some situations power supply can be a problem. Did you use in both tests the same power source? Please verify problem using different power sources (capable of minimum 1A).
You can also try manually scan wireless network, by logging to omega2 by serial console and using
iwlist [INTERFACE] s
-
RE: Hello... That's smell Onion :)
What type of wifi do you have? 2.4Ghz or 5Ghz? It's 802.11n only, 802.11ng mixed, or 802.11g? Omega does not support 5GHz and does not support 802.11n-only mode.
-
RE: The same issue on both cards: cannot connect to Wifi
Do you use 802.11n wifi networks maybe? Omega2 does not support 802.11n (stated in documentation, which in wrong). You need to have 802.11g network. Remember also, that Omega supports 2.4Ghz only, does NOT support 5Ghz.
-
RE: console problem
Maybe silly question, but... did you press ENTER in that console? Should login prompt show up after that.
-
RE: [answered] Omega2 unique serial number
Giving -1 and not giving alternative is so fair
Using permanenty stored MAC is the only proposed solutions so far. Sure, you can reflash efuse (and change MAC). With that approach you will never find any unique id on any CPU that can't be altered (Intel tried it once and after EU commision intervention Intel abandoned idea of "serial numbers" in CPUs.).
Still, it's only way to get any unique ID based on hardware (accepting that, it can be changed by flashing efuse). If considering only out-of-the-box device, it can be assumed it's unique (for some purposes). I mean, when using new (own) device one should not be aware that someone in the middle changed efuse. If considering no-trust and 3rd parties, then id should be generated by software ("hard-to-guess" algorithms, uuid4 maybe?). Author did not reveal why and for what he needs that ID.
-
RE: [answered] Omega2 unique serial number
You can read original MAC address even if it was changed (change is not permanent). To read permanent (value from NIC ROM memory):
man ethool:
-P --show-permaddr Queries the specified network device for permanent hardware address.
Usage:
ethtool -P enp0s25
If you need to get it more programatically (C/C++), let me know.
-
RE: [answered] Omega2 unique serial number
PRid is not unique as global. It's just an identification of vendor + processor id (cpu type) + model revision. It's not unique in vendor's production line. It is not it's serial number.
-
RE: Can't run programs in terminal
Looks like your header is still wrong, see mine (2 first lines of my
sample.py
#!/usr/bin/python3 # -*- coding: utf-8 -*-
Check if path
/usr/bin/python3
is correct for omega (don't have one to check, right now). -
RE: Can't run programs in terminal
@Zachary-Haslam
It's not omega dumb but your knowledge about Linux is not enough for now You need to add executable right on the file to execute it directly (chmod a+x /path/to/your/python/script.py
).