Small CISCO Network iOS Workshop at KTSI
Set Switch IP
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan 1
Switch(config-if)#ip address 10.123.1.254 255.255.255.0
Switch(config-if)#exit
Switch(config)#exit
Switch#wr
Port Mirroring
Switch(config)#monitor session 1 source interface fastEthernet 0/1
Switch(config)#monitor session 1 destination interface fastEthernet 0/24
Switch(config)#no monitor session 1
MAC Address Security
Switch(config)#interface fastEthernet 0/1
--->Switch(config-if)#switchport port-security mac-address sticky
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security
Switch#show port-security
Activate Port again
Switch(config-if)#shutdown
Switch(config-if)#exit
Switch(config-if)#no shutdown
Spanning Tree
Switch(config-if)#spanning-tree portfast
Switch(config)#no spanning-tree vlan 1v
CDP deactivate
Switch(config)#no cdp run
Activate Telnet
Switch(config)#line vty 0 15
Switch(config-line)#password ktsi
Switch(config-line)#login
Switch(config-line)#transport input telnet
Switch(config-line)#transport output telnet
Webbrowser Access
Switch(config)#ip http server
Posted in CISCO, Hardware, IT, KTSI, School, Software, Work
|
Tagged cdp, CISCO, CISCO IOS, iOS, KTSI, mirrorin, port, port mirroring, Port security, School, spanning-tree, Switch, web access
|

Sometimes you need a fast way to rename a lot of file. With Powershell this is pretty easy. You list all files in the directory and you can use this object with a foreach loop.
This script basically changes the extension from .JPEG to .jpg:
$files = Get-Content
foreach ($file in $files) {
$newFileName=$file.name.replace(".JPEG",".jpg")
Rename-Item $file $newFileName
}
Posted in IT, Microsoft, Powershell, Software, Work
|
Tagged change, change extentions, extention, extentions, file, files, foreach, get-content, Microsoft, PowerShell, rename, rename files, rename-item, renaming, Windows, Windows Powershell
|
Playing with LEGO Mindstorm at KTSI
New photo added to Virtual Home.
Posted in IT, KTSI, Pictures, School, Software, Work
|
Tagged Apple, Gallery, gallery.me.com, KTSI, LEGO, Lego Mindstorm, me.com, Mindstorm, MobileMe, Pictures, Project, Virtual Home
|

Yesterday Hewlett-Packard released iPrint version 3.0. And this is a perfect App for printing and scanning documents directly from your iPhone, iPod Touch or iPad. You can print to HP Network Printers or USB Printers. For example printers which are connected with the Apple Airport Extreme or Express USB port.
What’s New In Version 3.0
- Print PDF and text documents
- Native iPad resolution & user interface for enhanced iPad viewing and use
- Document Support – View and wirelessly print attachments (text and PDF files) from mail clients and apps compatible with iOS “Document Support” feature (requires iPad and/or iPhone iOS 4)
- WebDAV – Turns your device into a wireless flash drive. Copy documents directly from your PC or Mac to/from your device and take them with you
- File Sharing support – When connected via USB cable, transfer documents to iPad & iPhone (iOS 4) from PC or Mac
- Scan to device – Scan photos & documents wirelessly from HP e-All-in-One printers to iOS devices (iPhone, iPod Touch and iPad)
- Available in English, French, Italian, German, Spanish
Here you can find a list of printers which are supported with HP iPrint 3.0:
Posted in Apple, HP, IT, Print-Solutions, Software, iOS, iPad, iPhone, iPod
|
Tagged Airport, Apple, Apple Airport, Business, Desginjet, Deskjet, Hewlett-Packard, HP, HP iPrint, HP iPrint 3.0, iOS, iPad, iPhone, iPod, iPod Touch, iPrint, iPrint 3.0, Officejet, Photosmart, Print, Print Solution, Printer, Printing, USB
|
I got a lot of Microsoft Word Documents form one of our professors at KTSI. But Evernote only supports text recognition inside PDFs. So I converted all Word Documents to PDF with the Mac OS X Automator.
How to convert Word Documents to PDF:
- Open Automator under Mac OS X
- Add a “Get Specified Finder Items” object
- Select the Word Documents
- Add another “Convert Format of Word Documents” object
- Set the Format to ” Portable Document Format (PDF)”
- Now click run and the Automator will convert all your Word Documents and you can find them in the same folder as the Word Documents

Posted in Apple, IT, KTSI, Mac OS X, School, Software
|
Tagged .doc, .pdf, Apple, Automator, convert, finder, KTSI, Mac, Mac OS X, Portable Document Format, School, Word, Word Documents
|