Showing posts from February, 2014

Netmask doesn't make sense with host route, SIOCADDRT: No such process,

I had this weird situation that no where in hell I could make my new VM get connected to the network. It was a new machine just installed with RHEL 6.5, the VM settings were all good, it has connected to the right Virtual Network which it suppose to connect to in VM settings, the other VMs residing on the same Esxi host are all good and settings are all same, and I was like gazillion times checked every bloody settings. The IP that I had received from our beloved network team was like below: IP       : Netmask  : /26 ( Gateway  : I have assigned this bloody IP  to eth0, the result of ifconfig was same as other VMs but not exactly the same: # ifconfig eth0      Link encap:Ethernet  HWaddr 00:50:56:B7:4A:60           inet addr:   Bcast:  Mask:           inet6 addr: fe80::250:56ff:feb7:4a60/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:25 errors:0

Disable shell auto logout session in Suse Linux

Q: How to disable the auto logout session in Suse Enterprise Linux? A: Need to edit the file in the main profile.d folder: # vi /etc/profile.d/ Change TMOUT env variable from 300 to 0 and comment out echo in next line: ...  #readonly TMOUT="300" && export TMOUT    readonly TMOUT="0" && export TMOUT   #echo "Remoteboard Login detected. Timeout activated."; ...  Now issue the  source command or logout and login back again: # source As a result: # echo $TMOUT    0   and auto logout is disabled now.