User Tools

Site Tools


operating_systems:raspbian:clean_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
operating_systems:raspbian:clean_installation [2019/06/28 10:33] – [dhclient can't create lease file] maferreiraoperating_systems:raspbian:clean_installation [2019/07/10 09:57] – [dhclient can't create lease file] maferreira
Line 81: Line 81:
   # vi /etc/dhcp/dhclient-enter-hooks.d/samba   # vi /etc/dhcp/dhclient-enter-hooks.d/samba
   # netbios_setup (comment the function call)   # netbios_setup (comment the function call)
 +
 +==== Can't get DNS servers from dhcp ====
 +  # touch /media/data/resolv.conf
 +  # ln -s /media/data/resolv.conf /etc/resolv.conf
 ===== Update raspbian packages and install needed packages ===== ===== Update raspbian packages and install needed packages =====
   # apt update   # apt update
Line 108: Line 112:
 Check if there are any errors Check if there are any errors
 ===== Fix rsyslog /var/spool/rsyslog directory missing ===== ===== Fix rsyslog /var/spool/rsyslog directory missing =====
-==== By unit file ====+==== Using unit file ====
   # vi /etc/systemd/system/generateRsyslogStructure.service   # vi /etc/systemd/system/generateRsyslogStructure.service
      
Line 142: Line 146:
      
   # systemctl enable generateRsyslogStructure.service   # systemctl enable generateRsyslogStructure.service
-==== By tmpfiles.d config files ====+==== Using tmpfiles.d config files ====
   # vi /etc/tmpfiles.d/genRsyslogStruc.conf   # vi /etc/tmpfiles.d/genRsyslogStruc.conf
   d /var/spool/rsyslog 0755 root root   d /var/spool/rsyslog 0755 root root