• Home
  • About Me
  • Contact Me
837 3750 ADS aix backup catalyst cisco cisco ios ftp hmc ibm ios juniper LDAP linux nas network nfs p-series password prestashop radius router sfu ssh steel belted tftp unix vpn windows
more tags
Home

unix

A Basic Shell Script for FTP

Submitted by guvnor on Mon, 01/18/2010 - 18:19
  • ftp
  • linux
  • script
  • Shell
  • unix

Basic FTP Shell Script for uploading files

Introduction

There are occasions where you might want to FTP data off site from a server or other host onto an FTP server

NOTE! Think a little before using FTP. It doesn't send login credentials (username / password) it an encrypted form and the data it transfers is not encrypted either. There are some security implications to using FTP as transfer protocol over public links.


#!/bin/bash

  • Add new comment
  • Read more

Deleting Duplicated default gateways on AIX

  • aix
  • default gateway
  • lsattr
  • network
  • pseries
  • smitty
  • unix

Ever had that weird problem on AIX where your routing table has a second default gateway?

I had and this is how i fixed it. In my case when I changed a ip address and default gateway in smitty, the routing table ended up with TWO default gateways. This is bad news if your machine is a seperate vLAN or subnet and needs to communicate outside of this vLAN or subnet.

The example below shows the output of a netstat -rn. In it you can see two default gateways. One is correct 10.2.98.113 and the other 10.0.72.16 is incorrect.

  • Read more

Setup Centos 5 Linux as a TFTP server for backing up routers and other network devices

Submitted by guvnor on Tue, 04/21/2009 - 13:11
  • backup
  • Centos
  • cisco
  • linux
  • network
  • tftp
  • unix

If you need to backup your network device's (you know Cisco, HP etc) running configuration, one of the most common ways to do this is via a TFTP server. There are various tftp solutions out there and this guide covers setting up a centos box on how to become a tftp server. There a few guides out there already but this one covers Centos 5 Linux specifically.

Step 1.
You need to install the tftp-server service and the xinetd service software using yum.
The xinetd service is required as this controls the tftp server daemon.

  • Add new comment
  • Read more

Creating an NFS share on a Windows 2008 Server

Submitted by guvnor on Fri, 01/23/2009 - 11:15
  • 2008
  • nfs
  • sfu
  • share
  • unix
  • windows

Creating an NFS share on a Windows 2008 server for unix / linux clients

Windows 2008 has the ability to "share" file resources using NFS. This guide will guide you through doing this. In this scenario we will have two machines named "WIN-NFS" which will be our Windows 2008 Server and "redcloud" which will be our Red Hat linux client.

This can also be done on Windows 2003 check here for details Setup Windows 2003 NFS

  • Read more

Setup and mount NFS Filesystems

Submitted by guvnor on Fri, 12/19/2008 - 11:52
  • aix
  • linux
  • nfs
  • solaris
  • unix

What it is: A basic guide to sharing and mounting remote NFS shares

  • Add new comment
  • Read more

Create an NFS share with Microsoft Services for UNIX 3.5

Submitted by guvnor on Thu, 11/20/2008 - 15:13
  • nfs
  • services for unix
  • sfu
  • unix

As unlikely as it sounds to a UNIX die hard there are times when you require a Windows Server to share out an NFS folder. This document explains how to setup a simple scenario which will create a NFS disk resource on a Windows box which is mountable from a Unix client (a Sun Solaris 5.10 machine in this case). For those of us who use both Windows and Unix daily this is quite a handy ability to have.

  • 5 comments
  • Read more
Tiaras Dog Harnesses