Opened 12 years ago
Last modified 5 years ago
#9590 in-progress bug
[Network] preflet doesn't update the list of interfaces on the fly
Reported by: | diver | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Preferences/Network | Version: | R1/Development |
Keywords: | Cc: | jackburton | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is hrev45428.
The Network preflet doesn't reflect changes to the list of interfaces.
To reproduce:
- Open the preflet
- ifconfig del /dev/net/ipro1000/0 ifconfig /dev/net/foo/0 up
Same applies to NetworkStatus.
Change History (9)
comment:1 by , 12 years ago
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
follow-up: 5 comment:4 by , 10 years ago
Hi, There is a rewrite of the network preflet in src/tests/kits/net/preflet. It altready supports updating the list of interfaces. Maybe it would be better to spend time on finishing and improving it rather than continuing work on the currently used preferences panel?
comment:5 by , 10 years ago
Replying to pulkomandy:
Hi, There is a rewrite of the network preflet in src/tests/kits/net/preflet. It altready supports updating the list of interfaces. Maybe it would be better to spend time on finishing and improving it rather than continuing work on the currently used preferences panel?
How functional is that ? If it's ready for basic functionality, we should replace the current preflet with it.
comment:6 by , 10 years ago
There are a few things missing:
- No way to configure DNS servers
- I'm not sure the settings are correctly saved to the right place - can't remember if that was implemented
The plan is to replace the current preflet once we have basic functions working in this new one. Then we can think about improvements starting with a better base.
To build and test the new preflet:
jam -q NetworkSetup Interfaces
You need to put Interfaces in the add-ons search path for NetworkSetup, for example in an "add-ons" folder next to the NetworkSetup executable. The other add-ons are not available yet, they are empty stubs and not up to date with the current state of the app.
follow-up: 8 comment:7 by , 10 years ago
New network preflet is the default now, and this seems to work. However
- Still need to update NetworkStatus
- I tried deleting my network interface and got a KDL. We should also solve that.
follow-up: 9 comment:8 by , 10 years ago
Replying to pulkomandy:
New network preflet is the default now, and this seems to work. However
- Still need to update NetworkStatus
Maybe we could integrate NetworkStatus in the Preflet, so that it's just a "view" of the Preflet itself ? At least, I can't see why they should be two different apps, since currently they also share some code (Some files get compiled for both).
- I tried deleting my network interface and got a KDL. We should also solve that.
It's tracked in #5492.
comment:9 by , 10 years ago
Replying to jackburton:
- I tried deleting my network interface and got a KDL. We should also solve that.
It's tracked in #5492.
Sorry, that would be #10919
Some additional info is here: ticket:7040#comment:3