Keywords: iface lo inet, root lo, mount airport, inet static, inet lo, virtualization server, pre, mnt, network, disk, hostname, reboot. Powered by TextRank.
Every once in a while, I somehow convince myself that I can make do without my 32gb Monster Notebook, and repurpose it as a server (which I have always regretted and reverted back). Here is one of those adventures using it as a virtualization server for proxmox.
PermitRootLogin yes
<pre> source /etc/network/interfaces.d/*
auto lo iface lo inet loopback
allow-hotplug ens18 iface ens18 inet static address 10.0.1.40 netmask 255.255.255.0 network 10.0.0.0 gateway 10.0.1.1 broadcast 10.0.1.255
</pre>
<pre> mkdir /mnt/airport mount -t cifs //10.0.1.1/MB3 /mnt/airport/ -o username=dendiz,sec=ntlm,uid=root,password=<passwd> echo '//10.0.1.1/MB3 /mnt/airport cifs username=dendiz,sec=ntlm,uid=root,iocharset=utf8,password=<password> 0 0' >> /etc/fstab </pre>
135 words
First published on 2018-02-11
Generated on 13 Dec 2024 at 12:12 AM
Mobile optimized version. Desktop version.