Re: network configuration
On Friday 21 April 2006 20:35, Freddie Cash wrote:
> I can understand putting network-level information into a single
> config file. Things like IPs, routes, gateways, etc. All the stuff
> you need *AFTER* a link is established.
Exactly what I think.
> But link-level stuff should not go into the same config file as
> network-level stuff. This is all stuff that needs to happen
> *beforehand*. And these should be able to change without affecting
> the network-level too much. All the network-level needs to see if
> "linkup" and "linkdown" events, and then run/load the appropriate
> config.
Exactly what I think.
>
> wpa_supplicant works the same as plugging in an Ethernet cable.
Exactly what I think.
> For instance, configuring the wireless link should happen before
> putting the IPs and whatnot onto the interface. Creating a PPP
> connection or a PPPoE connection needs to happen before running DHCP
> and whatnot on the interface.
>
> These should be separate configs and separate actions.
Exactly what I think.
(Do I repeat myself?)
Kind regards,
Felix
Reply to: