Friday, May 15, 2015

Google Chrome not starting in Linux



Google Chrome not starting in Linux


Now you cannot run google-chrome as root user on updated versions, To run Google Chrome as standard user (while Logged in as Root)
open terminal and type:
adduser -u chromeuser OR useradd -m chromeuser
To run google chrome use command:
gksu -u chromeuser google-chrome OR sux chromeuser google-chrome
If you don't want to run it from Terminal then add chrome in taskbar and then right-click on it, select properties and add the above command in the command parameter.

Wednesday, April 22, 2015

Cisco Prime Lan management solution 4.2 Useful Links for begineers



Beginner of Cisco Prime LMS 4.2

please go through below link will be helpful for understanding and implementing cisco LMS







https://www.youtube.com/watch?v=F6ya19RITuI&list=PLA38519EC8791002F


 Compliance_and_Audit_Manager

http://www.cisco.com/web/learning/le31/le46/nmtg_training/vods/lms/lms42/compliance/Compliance_and_Audit_Manager.htm

WPAD DNS QUERY ISSUE

Hi Friends,

In an network environment, PC is configured as " automatically detect settings" on Internet explorer, it will query for the proxy server using WPAD (Web Proxy Auto discovery Protocol). it can be achieve two ways DHCP / DNS server.

here problem we faced in DNS server,

Application team has migrated to New DNS server 2012.  From PC , we are unable to ping wpad.domin.name but it exist in the DNS server.after all the troubleshooting, we found above Microsoft 2008, global query block list is enabled . hence, WPAD will have local IP address will not be resolve untill it is unblocked.


Use the dnscmd command-line tool to manage the global query block list. Open a command line prompt, and then do the following:
  1. To check whether the global query block is enabled, type the following:
    dnscmd /info /enableglobalqueryblocklist
  2. To display the host names in the current block list, type the following:
    dnscmd /info /globalqueryblocklist
  3. To disable the block list and ensure that the DNS Server service does not ignore queries for names in the block list, type the following:
    dnscmd /config /enableglobalqueryblocklist 0
  4. To enable the block list and ensure that the DNS Server service ignores queries for names in the block list, type the following:
    dnscmd /config /enableglobalqueryblocklist 0


Monday, April 13, 2015

how to troubleshoot DHCP issue on cisco switch ( Not getting IP address on the desktop)

Hi Friends,

I have faced a interesting problem in Cisco switch.


DHCP Server --> CORE Switch --> Distrubution Switch ---> Access Switch---> Desktop

Issue : Desktop not receiving IP address from DHCP server.


I have troubleshoot the issues as follows.

1. Verified Desktop is connected on correct VLAN.
2, Vlan is allowed on Trunk.
3. Verified DHCP snooping enabled.
4. Verified on SVI - ip helper address configured
5. reachability  to DHCP server is verified by assigning static IP address on the desktop.

by this time, i could not notice any issues on the network, if assigning static IP address is working fine, but not getting IP address from DHCP.

Finally i have found that it failed due to wrong root bridge selected.

sh spanning-tree vlan id X.

please ensure that VLAN root bridge should be switch has SVI interface, not that access switch.

remove spanning-tree vlan priority 0 if configured.


Regards






Wednesday, April 1, 2015

How to configure Cisco 3 / 4 G router ( Etisalat)




Please find configuration of Cisco router - 4G

router#cellular 0 lte profile create 1 Etisalat none

chat-script lte "" "AT!CALL1" TIMEOUT 20 "OK"

!
interface Cellular0
 description Primary_4GLTE
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation slip
 dialer in-band
 dialer pool-member 1
 dialer-group 1
 async mode interactive
!
!
interface Vlan1
 ip address 10.10.10.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly in
!
interface Dialer1
 ip address negotiated
 ip nat outside
 ip virtual-reassembly in
 encapsulation slip
 dialer pool 1
 dialer idle-timeout 0
 dialer string lte
 dialer persistent
 dialer-group 1
!
!
ip nat inside source list 198 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
!
dialer-list 1 protocol ip permit
!
access-list 198 permit ip any any
!
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 stopbits 1
line 3
 script dialer lte
 modem InOut
 no exec
 transport input all
 speed 384000

Monday, February 23, 2015

Cisco IPS 4260 - To set Cli timeout

Cisco IPS 4260 - To set Cli timeout 

hi Friends,

small tip : how to set cli timeout on Cisco IPS

By default , timeout is 0 hence, it never get timed out. you may face issue like

Error: The maximum allowed CLI sessions are currently open, would you like to terminate one of the open sessions?[no]:

