--===============5845661327204472695== Content-Type: multipart/alternative; boundary="----0EMK870OBKXT6H5ZA7W07YFDOB27W1" Content-Transfer-Encoding: 8bit ------0EMK870OBKXT6H5ZA7W07YFDOB27W1 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 did you define anything depending on the bridge? that is did you configure anything in networking.interfaces? - Arnold Am 15. Juni 2016 02:28:54 MESZ, schrieb Matthew Robbetts : >Hi list, > >(I filed an issue at GitHub >(https://github.com/NixOS/nixpkgs/issues/16230 >), but realized that >since it’s probably a PEBKAC issue, the mailing list might be more >suitable. Sorry for the cross-post!) > > >I am configuring a new nixOS system. My machine has two ethernet >interfaces (enp3s0 and enp4s0) and one wireless interface (wlp5s0). I >want to bridge the wireless with one of the ethernets, so in my >configuration.nix I add: > >networking = { > ... > bridges.br0.interfaces = [ "enp4s0" "wlp5s0" ]; > ... >and run nixos-rebuild switch. > >I observe in the output that, among other things, a >/nix/store/z18i1q0r4i2bn0vkpcz45d10nn0628nf-unit-br0-netdev.service/br0-netdev.service >is created. However, ifconfig does not show the new bridge interface. > >If I manually run: >systemctl start br0-netdev.service > >the bridge interface appears. > >Probably I am doing something wrong, but I would have expected the >bridge to appear immediately as a result of nixos-rebuild switch. > >Anyone have an opinion? > > >Thanks, >Matt > >------------------------------------------------------------------------ > >_______________________________________________ >nix-dev mailing list >nix-dev@lists.science.uu.nl >http://lists.science.uu.nl/mailman/listinfo/nix-dev -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ------0EMK870OBKXT6H5ZA7W07YFDOB27W1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit did you define anything depending on the bridge? that is did you configure anything in networking.interfaces?

- Arnold

Am 15. Juni 2016 02:28:54 MESZ, schrieb Matthew Robbetts <wingfeathera@gmail.com>:

Hi list,

(I filed an issue at GitHub (https://github.com/NixOS/nixpkgs/issues/16230), but realized that since it’s probably a PEBKAC issue, the mailing list might be more suitable. Sorry for the cross-post!)


I am configuring a new nixOS system. My machine has two ethernet interfaces (enp3s0 and enp4s0) and one wireless interface (wlp5s0). I want to bridge the wireless with one of the ethernets, so in my configuration.nix I add:

networking = {
    ...
    bridges.br0.interfaces = [ "enp4s0" "wlp5s0" ];
    ...

and run nixos-rebuild switch.

I observe in the output that, among other things, a
/nix/store/z18i1q0r4i2bn0vkpcz45d10nn0628nf-unit-br0-netdev.service/br0-netdev.service
is created. However, ifconfig does not show the new bridge interface.

If I manually run:
systemctl start br0-netdev.service

the bridge interface appears.

Probably I am doing something wrong, but I would have expected the bridge to appear immediately as a result of nixos-rebuild switch.

Anyone have an opinion?


Thanks,
Matt



nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. ------0EMK870OBKXT6H5ZA7W07YFDOB27W1-- --===============5845661327204472695== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev --===============5845661327204472695==--