You are right, not exact, but close enough.
THANK YOU !
I've ordered 400 (and a couple of other things from their cool site.
You are right, not exact, but close enough.
THANK YOU !
I've ordered 400 (and a couple of other things from their cool site.
Solved.
I found gpio-sysfs from https://pypi.org/project/onion-gpio-sysfs/ to work.
You are right, not exact, but close enough.
THANK YOU !
I've ordered 400 (and a couple of other things from their cool site.
Does anyone know a source for the hair pin type connector pins (like on the OM2S-DK-SD development kit) ? I'd like to include them on a prototype board I'm working on.
@Lazar-Demin No promises expected.
But, can you put a no obligation bound on a 'few weeks' ?
If we are talking 2,3 or 4, I can wait. If we are talking 6, 8, or more I'll need to migrate my design to the SP. (FWIW, Mouser for example, projects 2+ stock in late April.)
Perhaps you could advise - for go forward, should we perhaps be migrating to the SP devices anyway ?
@crispyoz Thank you for the link to the schematics !
Unfortunately, I need additional storage so straight 2's won't work for this application.
With the Omega2+ becoming un-findable (at least right now) I'm considering moving to the 2s IF I can add an SD card to it. Based on visual review of the 2+, it does not look like a major project, but I cannot find any information or schematics on how to make the connections. (It could be my search-fu is weak.)
Can anyone direct me to any insight on doing this ?
Thanks !
December 14, 2022, Looks like everyone is out of stock on the 2+. Best I found on lead time was March 2023.
Could not ping 192.168.1.1
However, found a solution in post Setting DNS with static IP config (not sure how I missed it in my initial search).
Changes wwan to
config interface 'wwan'
option ifname 'apcli0'
option proto 'static'
option hostname 'Omega-XXXX'
option ipaddr '192.168.1.202'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns '8.8.8.8'
and added a line to rc.local
route add default gw 192.168.1.1
That seemed to do the trick. I can ping the www (and more importantly the ntp server I needed to get the time from).
Thank you for your assistance
root@Omega-5F4C:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable
root@Omega-5F4C:~#
Strange. I edited the resolv.conf to be
nameserver 8.8.8.8
nameserver 8.8.4.4
search local domain
and saved it. Just to check I did a cat /etc/resolv.conf and is came back correctly.
I rebooted the machine. Still wont ping. Checked resolv.conf and is has been changed back to its original
search lan
nameserver 127.0.0.1
??
Still cannot ping 8.8.8.8
Looks like something is overwriting resolv.conf at reboot?
I set a static IP address for my Onion2+. Once I do that, I seem to no longer have internet access.
Local wireless router is 192.168.1.1
Static IP needed for the Onion is 192.168.1.202
Somehow, I seem to have set this up wrong. Any help appreciated !
ifconfig and /etc/config/network shown below
root@Omega-5F4C:~# ifconfig
apcli0 Link encap:Ethernet HWaddr 40:A3:6B:C9:5F:4E
inet addr:192.168.1.202 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::42a3:6bff:fec9:5f4e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
br-wlan Link encap:Ethernet HWaddr 40:A3:6B:C9:5F:4C
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link
inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:932 errors:0 dropped:0 overruns:0 frame:0
TX packets:587 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:134785 (131.6 KiB) TX bytes:57535 (56.1 KiB)
eth0 Link encap:Ethernet HWaddr 40:A3:6B:C9:5F:4D
inet6 addr: fe80::42a3:6bff:fec9:5f4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:17583 (17.1 KiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:640 (640.0 B) TX bytes:640 (640.0 B)
ra0 Link encap:Ethernet HWaddr 40:A3:6B:C9:5F:4C
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1033 errors:0 dropped:0 overruns:0 frame:0
TX packets:576 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:169323 (165.3 KiB) TX bytes:47803 (46.6 KiB)
Interrupt:6
here is my /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd1d:48c4:7633::/48'
config interface 'wlan'
option type 'bridge'
option proto 'static'
option hostname'MSPPlaner'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.3.1'
option dns-nameservers '75.75.75.75'
config interface 'wwan'
option ifname 'apcli0'
option proto 'static'
option ipaddr '192.168.1.202'
option netmask '255.255.255.0'
option hostname 'PVPlaner
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
YES ! EXCELLENT ! This worked.
Thank you Very Much !
(I did have to move my wlan section back to the original).
Thank you again !