The opkg update command failed with code 6 (yup another)

Yes another post, first to all i read all the post about, second english is not my native language so is a little difficult write some words and explain, i have installed openwrt and make sysupgrade, the i configure the router using this guide in "dumb ap mode"

but when i go to system -> software-> upgrade list, i get the error
when i do ssh and cli i get "operation not permitted" Check your network settings and connectivity.

if a do system-> diagnostics -> ping bad address error appears

thinks i do,
1.- check the time in system -> system time
2.- edit /etc/opkg/distfeeds.conf - change https -> http
3.- add in cli opkg update --no-check-certificate

here is my configs files


config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr ''
        option netmask ''

config globals 'globals'
        option ula_prefix 'fd3c:a0f7:aea6::/48'

config device 'switch'
        option name 'switch'
        option type 'bridge'

config bridge-vlan 'lan_vlan'
        option device 'switch'
        option vlan '1'
        option ports 'lan1 lan2 lan3 lan4'

config interface 'lan'
        option device 'switch.1'
        option proto 'static'
        option ipaddr ''
        option netmask ''
        option ip6assign '60'
        option gateway ''
        list dns ''


root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '220'
        option limit '250'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'
        option ignore '1'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

i dont know if i miss something
thanks in advance

ps: can i downloaded the files separatelly and upload by wiscp to the router? i need only two or three packagaes that's all

Add something like nameserver to /etc/resolv.conf

it works, thanks

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