Advertisement
Guest User

Untitled

a guest
Apr 17th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.59 KB | None | 0 0
  1. # /etc/network/interfaces
  2. # This file describes the network interfaces available on your system
  3. # and how to activate them. For more information, see interfaces(5).
  4.  
  5. source /etc/network/interfaces.d/*
  6.  
  7. # The loopback network interface
  8. auto lo
  9. iface lo inet loopback
  10.  
  11. # The primary network interface
  12. allow-hotplug enp2s0
  13. iface enp2s0 inet dhcp
  14.  
  15. # The wlan network interface
  16. allow-hotplug wlp4s0
  17. iface wlp4s0 inet manual
  18.  
  19. # Bridge interface
  20. # IP static here, such that all VMs/WLAN clients can reach the host
  21. auto br0
  22. iface br0 inet static
  23.     address 192.168.0.1/24
  24.     bridge_ports none
  25.     post-up /usr/sbin/hostapd \
  26.         -P /var/run/hostapd.$IFACE.pid \
  27.         -B /etc/hostapd/hostapd.conf
  28.     pre-down cat /var/run/hostapd.$IFACE.pid | xargs kill
  29.  
  30. # Journalctl logs
  31.  
  32. Apr 18 00:34:24 homelab systemd[1]: Started Login Service.
  33. Apr 18 00:34:24 homelab systemd-udevd[326]: Using default interface naming scheme 'v240'.
  34. Apr 18 00:34:24 homelab kernel: bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
  35. Apr 18 00:34:24 homelab systemd-udevd[326]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
  36. Apr 18 00:34:24 homelab systemd-udevd[326]: Could not generate persistent MAC address for br0: No such file or directory
  37. Apr 18 00:34:24 homelab ifup[537]: Waiting for br0 to get ready (MAXWAIT is 32 seconds).
  38. Apr 18 00:34:24 homelab dhclient[559]: Listening on LPF/enp2s0/d8:cb:8a:9c:c7:87
  39. Apr 18 00:34:24 homelab sh[538]: Listening on LPF/enp2s0/d8:cb:8a:9c:c7:87
  40. Apr 18 00:34:24 homelab sh[538]: Sending on   LPF/enp2s0/d8:cb:8a:9c:c7:87
  41. Apr 18 00:34:24 homelab sh[538]: Sending on   Socket/fallback
  42. Apr 18 00:34:24 homelab sh[538]: DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 7
  43. Apr 18 00:34:24 homelab dhclient[559]: Sending on   LPF/enp2s0/d8:cb:8a:9c:c7:87
  44. Apr 18 00:34:24 homelab dhclient[559]: Sending on   Socket/fallback
  45. Apr 18 00:34:24 homelab dhclient[559]: DHCPDISCOVER on enp2s0 to 255.255.255.255 port 67 interval 7
  46. Apr 18 00:34:24 homelab ifup[537]: Configuration file: /etc/hostapd/hostapd.conf
  47. Apr 18 00:34:24 homelab ifup[537]: Could not read interface wlp4s0 flags: No such device
  48. Apr 18 00:34:24 homelab ifup[537]: nl80211: Driver does not support authentication/association or connect commands
  49. Apr 18 00:34:24 homelab ifup[537]: nl80211: deinit ifname=wlp4s0 disabled_11b_rates=0
  50. Apr 18 00:34:24 homelab ifup[537]: Could not read interface wlp4s0 flags: No such device
  51. Apr 18 00:34:24 homelab ifup[537]: nl80211 driver initialization failed.
  52. Apr 18 00:34:24 homelab ifup[537]: wlp4s0: interface state UNINITIALIZED->DISABLED
  53. Apr 18 00:34:24 homelab ifup[537]: wlp4s0: AP-DISABLED
  54. Apr 18 00:34:24 homelab ifup[537]: wlp4s0: CTRL-EVENT-TERMINATING
  55. Apr 18 00:34:24 homelab ifup[537]: hostapd_free_hapd_data: Interface wlp4s0 wasn't started
  56. Apr 18 00:34:24 homelab ifup[537]: ifup: failed to bring up br0
  57. Apr 18 00:34:24 homelab systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
  58. Apr 18 00:34:24 homelab systemd[1]: networking.service: Failed with result 'exit-code'.
  59. Apr 18 00:34:24 homelab systemd[1]: Failed to start Raise network interfaces.
  60. Apr 18 00:34:24 homelab systemd[1]: Reached target Network.
  61. Apr 18 00:34:24 homelab systemd[1]: Starting Permit User Sessions...
  62. Apr 18 00:34:24 homelab systemd[1]: Starting Unbound DNS server...
  63. Apr 18 00:34:24 homelab systemd[1]: Starting OpenBSD Secure Shell server...
  64. Apr 18 00:34:24 homelab systemd[1]: Reached target Network is Online.
  65. Apr 18 00:34:24 homelab systemd[1]: Started Permit User Sessions.
  66. Apr 18 00:34:24 homelab systemd[1]: Started Getty on tty1.
  67. Apr 18 00:34:24 homelab systemd[1]: Reached target Login Prompts.
  68. Apr 18 00:34:24 homelab sshd[621]: Server listening on 0.0.0.0 port 22.
  69. Apr 18 00:34:24 homelab sshd[621]: Server listening on :: port 22.
  70. Apr 18 00:34:24 homelab systemd[1]: Started OpenBSD Secure Shell server.
  71. Apr 18 00:34:24 homelab kernel: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4366c-pcie for chip BCM4366/4
  72. Apr 18 00:34:24 homelab kernel: brcmfmac 0000:04:00.0: firmware: failed to load brcm/brcmfmac4366c-pcie.clm_blob (-2)
  73. Apr 18 00:34:24 homelab kernel: brcmfmac 0000:04:00.0: Direct firmware load for brcm/brcmfmac4366c-pcie.clm_blob failed with error -2
  74. Apr 18 00:34:24 homelab kernel: brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
  75. Apr 18 00:34:24 homelab kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4366/4 wl0: Jan 15 2019 14:28:26 version 10.10.122.303 (r666429) FWID 01-9f64541d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement