Displaying 3 results from an estimated 3 matches for "octet1".
Did you mean:
octets
2006 Mar 30
2
Functional test confusion
...ve
defined one network_segment fixture. Here is my test:
def test_create_network_segment_with_valid_input
puts NetworkSegment.find(:all).size
post :create_network_segment, :network_segment => {
:subnet => {
:octet1 => ''129'',
:octet2 => ''83'',
:octet3 => ''10'',
:octet4 => ''0'' },
:ne...
2012 Feb 06
3
Script to automatically update externip. Useful for a host with dynamic public IP
...nip.sh
# Author: John Cahill email at johncahill.net
# Licence: GPL v3
# Description: script that queries checkip.dyndns.com to find the server's external IP address. Updates asterisk's externip value and does a sip reload if necessary.
# Last modified 06/02/2012
is_ip(){
input=$1
octet1=$(echo $input | cut -d "." -f1)
octet2=$(echo $input | cut -d "." -f2)
octet3=$(echo $input | cut -d "." -f3)
octet4=$(echo $input | cut -d "." -f4)
stat=1
if [[ $input =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]] && [ $octe...
2013 Jan 16
1
Samba AD Auth Stops After Patches
...U
template shell = /bin/bash
winbind separator = +
winbind cache time = 10
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind offline logon = false
read only = No
hosts allow = hostname, octet1.octet2., 127.
short preserve case = No
veto oplock files = /*.xls/
dos filetime resolution = Yes
################## SHARE DEFINITIONS
##############################################
[12345]
comment = 12345
valid users = @OR+ORRFO12345
path = /parent/12345
public = no
writ...