-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restart network - mac address crash #3409
Comments
network.log 2024-08-25 20:38:27: Found eth0 with DHCP configuration. |
It seams that restart network is not working. |
I do not get crash but network link is lost after trying to restart network |
I have been assigned to investigate this issue. I am unable to reproduce the issue so can I please have more information. In my case I am using a wired network using DHCP to get all the network parameters. Can anyone with the issue please give me more information so that I can reproduce the problem. |
I don't seem to have any problems with restarting the network.I select restarting the network the network restarts.There is no link. The network test passes without errors.The link appears but the channel must be restarted for the image to appear.Also wired connection with DHCP. |
I had Use DHCP set to no since I had device ipaddress assinged on router, I have since set Use DHCP to yes and now I do not lose network connection when I restart network. I have noticed that if I have wireguard plugin connected and I Reset network connection via network settings i do lose connection but if i restart network via wireguard plugin i do not lose connection. |
Hard coding IP addresses within clients that are not reserved on the DHCP server can be very problematic. I always recommend that users assign a single IP address to match the MAC address of their receiver within their router/DHCP server that is always allocated to the one device. That receiver device should always be configured to get its IP address (and other network data) from that router/DHCP server. |
I have needed to set use DHCP back to no again in network settings, when i rebooted stb no internet connection. |
The channel will only not continue if it is StreamRelay or IPTV. That's by design. |
The Network code will be refactored because it's not 100% stable. |
There is another issue about restart network. |
I posted a reply on this. Was it deleted. Or did it not post. Summarising again. Use interface: Yes Crash happens if you click Network MAC Settings, after restart Network message. |
Please test: /usr/lib/enigma2/python/Components Restart Gui |
Test without new About.pyc file on openatv 7.4 build 5th Sept 2024 ok wireguard connected i go to network settings and green light on link I do network test everything is ok I then do restart network in network settings link has turned to red I do network test again I have lost internet IP address unconfirmed and nameserver unconfirmed need to reboot reciever to get network and internet connection again. Now testing with wireguard not connected And now done Restart network link light has turned to red now I try network test again everything is ok but if i do network restart via wireguard even with wireguard not connected green light on link is there. Now test with new About.pyc file. but if i restart network a few times eventually it does start but link still red but found out if i exit network settings and go back in link lght is green |
@urie57 I only fixed the crash on mac address, Network code needs to be fixed. |
my mistake sorry. |
Is someone fixing it? Is it possible that I can't access my Vuplus when using wireguard connection (server on ubiquiti unifi gateway) because of this bug? |
Any type of configuration I have no problem accessing my boxes with WireGuard, can you post your .conf file deleting the private key first? |
setup > network > Device settings > Restart Network.
Then click Network MAC settings and you will get the following crash
20:38:15.8200 [ActionMap] Map screen 'AdapterSetupConfiguration' context 'OkCancelActions' -> Action 'ok'.
20:38:15.8220 [About] getIfConfig Ex: [Errno 99] Cannot assign requested address
20:38:15.8224 Traceback (most recent call last):
20:38:15.8226 File "/usr/lib/enigma2/python/Components/ActionMap.py", line 278, in action
20:38:15.8230 File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 896, in ok
20:38:15.8233 File "/usr/lib/enigma2/python/StartEnigma.py", line 176, in open
20:38:15.8241 dialog = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
20:38:15.8248 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:38:15.8249 File "/usr/lib/enigma2/python/StartEnigma.py", line 109, in instantiateDialog
20:38:15.8254 return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
20:38:15.8260 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:38:15.8261 File "/usr/lib/enigma2/python/StartEnigma.py", line 131, in doInstantiateDialog
20:38:15.8266 dialog = screen(self, *arguments, **kwargs) # Create dialog.
20:38:15.8270 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20:38:15.8270 File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 389, in init
20:38:15.8274 File "/usr/lib/enigma2/python/Screens/NetworkSetup.py", line 406, in getmac
20:38:15.8278 KeyError: 'hwaddr'
20:38:15.8278 [ePyObject] (PyObject_CallObject(<bound method ActionMap.action of <Components.ActionMap.HelpableActionMap object at 0xac539df8>>,('OkCancelActions', 'ok')) failed)
The text was updated successfully, but these errors were encountered: