Jump to content

chrisduffer

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by chrisduffer

  1. I found the chat about setting IP address at the end of this episode interesting. We assign/change the IPs on around 100+ windows boxes using... Perl + .csv of IPs + WMI.

    The csv and perl script are copied locally to the box.

    It teams the 4 NICs to one virtual NIC.

    The script gets the IP address based on the hostname in the csv.

    Subnet mask, DNS and gateway are set from VLAN definitions hardcoded in the script, but I guess theres no reason why that can't go in a file.

    You need to be careful how you kick off the script. Using psexec is easy but when it drops off the network you need to be sure the script keeps running.

    We're looking at rolling this kind of thing out to all our 200+ using a DB rather than a text file. The issue I have is for boxes with multiple NICs on different VLANs which don't have DHCP. How would you work out which NIC was on which VLAN?

  2. Ok for the people who aren't familiar with HTML, where a couple of very small mods to change the default functionality. I did this becuase the pages keeps refershing every couple of hours. Not sure why, but this works around any problems. To make these changes just search for the first line and change the lines below to be what's supplied.

    To set your last.fm username and password to be filled in for you:

    <span style="font: 900 12px arial">   add track to last.fm:  </span>
    
    user name: <input name="lastFmUserName" value="USERNAME" type="text" size="12"/>  
    
            password: <input name="lastFmPassword" value="PASSWORD" type="password" size="12"/>

    To have last.fm data default on:

    <span class="bold">  Settings</span>  last.fm data 
    
            <select name="lastFmData">
    
                <option value="off">off</option>
    
                <option selected value="on">on</option>
    
            </select>

    To have Cddb lookup default on:

            
    
    cddb lookup:
    
    <select name="cddb">
    
                <option value="off">off</option>
    
                <option selected value="on">on</option>
    
            </select>

    Yes I know in the first one your username and pass are in a plain text, but who's gonna read it? :wink:

  3. Maybe it's just me, but I thought that - by definition - someone who is hacking should be able to figure a couple of things out for themselves and certainly should know how to use a command prompt. I am by no means a computer whiz and I was able to figure it out by reading the posts. You people have incredible patience. If you've got to have a step-by-step recipe to get the thing working, you're not qualified to be running it. Flame out.

    I think a lot of us were thinking the same :D

×
×
  • Create New...