Jumprit's Knowledge

Jumprit's knowledge and references to share.

Avaya IP Office IP Address —

The default IP addresses are as follows:

LAN 1             – 192.168.42.1
WAN / LAN 2  – 192.168.43.1

Please ensure your computer’s IP address is in the same address range (192.168.42.x) as the IP Office system.

If DHCP is enabled on the LAN 1 port then your computer can use DHCP settings to obtain an IP address to automatically connect to the IP Office system via the Manager application.


EMC2 VNX series —

Using the VNX series Service LAN port
 
Connecting your laptop to the Storage Processor’s (SP) Service LAN port allows management and codeupgrades without using a customer’s management station or connecting your laptop to the customer’snetwork.
IMPORTANT:
The VNX Storage Processor’s Service LAN ports are not always connected to an internalswitch. The VNX5700 and VNX7500 Service LAN ports are internally switched and the VNX5100, 5300and 5500 are not internally switched.
The Service LAN of the two SPs in every VNX series storage system has the following factory-set IPaddresses:
 SP-A: 128.221.1.250 (Service LAN port on SP-A SAN Management Module)
 SP-B: 128.221.1.251 (Service LAN port on SP-B SAN Management Module)1. [ ] To connect your laptop to the arrays Service LAN port and access Unisphere Manager you mustfirst set your laptop’s TCP / IP Properties.
Note:
The storage system’s internal network (Service LAN) is mutually exclusive from the customer’smain management ports on the Storage Processor (SP).2. [ ] Navigate to your Network Connections and select your Local Area Connection, the physical LANcable port on your laptop.3. [ ] On the TCP/IP Properties page, click the “Use the following IP address” radio button.4. [ ] Set your laptop’s TCP/IP properties to the IPs listed below.
 IP address: 128.221.1.249
 Subnet mask 255.255.255.248
 Default Gateway – 128.221.1.1
 DNS server entries – leave blank
Note:
128.221.1.254 can also be used to set your laptop.

How To Display Available Quantity in Magento Front End (Product Page) —

To display quantity of products available in product page,

Open /app/design/frontend/default/YOURTHEME/template/catalog/product/view.phtml

Then paste this code anywhere you want the stock quantity to display:

<?php if($_product->isAvailable()):?><pclass="availability in-stock"><?php echo $this->__('Qty Available:')?><span><!--<?php echo $this->__('In stock') ?>--><?=(int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty()?></span></p><?php else:?><pclass="availability out-of-stock"><?php echo $this->__('Availability:')?><span><?php echo $this->__('Out of stock')?></span></p><?php endif;?>