Stuff…

I know I will forget.

Stuff… header image 4

Entries Tagged as 'Uncategorized'

Finding RPM install date

June 21st, 2010 · No Comments

How to list the install date for RPM packages

rpm -qa –queryformat ‘%{installtime} %{name}-%{version}-%{release} %{installtime:date}\n’ | sort -nr +1 | sed -e ’s/^[^ ]* //’

[Read more →]

Tags: Uncategorized

Default a port on old Cisco 3548

June 20th, 2010 · No Comments

I wanted to default the configuration of a number of ports on an old Cisco 3548. The latest version of IOS support on this system does not support the range command, so, had to manually run a small script (bash 1 liner on linux) and paste in the contents:
$ for i in `seq 40 [...]

[Read more →]

Tags: Cisco · Coding · Networking · One Liners · Uncategorized

Gnokii 0.6.28 install on Ubuntu 10.04.1 (lucid)

June 11th, 2010 · 1 Comment

Installed Gnokii from the standard Ubuntu lucid repositories, however, it installed Gnokii 0.6.28.  This was fine, but, upon testing came across an issue.
Notes: Phone Nokia 7250, Cable CA-42
Running in debug mode:
# gnokii –sendsms +MOBILE_NUMBER
….
debugging information

Please enter SMS text. End your input with <cr><control-D>:
would work fine to this stage.  On entering a message it would some [...]

[Read more →]

Tags: Linux · Networking · Operating System · Uncategorized

Change linux virtuozzo VE/CT quota via command line

January 13th, 2010 · No Comments

~]# vzquota show 102
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
   resource          usage       softlimit      hardlimit    grace
  1k-blocks       95325856       104857600      104857600
     inodes         683893         2000000        2200000
 ~]# vzquota setlimit 102 -b 113246208 -B 113246208
 ~]# vzquota show 102
vzquota : (warning) Quota is running, so data reported from quota file may [...]

[Read more →]

Tags: Linux · Operating System · Uncategorized · Virtualisation

Ubuntu 8.04 on Dell R410 network issue

December 9th, 2009 · No Comments

Installing Ubuntu on a new Dell R410 works, however, the network interfaces are not detected.  It appears the network interfaces included in the Dell R410 are Broadcom BCM5716’s.
Apparently the bnx2 driver in included in Ubuntu 8.10 and later, however, no backported driver has been provided as yet.
A process for getting the interfaces working would be [...]

[Read more →]

Tags: Linux · Networking · Operating System · Uncategorized