Thanks Lazar and ALL support team.
Connection to Open WiFi network Works OK now.
It's a very quick connection, few seconds, makes development work with virgin modules much easier.
Much appreciated.
Thanks Lazar and ALL support team.
Connection to Open WiFi network Works OK now.
It's a very quick connection, few seconds, makes development work with virgin modules much easier.
Much appreciated.
Confirming,
Same error issue when setOutputDirection().
Omega2+ with latest 0.2.0 b190 firmware.
gpioObj = onionGpio.OnionGpio(gpioNum)
gpioNum
6status = gpioObj.setOutputDirection()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/onionGpio.py", line 168, in setOutputDirection
ret = self._setDirection(argument)
File "/usr/lib/python2.7/onionGpio.py", line 134, in _setDirection
status = self._initGpio()
File "/usr/lib/python2.7/onionGpio.py", line 46, in _initGpio
fd.close()
IOError: [Errno 16] Resource busy
@György-Farkas said in New OS Release!:
Today - after a FACTORY RESET - I upgraded it successfully from b176 to b178 on Serial Console with
I am now able to do straight Serial Console upgrade from b159 to latest b178 without Factory Reset.
WiFi connection appears to be working OK for now and open connection is very fast.
Still doing more testing.
Thanks Lazar and ALL support team.
Connection to Open WiFi network Works OK now.
It's a very quick connection, few seconds, makes development work with virgin modules much easier.
Much appreciated.
Is Python WiFi Library supported/compatible with Omega 2+?
Would like to scan and do WiFi connections from Python script.
So far can install and import wifi, Cell library in python 2.7.
But wifi scanning doesn't work out of the box.
To save me time digging to find details, has anyone had any positive experience or advice?
Would be much appreciated.
cells = wifi.Cell.all('ra0')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/wifi/scan.py", line 39, in all
stderr=subprocess.STDOUT)
File "/usr/lib/python2.7/subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 390, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
SOLVED using ubus
Success connecting to WiFi repeater module based on Linkit-Smart 7688.
Linkit-Smart repeater has psk2 encryption and is acting as repeater for Dlink WiFi router that I have not been able to connect Omega 2+ with new firmware.
So far have been able to download a fair bit of stuff from Internet and local wifi network without problems.
Anyway, for a time being this gives me a work-around to connect to Internet with new firmware until the original problem is solved.
What is the maximum number of WiFi STA clients that can connect to Omega 2+ functioning as WiFi Access Point (AP)?
Is this also WiFi interface firmware version dependent?
Have searched the forum but did not find any answers.
Using new 2.0b176 firmware. Tried but unable to connect to Dlink DSL-2900AL wifi router via gui webpage interface. Can connect this way to same router with previous 1.9b159 firmware.
Have been able to connect to Dlink router via another Omega with old 1.9b159 firmware as repeater , but internet connection cuts out after small throughput of data such as only 8 iterations of external internet IP pings. Then need to run wifi (on Omega with new firmware) to reset wifi interface and can repeat this without reliable success. Actually, wifi connection to Omega repeater cuts out and need wifi reset.
Have not tried yet to connect directly to Dlink router with encryption, don't have time now.
Below are outputs as requested for setup using new firmware to connect directly to Dlink wifi router, but unsuccessful!
root@Omega-C59B:/# ifconfig
br-wlan Link encap:Ethernet HWaddr 40:A3:6B:C1:C5:9B
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
inet6 addr: fe80::42a3:6bff:fec1:c59b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1867 errors:0 dropped:0 overruns:0 frame:0
TX packets:807 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:420342 (410.4 KiB) TX bytes:77435 (75.6 KiB)
eth0 Link encap:Ethernet HWaddr 40:A3:6B:C1:C5:9B
inet6 addr: fe80::42a3:6bff:fec1:c59b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:36447 (35.5 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:596 errors:0 dropped:0 overruns:0 frame:0
TX packets:596 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:35676 (34.8 KiB) TX bytes:35676 (34.8 KiB)
ra0 Link encap:Ethernet HWaddr 40:A3:6B:C1:C5:9B
inet6 addr: fe80::42a3:6bff:fec1:c59b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5406 errors:2 dropped:0 overruns:0 frame:0
TX packets:2817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1251013 (1.1 MiB) TX bytes:1071065 (1.0 MiB)
Interrupt:6
iwconfig
root@Omega-C59B:/# iwconfig
lo no wireless extensions.
ra0 RTWIFI SoftAP ESSID:"Omega-C59B"
Mode:Managed Channel=6 Access Point: 40:A3:6B:C1:C5:9B
Bit Rate=150 Mb/s
eth0 no wireless extensions.
br-wlan no wireless extensions.
apcli0 RTWIFI SoftAP ESSID:""
Mode:Managed Channel=6 Access Point: Not-Associated
Bit Rate:150 Mb/s
uci show wireless
root@Omega-C59B:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='ralink'
wireless.radio0.variant='mt7628'
wireless.radio0.country='US'
wireless.radio0.hwmode='11g'
wireless.radio0.htmode='HT40'
wireless.radio0.channel='auto'
wireless.radio0.disabled='0'
wireless.radio0.device_mode='apsta'
wireless.radio0.op_mode='preference'
wireless.ap=wifi-iface
wireless.ap.device='radio0'
wireless.ap.mode='ap'
wireless.ap.network='wlan'
wireless.ap.ifname='ra0'
wireless.ap.encryption='psk2'
wireless.ap.key='12345678'
wireless.ap.disabled='0'
wireless.ap.ssid='Omega-C59B'
wireless.sta=wifi-iface
wireless.sta.device='radio0'
wireless.sta.mode='sta'
wireless.sta.ifname='apcli0'
wireless.sta.encryption='psk2'
wireless.sta.ssid='YourSsidHere'
wireless.sta.key='YourPasswordHere'
wireless.sta.network='wwan'
wireless.sta.disabled='0'
wireless.@wifi-config[0]=wifi-config
wireless.@wifi-config[0].key='none'
wireless.@wifi-config[0].ssid='RR2'
wireless.@wifi-config[0].encryption='none'
After spending more than half a day reading forum posts that don't relate much to new firmware with new wifi interface and playing with different options. No luck in connecting to Dlink DSL-2900AL wireless router. Although can connect with previous 1.9-b.159 firmware using gui web interface without any other configuration modifications.
Since I have number of Omega 2+'s and old firmware can connect to Dlink router, I tried to eliminate direct connection to Dlink router and connect via Omega 2 with 159 firmware that is connected to Dlink . SUCCESS, sort of.
I can connect to Dlink router and local WIFi network through Omega with old firmware but don't have Internet access yet.
I guess more research and reading what is the difference between Dlink router AP and Omega AP with old firmware? Also how to get to Internet? This is suppose to be easy beginner friendly module?
Update .
Have modified firewall settings in Omega connected to Dlink and use it as "Range extender" with internet access available.
Omega with new firmware connected to Omega as range extender works unreliably with internet access. Can ping Internet IP for a little while and then it stops, have to reset WiFi (wifi command) to get internet access again. opkg update DOSN'T work "opkg_download: Failed to download..........opkg_download: Check your network settings and connectivity"
Omega with old firmware as range extender appears to have good internet access through Dlink wifi router, pings OK, opkg update works fine.
?? More troubleshooting or may just forget about new firmware until it becomes more stable.
This is the main difference between the new V2 firmware and previous firmware when trying to connect to local WiFi.
Output from previous firmware that connects to local WiFi:
[ 149.529421] br-wlan: port 2(ra0) entered forwarding state
[ 149.534954] br-wlan: port 2(ra0) entered forwarding state
[ 151.528355] br-wlan: port 2(ra0) entered forwarding state
[ 155.384737] !!! APCLI LINK UP - IF(apcli0) AuthMode(0)=OPEN, WepStatus(1)=NONE!
Output from new V2 firmware that DOESN'T connect.
[ 374.591028] br-wlan: port 1(ra0) entered forwarding state
[ 374.596616] br-wlan: port 1(ra0) entered forwarding state
[ 374.603060] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
[ 376.594605] br-wlan: port 1(ra0) entered forwarding state
Then it just hangs there!!!!
I don't have enough knowledge on how it all works but.
Is this the actual connection to WiFi running old firmware?
[ 155.384737] !!! APCLI LINK UP - IF(apcli0) AuthMode(0)=OPEN, WepStatus(1)=NONE!