Opened 11 years ago

Last modified 4 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 diver, 11 years ago

Some additional info is here: ticket:7040#comment:3

comment:2 by diver, 11 years ago

Cc: jackburton added

ticket:7040#comment:3 was implemented in hrev45534.

comment:3 by jackburton, 10 years ago

Owner: changed from axeld to jackburton
Status: newin-progress

comment:4 by pulkomandy, 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?

in reply to:  4 comment:5 by jackburton, 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 pulkomandy, 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.

comment:7 by pulkomandy, 9 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.

in reply to:  7 ; comment:8 by jackburton, 9 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.

in reply to:  8 comment:9 by jackburton, 9 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

Note: See TracTickets for help on using tickets.