Archive for category Linux / *Nix
Windows 7– Offline files and SMB shares
Posted by Kevster in Linux / *Nix, Windows on 25/09/2010
Why is it so difficult for this to work out of the box ?
I’m currently using a hacked WD MyWorld NAS device that runs BusyBox, Optware and the latest release of Samba. You would think offline files would be easy to get working.
Wrong. See http://blog.rainiernetworks.com/2008/06/25/vista-synchronization-errors/ and http://justanothersysadmin.wordpress.com/2008/03/30/vista-offline-files-and-smb-opportunistic-locks/
Why oh why Microsoft not make the offline files function out of the box. I guess it works fine against a Microsoft server but in the spirit of greater interoperability fix it please !
Change Ubuntu Server from DHCP to a Static IP Address :: the How-To Geek
Posted by admin in Linux / *Nix on 07/10/2007
Change Ubuntu Server from DHCP to a Static IP Address :: the How-To Geek
Quick note about this because as ever in Unix nothing is ever the same.
Adding routes to modern Linuxes
Posted by admin in Linux / *Nix on 14/03/2007
Shamelessly robbed from http://www.akadia.com/services/redhat_static_routes.html
|
Overview
Persistent static routes for ANY linux distribution
Force the old static-routes file to work under Redhat 9
Remember to use /etc/sysconfig/network for your default gateway
|
Useful Unix Tools
Posted by admin in Linux / *Nix on 14/07/2006
I can never remember any of these commands. I know that you flip flop waring, bearded, leather patch wallahs can but heres a list they is very useful.
vmstat n – To show Virtual Machine, Disk I/O, Swap etc use. The n makes it refresh every n seconds
/etc/sysconfig/network-scripts/ifcfg-eth1 – Use to set static interface on most Linux’s
Contents something like:
# Description of type
DEVICE=eth1
BOOTPROTO=static
IPADDR=x.x.x.x
NETMASK=x.x.x.x
ONBOOT=yes
TYPE=Ethernet
Remember to use /etc/sysconfig/network for your default gateway
NETWORKING=yes
HOSTNAME=”hostname.linux.org”
GATEWAY=”10.164.234.1″
GATEWAYDEV=”eth0″
FORWARD_IPV4=”yes”
TAR – Use extracting/imploding files to one file – does not compress
tar cvf nameoftarfile.tar -I textfile.txt – takes the contents of the text file and adds to tar
tar xcvf nameoftarfile.tar - extract and verify
Solaris and 802.1q tagged interfaces
Interfaces are usually called hostname.ceVLANID000
Adding Interfaces to Solaris – making sure they work on boot
vi /etc/netmasks – add the subnet to this
vi /etc/hosts – add the interface and VLAN
create a hostname.ceVLANID000 file
manually plumb:
plumb eth1 (bring up L1)
ifconfig add inet x.x.x.x netmask x.x.x.x broadcast x.x.x.x
ifconfig eth1 up
Ill keep adding as I think of them