Wireless setup
-
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 'fd28:1f13:5b38::/48' config interface 'lan' option ifname 'eth0' option type 'bridge' option proto 'static' option ipaddr '192.168.3.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option ifname 'eth0' option proto 'dhcp' option hostname 'OnionOmega' #config interface 'wan6' # option ifname '@wan' # option proto 'dhcpv6' #config switch # option name 'switch0' # option reset '1' # option enable_vlan '1' #config switch_vlan # option device 'switch0' # option vlan '1' # option ports '0 1 3' config interface 'wwan' option proto 'dhcp' option hostname 'OnionOmega' #config interface 'wlan' # option proto 'static' # option ipaddr '192.168.3.1' # option netmask '255.255.255.0' #config interface 'wlan' # option ifname 'wlan0-1 wlan0' # option type 'bridge' # option proto 'static' # option ipaddr '192.168.3.1' # option netmask '255.255.255.0' # option ip6assign '60'
-
@Nayan here are the contents of my wireless config file:
option type 'mac80211' option hwmode '11g' option path 'platform/ar933x_wmac' option htmode 'HT20' option disabled '0' option channel '9' option txpower '30' option country 'US' config wifi-iface option device 'radio0' option network 'wlan' <----you want me to change this from wlan to wan? option mode 'ap' option ssid 'Omega-19F3' option encryption 'psk2' option key 'key' option disabled '0' config wifi-iface option device 'radio0' option ssid 'home2' option encryption 'psk2' option network 'wwan' option mode 'sta' option key 'key' option disabled '0' And you want me to uninstall wpad-mini and installing wpad, correct?
-
Yes... Please try that
-
@Nayan ran opkg update, then ran opkg remove wpad-mini all ran fine but when I tried opkg install wpad got:
root@Omega-xxxx:/# opkg remove wpad-mini Removing package wpad-mini from root... root@Omega-xxxx:/# opkg install wpad Unknown package 'wpad'. Collected errors: * opkg_install_cmd: Cannot install package wpad.
-
@Nayan did the opkg update it ran no problem then after the uninstall of wpad-mini and attempt to install wpad no longer had connection.
Now when i run opkg update get a:Collected errors: * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.gz, wget returned 4. * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/Packages.sig, wget returned 4. * opkg_download: Failed to download http://repo.onion.io/omega/packages/Packages.gz, wget returned 4. * opkg_download: Failed to download http://repo.onion.io/omega/packages/Packages.sig, wget returned 4. * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.gz, wget returned 4. * opkg_download: Failed to download http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/Packages.sig, wget returned 4.
When i run opkg update on my other Omega it runs fine?
-
For those wondering why this sounded incomplete including our discussion via chat.
Guest a day ago
Any word on the fail of bridge posted my network file for your review
Nayan about 3 hours ago
Hey Guest... sorry have been busy with something... Everything seems legit... I have one last thing you can try (cos it worked for me)... try installing wpad removing wpad-mini... though I do not know the exact circumstance for your network it certainly wont harm ur omega to have the full version of wpad... give it a shot and let me know... in the meantime let me see the config again...
Nayan about 3 hours ago
Hey guest... I just noticed something...in your '/etc/config/wireless' file just change the 'wlan' to 'wan' and let me know the results
Nayan 27 minutes ago
hi there Guest... yes please do those two things and see if it works
Guest 22 minutes ago
root@Omega-xxxx:/# opkg install wpad
Unknown package 'wpad'.
Collected errors:
opkg_install_cmd: Cannot install package wpad.
Nayan 12 minutes ago
U need to uninstall the wpad-mini first
do an ifconfig to check if you are connected to the internet first
Nayan 4 minutes ago
thats really strange...
Guest 3 minutes ago
Yup did uninstall wpad-mini before attempting to install wpad
Nayan 3 minutes ago
do you mind doing a factory reset?
Guest 2 minutes ago
will do and let you know
Nayan 2 minutes ago
had to do factory reset several times
ok
-
This post is deleted!
-
@Nayan was curious so checked my other Omega with the most current firmware and here is what I got:
wpad - 2015-03-25-1 - This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS Authenticator and Supplicant wpad-mesh - 2015-03-25-1 - This package contains a minimal IEEE 802.1x/WPA Authenticator and Supplicant (with 802.11s mesh and SAE support). wpad-mini - 2015-03-25-1 - This package contains a minimal IEEE 802.1x/WPA Authenticator and Supplicant (WPA-PSK only).
It appears you don't have to download and install as they are already present just not sure if they all are loading concurrently?
-
@Haoran-Li followed your tutorial but can not get this to function would you be so kind to review my steps and see if something I did was incorrect?
-
@Lazar-Demin @Haoran-Li Never got this to work have you had time to review my steps and help me out?
-
Can I get some help with this please.
-
@Lazar-Demin said:
@Guest In the post with all of the configuration files, can you please edit the post to format the settings with code syntax? It's incredibly hard to read with the current formatting.
There's a guide here: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#codeI'll ask @Haoran-Li to take a look, meanwhile you should experiment as well, we definitely welcome innovation in the community
Do you have an update for me on this procedure did I derail following the instructions? Have not heard from Haoran.
-
@Guest Hoaran's co-op term with Onion has ended. We're hoping to get him back in the fall for another co-op term
In the meantime, we've tried following the tutorial from the beginning with a factory restored Omega and it worked as expected. So we've confirmed the procedure is correct.
Please try a factory reset on your Omega and try the procedure from the tutorial again. We can provide tutorials and general advice, but we simply do not have the resources to debug cases on an individual basis.
-
Fair enough if you say it worked then will try it again.
-
@Lazar-Demin Could you post how you tested the configuration and the files associated with this setup so i could do some comparisons?
-
@administrators after following the tutorial step by step for the 5th or 6th time and connecting my laptop to the ethernet port on the omega it fails to acquire the DHCP setting from my router. Same laptop connected directly to the router works fine? Any input or posting of files which made your connection successful would be appreciated.
-
@Guest Is your laptop setup to obtain an IP Address automatically from the DNS as mentioned in Step 4?
Can you check with another device that has an Ethernet port? Even another Omega + Ethernet Expansion will work.All of the files on the Omega that have been modified are mentioned in the tutorial.
-
@Lazar-Demin Yes it is setup to automatically collect ip address (assuming you mention DHCP server).
And yes can move my ethernet expansion to my other omega and update.
-
@Guest Ok try your other Omega as well, but I meant try connecting the Omega Ethernet Bridge to another laptop or computer, just to make sure that it's not your laptop that's the issue!
-
When I connect the laptop to the network with out using the omega it obtains IP address just fine and can access the web.