Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. artfulbodger

    If/Then Condition Based on Value Returned From a Function

    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 ------------------- # #...
  2. artfulbodger

    If/Then Condition Based on Value Returned From a 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...
  3. artfulbodger

    If/Then Condition Based on Value Returned From a Function

    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...
  4. artfulbodger

    If/Then Condition Based on Value Returned From a Function

    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...
  5. artfulbodger

    DHCP Server Config

    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...
  6. artfulbodger

    Fiber Question

    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...
  7. artfulbodger

    Fiber Question

    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...
  8. artfulbodger

    Fiber Question

    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...
  9. artfulbodger

    Fiber Question

    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...
  10. artfulbodger

    Solaris 11 AD Integration - cannot find domain controller

    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...
  11. artfulbodger

    Solaris 11 AD Integration - cannot find domain controller

    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...
  12. artfulbodger

    Solaris 11 AD Integration - cannot find domain controller

    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...
  13. artfulbodger

    Active Directory-Based Personnel Folders?

    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...
  14. artfulbodger

    Block everything but a single site??

    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...
  15. artfulbodger

    Install Solairs RAID drivers

    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
  16. artfulbodger

    PowerEdge 2850 Wake on Lan

    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
  17. artfulbodger

    PowerEdge 2850 Wake on Lan

    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...
  18. artfulbodger

    Install Solairs RAID drivers

    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...
  19. artfulbodger

    Change port on a DN - Urgent!

    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...
  20. artfulbodger

    Change port on a DN - Urgent!

    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...

Part and Inventory Search

Back
Top