tag:blogger.com,1999:blog-29524413551343141992024-03-05T01:16:32.812-08:00Spencer's IT Tips & TidbitsSilvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.comBlogger49125tag:blogger.com,1999:blog-2952441355134314199.post-22772662744956346372014-07-23T09:08:00.002-07:002014-07-23T09:10:16.438-07:00Create DHCP Scopes From Command LineSorry everyone, I know it has been a while again. I recently started a new job again and it is back in the education field except it is now at the post-secondary level. Huge difference between the K-12 enviroment I was in before.<br />
<div>
<br /></div>
<div>
Anyway, I have been helping out on a subnetting project implementing a lot of VLANs (almost 50). I was given the task of creating the DHCP scopes for all of these new VLANs on the Windows 2012 R2 server. Sounds fun right? Not really when you think about going through the scope wizard 40+ times but I found a way to do it from the command line.</div>
<div>
<br /></div>
<div>
To get started you have to open up a command prompt and use the <i>netsh</i> command. </div>
<div>
<br /></div>
<div>
Once you get to the netsh> prompt, type in the following:</div>
<blockquote class="tr_bq">
dhcp server <i>IP Address/ServerName</i> add scope <i>NetworkAddress SubnetMask ScopeName ScopeDescription</i></blockquote>
The <i>NetworkAddress</i>, <i>SubnetMask</i>, and <i>ScopeName </i>are required. *Side note: You need the quote marks " " if the <i>ScopeName </i>and<i> ScopeDescription </i>have spaces.<br />
<br />
Here is an example of a complete command looks like:<br />
<blockquote class="tr_bq">
dhcp server 192.168.1.10 add scope 192.168.2.0 255.255.255.0 "Wireless 200" "Wireless VLAN for 200 Building"</blockquote>
Now that the scope is created, we need to add a range of addresses for the server to hand out. That command looks like:<br />
<blockquote class="tr_bq">
dhcp server <i>IP Address/ServerName</i> scope <i>NetworkAddress</i> add iprange <i>RangeStart RangeEnd</i></blockquote>
Here is my example:<br />
<blockquote class="tr_bq">
dhcp server 192.168.1.10 scope 192.168.2.0 add iprange 192.168.2.10 192.168.2.0.254 </blockquote>
<div>
Another command that I used was to add the gateway address. To set different options, you will need to know the option number; for my case, the Router option is number 003.</div>
<div>
<br /></div>
<blockquote class="tr_bq">
dhcp server 192.168.1.10 scope 192.168.2.0 set optionvalue 003 IPADDRESS 192.168.2.1</blockquote>
<div>
<br /></div>
<div>
There are a lot of other things that you do like add/delete scopes, super-scopes, etc., just click on the resource link below.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Resource:</div>
<div>
http://technet.microsoft.com/en-us/library/cc787375(v=ws.10).aspx</div>
<div>
<br /></div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-58101047587666227622014-01-28T12:12:00.001-08:002014-07-23T09:11:06.602-07:00Taking A Look At XenServer Sorry ladies and gents, this post is not a how to, it is about my impressions of XenServer. With that said, on to the post.<br />
<br />
For the last couple of weeks, I have gotten a chance to play around with a spare server at work and a copy of XenServer 6. From my experience with it so far, I really like it.<br />
<br />
As with anything new, there is a little bit of a learning curve, but if you are familiar with virtual machines and hosts, like me, you shouldn't have a problem.<br />
<br />
Now, unlike Hyper-V and vmWare, XenServer is open source and free, you only pay for a support contrat, if you want. I know this seems right because XenServer is owned by Citrix, but I assure you it is free. XenServer was created way back in 2003 and along the way somewhere, Citrix bought up the company.<br />
<br />
<br />
XenServer is based on Linux, that is free.Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-84410656494813655362013-12-19T10:13:00.001-08:002013-12-19T10:13:36.667-08:00Reset A Forgotten Root Password (CentOS)I have done something that I thought that I would never have done. I forgot the root password on a CentOS server/workstation.<br />
<br />
I don't know if I just had my hands on the wrong keys where I was typing the password or what but I forgot it.<br />
<br />
Luckily, there is a way to reset this lost password.<br />
<br />
First, you will need console access to the server, meaning, you will need to be physically sitting or standing in front of the server and have physical access to it. SSH remote access will not work.<br />
<br />
Next, reboot the server/workstation.<br />
<br />
Now, once it is starting to boot backup, you need to interrupt the boot at the GRUB stage (The first count down after you push the power button) by pressing a key like the space bar.<br />
<br />
Next, press the "a" key, this will bring you to a command line with a command pre-typed for you. On the line that is there, remove (backspace) the "rhgb quiet" and add a "1" and then press enter.<br />
<br />
This will boot into the root shell and <b style="text-decoration: underline;">NOT</b> a login prompt. This is a single user mode.<br />
<br />
From here you can enter the passwd command and reset the password. You can also reset other users passwords and do other administrative tasks.<br />
<br />
Once you are done, reboot the server and let it boot normally.<br />
<br />
<br />
*Note: If you are using CentOS 6 and have SELinux enabled, you will need to do either 1 of 2 things; add "selinux=0" in addition to the "1" from above or issue a "setenforce 0" command after you login and before resetting the password.<br />
<br />
<br />
Original Source:<br />
<a href="http://wiki.centos.org/TipsAndTricks/ResetRootPassword">http://wiki.centos.org/TipsAndTricks/ResetRootPassword</a>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-91008477335975857802013-12-19T07:52:00.001-08:002013-12-19T07:54:31.597-08:00How To Setup DRBL (Diskless Remote Boot in Linux) On CentOS 6I know it has been a while since my last post. Since my last post I have changed jobs from a public K-12 education environment to a private manufacturing environment and this has caused me to refocus my time and efforts on to other things. The job change has also given the time to research and implement some of those back burner projects that I just never had the time for.<br />
<br />
One of those back burner projects that I have been wanting to get to for a long time is thin client computing. I have been messing around with the idea of thin clients for almost the last 10 years. <br />
<br />
During this time, I understood the big picture of how thin client computing works. A client boots from a CD/DVD/Network/USB/whatever and gets a GUI terminal from the server. The client terminal sends commands to the server, the server processes those commands and sends back an updated GUI screen.<br />
<br />
This is a great idea when you have a large number of computers that all need the same software and/or requires little change. Thin clients can save a lot of time. An example I can give is a computer lab of 30+ computers in an elementary or middle school.<br />
<br />
Can you imagine the amount of time it would take to install a program like Microsoft Office on 30+ computers? Of course there are faster way to do this but stay with me here for a minute. Lets say that Microsoft Office, from a disc, on 30 computers in a lab. Each install in 20 minutes. Since you only have one disc, you have to do the install one computer at a time. At 20 minutes each, it would take you over 10 hours to complete this. Not my idea of fun.<br />
<br />
Now in a thin computing environment, all you would have to do is one 20 minute install and possibly a reboot of the thin client computers.<br />
<br />
Alright, enough with me jabbering and on to what you are wanting. The How-To<br />
<br />
I chose to go with DRBL because it has been the easiest to setup out of all the other ones that I have seen by far.<br />
<br />
My Equipment:<br />
Server (Virtual)<br />
- Dual processors<br />
- 1GB memory<br />
- 10GB hard drive<br />
- 2 network adapters that function at gigabit speed.<br />
- NIC #1: IP Address 10.0.3.2 Subnet/netmask: 255.255.255.0 Gateway: 10.0.3.1<br />
- NIC #2: IP Address 172.16.0.1 Subnet/netmask: 255.255.255.0 No Gateway<br />
<br />
Thin Client (Dell Dimension 4700)<br />
- I removed the hard drive<br />
- 512MB memory<br />
<br />
<br />
<ol>
<li>Install the server operating system. During the install, make sure you set the IP addresses for your NIC cards. I used CentOS 6 with the GUI. I have explained this before so I am not going to bore you with that. <br />*Note: The developer's install instructions suggest that you have at least to network cards installed in the server. You can do this setup with one and create subinterfaces but you might sacrifice performance in the long run when you start to add more clients. </li>
<li> Update all the system software with a "yum update -y" and disable SELinux (edit /etc/selinux/config) and reboot.</li>
<li>Turn off and disable NetworkManager. To do this, open a terminal window and type "service NetworkManager stop" to turn off and "chkconfig NetworkManager off" to keep it from starting up when the server is booted. </li>
<li>Now we need to install some keys for DRBL. In the terminal window, type "rm -f GPG-KEY-DRBL; wget http://drbl.org/GPG-KEY-DRBL; rpm --import GPG-KEY-DRBL" then type"gpg --keyserver subkeys.pgp.net --recv-key D7E8DF3A" and then finally type "gpg -a --export D7E8DF3A > GPG-KEY-DRBL; rpm --import GPG-KEY-DRBL".</li>
<li>Download the DRBL RPM file. You can find the most current stable version <a href="http://drbl.org/download/">here</a>. I downloaded version 2.6.15 (filename: drbl-2.6.15-drbl1.noarch.rpm)</li>
<li>Install the DRBL RPM file. Since the DRBL RPM requires a Perl module, it is easier to use yum instead of rpm because it will automatically download and install the needed modules. Type: "yum install drbl-2.6.15-drbl1.noarch.rpm".</li>
<li>For this next step, there are two scenarios. Since there is a broadband connection, I went with the first one. Type "drblsrv -i" and follow the on screen prompts. *Note: There is a space before the "-i".</li>
<li>Now we are ready to do the setup for the thin clients. Before you run the "drblpush -i" command, I suggest you read <a href="http://drbl.org/installation/03-setup-client.php">this</a>. It provides a lot of information that is useful but is outside of the scope of this post.</li>
<li>If you have not done so already, run the "drblpush -i" command and answer the questions in the guide. I pretty much stuck with the default choices with the exception of Clonezilla. I chose not to use it.</li>
<li>Once "drblpush -i" command has completed, you are ready to prepare the client computers.<br /> - I disconnected and removed the hard drive from the client machine, you don't have to<br /> - In BIOS, set the network card to enable PXE and set it as the first boot option.<br /> - Save and exit.</li>
<li>Boot the client. Log in and enjoy the fruits of your labor.</li>
</ol>
<div>
<br /></div>
<div>
Original Source:</div>
<div>
<a href="http://drbl.org/installation/">http://drbl.org/installation/</a></div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-13130642101741716492013-10-09T06:41:00.002-07:002013-10-09T06:41:26.984-07:00Group Policy - Password Settings LocationI thought that I was pass this along. <div>
<br /></div>
<div>
Below is the location in Group Policies that controls password settings.</div>
<blockquote class="tr_bq">
Computer Configuration > Policies > Windows Setting > Security Settings > Account Policies >Password Policy</blockquote>
<div>
The policies you can set here are </div>
<div>
Password Age (both minimum and maximum)</div>
<div>
Minimum Length</div>
<div>
Require Complexity (Min of six characters, can't contain user's account name or full name, and any 3 of the following: one capital letter, one lower case letter, a number, and a non-alphabetical character (for example, !, $, #, %))</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
If you want to change the default change password notification from 14 days, you can find it here:</div>
<blockquote class="tr_bq">
Computer Configuration > Policies > Windows Setting > Security Settings > Local Policies > Security Options > Interactive logon: Prompt user to change password before expiration</blockquote>
I have changed it from 14 day to 7 days.Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-11648809461694655882013-10-08T12:19:00.001-07:002013-10-08T12:20:28.026-07:00Compacting Linux Hyper-V VHDsTo compact linux VHDs, run the command below before you shutdown the virtual machine.<br /><blockquote class="tr_bq">
cat /dev/zero > zero.dat ; sync ; sleep 1 ; sync ; rm zero.dat</blockquote>
This creates a large empty file full of zeros and then deletes it.<br /><br /><br />Original Source<br /><a href="http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/08/23/454846.aspx">http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/08/23/454846.aspx</a>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-20580107478384347302013-10-04T07:18:00.000-07:002013-10-04T07:18:30.558-07:00Linux Command Line Cheat SheetI know that all of these commands are out there on Google, but this is a cheat sheet for me.<br />
<br />
Copy files<br />
<blockquote class="tr_bq">
cp -R Source Destination</blockquote>
Mount NFS volume<br />
<blockquote class="tr_bq">
mount -t ip_address:/nfs_share /mount_location</blockquote>
<br />
<blockquote class="tr_bq">
</blockquote>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-44855285841285875922013-07-01T08:29:00.002-07:002013-07-01T08:29:44.552-07:00PacketFence Active Directory SettingsIf you have been following my posts, you know that I am working on creating some better documentation on how to setup PacketFence. Even though the guys over at <a href="http://www.inverse.ca/">Inverse</a> have created a wonderful product that is free, I feel that there documentation on how to set it up is a little bit lacking, especially since portions of it still refers to hand editing configuration files through the command line.<br />
<br />
In this post, I will discuss how to setup PacketFence to work with Microsoft Active Directory.<br />
<br />
First thing we need to do is log in to the PacketFence server, then click on "Configuration" at the top, then "Roles" on the left. When users are authenticated, they will need to be placed into a role. With that said, it is easier to create the role first. It saves a lot time going back and forth between the two screens.<br />
<br />
On the "Roles" page, click on "Add Role" at the bottom. A window will appear in the screen.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoNAdDUc4d1IsBW411evfg7d3Al5A4pKouFARTqxLdkFIHtoLBgrNou7uLyg0fjRXpGriKZ28kvtnPCFTZn5y54nJ6acVmELmhBpgeDegl4P31my8jiyoJImUEPCn_emJfkCA9FdvgKc4/s566/PF_Role.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoNAdDUc4d1IsBW411evfg7d3Al5A4pKouFARTqxLdkFIHtoLBgrNou7uLyg0fjRXpGriKZ28kvtnPCFTZn5y54nJ6acVmELmhBpgeDegl4P31my8jiyoJImUEPCn_emJfkCA9FdvgKc4/s320/PF_Role.JPG" width="320" /></a></div>
Under "Name" enter the name you want to give the role, a brief description for the role and the max number of nodes per user. In my example, you can see that I enter "Employee" into the name field, "Company Employees" for the description, and 3 at the max number of nodes (devices) for each user. Don't forget to save. Repeat this step for each role that you want to create.<br />
<br />
Now, it is time for the good part. Click on the "Sources" button on the left. At the bottom, click "Add Source" then "AD".<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsDngUDM7veF6jL9jgOW8VKS-EkrArnDZUXLlj6qiWYzhbqDzy4WKlxiGlab5ekeEKNs-B2Xtgjb6jOYItnV1j2C4-_JdC_i6-IFnSUMLlw5TpIVmzChSPwTf9sO3rP8j_RkAgkSrYi-o/s251/PF_Add_Source.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsDngUDM7veF6jL9jgOW8VKS-EkrArnDZUXLlj6qiWYzhbqDzy4WKlxiGlab5ekeEKNs-B2Xtgjb6jOYItnV1j2C4-_JdC_i6-IFnSUMLlw5TpIVmzChSPwTf9sO3rP8j_RkAgkSrYi-o/s200/PF_Add_Source.JPG" width="143" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
A "New Source" page will appear.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsDngUDM7veF6jL9jgOW8VKS-EkrArnDZUXLlj6qiWYzhbqDzy4WKlxiGlab5ekeEKNs-B2Xtgjb6jOYItnV1j2C4-_JdC_i6-IFnSUMLlw5TpIVmzChSPwTf9sO3rP8j_RkAgkSrYi-o/s251/PF_Add_Source.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYslAUUevaVYJptfZmRQ5RbITX98BJ2epvVZXL1MPfQVmjxCET2OHm_f-PnL4Eob4tZG5ezRuUsBnUeywdN-dj1naG1tANs53wdQqlYFVec1EpK7pFWsx0VPoXj3faBIhK6wZDWWqBzn0/s400/PF_Add_Source_AD.JPG" width="400" /></a></div>
<div style="text-align: left;">
Every setting on this page will need to be filled in.</div>
<div style="text-align: left;">
</div>
<ul>
<li>Name: Give the source a name. I just named it the same as my domain controller</li>
<li>Description: Give a brief description. "Company Employees" is my description</li>
<li>Host: This is the IP address of your Domain Controller. Enter "389" for the second box. (389 is the default port that AD and LDAP use) and select none for the last box.</li>
<li>Base DN: Enter the full path to your user accounts. Here is mine: "ou=Teachers,dc=School,dc=District,dc=k12,dc=State,dc=us".</li>
<ul>
<li>Helpful Tip: OU stands for Orginization Unit, DC stands for Domain Controller, CN stands for Common Name</li>
</ul>
<li>Scope: Select the type of scope you want. I selected "Subtree" because I have additional OUs in my Teacher OU</li>
<li>Username Attribute: This is the name of the field that PacketFence will use to authencate users with. If you want to use the AD username, type in "sAMAccountName".</li>
<li>Bind DN: Here you want to enter the full AD path of a user with domain admin rights. I used the administrator account: cn=administrator,ou=Domain Admins,ou=School,dc=District,dc=k12,dc=State,dc=us"</li>
<li>Password: Enter the password for the account that you used with Bind DN. </li>
</ul>
<div>
Now, click on "Test". If you entered everything correctly, you will see a green bar across that says "Success". If not, double check everything you typed in. If you have nested OUs, you have to start with the deepest one and work backwards. So if your OUs are Company -> Department -> Sales, your Base DN and Bind DN should look like "ou=Sales,ou=Department,ou=Company,dc=Company,dc=com".</div>
<div>
<br /></div>
<div>
Once you have Success, click on "Add Rule". A window will appear.</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlGLluhn6RXX1bkc1zEbPNcPi0PiF5HvNsKPtIiflgfBfE_kKp5omGNGfj3Fn9HmzbVtmV78Gbd5UffVi9npFuQnX0XnCiZAr1ekgsYed3OET46Me1ggBiHGuixeBe0muCPiflOIcLDTk/s789/PF_Add_Rule.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlGLluhn6RXX1bkc1zEbPNcPi0PiF5HvNsKPtIiflgfBfE_kKp5omGNGfj3Fn9HmzbVtmV78Gbd5UffVi9npFuQnX0XnCiZAr1ekgsYed3OET46Me1ggBiHGuixeBe0muCPiflOIcLDTk/s320/PF_Add_Rule.JPG" width="320" /></a></div>
<div>
Give the Rule a name. I entered "Employees". </div>
<div>
If you would like to, give a brief description like "Rule for all Employees".</div>
<div>
Under "Perform the following actions", select "Set Role" and then select the role you created early (Employee).</div>
<div>
To the right of the role you selected, click on the plus (+) sign. Select "Set Unregistration Date" and select a date. I choose Jan.1st, 2020 for testing purposes.</div>
<div>
<br /></div>
<div>
Remember to save everything.</div>
<div>
<br /></div>
<div>
And that is it. Your users can now use their Active Directory username and password to register nodes (devices) with PacketFence.</div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com1tag:blogger.com,1999:blog-2952441355134314199.post-87473247519115340272013-07-01T06:41:00.000-07:002013-07-01T06:42:59.569-07:00PacketFence 4 ConfigAs you have probably have seen, the guys over at Inverse have released PacketFence 4.0 and then shortly after 4.0.1.<br />
<br />
My initial reaction was the new version looks completely different than the older versions and I wasn't sure if I would like it. Now that I have used the new version, I have to say that I like the new web interface. There are a few things that are missing that I found helpful (such as being able to see the logs from web interface), but hopefully they will add them back in soon.<br />
<br />
Anyway, on to what you have been waiting for:<br />
<br />
How to setup PacketFence 4.0<br />
<br />
Before we get knee-deep in configuring PacketFence, we need a few things. First you will need to determine what VLANs you want to use for Registration, Isolation, Inline, and MAC Detection. Next you will need to know all of the IP addresses of your switches that you want PacketFence to manage. If you have an Active Directory and you want to use it, there are some settings that you will need to know. (I will tell you what you need either later in this post or in a separate post.)<br />
<br />
Another thing you you will need is time. If you are not familiar with VLANs, switches, and/or Linux, give yourself at least a week or more to learn, setup, and understand this project. If you are familiar, give yourself a couple of days.<br />
<br />
Here is my setup:<br />
<ul>
<li>PacketFence 4.0.1 installed on a physical server. (I tried installing it on a Hyper-V server, but I had problems with a single NIC and the VLANs.)</li>
<ul>
<li>Management IP address: 10.10.10.10</li>
</ul>
<li>HP Procurve 2600 and 4100 series switches.</li>
<li>VLANs</li>
<ul>
<li>Normal VLANs: 20-29</li>
<li>Registration VLAN: 75</li>
<li>Isolation VLAN: 76</li>
<li>Inline (Guest) VLAN: 80</li>
<li>MAC Detection VLAN: 77</li>
</ul>
<li><br /></li>
</ul>
<div>
Now, it is time to get our hands dirty. The first thing that I did after the <a href="http://silvertrip-it.blogspot.com/2012/09/packetfence-350-install.html">initial install and config</a> was to add the PacketFence server address to the end of ip-helper addresses in my HP 4100 switch. By doing this, the PacketFence server will start getting a copy of all the DHCP traffic and start populating its database. You can see this by logging on to your server and clicking on the Nodes tab. Just a personal note, I was surprised at some of the things that it found.</div>
<div>
The switch command to add the PacketFence server is:</div>
<blockquote class="tr_bq">
<pre>ip helper-address 10.10.10.10</pre>
</blockquote>
What I did next was add all the switches into PacketFence and all the neccessary commands to the switches. Depending on the amount of switches you have, this may take you a while. Since I had almost 50 switches, it took me almost an entire day to complete this task. The directions on how to get the switches and the PacketFence communicating with each other can be found <a href="http://silvertrip-it.blogspot.com/2012/11/packetfence-351-setup-vlan.html">here</a>. I would suggest having the switches in Registration mode until you are ready to put the server into full production on your network.<br />
<br />
Now that most of the mundane grunt work is done, now it is time to start working on some of the finer details.<br />
<br />
If you are not still in it, log into your PacketFence and click on the "Configuration" tab. Look on the menu on the left hand side and make sure "General" is highlighted. Most of these setting should already be set but you will have to fine tune them for your setup. I will give you an overview of each setting.<br />
<br />
<ul>
<li>Domain: This is your domain name. In my case it is School.District.K12.State.US. Your domain may be as simple as Company.com.</li>
<li>Hostname: This is the name of your server with the domain at the end. Example: PacketFence.Company.com</li>
<li>DNS Servers: This is where you enter your production DNS server(s) IP address(es). If you have more than one, make sure you have a comma between each address. Here is how mine is setup: 10.10.10.5,10.10.10.6,127.0.0.1</li>
<li>DHCP Servers: Same as the DNS servers, enter your production DHCP server(s) IP address(es). This will also help the PacketFence server determine if there is a rouge DCHP server on your network.</li>
<li>Locale: Click in the box and select the language you want PacketFence to use. Mine is set to "en_US". If you need more than one language, you can select more.</li>
<li>Timezone: I think this is self explanatory. A list can be found <a href="http://www.php.net/manual/en/timezones.php">here</a>. Just select a city in your timezone and paste it in to the textbox. My is set for "America/New_York"</li>
<li>Maintaince Interval: I did not change anything here.</li>
<li>Memcached Servers: I do not fully understand how memcached servers work yet. The idea is that you can have servers share their memory with one other.</li>
</ul>
<br />
After you have made all of your changes, make sure you click on the "Save" button. If you don't, all of your changes will be discarded.<br />
<br />
Now, lets move on to the "Trapping" settings. I know there are a lot of settings here. I am just focusing on the ones that I have made changes in.<br />
<br />
<ul>
<li>Addresses Ranges: Enter the IP address range that you want PacketFence to monitor/detect/trap. For my testing purposes, I just entered one range: 10.10.11.0/24.</li>
<li>Registration: I checked this box. This will force the node to register with the server.</li>
<li>Whitelist: Enter the MAC addresses (with a comma separating each one) that you want PacketFence to allow through. At the moment, I am blocking all mobile devices and the whitelist allows the school administration iPads access.</li>
<li>Redirect URL: This is the website that you want user directed back to one they have registered the device with PacketFence.</li>
</ul>
<div>
Make sure to save the settings.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com3tag:blogger.com,1999:blog-2952441355134314199.post-63216442470473612752013-04-24T06:37:00.001-07:002013-12-19T07:53:25.503-08:00Setup Local Centos (Or Any Linux Flavor) Local Repository MirrorSince I have started using the Linux CentOS operating system, I have created a number of servers. When I do updates on these servers, all of the servers went straight out to the internet to retrieve their updates. Besides being a time consuming process, it was eating up a large amount of bandwidth.<br />
<div>
<br /></div>
This got me thinking<br />
<blockquote class="tr_bq">
<i>"Hey, Microsoft has a server service (WSUS) that downloads all of the updates for every product that they make. Can I create a local repository on my network that all of my CentOS servers get their updates from?"</i></blockquote>
<div>
After looking around on good for a couple of hours, I found the answer. The answer is "Yes, you can setup a local repository on your network."</div>
<div>
<br /></div>
<div>
Here is what I did to set up a local repository.</div>
<div>
<br /></div>
<div>
<ol>
<li>I downloaded and installed the minimal version of CentOS 6.4. <br />* The nice thing I just found out about version 6.4 is that the Hyper-V drivers are included now, so no more downloading and installing the Linux Integration Components. That saves a great deal of time.</li>
<li>After the install finished, I set SELINUX to disabled and turned off the firewall and did a reboot. I know this is not the wisest thing to do, but hey, the only thing the server is doing is updating other servers.<br />- To disable SELINUX, open /etc/selinux/config, change "SELINUX=enforcing" to "SELINUX=disabled"<br />- To disable the firewall, type "chkconfig iptables off" and "chkconfig ip6tables off"<br />- Type "reboot" to restart the server.</li>
<li>Install http, php, and rsync. This will set the server up as a web server. You will use rsync to download a copy of a public repository to your local repository server.<br />- Type "yum install -y http php rsync"</li>
<li>Now, configure the http service to start on bootup and start the http service. <br />- Type "chkconfig --level 345 httpd on" for bootup<br />- Type "service httpd start" to start the service</li>
<li>Now, create a folder in the web server directory to keep all the update files. Because I may have different flavors of Linux in the future, I created a directory called "repo" with a sub-directory of "centos", then the different versions<br />- Type "mkdir /var/www/html/repo"</li>
<li>Next, sync your local repository with a public one. To save on space, I excluded the isos. <br />* If you want to include them, keep in mind that each version of CentOS you want to keep locally, you will need about 20GB of space.<br />- Type "rsync --progress -av --delete --delete-excluded --exclude "local*" --exclude "isos" rsync://centos.arcticnetwork.ca/centos/6.4/ /var/www/html/repo/centos/6.4/"</li>
<li>Because of how the repo works, we need to make a sym link from the 6.4 folder like this:<br />ln -s /var/www/html/repo/centos/6.4/ /var/www/html/repo/centos/6</li>
<li>On the client computer (the ones needing updates) you need to edit the /etc/yum.repo.d/CentOS-Base.repo<br />- Remove the comment mark (#) from all of the baseurl and comment out the mirrorlist.<br />- Under baseurl, change "mirror.centos.org" to the IP address of your repository server and add "/repo". Here is how mine looks: "baseurl=http://192.168.1.10/repo/centos/$releasever/os/$basearch/"</li>
<li>Once you have made those changes and saved the file, we need to clear out the old settings. To do this type "yum clean all". </li>
<li>After you clear out the settings, do a "yum update" and you will see that the client computer/server is now going to your local repository for its updates. </li>
</ol>
<div>
Once I finished setting up my local repository, I was able to update four servers in less than 10 minutes and one was a newly created server. That is a lot faster than the 30 minutes each server took before. </div>
</div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-85320531331875831412012-11-26T09:48:00.001-08:002013-07-01T05:10:49.876-07:00PacketFence 4.0 Setup (VLAN)If you are looking for a walk through on to install PacketFence, this is not the best place to start. I have another post <a href="http://silvertrip-it.blogspot.com/2012/09/packetfence-350-install.html">Here</a> with directions on how to install PacketFence on CentOS 6.3.<br />
<br />
<div style="text-align: center;">
-------------------------------------------------</div>
*I am in the process of updating this post for PacketFence 4.0<br />
<div style="text-align: center;">
-------------------------------------------------</div>
<span style="text-align: center;"><br /></span>
Let me start off with this, I am fairly new to PacketFence. I have known about it for several years and I even tried installing it on a server once or twice, but I have never been able to get it to a point where it was something usable. It always seemed I would ran into a hiccup and put it on the back burner. Anyway, on to my guide.<br />
<br />
Assumptions:<br />
<ul>
<li>Your network uses VLANs</li>
<li>Your network is using HP Procurve 2500 & 2600 series switches</li>
<li>Your network already has a DHCP server in it</li>
</ul>
<br />
After you install PacketFence and log in to the administration interface and click through some of the tabs, you will notice that it is pretty empty. To start making information appear, there are some steps we need to take.<br />
<br />
In order for PacketFence to do it's job, it needs to know MAC addresses. All of them on your network, in fact. If you followed my instructions from an earlier post, you had PacketFence do a complete install and a DHCP server was installed.<br />
<br />
1. For PacketFence to start seeing devices on the network, we need to add an ip helper address to the switch that does all of the VLAN routing for your network. In my case, I have an HP Procurve 5300 switch doing that for me. In each VLAN, I added the line "ip helper-address X.X.X.X" where X.X.X.X is the ip address of my PacketFence server. Make sure that that your PacketFence server is the last one in the list, otherwise PacketFence may start handing out addresses and cause problems that you do not want.<br />
<div>
<br /></div>
<div>
Now, it may take a few minutes for devices to start showing up in Node section of the PacketFence Administration Console, but they will start showing up</div>
<div>
<br /></div>
<div>
2. For PacketFence to "talk" with the switches in your network, you will need to add the switches in PacketFence and you will need to add some commands to your switches. Where I work we do not use the standard "public" and "private" snmp communities.<br />
- PacketFence Config:<br />
Step 1. Click on "Configuration". On the left hand side click on "Switches". At the bottom, click on "Add Switch". A window will popup.<br />
Step 2.<br />
<ol>
<li>In "IP Address:" type in the ip address of your switch.</li>
<li>Under "Type", select the type of switch you have. (In my setting, HP ProCurve 2600).</li>
<li>Under "Mode:" select "Production"</li>
<li>Under "Deauthentication Method" select Telnet. (This is the default)</li>
<li>Under "Uplinks:" type in the port numbers that you use to connect to other switches. (In my setting, 25,26)</li>
<li>Click on the "Roles" tab at the top</li>
<li>Under "Registration" type in the VLAN that the device is put into when it needs to register with the PacketFence server. Repeat this step for "Isolation", "MAC Detection", "Inline", "Voice", and "Default".</li>
<li>Click on the "SNMP" tab at the top</li>
<li>For "Version:" select "2c" (This is the default.)</li>
<li>For "Community Read" enter your SNMP community read name. If you are using the standard "public" and "private" communities, "public" goes here.</li>
<li>For "Community Write" enter your SNMP community write name. If you are using the standard "public" and "private" communities, "private" goes here.</li>
<li>For "Auth Password Write" enter your password for the switch.</li>
<li>For "Priv Password Write" enter your password for the switch.</li>
<li>For "Trap Version:" select "2c" (This is the default.)</li>
<li>For "Community Trap" enter your SNMP community write name. If you are using the standard "public" and "private" communities, "private" goes here.</li>
<li>Click on the "CLI" tab at the top</li>
<li>For "Transport" select Telnet (This is the default)</li>
<li>For "Password" and "Enable Password" enter your password for the switch. </li>
<li>Click on "Save" at the bottom.</li>
</ol>
<div>
- Switch Config: (This info is also available in the PacketFence Network Devices Configuration Guide on the PacketFence website under Documentation.</div>
<div>
Log into your switch. Make sure to do this using the command line and not the web interface. Enter the configuration mode on your switch. To do this on HP ProCurve switches, normally you can type "config" and then press enter. Now type the commands below:<br />
<i><br />snmp-server community public manager unrestricted</i><br />
<i>snmp-server host XXX.XXX.XXX.XXX "public" Not-INFO</i><br />
<i>no snmp-server enable traps link-change 1-24</i><br />
<br />
<i>port-security 1-24 learn-mode configured action send-alarm</i><br />
<div style="text-align: center;">
<i><i><span style="font-style: normal;">--- Notes ---</span></i></i></div>
<i><i><span style="font-style: normal;">* If you are not using the standard public/private snmp communities, make your changes as needed<br />* Change the XXX.XXX.XXX.XXX to the IP address of your PacketFence server<br />* I am using a 26 port switch and ports 25 and 26 are my uplink port, so adjust your numbers as needed. </span></i></i></div>
<div>
* Now is a good time to add the VLANs you specified for Registeration, Isolation, MAC Detection, and Guest.<br />
* On the switches, I found that if you do not have the PacketFence server first in the list of <i>snmp-server host XXX.XXX.XXX.XXX</i><i>, </i>it causes problems</div>
<br />
<br />
Now, your switches and your PacketFence server should be communicating with one another.<br />
<br /></div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com1tag:blogger.com,1999:blog-2952441355134314199.post-67279764548575477212012-11-13T08:14:00.000-08:002012-11-13T08:14:04.607-08:00PHP Notes<span style="font-family: inherit;">I am trying to teach myself PHP and this post is just of my notes for PHP. I know a lot of this information is already out there on the web, but it helps me remember and learn when I write things down.</span><br />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">So, needless to say, this post will continue to grow over time.</span><br />
<hr />
<br />
<h2>
<b><u><span style="font-family: inherit; font-size: large;">Beginning and Ending Blocks</span></u></b></h2>
<table border="1" cellpadding="1" cellspacing="1" style="height: 108px; line-height: 18px; text-align: start; width: 550px;" summary=""><tbody>
<tr><td><span style="font-family: inherit;">Standard Tag</span></td><td><span style="font-family: inherit;"><?php</span></td><td><span style="font-family: inherit;">?></span></td></tr>
<tr><td><span style="font-family: inherit;">Short Tag</span></td><td><span style="font-family: inherit;"><?</span></td><td><span style="font-family: inherit;">?></span></td></tr>
<tr><td><span style="font-family: inherit;">Script Tag</span></td><td><span style="font-family: inherit;"><script language="php"></span></td><td><span style="font-family: inherit;"></script></span><br />
<div>
<span style="font-family: inherit;"><br /></span></div>
</td></tr>
</tbody></table>
<br />
<div style="line-height: 18px;">
<span style="font-family: inherit;"><br /></span>
<br />
<hr style="color: black; line-height: normal;" />
<h2>
<b><u><span style="font-family: inherit; font-size: large;">Variables</span></u></b></h2>
</div>
<div style="line-height: 18px;">
<span style="font-family: inherit;">Variables in PHP begin with a dollar ($) sign and either a letter or an _ (underscore).</span></div>
<div style="line-height: 18px;">
<span style="font-family: inherit;">Example:</span><br />
<span style="font-family: inherit;">$test</span><br />
<span style="font-family: inherit;">$_1234</span><br />
<span style="font-family: inherit;"><br /></span></div>
<div style="line-height: 18px;">
<span style="font-family: inherit;">Variables do not need to be declared as a type, the PHP engine decides the variable type based on type of data the variable holds.</span></div>
<div style="line-height: 18px;">
<strong><span style="font-family: inherit;">Types of Variable:</span></strong></div>
<div style="background-color: white; color: #121212; line-height: 18px;">
</div>
<table border="1" cellpadding="1" cellspacing="1" style="height: 83px; line-height: 18px; text-align: start; width: 532px;" summary=""><tbody>
<tr><td><span style="font-family: inherit;">Integer</span></td><td><span style="font-family: inherit;">Whole number</span></td></tr>
<tr><td><span style="font-family: inherit;">Double</span></td><td><span style="font-family: inherit;">Floating point number (Decimal Point)</span></td></tr>
<tr><td><span style="font-family: inherit;">String</span></td><td><span style="font-family: inherit;">Collection of characters</span></td></tr>
<tr><td><span style="font-family: inherit;">Boolean</span></td><td><span style="font-family: inherit;">True or false</span></td></tr>
</tbody></table>
<span style="font-family: inherit;"><br /></span>
<br />
<hr />
<span style="font-family: inherit;">Difference Between =, = =, and = = =</span><br />
<ul>
<li><span style="font-family: inherit;">= : Sets the value of a variable</span></li>
<li><span style="font-family: inherit;">= = : Comparative operator; Means equivalent (Are variables X and Y apples?)</span></li>
<li><span style="font-family: inherit;">= = = : Comparative operator; Means exactly the same (Are these apples exactly the same? Both have that green and dark red spot?)</span></li>
</ul>
<div>
<hr />
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
</div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-90999772778254719422012-10-22T09:08:00.001-07:002012-10-22T09:08:48.128-07:00Migrate Physical Linux to Hyper-VThis past weekend, I had successfully moved a physical Linux box to a Windows Server 2008 R2 Hyper-V.<br />
<br />
I thought this might have been a long and very difficult process, but is wasn't with the help of Clonezilla. I will walk you through the process that I did below.<br />
<br />
Items Needed:<br />
Portable USB Hard Drive (I used a 1TB Drive)<br />
CloneZilla ISO/CD<br />
<br />
The first step in the process was to make sure that no one was using the server and then to shut the server down.<br />
<br />
I then booted up the computer with CloneZilla and followed the on-screen instruction under "Beginner". (I have a bootable flash with CloneZilla, if any one would like directions on how to do that, please let me know and I will post some.)<br />
<br />
While Clonezilla was working on backing up the server, I created a Hyper-V virtual server.<br />
<br />
Once I had an image file of the physical machine from CloneZilla, I plugged it in to the Server 2008 box.<br />
<br />
Now, this was a tricky part for me: How do I get a Hyper-V guest to "see" a physical usb drive. This turned out to be simpler than I thought. If you go into "Disk Management" and right click on the usb drive and select "Offline", you can add it to a Hyper-V guest.<br />
<br />
Once I added the usb drive to the guest, I booted the guest using Clonezilla ISO. From here, I followed the directions to restore the image. Once it finished, I ejected the ISO from the guest and booted the server.<br />
<br />
Once the server finished booting, I made sure that the users could access it. The users have not noticed any difference.<br />
<br />
I repeated this process on another server that had a raid card in it and CloneZilla had no problem with it.<br />
<br />
<br />Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com2tag:blogger.com,1999:blog-2952441355134314199.post-46913907360057481042012-10-16T12:30:00.000-07:002013-03-18T06:22:40.217-07:00How To Setup Wake On LAN With VLANs and HP ProCurve Switches<br />
If you are in a VLAN environment where you have HP ProCurve switches and want to Wake-On-LAN or WOL packets to be forwarded to different VLANs<br />
<br />
On the switch that is doing your routing, in my case, a ProCurve 5300 series switch, I typed the commands below.<br />
<blockquote class="tr_bq">
ip directed-broadcast<br />
ip udp-bcast-forward<br />
vlan 2<br />
ip address 10.0.2.2 255.255.255.0<br />
ip forward-protocol udp 10.0.5.255 9<br />
vlan 5<br />
ip address 10.0.5.2 255.255.255.0</blockquote>
<br />
VLAN 2 is where my FOG server sits and the WOL packets it sends out are forwarded to VLAN 5.<br />
<br />
------------------------------------------------------<br />
I was recently asked to give a little more detail on this post. (I also found a typo I made and fixed it too. I changed 10.0.16.255 to 10.0.5.255)<br />
<br />
This post assumes that you are using virtual LANs or VLANs. If you are not using VLANs, you don't have to do this.<br />
<br />
Here is the quick and dirty of VLANs.<br />
- VLANs take your one physical network and breaks it up into multiple logical networks. The closest example I can give is a hard drive. You can have one physical hard drive but multiple partitions.<br />
Please keep in mind that this is an over simplification VLANs and what they can do.<br />
<br />
On to the questions.<br />
<br />
To expand on this example<br />
<br />
<ul>
<li>Lets say that the IP address of my FOG server is 10.0.2.50 and with a subnet mask of 255.255.255.0. </li>
<li>The server is sits in VLAN 2.</li>
<li>VLAN 2 gateway address is 10.0.2.2</li>
<li>VLAN 5 gateway address is 10.0.5.2</li>
<li>The desktop computer that I want to image using FOG is in VLAN 5 and is setup to get an IP address from the DHCP server.</li>
<li>The desktop computer is set up to boot from the network (PXE) first and has Wake-On-LAN (WOL) enabled</li>
</ul>
<div>
Wake-On-LAN (WOL) or "magic" packets send out a broadcast to wake up a computer. By design, VLANs keep any kind of broadcasts within it's own VLAN. (Back to the hard drive example, you can't save a 500mb file across two partitions of flash drives.) This prevents a user or someone else from taking down your entire network when they plug both ends of a network cable into the wall or switch, it will only take down that VLAN.</div>
<div>
<br /></div>
<div>
On HP switches (and I assume other manufactures as well), you can allow broadcasts to be passed on from one VLAN to another based on IP address and port number. This is where the command "ip forward-protocol udp 10.0.5.255 9" comes into play.</div>
<div>
<br /></div>
<div>
The WOL packet uses UDP port 9. The 10.0.5.255 is the broadcast address for VLAN 5. </div>
<div>
<br /></div>
<div>
When my FOG server sends out a wake up broadcast (packet) using UDP port 9 in VLAN 2, my HP switch will forward that wake up broadcast (packet) on to VLAN 5.</div>
<div>
<br /></div>
<div>
I hope this clears up any confusion that you may have.</div>
<div>
<br /></div>
<div>
--Updated 3/18/13 9:20am</div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com7tag:blogger.com,1999:blog-2952441355134314199.post-25831022007796681282012-10-16T06:52:00.000-07:002012-11-26T12:04:53.278-08:00"The Windows Installer Service Could Not Be Accessed" If you are getting the following message on a Windows XP machine:<br />
<div>
<blockquote class="tr_bq">
The Windows Installer Service could not be accessed.<br />
This can occur if you are running Windows in safe<br />
mode, or if the Windows Installer is not correctly<br />
installed. Contact your support personnel for assistance.</blockquote>
To resolve this issue, follow these steps:<br />
<br />
<ol>
<li><span style="font-family: inherit;">Log on to your computer as an administrator.</span></li>
<li><span style="font-family: inherit;">Click </span><strong class="uiterm" style="font-family: inherit;">Start</strong><span style="font-family: inherit;">, and then click </span><strong class="uiterm" style="font-family: inherit;">Run</strong><span style="font-family: inherit;">.</span></li>
<li><span style="font-family: inherit;">In the </span><strong class="uiterm" style="font-family: inherit;">Open</strong><span style="font-family: inherit;"> box, type </span><span class="userInput" style="font-family: inherit; font-weight: bold;">cmd</span><span style="font-family: inherit;">, and then click </span><strong class="uiterm" style="font-family: inherit;">OK</strong><span style="font-family: inherit;">.</span></li>
<li><span style="font-family: inherit;">At the command prompt, type </span><span class="userInput" style="font-family: inherit; font-weight: bold;">msiexec.exe /unregister</span><span style="font-family: inherit;">, and then press ENTER.</span></li>
<li><span style="font-family: inherit;">Type </span><span class="userInput" style="font-family: inherit; font-weight: bold;">msiexec /regserver</span><span style="font-family: inherit;">, and then press ENTER.</span></li>
</ol>
<br />
<div>
<span style="font-family: inherit;"><br /></span></div>
</div>
<div>
<span style="font-family: inherit;">If you are continuing to have problems, click on the Original Source Link below.</span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">Original Source</span></div>
<div>
<a href="http://support.microsoft.com/kb/315353"><span style="font-family: inherit;">http://support.microsoft.com/kb/315353</span></a></div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-24677906824108189022012-10-02T12:29:00.000-07:002012-10-02T12:29:26.782-07:00New Wireless Technology<div class="separator" style="clear: both; text-align: left;">
Check out this new wireless technology that I found on one of our HP ProCurve PoE switches.</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg0JxnTEcaU4IXsaUYxJ6O7jIJOL8lHESKgOfDRZf4jIzfOmeoHKcBPXbxwUOwVELeSpFRf5axKBK7ExNXcjGHIURmU9OuMHD5owq-XTD5C8WKAfggrfd2Hf3yfHOMG9-OepAiVNofR7M/s1600/2012-10-01+08.37.37.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhg0JxnTEcaU4IXsaUYxJ6O7jIJOL8lHESKgOfDRZf4jIzfOmeoHKcBPXbxwUOwVELeSpFRf5axKBK7ExNXcjGHIURmU9OuMHD5owq-XTD5C8WKAfggrfd2Hf3yfHOMG9-OepAiVNofR7M/s640/2012-10-01+08.37.37.jpg" width="640" /></a></div>
<br />
<br />
<br />
<br />
Do you need a hint? Look at ports 10 and 11. There is nothing plugged into them but the switch says they are active.<br />
<br />
Needless to say, the fault light was lit on this switch and it got replaced.Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-82698919265910113192012-09-05T12:06:00.001-07:002013-05-23T05:39:01.386-07:00PacketFence 3.5.1 / 3.6.0 / 4.0.1 Install*If you have been following this post since the beginning, because I have been having so many problems with PacketFence and CentOS 5.8, I have decided to scrap what I have done so far CentOS 5.8 and go with CentOS 6.3. I have already made the changes below to reflect the 6.3 install.*<br />
<div>
<br /></div>
<div>
I have decided to write up some instructions on how to install PacketFence. If you don't know what PacketFence is, it provides Network Access Control or NAC. A NAC helps you control who can and can't have access your network.</div>
<div>
You can go <a href="http://www.packetfence.org/">Here</a> for more information on PacketFence.</div>
<div>
<br /></div>
<div>
The PacketFence Network Administration Guide, in my opinion, is really not laid out well. You have to jump around the guide to find what you are looking for.</div>
<div>
<br /></div>
<div>
PacketFence uses/requires:</div>
<div>
<div>
<span style="font-family: inherit;">- Web server (httpd)</span></div>
<div>
<span style="font-family: inherit;">- DHCP server (dhcpd)</span></div>
<div>
<span style="font-family: inherit;">- DNS server (named)</span></div>
<div>
<span style="font-family: inherit;">- FreeRADIUS server (radiusd)</span></div>
<div>
<span style="font-family: inherit;">- Snort/Suricata Network IDS (snort/suricata)</span></div>
<div>
<span style="font-family: inherit;">- Firewall (iptables)</span></div>
<div>
<br /></div>
<div>
-------------</div>
<div>
Okay, on to the installation.<br />
1. Install CentOS. I have installed the bare minimum for CentOS 6.3 32-Bit.<br />
2. After install has completed, login and update the system with the command "yum update".<br />
<br />
*At this point I started following PacketFence Administration Guide<br />
3. Disable SELinux.</div>
<div>
- At the command line type "vi /etc/sysconfig/selinux" and press enter</div>
<div>
- Change SELINUX from enforced to disabled.</div>
<div>
- Reboot the computer by typing "reboot"</div>
<div>
4. There are some third party repositories (repo for short) that are required to get all the proper PacketFence dependencies; Repoforge (previously known as rpmforge), EPEL (Extra Packages for Enterprise Linux), OpenFusion </div>
<div>
<ul>
<li>rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.`uname -m`.rpm</li>
<li>rpm -Uvh http://download.fedoraproject.org/pub/epel/6/`uname -i`/epel-release-6-8.noarch.rpm</li>
<li>rpm -Uvh http://www.openfusion.com.au/mrepo/centos6-`uname -i`/RPMS.of/openfusion-release-0.5-1.of.el6.noarch.rpm</li>
</ul>
<div>
* If you are following along in the guide, you might miss a step or two like I did. There are some things that we need to do the repos like disabling them by default and excluding some packages.</div>
</div>
</div>
<div>
<br /></div>
<div>
5. At the command line type:</div>
<div>
<ul>
<li>vi /etc/yum.repos.d/rpmforge.repo</li>
<ul>
<li>Change Enabled in each section to 0.</li>
<li>Add
the line exclude = perl-Apache-Test* to the [rpmforge] section.</li>
</ul>
<li>vi /etc/yum.repos.d/epel.repo<ul>
<li>Change Enabled in each section to 0.</li>
</ul>
</li>
<li>vi /etc/yum.repos.d/openfusion.repo</li>
<ul>
<li>Change Enabled in each section to 0.</li>
<li>Add the line exclude = perl-Apache-Test* to the [of] section.
</li>
</ul>
</ul>
<div>
6. Since we have installed CentOS 6 as our OS, we need to take an extra step. RedHat doesn’t seem to provide perl-Net-Telnet perl-XML-Simple perl-SOAP-Lite packages and PacketFence needs them to run properly.<br />
Type: yum install perl-Net-Telnet perl-XML-Simple perl-SOAP-Lite --enablerepo=rpmforge-extras,rpmforge<br />
<br />
7. Now we need to add the PacketFence repo. Type vi /etc/yum.repos.d/PacketFence.repo and add the text below.</div>
</div>
<div>
<div>
<br /></div>
<div>
[PacketFence]</div>
<div>
name=PacketFence Repository</div>
<div>
baseurl=http://inverse.ca/downloads/PacketFence/RHEL$releasever/$basearch</div>
<div>
gpgcheck=0</div>
<div>
enabled=0</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
8. To install PacketFence, type yum groupinstall --enablerepo=PacketFence,epel,rpmforge,of Packetfence-complete<br />
This will install all the services PacketFence needs to work properly.</div>
<div>
<br />
9. Now we need to setup PacketFence for our network. On a different computer, open a web browser and go to http://x.x.x.x:3000/configurator. <br />
*For Version 3.6.0, the address is http://x.x.x.x:1444/configurator <br />
*For Version 4.0.1, the address is http://x.x.x.x:1443/configurator<br />
<br />
If you can not get to the webpage, you will need to turn off the firewall on the server. To do this, type the following: service iptables stop<br />
<br />
<ul>
<li>Step 1: Choose the type of Enforcement that you want. Either Inline Enforcement or VLAN Enforcement. For my situation, I have selected both.<br /> - Inline Enforcement means that the PacketFence server will sit between the computer and the network/internet.<br /> -
VLAN Enforcement means that the PacketFence server does not sit between the computer and the network/internet. It will change the config on the managed switch for each individual port on the switch.</li>
<li>Step 2: Networks. Add your networks.<br />If you are using VLAN Enforcement, make sure you specify your Management VLAN, Registration VLAN, and Isolation VLAN.<br /> - To add a VLAN, click on "Add VLAN" under Actions.</li>
<li>Step 3: Database Configuration<br /> - Click on Test. You will be asked to set the MySQL admin password.<br />*Note: If you receive an error message when you click on test, make sure MySQL is running on the server.<br /> - Click on "Create the database".<br /> - Under "Create a PacketFence account" type in a password and then type it again to confirm it. Now click on "Create User".</li>
<li>Step 4: PacketFence Configuration<br />Type in your domain, the hostname of the server, any DHCP servers on your network under General.<br />Type in an email address under Alerting.</li>
<li>Step 5: Administration<br />Create a username and password for the administration interface.</li>
<li>Step 6: Start PacketFence<br />Click on "Start PacketFence"</li>
</ul>
<div>
Once PacketFence is started, you will be asked if you want to go to the Administration Interface, I clicked yes and then was taken to the admin page.</div>
<br />
<br />
<br /></div>
<div>
This concluded how you setup a PacketFence Server. I will post more on how to do other things in PacketFence once I have a chance to fully set it up at my workplace.<br />
<br />
*Update: EPEL has been updated from 6.7 to 6.8. I have changed it in the directions above.</div>
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com8tag:blogger.com,1999:blog-2952441355134314199.post-67276872957334280442012-08-20T06:27:00.000-07:002012-08-20T06:27:17.193-07:00BrightHouse TDX or SIP Trunk Settings<br />
I know this is not out there on Google any where or if it is, I have not found it (yet).<br />
<br />
Below is how to setup a Trixbox PBX server to work with a BrightHouse TDX or SIP trunk.<br />
<br />
In this case, I am setting this up for my mother's business.<br />
<br />
BrightHouse came in and setup a second cable modem that is strictly for VoIP traffic. It is a 50 by 10 (50MB download, 10MB upload) and comes free with the TDX service. I would love to put the internet this pipe, but if I do, BrightHouse will start charging $250+ a month. In other words, DON'T DO IT.<br />
<br />
Anyway, back to the setup. BrightHouse will need an IP address from your internal network. You will also receive a proxy IP address from BrightHouse.<br />
After all the new equipment has been setup, you will need to change the default gateway on your Asterisk (TrixBox in my case) to the internal IP address that you gave BrightHouse.<br />
<br />
Now to the fun stuff. Create a new trunk with the below settings. Change the text that is in <span style="color: red;">RED</span> for your setup.<br />
<br />
<br />
<b>SIP Trunk Settings:</b><br />
<br />
General Settings:<br />
Outbound Caller ID: <span style="color: red;">Your Phone Number or the number you want displayed on the caller ID</span><br />
Never Override CallerID: Leave Unchecked<br />
Maximum channels: Leave Blank<br />
Dial Rules: Leave Blank<br />
Outbound Dial Prefix: Leave Blank<br />
<br />
Outgoing Settings:<br />
Trunk Name:<span style="color: red;"> BH9999 or something that makes it easy for you to identify the phone number</span><br />
PEER Details:<br />
<br />
host=<span style="color: red;">BrightHouse Proxy Address</span><br />
insecure=port,invite<br />
type=friend<br />
context=from-trunk<br />
disallow=all<br />
allow=ulaw<br />
<br />
<br />
Incoming Settings:<br />
USER Context: Leave Blank<br />
USER Details: Leave Blank<br />
<br />
Register String: <span style="color: red;">YOURNUMBER@
BrightHouse Proxy Address /YOURNUMBER</span><br />
<br />
And that is it. All you have to do now is how you want inbound and outbound calls handled.<br />
<br />
Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-39355990003438005872012-08-09T08:00:00.000-07:002012-08-09T08:00:15.922-07:00CentOS Set Time By Command LineUse the commands below to set the date and time on CentOS.<br />
<br />
<br />
<strong>Set date from the command line</strong><br />
<pre><code>date +%Y%m%d -s "20120418"</code></pre>
<strong>Set time from the command line</strong><br />
<pre><code>date +%T -s "11:14:00"</code></pre>
<pre><code> </code></pre>
Let’s set the hardware clock to local time:<br />
<code>hwclock --set --date="2012-04-19 16:45:05" --localtime</code><br />
<pre><code> </code></pre>
<br />
http://www.garron.me/linux/set-time-date-timezone-ntp-linux-shell-gnome-command-line.htmlSilvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-58330949906341511922012-08-09T07:58:00.000-07:002012-08-09T07:58:14.448-07:0010 Things Your IT Guy Wants You to KnowI though I would share this. I came across this while on my travels on the Internet. I have to say that I agree with it, especially the P.S. at the end.<br />
<br />
<ol>
<li>If you come to me to ask technical questions, please don’t argue when you don’t like my answer. If you think you know more about what you’re asking than I do, then why even ask? On that same note, if I <strong>am</strong> arguing with you, it’s because I’m certain that I am correct; otherwise I’d just tell you “I don’t know” or perhaps point you somewhere that you could look it up. We don’t argue just for the sake of arguing.</li>
<li>When you start a conversation by insulting yourself (e.g. <em>“I’m such an idiot”</em>), you will not make me laugh or feel sorry for you; all you will succeed in doing is reminding me that yes, you are, indeed, an idiot, and that I’m going to hate having to talk to you. Trust me, you don’t want to start out this way.</li>
<li>We’re okay with you making mistakes; fixing them is part of our job. We are <strong>NOT</strong>, however, okay with you lying to us about a mistake that you made. It just makes it that much harder to resolve and thus makes our job more difficult. Be honest and we’ll get the problem fixed and both of us can continue on with our business. Lying to us and, therefore, costing us twice as much of <strong>our</strong> time will not win you any brownie points with IT.</li>
<li>There is no magic <em>“Fix it”</em> button. Everything takes some amount of work to fix, and not everything is worth fixing or — <em>gasp!</em> — even possible to fix. If I tell you that you’re going to have to re-do a document that you accidentally deleted two months ago, please don’t get mad at <strong>ME</strong>. I’m not ignoring your problem and it’s not that I don’t like you, we just can’t always fix everything.</li>
<li>Not everything you ask us to do is “urgent”. In fact, by marking things as “urgent” every time, you’ll almost certainly ensure that we treat none of it as a priority.</li>
<li>You are not the only one who needs help, and you usually don’t have the most urgent issue. Give us some time to get to your problem; it will get fixed.</li>
<li>E-mailing us several times about the same issue is not only unnecessary, it’s highly annoying as well. We record issues in a database so that we don’t lose track of them (remember how we ask that you create a ticket? That’s why.) We will typically respond as soon as we have a useful update to make. If your problem is urgent, please do let us know (but see number five).</li>
<li>Yes, we prefer e-mail over phone calls. It has nothing to do with being friendly or anti-social, it’s about efficiency. It is much faster and easier for us to list out a set of questions that we need answers to than it is for us to call and ask you them one by one. You can find the answers at your leisure and, while we’re waiting, we can work on other problems.</li>
<li>We may, at times, seem blunt and rude. It’s not that we mean to, we just don’t have the time to sugar coat things for you. We assume that we are both adults and can handle the reality of a problem. If you did something wrong, don’t be surprised when we tell you. We don’t care that it was a mistake because, honestly, it makes no difference to us. Please don’t take it personal, we just don’t want it to happen again.</li>
<li>Finally, <em>yes, I can read your e-mail, yes, I can see what web pages you look at while you’re at work, yes, I can access every file on your work computer, and yes, I can tell if you are chatting with people on instant messenger</em> (and can read what you’re typing, as well). But no, we don’t do it. <strong>It’s highly unethical and, perhaps more importantly, you really aren’t that interesting.</strong> Unless I am instructed to specifically monitor or investigate your actions, I don’t do it. There really are much more interesting things on the Internet than you.</li>
</ol>
I hope this didn’t come off the wrong way because, even as much as us IT guys refer to “users” as “lusers”, we do like (most of) you. Just like you, we’re here to do a job and we try to do it the best that we can. It’s easiest to do that if we all work together, stop pointing fingers, and give other people the space that we would like to get as well. If we can do that more often than not, things will go well and work out for all of us.<br />
<br />
P.S. IT guys are easily bribed with food and/or beer (personally, I prefer the latter). That’s a sure way to get your problems moved to the top of the list. *grin*<br />
<br />
Original Post:<br />
<a href="http://evilrouters.net/2009/05/31/10-things-your-it-guy-wants-you-to-know/">http://evilrouters.net/2009/05/31/10-things-your-it-guy-wants-you-to-know/</a>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-84358377797068260672012-05-23T07:47:00.000-07:002012-10-02T11:56:06.658-07:00Automate HP Switch Config BackupBelow is a VB Script that I wrote that will open a command prompt, telnet into an HP Procurve switch and copy its runnung config to a TFTP server.<br />
<br />
In order for this script to work, you will need a text file will the IP addresses of your switches on a seperate line. You will also need to edit the lines that I have maked in <span style="color: red;">RED</span>.<br />
<br />
*Note: Do not click off of the command prompt window while this script is running or you are going to get alot of text where you don't want it and you will not get your switch configs.<br />
<br />
'--------Start Of Script--------<br />
Option Explicit<br />
On Error Resume Next<br />
Dim WshShell, strIP, strTFTP, strFile, strPassHP<br />
Dim filesys, filetxt<br />
<br />
strFile = "<span style="color: red;">File Name</span>"<br />
strTFTP = "<span style="color: red;">Your TFTP Server Address</span>"<br />
strPassHP = "<span style="color: red;">Your HP Procurve Password</span>"<br />
<br />
'Opens IP address file for reading<br />
Const ForReading = 1, ForWriting = 2, ForAppending = 8<br />
Set filesys = CreateObject("Scripting.FileSystemObject")<br />
Set filetxt = filesys.OpenTextFile(strFile, ForReading, True)<br />
<br />
'Opens the command prompt<br />
set WshShell = CreateObject("WScript.Shell")<br />
WshShell.run "cmd.exe"<br />
WScript.Sleep 1000 <br />
<br />
Do While Not filetxt.AtEndOfStream
<br />
<br />
<br />
<dd>strIP = filetxt.ReadLine<br />
Copy(strIP)</dd>
Loop<br />
<br />
filetxt.Close<br />
set WshShell = Nothing<br />
set filesys = Nothing<br />
WScript.Quit<br />
<br />
Function Copy(strIP)
<br />
<br />
<br />
<dd>WshShell.SendKeys "telnet "& strIP<br />
WshShell.SendKeys ("{Enter}")<br />
WScript.Sleep 1000 <br />
WshShell.SendKeys "p"<br />
WshShell.SendKeys strPassHP<br />
WshShell.SendKeys ("{Enter}") <br />
WshShell.SendKeys "copy running-config tftp " & strTFTP & " " & strIP & ".txt" <br />
WshShell.SendKeys ("{Enter}")<br />
WshShell.SendKeys "^z"<br />
WshShell.SendKeys "^z"<br />
WshShell.SendKeys "y"<br />
WScript.Sleep 2000<br />
WshShell.SendKeys ("{Enter}")</dd>
End Function<br />
'--------End Of Script--------Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com2tag:blogger.com,1999:blog-2952441355134314199.post-53403694245555491572012-05-22T12:24:00.001-07:002012-05-22T12:26:27.064-07:00Automate Wireless DeploymentConfiguring WLAN Settings Backup<br />
This has been tested on XP SP3, Vista SP1 and Windows 7. There is a note for XP SP2 on the site that indicates something needs to be installed.<br />
<ol>
<li>Download the wlan.exe file<br />Download:<br /><a href="http://www.symantec.com/connect/sites/default/files/WLAN.zip">http://www.symantec.com/connect/sites/default/files/WLAN.zip</a><br />Command Switches Info:<br /><a href="http://www.symantec.com/connect/articles/how-capture-and-deploy-wlan-profiles">http://www.symantec.com/connect/articles/how-capture-and-deploy-wlan-profiles</a> </li>
<li>Unzip the file into a directory that you can easily type from a command prompt.</li>
<li>Configure your wireless card to the SSID you want to connect to with all the settings you want. (You can configure multiple SSIDs here, but I did 1 at a time, a more individualized controlled approach)</li>
<li>CAPTURE THE GUID:<br />Run Command (wlan.exe ei)<br />With Wireless configured, open a command prompt and got to the directory where you unzipped the wlan.exe file, run this command and this will give you the GUID for the wireless card. Copy the GUID (Only the Hex part) from the command prompt as you will use it for the next steps. The GUID will be unique to each computer. Most computers will have 1 wireless interface detected in the system. If you have more than 1, this may not work as well. </li>
<li>LIST the Currently Configured Profiles:<br />Run Command (wlan.exe gpl {guid of interface})<br />This will list the currently configured wireless profiles, the profle name is used for the next part and is case sensitive. </li>
<li>CAPTURE the CONFIG:<br />Run Command (wlan.exe gp {guid of interface} YourSSID > profile.xml)<br />This will capture the configuration of the wireless info and copy into an xml file that will be used for the deploy/restore. You can name the file anything you want. I used the SSID as the name for easier identification. </li>
<li>EDIT the CONFIG:<br />Open the profile.xml file with notepad and remove the first and last lines and then save the file. I named the xml files the name of the SSID for easier identification.<br />1st line will be “The return profile xml is: “Last Line will be “Command "gp" completed successfully.” </li>
<li>SCRIPT the DELPOYMENT:</li>
Copy the script below and save it as a batch (.bat) file with the SSID of the wireless as the name. This is case sensitive, so save according.<br /><br />
Example: SSID1.bat<br /><br />
******START OF SCRIPT******<br />
@echo off<br />
echo Grabbing WLAN Interface...<br />
For /F "skip=2 tokens=1,2" %%A IN ('wlan.exe ei') Do If "%%A"=="GUID:" set Interface=%%B<br />
<br />
echo Adding wlan SSID %~n0<br />
wlan.exe sp %Interface% %~n0.xml<br />
set Interface =<br />
<br />
echo.<br />
echo SSID: %~n0 has been configured!<br />exit<br /><br />
******END OF SCRIPT******<br /><br />*Note: Don't for get the extra line after the "exit" command.<br /><br />
<li>RUN the SCRIPT<br />Now you should have 3 files in your folder: WLAN.exe, profile.xml (or what ever you named the file in step 6), and the matching batch file. When the script runs, it will get its file name and add the wireless network to the computer.</li>
</ol>
<div>
<br /></div>
If you want to add multiple wireless networks, create a new batch file and add the follow commands into it:<br />
<blockquote class="tr_bq">
start /w SSID3.bat<br />
start /w SSID2.bat<br />
start /w SSID1.bat</blockquote>
This will run each of the batch file you created in step 8. Order the SSIDs from least preferred to most preferred. The last SSID will be the one that connects first.<br />
<br />
<div>
<div>
<br /></div>
Original Source:<br />
http://www.symantec.com/connect/articles/how-capture-and-deploy-wlan-profiles </div>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-2738911638388545002012-05-18T12:15:00.001-07:002012-05-18T12:15:10.059-07:00Install Windows 7 From A Flash Drive<h2>
Install Windows 7 From a Flash </h2>
<br />This is a short guide on how to install Windows 7 onto a computer from a USB Flash Drive / USB Stick or Portable Hard Drive. Since read speeds are faster from USB drive than your CD-ROM drive, this actually decreases the install time for Windows 7.<br /><h3>
Step 1</h3>
The first thing you will need to do is format your USB Flash Drive or Portable Hard Drive so that your computer will read it as a bootable drive. So plug your flash drive into a workstation.<br /><h3>
Step 2</h3>
Open up Command Prompt / CMD (located in Program Files->Accessories) and type the following commands:<br /><blockquote class="tr_bq">
<ol>
<li><i>DiskPart</i></li>
<li><i>List Disk</i> (this will list the disks currently plugged into your computer. Most likely, the C: drive on that computer will be listed as disk 0, and you will have to look down the list to see which disk your flash drive is. Look at the corresponding disk sizes to easily figure it out.)</li>
<li><i>Select Disk 3 </i>(I am using 3 as example for assigned flash drive)</li>
<li><i>Clean</i></li>
<li><i>Create Partition Primary</i></li>
<li><i>Select Partition 1</i></li>
<li><i>Active</i></li>
<li><i>Format FS=NTFS Quick</i></li>
<li><i>Assign </i>(you can assign a particular drive letter if you want, example: assign=E:)</li>
<li><i>Exit</i> (this will exit DiskPart)</li>
<li><i>Exit</i> (this will exit CMD)</li>
</ol>
</blockquote>
<h3>
Step 3</h3>
Next you will need to either insert your Windows 7 CD and browse to the CD or open up your Windows 7 ISO and browse to the folders within it. (If you are using ISO, I would suggest extracting the contents to a new folder)<br /><h3>
Step 4</h3>
Next you will need to spoof your flash stick so that the computer will think it is an install CD. From within the root of the Windows 7 CD or ISO contents, right click while holding shift key and select “Open Command Windows Here”. This will open up a Command Prompt window within that directory. Then input the following commands:<br /><blockquote class="tr_bq">
<ol>
<li><i>cd Boot</i></li>
<li><i>bootsect /nt60 E:</i> (I am using drive letter E: as my flash drive)</li>
<li><i>exit</i> (exits command prompt)</li>
</ol>
</blockquote>
<h3>
Step 5</h3>
Next simply copy over the entire contents of your windows 7 CD or ISO to your flash drive.<br /><h3>
Step 6</h3>
Reboot the computer your are wanting to install Windows 7 on with the flash drive plugged in, hit the boot key (normally F12, DEL, or ESC) to select the boot device, boot to your flash drive, and it will go immediately to the Windows 7 Setup screen.<br /><br /><br />Original Source:<br /><a href="http://theitbros.com/install-windows-7-from-a-flash-drive">http://theitbros.com/install-windows-7-from-a-flash-drive</a>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-62858830530975983252012-05-18T12:03:00.000-07:002012-05-18T12:03:28.440-07:00Automate Wireless Key Deployment (Dell)<b><span style="font-family: Calibri; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">If you have a Dell laptop with the Dell Wireless WLAN Card Utility and you want copy the wireless profile settings to another laptop (or in my case, 300+ laptops) that the same program, it is as simple as drag and drop.</span></b><br />
<b><span style="font-family: Calibri; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"><br /></span></b><br />
<b><span style="font-family: Calibri; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">On the with the wireless profile you want to copy, export the profile to a WPN file. I have posted previously on how to do this.</span></b><br />
<b><span style="font-family: Calibri; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Next, on the laptop you want to add the wireless profile, copy the WPN file to the C:\Windows\System32 folder then either reboot the computer or restart the Dell </span></b><span style="font-family: Calibri;"><span style="font-size: 15px; white-space: pre-wrap;">Wireless WLAN Service.</span></span><br />
<span style="font-family: Calibri;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span><br />
<span style="font-family: Calibri;"><span style="font-size: 15px; white-space: pre-wrap;">You can use a simple batch file to copy WPN file for you when the computer starts up. Or if you have Kaspersky, WPKG, or a similar push program, you can use that also.</span></span><br />
<span style="font-family: Calibri;"><span style="font-size: 15px; white-space: pre-wrap;"><br /></span></span><br />
<span style="font-family: Calibri;"><span style="font-size: 15px; white-space: pre-wrap;">I will be posting directions on how to deploy wireless for Windows machines that do not have the Dell Wireless Utility shortly (In the next day or two).</span></span>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0tag:blogger.com,1999:blog-2952441355134314199.post-14892406741919180762012-05-18T11:46:00.004-07:002012-05-18T11:46:43.254-07:00Export Dell Wireless Profile Settings<div>
<b id="internal-source-marker_0.9698348278179765"><span style="font-family: Calibri; font-size: 15px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">How To Export Wireless Settings</span></b></div>
<span id="internal-source-marker_0.9698348278179765"><ol style="font-weight: bold; margin-bottom: 0pt; margin-top: 0pt;">
<li style="font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;"><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Open the Dell Wireless WLAN Card Utility and click on the “Wireless Networks” tab.</span><img height="325px;" src="https://lh3.googleusercontent.com/ayofhWznl7kgDx-AeXYeiD91cjDYZt0zsA1Gh6rN59M_FPBHrRt9M1b0hbjWPqzADsv1zp1-MnggUFEkTgdd0yG0uQfMTNjuyacC1D-k0o_0f4pInkE" width="335px;" /></li>
<li style="font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;"><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Click on the down arrow on “Options”, then click on “Export”.</span><img height="228px;" src="https://lh6.googleusercontent.com/vbJFLNbzXNhRntscbuJ2KvaZNsqMphQ4JghT73EDbQlPAwn4wmHMsOafDT4P-osvWpFP2FO6o-URswnSr20F6tIP_j4eqxdgLCPEzKw7S3xky8fbmkA" width="391px;" /></li>
<li style="font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;"><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">On “Export Options” window, select the option that you want and click OK.</span></li>
<li style="font-size: 13px; font-weight: normal; list-style-type: decimal; vertical-align: baseline;"><span style="font-family: Calibri; font-size: 15px; vertical-align: baseline; white-space: pre-wrap;">Enter a name and the location that you want to save the export file. Now click Save.</span></li>
</ol>
</span>Silvertriphttp://www.blogger.com/profile/13975144869130508786noreply@blogger.com0