scanning for new scsi devices

scanning for new scsi devices.

New devices can be added using echo “scsi add-single-device <h> <b> <t> <l>” > /proc/scsi/scsi where the variables are host, bus (channel), target (scsi id) and lun. The success (or otherwise) of this command can be determined by sending a subsequent cat /proc/scsi/scsi command.

..from the scsi-howto (proc interface) at www.tldp.org – see it for more info.

i have a script “rescan-scsi-bus.sh” here on debian which uses the above method to recheck devices.

HTH ritch.

This was written in 2005. I found the rescan-scsi-bus.sh script on medusa but have no idea which package it came from. It wasn’t on any other Fedora 14 install so it must have come from somewhere. It scans the SCSI bus and finds the drive perfectly well.

Re-scan the SCSI bus in Linux after hot-swapping a drive

A better way to find out the correct host controller:

# udevadm info -a -p /sys/class/scsi_generic/sg0

where sg0 is the device node of which you’d like to know the corresponding SCSI controller – down that tree you will find hostX mentioned as part of the device path.

And thanks for the rescanning tip, it saved my day.

via Re-scan the SCSI bus in Linux after hot-swapping a drive | Racker Hacker.

Portable software for USB, portable and cloud drives

PortableApps.com is the world’s most popular portable software solution allowing you to take your favorite software with you. A fully open source and free platform, it works on any portable storage device (USB flash drive, iPod, memory card, portable hard drive, etc) as well as local storage and cloud storage options. With millions of users all over the world and a full collection of open source software as well as compatible freeware and commercial software and partners in the software and hardware industry, PortableApps.com is the most complete solution for life on the go.

PortableApps.com – Portable software for USB, portable and cloud drives.

B&N Pummels Microsoft Patent Claims With Prior Art

It is always a temptation to an armed and agile nation
To call upon a neighbour and to say: —
“We invaded you last night–we are quite prepared to fight,
Unless you pay us cash to go away.”

And that is called asking for Dane-geld,
And the people who ask it explain
That you’ve only to pay ’em the Dane-geld
And then you’ll get rid of the Dane!

It is always a temptation for a rich and lazy nation,
To puff and look important and to say: —
“Though we know we should defeat you, we have not the time to meet you.
We will therefore pay you cash to go away.”

And that is called paying the Dane-geld;
But we’ve proved it again and again,
That if once you have paid him the Dane-geld
You never get rid of the Dane.

It is wrong to put temptation in the path of any nation,
For fear they should succumb and go astray;
So when you are requested to pay up or be molested,
You will find it better policy to say: —

“We never pay any-one Dane-geld,
No matter how trifling the cost;
For the end of that game is oppression and shame,
And the nation that pays it is lost!”

–Rudyard Kipling

Click Here

Above Kipling quote came from a comment posted here.

Messaging apps, VoIP already eating into carrier revenues, study finds

The study, which was carried out on behalf of Mavenir by mobileSQUARED, found that a third of operators believe operator traffic from messaging, voice and video calling will decline between 11% and 20% over the next 5-10 years. Another 20% of operators expect even steeper declines in the 31% to 40% range.

via Messaging apps, VoIP already eating into carrier revenues, study finds.

IP Phone Systems | Zultys MX250

The MX250 IP PBX is a feature-rich enterprise-class business IP telephony system that supports high quality VoIP and Unified Communications services for up to 250 users on a single appliance and can be seamlessly expanded through an MXgroup network to support up to 10,000 users and 128 offices across an enterprise-wide Unified Communications system. The award-winning MX250 IP PBX is based on SIP Open Standards. In addition to Zultys’ enterprise-class IP phones, it can easily support legacy phones and a wide range of SIP-based third party devices to help companies more easily deploy the IP telephony system they need.

Via IP PBX – PBX System – IP Phone Systems | Zultys MX250.

Click Here for the MX250 Data Sheet

Force iptables to log messages to a different log file

Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user defined chains.

By default, Iptables log message to a /var/log/messages file. However you can change this location. I will show you how to create a new logfile called /var/log/iptables.log. Changing or using a new file allows you to create better statistics and/or allows you to analyze the attacks

Via Force iptables to log messages to a different log file.

Speex: a free codec for free speech

Speex is an Open Source/Free Software patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs. Finally, Speex is part of the GNU Project and is available under the revised BSD license.

via Speex: a free codec for free speech.

Used for Siri.