Glazenbakje's Weblog

Just another way to express myself

Netgear Readynas 2120 | Shutdown and restart option ( Software version 6.0 )

When you bought a readynas 2120 with the new software version 6.0. And your looking seriously for the option to shutdown or reboot the ReadyNas.
The solution is on the first page you can find. ( It’s the default over view page you get to see when you login for the first time to the Nas )

The button is quiet hidden beside the name Devices if you press there. A popup will shown with the option for shutdown or restart.

Cisco IOS Router | Enable configuration for KPN Customer Fiber Internet (KPN Glasvezel Particulier)

Few days ago. Me and my colleague were struggling with a configuration to enable internet access to a Fiber internet connection of KPN (it wasn’t a business line but a home user internet connection)

To enable this configuration. You can do the following:

On the internet interface (we used a HWIC-4ESW) the following commands. (With a business line the internet interface is not in a TRUNK mode).

interface FastEthernet0/3/1
 description CAP-ID INT Poortnummer met E-nmr
 switchport trunk allowed vlan 1,6 ( native should be there )
 switchport mode trunk
 mac-address <clone mac address of kpn experiabox>
 duplex full
 speed 100

Add a VLAN interface with the number 6. (You use an different interface first you can look to the VDSL Configuration http://glazenbakje.wordpress.com/2010/03/22/cisco-ios-router-vdsl-configuration-dutch-isp/)

interface Vlan6
 no ip address
 load-interval 30
 pppoe enable group global
 pppoe-client dial-pool-number 12

This dialer interface is pretty standard for a pppoe configuration

interface Dialer12
 description Customer Traffic PPPoE Connection
 mtu 1492
 ip address negotiated
 ip verify unicast reverse-path
 no ip redirects
 no ip proxy-arp
 ip nat outside
 no ip virtual-reassembly
 encapsulation ppp
 dialer pool 12
 dialer-group 12
 no cdp enable
 ppp pap sent-username <mac address KPN Experiabox>@direct-adsl password KPN
 ppp ipcp mask request
 ppp ipcp address accept

This internet interface had a 100mb/s download and upload.

Windows server 2008 R2 | Install Cleanmgr.exe (Disk Cleanup) without enabling Desktop Experience.

How to use cleanmgr.exe on a Windows server 2008 R2. To do this you need to to the following.
Go to a server where you have enabled Desktop Experience ( for example Terminal Server (RDS))

Locate the following files.
cleanmgr.exe and cleanmgr.exe.mui

Cleanmgr.exe you can find in the following folder C:\Windows\system32
Cleanmgr.exe.mui you can find in the follwoing folder C:\Windows\System32\en-US

Copy these files to a server where you haven’t enabled the Desktop Experience and copy them to to the located folders.

Create a short-cut of cleanmgr.exe to you desktop and you can use Disk Cleanup anytime you want.

By this action you can use Disk Cleanup on a server without Desktop Experience.

HP Procurve Switch | Recover boot sequence after removing boot.ini in the Monitor ROM Console.

If you have HP Procurve 2910al switches in the serial number range

Than you will face the issue that you aren’t able to upgrade to Firmware version 15.x Via the HP support my collegue got the following commands to try to solve this issue.

In boot monitor mode :

0. Monitor ROM Console
1. Primary Software Image
2. Secondary Software Image
Removing the boot.ini ===
=> rm /cfa0/boot.ini 

I recommend not to do this. Why?? When you have done this you need to reboot to the primary software and than upload the new software. If your lucky, your lucky. But if it fails. Your stuck. in a boot that will load the factory default configuration all the time and boots in the ROM Console.

First of al it’s good to know if you forget to save your configuration before executing the command to a file on your computer. You’re in trouble. Second of all they gave me not the how to solve the boot failure seen in the following message.

I was like d|ô.Ô|b’??. What happened now.

To Solve this issue you need to do the following:

Step 1. You need to execute the following command:

boot set-default flash primary

Test if the switch will boot with out going in to the Monitor Console

Step 2. Go to the configuration mode.

startup-default primary config config

Step 3. Make a small change because if you put your configuration in the system and the system doesn’t boot good you can start over again. If the change is saved you can put your own configuration back in the switch.. Advice reboot the switch again after you saved the configuration.

Cisco | SMB Switch SF 302-8P Configuration for wireless APs and Guest-LAN

Few days ago I configured a SF-302-8P cisco switch for usage of WiFi and a guest-LAN. To relize this solution i had to configure a few VLANs.
A tip before you start upgrade to the last version of this Switch because than you have the most commond CLI commands in this switch. If you have an older version than you don’t have a nice CLI like in the new Software version.

I figured out that configuring VLAN’s on the CLI was much easier than via the HTTP. So as advice I would give when you use VLAN’s use the CLI instead of the HTTP.

Below you will find a sample configuration for a WiFi solution and a guest-lan.

v1.2.9.44 / R750_NIK_1_2_584_002
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end <encrypted code>
!
vlan database
vlan 2,666
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
ip igmp snooping
ip igmp snooping vlan 1
ip igmp snooping vlan 2
hostname < hostname >
username cisco password encrypted <encrypted password privilege 15
ip ssh server
clock timezone " " 1
clock summer-time web recurring eu
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server <NTP server>
ip telnet server
!
interface vlan 1
ip address <ip address> 255.255.255.0
no ip address dhcp
!
interface vlan 2
name MY-Guests
!
interface vlan 666
name WIFI
!
interface fastethernet1
description Cisco-AP-1042-office
switchport trunk allowed vlan add 2,666
!
interface fastethernet2
description Cisco-AP-1042-hall
switchport trunk allowed vlan add 2,666
!
interface fastethernet3
description Cisco-AP-1042-showroom
switchport trunk allowed vlan add 2,666
!
interface fastethernet8
description Guest-Lan
switchport mode access
switchport access vlan 2
!
interface gigabitethernet1
description Cisco-WLC-2504
switchport trunk allowed vlan add 2,666
!
interface gigabitethernet2
description Cisco-to-<other switch>
!
ip default-gateway < router gateway >

More information about these serie of the Switch: http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps10898/data_sheet_c78-610061.html

Follow

Get every new post delivered to your Inbox.

Join 365 other followers