Type Yes

CLI ID   User      Privilege
XXX     YYYY     ZZZZZZZ

Enter the CLI ID to clear[]: XXX

configuration:

IPS# conf t
IPS(config)# service authentication
IPS(config-aut)# cli-inactivity-timeout 5000
IPS(config-aut)# show settings
   attemptLimit: 0 <defaulted>
   password-strength
   -----------------------------------------------
      size: 8-64 <defaulted>
      digits-min: 0 <defaulted>
      uppercase-min: 0 <defaulted>
      lowercase-min: 0 <defaulted>
      other-min: 0 <defaulted>
      number-old-passwords: 0 <defaulted>
   -----------------------------------------------
   permit-packet-logging: true <defaulted>
   cli-inactivity-timeout: 5000 default: 0
IPS(config-aut)# exit
Apply Changes?[yes]: yes
IPS(config)# end
IPS#



i hope this information will help you.

Regards,

Manoj

use "archive command" to save configuration of Cisco switches

use archive command to save configuration of Cisco switches

Hi Friends,

sometimes we worried about losing the configuration , while working on larger enterprise, we will have management and monitoring server which stores all the configurations however, sometime we may lose configuration which will be difficult situation to face in real time.

To avoid such kind of issues, we can use archive commands to take backup of the switch configuration whenever we typed write memory command.

i am using FTP server to archive the configuration. please type below commands

ip ftp username XXXXX
ip ftp password XXXX

archive
 log config
  logging enable
  notify syslog
  hidekeys
 path ftp://servername/Network_Backups_FTP/Access_Switch/admin_10.0.10.0/10.0.10.1_Backup_config
 write-memory
 time-period 10080


show archive

The maximum archive configurations allowed is 10.
The next archive file will be named ftp://servername/Network_Backups_FTP/Access_Switch/admin_10.0.10.0/10.0.10.1_Backup_config_-<timestamp>-2
 Archive #  Name
   1        :Error - Bad file number
   2        ftp://servername/Network_Backups_FTP/Access_Switch/admin_10.0.10.0/10.0.10.1_Backup_config <- Most Recent
   3
   4
   5
   6
   7
   8
   9
   10


Most probably 1 - you may face Bad file number error if any issue with configuration on FTP username or password or source interface or folder permission issues


Checklist if you face bad file number error

  •  please ensure username, password are correct by accessing FTP site through browser.


  • To change the source interface of the FTP, please issue below commands on configuration mode

                    ip ftp source-interface vlanXX
                    where xx vlan or interface IP address which having access to server
  • please ensure the username has read/write permission on the folder to create files. Best way to check - install filezilla client - logging with username and password , try to move or copy the files from your laptop.





Thanks for visiting my page..

i hope this information will help you.

Regards
Manoj



Replacing Faulty Switch on Stack

Replacing Faulty Switch on Stack

Hi Friends,
i would like to provide you simple and easy method to replace the faulty switch on Stack without restarting all the switch.


Step 1: logging to stack switch ( Only Master switch accessible), and issue the command show switch

Switch#show switch
Switch/Stack Mac Address : 0000.0001.0001   
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0000.0001.0001    15     0       Ready              
 2       Member 0000.0001.0002     10     0       Ready              
 3       Member 0000.0001.0003     5      0       Ready              
 4       Member 0000.0001.0004     4      0       Ready

Please ensure priority must be high for Master switch. By default, all the switch will have priority 1.

Step 2 : Identity the switch to be replaced

Step 3 : unpack the new Switch , identify model and IOS version must be same replaced switch on that slot.

Step 4 : Note the stack port cable ( backside of the switch) must be connected to same port was connected.

Step 5:  power off faulty switch . this example assume Switch 4 is faulty. login to master switch , Type same command # show switch

Switch#show switch
Switch/Stack Mac Address : 0000.0001.0001   
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0000.0001.0001    15     0       Ready              
 2       Member 0000.0001.0002     10     0       Ready              
 3       Member 0000.0001.0003     5      0       Ready              
 4       Member 0000.0001.0004     4      0       removed

Step 6 : replace the faulty switch with new.

Step 7 : login to master switch , issue same command show switch
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0000.0001.0001    15     0       Ready              
 2       Member 0000.0001.0002     10     0       Ready              
 3       Member 0000.0001.0003     5      0       Ready              
 4       Member 0000.0001.0005    1     0       Ready

Switch priority will be shown as 1, it is best practice to change the priority to other value.

Switch#conf t
switch(conf)#switch 4 priority 4

switch has been successfully replaced


Regards,
Manoj