I was able to get my code working. I have posted it in case someone could make use of it. And if there is a more efficient way of making this work, please let me know.
#! /bin/bash
#
#
E_INVALIDARGUMENT=22 # Add to global variables
# ---- Continue Function -------------------
#
#...
Ok...
I think I have solved this problem. The trick is to use no brackets or quotes on the if/then statement:
function continue() {
Return 0 for a Y
Return 1 for a N
}
if continue
then
echo "This is the YES Result"
else
echo "This is the NO Result"
fi
If there is a better way to do...
Thanks, however that is basically the same thing as my original, except now, another variable is being created.
I was hoping to do it all within the if/then statement. I want to evaluate the result of an operation:
Example Pseudocode:
if (2 + 4) > 5 then do something.
Instead of:
Let result...
Hello all...
I recently took up bash to automate some repetitive tasks on my servers. I want to use the value from a function in an if/then conditional but I can't seem to get it to work. Here is what I have
function continue () {
This function asks the user if he wants to continue script...
I have a DHCP server config that is driving me nuts. In short, I have DHCP working and it is handing out IP addresses, except it doesn't pass the DNS ip address so hosts cannot be found.
My network is setup thusly:
Internet <-----> Netgear <-----> Home LAN...
Thanks for the resources.
I went on their site and they do have a 1.5Gbs solution that starts around $30K. So on the surface, it looks like fiber vs RF is about a wash. With the RF solution there is the FCC licensing fees which are currently $3K per 10 years. That's just under $30 per...
Yeah...nothing like a lake and an interstate to mess with a network layout.
I knew about the submarine cables, but wasn't sure if it applied to me as my google searches turned up companies who ran cables along the sea bed for 1000s of miles. My 1.5km is a drop in the bucket for them...
The...
Thanks for all the replies. Going around is a bit difficult, namely becuase an interstate runs across this lake. I have attached a link to google earth so you can get a better idea of what this looks like. On the map, I am going from point A to point B
Google Maps
I am trying to get a depth...
I am getting prepared to create a campus wide network and I have a small obstacle in my path... a lake it is approximately 1km across.
Can I use direct burial fiber and just lay it on the lake bed or do I need something special?
Anyone have any insights?
-----
Allan D. Reed...
Hi Chris,
Thanks for the reply. In Solaris 11 Express, CIFS is now a kernel mode driver meaning no Samba and thus no smb.conf
Using the fix I described above,I was able to join the box to the AD domain. Now, I am working on authenticating users who log into the Solaris 11 box against the...
Nobody replied, but I was able to make some progress and I am going to post it here in case someone out there runs into the same issue.
The issue stems from Server 2008 and NTLMv2. By default, the domain policy is to only use NTLMv2. Solaris 11 is still only using NTLM (a bit obsolete, wouldn't...
I am working an interesting problem here - hopefully someone can help.
I cannot get my Solaris 11 host to join an AD domain. Here is what I have thus far:
First, I am using the following as refernce as I try to do this:
Oracle.com
Solaris 11: Join AD Domain for Samba
Next, in my...
I am thinking that you need to set access control properties on your objects. For instance, you want read access on pictures for managers, but not salary info.
Take a look at this: http://technet.microsoft.com/en-us/library/cc785913(WS.10).aspx
You will want to take care in setting up your...
Assuming that there are other PCs on your network that have internet access and this is just one PC that needs to go to a single site for whatever purpose...
1) set that PC with a static IP (critical)
2) create a LAN->WAN firewall rule for that PC where the SOURCE (IP addr of that PC) port 80...
Does anyone know where I can download the driver? When I click the link I have to go through Oracle My Support.
I don't need anything but the driver. Can someone post for me?
-----
Allan D. Reed
http://www.linkedin.com/in/adreed
I forgot to post a link to the IPMI document on Dell's site:
http://www.dell.com/downloads/global/power/ps3q06-20050317-Zhuo.pdf
-----
Allan D. Reed
http://www.linkedin.com/in/adreed
I don't know if you got your answer to this, but IPMI can take care of powering up your system. IPMI is a bit more than WOL, it is remote access in a pre-OS environment. Meaning, you can control your server even if it is in a powered off state. To do this, you need systems management software...
I have Solaris 10 installed on a Dell PowerEdge 2850 with the PERC controller. The 6 disks are configured as 2 virtual drives - 2 drives mirrored as the boot and the remaining 4 as a RAID 5 array. Everything installed fine except disk I/O is horribly slow. After reading the HCL, it seems that...
When I assign the previously working line to a key on my set, all I get is silence (the valcom being plugged in of course). If I move it to a working line and assign that line to key on my set, I get the valcom tone indicating that I have connected and it is ready to page.
Now another...
Not only did I do a reboot, but I restored from a known working backup.
Problem is, I think this problem existed before I did the backup, I just didn't know about it, so my backups (seem to) have the problem "embedded."
This one is going to send me to the funny farm....
-----
Allan D. Reed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.