I agree, designate some users with moderator privileges could be the solution.
Oximoron
@Oximoron
Best posts made by Oximoron
-
RE: Moderators: can we get these spam posts fixed pleased?
-
RE: Moderators: can we get these spam posts fixed pleased?
Yes, very annoying. Please, delete spam topics.
Latest posts made by Oximoron
-
RE: Moderators: can we get these spam posts fixed pleased?
I agree, designate some users with moderator privileges could be the solution.
-
RE: Moderators: can we get these spam posts fixed pleased?
Yes, very annoying. Please, delete spam topics.
-
RE: Unable to connect to non-alphabet SSID
@Junxiao-Shi said in Unable to connect to non-alphabet SSID:
I reflashed my device with standard OpenWrt 18.06 and it works great.
Procedure and experience on my blog:
https://yoursunny.com/t/2019/omega2pro-openwrt/Excellent, thanks!
-
RE: I can't find out omega-****.local site.
Connect smart phone to the Omega’s WiFi Network and try to use IP address http://192.168.3.1.
More info: https://docs.onion.io/omega2-docs/first-time-setup.html#first-time-setup
-
RE: Wireless not working unless Ethernet cable plugged in
@Carst-Dan said in Wireless not working unless Ethernet cable plugged in:
Updated to 0.3.2 b218 two hours ago (Omega 2+). Problem remains. Additionally static ip network setup fails now. Worked with the delivery version.
Yes, static IP setup fail from old versions, I need to setup gateway manually for internet access, see this post:
http://community.onion.io/topic/3107/setting-dns-with-static-ip-config
I'm using firmware 0.3.2 b217 (Omega2+).
-
RE: Wireless not working unless Ethernet cable plugged in
@Carst-Dan said in Wireless not working unless Ethernet cable plugged in:
This problem only occurs if the ethernet is plugged during the boot-up and is removed later. The wireless connection connection stops working at this moment.
If the ethernet cable is plugged after boot-up and is then removed, the wireless connection remains totally correct.
This seems to be a FIRMWARE-BUG.
Hi, which firmware version are you using ? (just for information).
-
RE: Setting DNS with static IP config
Well, I think is a problem of routing tables:
Output of
route -n
command with DHCP (default device config):Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 apcli0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 apcli0 192.168.1.1 0.0.0.0 255.255.255.255 UH 0 0 0 apcli0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br-wlan
With STATIC IP config:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 apcli0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br-wlan
So, I route manually with command:
# route add default gw 192.168.1.1
And voila,
ping google.com
works...
Complete config for static IP
Device IP address 192.168.1.95 and router/gateway in 192.168.1.1.
Modify interface 'wwan' in file
/etc/config/network
as follow:config interface 'wwan' option ifname 'apcli0' option proto 'static' option hostname 'Omega-XXXX' option ipaddr '192.168.1.95' option netmask '255.255.255.0' option gateway '192.168.1.1' option dns '8.8.8.8'
If you use the Access Point (example a phone connected to Omega as Wi-Fi client) add DNS servers to
/etc/dnsmasq.conf
file:# Use public DNS servers for Access Point when # static IP is used for 'wwan' interface. server=8.8.8.8 server=8.8.4.4
Add these commands to
/etc/rc.local
to update config on next boot:# ---------------------------------------------------------- # COMMANDS FOR STATIC IP CONFIG # ---------------------------------------------------------- # Add routing table (need it for STATIC IP config) route add default gw 192.168.1.1 # Restart Dnsmasq for update DNS servers (only Access Point) /etc/init.d/dnsmasq restart
Next,
reboot
Omega.Check if the
route -n
has a similar output:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 apcli0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 apcli0 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br-wlan
And ofcourse, try
ping google.com
command.Conclusion
In my humilde opinion there are a config bug for static IP, maybe Onion would fix it.
References:
[https://wiki.openwrt.org/doc/howto/dhcp.dnsmasq](link url)
[https://wiki.openwrt.org/doc/uci/routing_in_ipv4](link url)
[https://wiki.openwrt.org/doc/uci/network](link url)
-
RE: Setting DNS with static IP config
@Maximilian-Gerhardt said in Setting DNS with static IP config:
Maybe the
dnsmasq
program interferes? What does/etc/resolv.conf
say?Maybe... I try all configurations in
/etc/config/network
and/etc/config/dhcp
, but it doesn't work.File
/etc/resolv.conf
is modified bydnsmasq
after boot. -
RE: Setting DNS with static IP config
@Jean-Eudes-Quidet-0 said in Setting DNS with static IP config:
Hi
i work in DHCP but with a static lease with the MAC Address of apcli0 (xxxxx0E for you but not the MAC Address of the Omega Label )
my router is a Mikrotik and this system work for all IOT (ESP 8266 / ESP 32 / 4Duino ...)
Bye
Hi, It's no apply in this case, because I'm finding a solution without modify router setup.