[SOLVED] First Run Wizard - KeyError('ppp_ipv6',) Error

My Omnia arrived today and I’m trying to start using it. I can’t get past step 2 WAN settings. The error message returned is KeyError(‘ppp_ipv6’,) .

So far I’ve factory reset the device several times, and each time I encounter the same error. I have a gigabit FTTH connection with an ONT box which has an Ethernet port for my internet connection. I plug my router into the ONT box’s Ethernet port and configure it to use a PPPoE connection with my username and password.

I’m now switched back to the old router with the Omnia connected to it via Ethernet, and if I try to run the setup wizard it says I have no internet connection and I still can’t get past the step 2 WAN connection. My internet connection is perfect, I’m using it to post this now via the old router.

How do I troubleshoot this further please? This is a complete showstopper bug and the device is unusable. I found only one other report of this happening but since mine won’t connect via DHCP it won’t update (which is what resolved the bug for the other person).

Stack Trace:

    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/foris/utils/reporting_middleware.py", line 86, in __call__
        return self.app(environ, start_response)
      File "/usr/lib/python2.7/site-packages/bottle_i18n.py", line 68, in __call__
        return self.app(e,h)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 979, in __call__
        return self.wsgi(environ, start_response)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 954, in wsgi
        out = self._cast(self._handle(environ))
      File "/usr/lib/python2.7/site-packages/bottle.py", line 862, in _handle
        return route.call(**args)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 682, in mountpoint_wrapper
        body = app(request.environ, start_response)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 979, in __call__
        return self.wsgi(environ, start_response)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 954, in wsgi
        out = self._cast(self._handle(environ))
      File "/usr/lib/python2.7/site-packages/bottle.py", line 862, in _handle
        return route.call(**args)
      File "/usr/lib/python2.7/site-packages/bottle.py", line 1729, in wrapper
        rv = callback(*a, **ka)
      File "/usr/lib/python2.7/site-packages/foris/utils/bottle_csrf.py", line 85, in wrapper
        return callback(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/foris/utils/__init__.py", line 64, in wrapper
        return func(*args, **kwargs)
      File "/usr/lib/python2.7/site-packages/foris/wizard.py", line 535, in step_post
        if wiz.save():
      File "/usr/lib/python2.7/site-packages/foris/wizard.py", line 134, in save
        return sup.save(extra_callbacks=extra_callbacks)
      File "/usr/lib/python2.7/site-packages/foris/config_handlers/base.py", line 66, in save
        form.save()
      File "/usr/lib/python2.7/site-packages/foris/fapi.py", line 238, in save
        self.process_callbacks(self.data)
      File "/usr/lib/python2.7/site-packages/foris/fapi.py", line 266, in process_callbacks
        cb_result = cb(form_data)
      File "/usr/lib/python2.7/site-packages/foris/config_handlers/base.py", line 1131, in wan_form_cb
        wan.add(Option("ipv6", data['ppp_ipv6']))
    KeyError: 'ppp_ipv6'

Environment

 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
 'DOCUMENT_ROOT': '/www',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_CONTENT_LENGTH': '151',
 'HTTP_COOKIE': 'beaker.session.id=8f2af5f116c247129e4534c172c3f41e',
 'HTTP_DNT': '1',
 'HTTP_HOST': '192.168.1.1',
 'HTTP_REFERER': 'http://192.168.1.1/',
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0',
 'PATH_INFO': '/wizard/step/2',
 'PATH_TRANSLATED': '/www/wizard/step/2',
 'QUERY_STRING': '',
 'REDIRECT_STATUS': '200',
 'REMOTE_ADDR': '192.168.1.176',
 'REMOTE_PORT': '41596',
 'REQUEST_METHOD': 'POST',
 'REQUEST_URI': '/wizard/step/2',
 'SCRIPT_FILENAME': '/www/',
 'SCRIPT_NAME': '/',
 'SERVER_ADDR': '192.168.1.1',
 'SERVER_NAME': '192.168.1.1',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'lighttpd/1.4.39',
 'beaker.get_session': <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0xb365f0>>,
 'beaker.session': {'csrf_token': '1BD3VyitJalKxey4F7hxve2UyilfWznO', '_accessed_time': 1479296065.415118, 'allowed_step_max': 2, '_creation_time': 1479295798.2886989, 'user_authenticated': True},
 'bottle.app': <bottle.Bottle object at 0xb39430>,
 'bottle.raw_path': '/step/2',
 'bottle.request': <LocalRequest: POST http://192.168.1.1/wizard/step/2>,
 'bottle.request.body': <StringIO.StringIO instance at 0x7cc980>,
 'bottle.request.headers': <bottle.WSGIHeaderDict object at 0x8cf4c0>,
 'bottle.request.post': {'csrf_token': '1BD3VyitJalKxey4F7hxve2UyilfWznO',
                         'custom_mac': '0',
                         'password': '**********',
                         'proto': 'pppoe',
                         'send': '',
                         'username': '<redacted, contains lowercase a-z ASCII characters and a punctuation mark '.'>',
                         'wan6_proto': 'dhcpv6'},
 'bottle.request.urlparts': SplitResult(scheme='http', netloc='192.168.1.1', path='/wizard/step/2', query='', fragment=''),
 'bottle.route': <POST '/step/<number:re:\\d+>' <function step_post at 0x891fd0>>,
 'route.handle': <POST '/step/<number:re:\\d+>' <function step_post at 0x891fd0>>,
 'route.url_args': {'number': '2'},
 'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x7cd400>,
 'wsgi.input': <StringIO.StringIO instance at 0x7cc980>,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}

I guess you are hitting the known bug of PPPoE. Please try reflashing the router using a new image.

Thanks for the quick reply. Looks like that resolved the problem. I don’t understand why using the old router’s connection to update via Ethernet would not work but it is irrelevant now.