Browse Source

Add some shared templates to both static and dhcp, need to perhaps put them in a netcfg-shared udeb later.

r286
master
David Whedon 22 years ago
parent
commit
37d13792ac
  1. 2
      TODO
  2. 23
      debian/netcfg-dhcp.templates
  3. 23
      debian/netcfg-static.templates

2
TODO

@ -8,4 +8,4 @@
* currently we get an internal error if the user has lots of network interfaces, find a better way of handling that.
* etherconf has some good descriptive text, perhaps I want to use it in place of the existing text.
* when the real dhcpcd installs itself we want to make sure it doesn't destroy our nice working configuration, how to do that?
* dhcp and static config udebs share a fair amount of code, perhaps a shared library?
* dhcp and static config udebs share a fair amount of code, perhaps a shared library? They also share templates, need to make a netcfg-shared udeb?

23
debian/netcfg-dhcp.templates

@ -5,3 +5,26 @@ Description: What is your dhcp hostname?
situations are rare. Most commonly, it applies to cable modem users.
If you are a cable modem user, you might often need to specify an
account number here. Otherwise, you can just leave this blank.
Template: netcfg/no_interfaces
Type: note
Description: no network devices found
No network interfaces were found. That means that the installation system
was unable to find a network device. If you do have a network card, then it
is possible that the module for it hasn't been selected yet. Go back to the
'Configure Device Driver Modules' menu and load the required kernel modules
first. If your only network connection is PPP, don't worry -- you will be
asked if you want PPP later in the process.
Template: netcfg/choose_interface
Type: select
Choices: ${ifchoices}
Description: Choose an interface.
The following interfaces were detected. Choose the type of your primary
network interface that you will need for installing Debian (via NFS or HTTP).
Template: netcfg/error_cfg
Type: note
Description: An error occured.
Something went wrong when I tried to activate your network.

23
debian/netcfg-static.templates

@ -53,3 +53,26 @@ Description: Is this configuration correct?
primary DNS = ${primary_DNS}
secondary DNS = ${secondary_DNS}
tertiary DNS = ${tertiary_DNS}
Template: netcfg/no_interfaces
Type: note
Description: no network devices found
No network interfaces were found. That means that the installation system
was unable to find a network device. If you do have a network card, then it
is possible that the module for it hasn't been selected yet. Go back to the
'Configure Device Driver Modules' menu and load the required kernel modules
first. If your only network connection is PPP, don't worry -- you will be
asked if you want PPP later in the process.
Template: netcfg/choose_interface
Type: select
Choices: ${ifchoices}
Description: Choose an interface.
The following interfaces were detected. Choose the type of your primary
network interface that you will need for installing Debian (via NFS or HTTP).
Template: netcfg/error_cfg
Type: note
Description: An error occured.
Something went wrong when I tried to activate your network.

Loading…
Cancel
Save