Networking bug upgrading Ubuntu LTS-14 to LTS-16
virsh and lxc cannot access their interfaces? touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf to create a new empty config file then reboot. Details here:
When X applications refused to connect over ssh
Check xauth is installed Connection to localhost failing: Add “X11UseLocalHost no” to /etc/ssh/sshd_config (common if ipv6 localhost exists but IPv6
To create a Samba PDC on a Ubuntu VM
Add server to /etc/hosts & /etc/hostname. eg: 172.16.0.1 pdc.WINDOMAIN.domain.org.uk WINDOMAIN.domain.org.uk pdc /etc/network/interfaces to contains: * dns-nameservers 172.16.0.1 208.67.222.222 208.67.220.220 (Open
How to bounce a tcp port to another server using iptables
/sbin/iptables -A PREROUTING -t nat -p tcp -d oldIP –dport oldport -j DNAT –to newIP:newport /sbin/iptables -A FORWARD
How to add smart relay to exim on cPanel server
edit /etc/exim.conf.local Add the following lines: @ROUTERSTART@ smart_route: driver = manualroute domains = !+local_domains transport = remote_smtp route_list = *
Getting Vista to work with Samba
To get Vista to work with Samba follow the simple instructions below: 1. Open the Run command and type “secpol.msc”.
cPanel Ports
Port 2082 -> Cpanel default port Port 2083 -> Cpanel over SSL Port 2086 -> Cpanel Webhost Manager (default) Port
Joining Windows 7 PCs to Samba domain
On the Windows client add the following DWORDs with regedit: HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters DWORD DomainCompatibilityMode = 1 DWORD DNSNameResolutionRequired = 0 The