Simple access point initial configuration DNS help

Hi, I want to set up my Omnia as an access point. I want the most simple, basic setup. I have a main router connected to the ISP, and my Omnia is connected to the router via ethernet in the LAN port in both the main router and the Omnia.

For the initial setup, I disconnected the Omnia ethernet, then I performed a 3-LED factory reset. I plugged my computer into the Omnia, and gave it a static IP (192.168.1.201 because 192.168.1.1 was interfering with the main router). Then I connected the ethernet to the LAN port. I specified the gateway as 192.168.1.1, disabled DHCP, and configured WiFi. Everything now works for computers connected to the Omnia via ethernet and WiFi.


However, the Omnia will not update.

root@turris:~# /usr/bin/updater.sh
curl: (6) Couldn’t resolve host ‘api.turris.cz’
DIE:
unreachable: /tmp/crl.pem: No such file or directory
uci: Entry not found
uci: Entry not found
Alarm clock
uci: Entry not found

It appears as though DNS isn’t working:

root@turris:~# nslookup forum.turris.cz
Server: (null)
Address 1: ::1
Address 2: 127.0.0.1 localhost

nslookup: can’t resolve ‘forum.turris.cz’: Try again

in Foris, I tried every combination of checkboxes for:

Use forwarding
Disable DNSSEC

I attached a screenshot of my config from Foris. This may also be helpful:

root@turris:~# cat /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 ‘fd0a:01c0:ca20::/48’

config interface ‘lan’
option ifname ‘eth0 eth2’
option force_link ‘1’
option type ‘bridge’
option proto ‘static’
option netmask ‘255.255.255.0’
option ip6assign ‘60’
option ipaddr ‘192.168.1.201’

config interface ‘wan’
option ifname ‘eth1’
option proto ‘static’
option ipaddr ‘192.168.1.201’
option netmask ‘255.255.255.0’
option gateway ‘192.168.1.1’
option dns ‘8.8.8.8’

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 2 3 5’

config switch_vlan
option device ‘switch0’
option vlan ‘2’
option ports ‘4 6’

First of all update your firmware. Because you are using something really really old even before DSA. Second as the error message says you have no link on eth2 which is WAN. So the default route there and DNS are not going to work. You have to add eth2 to br-lan after you run up to date version of TOS.

Also there is no updater.sh anymore there is pkgupdate command.

So look for Reset 4 leds mode. Reflash your Omnia with something fresh. Do the initial wizard and use Computer Mode not Router Mode in the first Wizard. Follow the wizard and it should work.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.