Siemens Gigaset uses LGPL!


This caught me by surprise…

Your Gigaset S685/S675 IP’s firmware includes free software that is licensed under the GNU Lesser General Public License.

And there’s a link to the source code http://gigaset.siemens.com/shc/0,1935,hq_en_0_121785_rArNrNrNrN,00.html

Hmmm, now this might open up some possibilities… As it is LGPL, it indicates that there is probably some non-GPL code too, but it is very encouraging :-)



S685IP and the VCard format


Last night my wife harangued me about not having her phone directory installed on our new handsets so she can see who is calling.

She sent me a spreadsheet with all the contacts and their respective numbers. The manual for the S685IP is a little unintuitive regarding the formatting and options for the vcard format so I started doing some digging about.

Firstly, I created a dummy entry in my handset using all the fields I could find. Then I turned on Bluetooth and transferred it to my laptop so I could see what it looked like. The Bluetooth link worked great. I could have got the vcard from the handset via the web interface, but I just wanted to test the Bluetooth functionality. Here it is:

BEGIN:VCARD
VERSION:2.1
N:Lord;Alan
TEL;HOME:XXXX79XXXX
TEL;WORK:XXXX27XXXX
TEL;CELL:XXXX457XXXX
EMAIL:test@testingcentre.com
BDAY:1900-11-01T00:00
END:VCARD

I didn’t find a perfect csv to vcard converter for this structure, although this online one worked pretty well and only needed a bit of local massaging to import correctly. I also tried a rather old but still useful ruby project from sourceforge here, that also worked but left out the vital VERSION:X.X line altogether.

Anyway, as you should be able to see from above, the name field N: takes two parameters separated by a semicolon and does not use the discreet FN: and LN: format. Note that it is last name first.

The rest should be obvious. If you don’t have data for a field, leave the entire field out. I didn’t try sending a blank field to the handset, but leaving the fields out entirely worked just fine.

The only other “gotcha” is that the file containing your vcard data needs to be DOS formatted and not Unix formatted: CR+LF vs LF. If you are on Windows then you won’t have a problem but Linux users will need to use the tofrodos package (Ubuntu users just do sudo apt-get install tofrodos) and run the file through the unix2dos command before sending it to the handset. If you don’t, the transfer fails.

Once you have the format right, using the Web interface on the base station to upload the directory seemed to work absolutely fine. I was able to send a directory containing 70 entries to each handset. It isn’t blisteringly fast (I guess it took about 2 minutes/handset), but it’s a whole lot quicker than typing the entries in by hand!



Vista UAC: Faux Security or What?


I came across this article via slashdot.

If you are a sysadmin or have just fought to get Vista installed because of it’s much-vaunted security model based around UAC, read this and weep.

… Perhaps most importantly though, is the fact that Windows Vista’s newly-implemented security limitations are artificial at best, easy to code around, and only there to give the impression of security. Any program that UAC blocks from starting up “for good security reasons” can be coded to work around these limitations with (relative) ease. The “architectural redesign” of Vista’s security framework isn’t so much a rebuilt system as much as it is a makeover, intended to give the false impression of a more secure OS.

Oh dear.

Basically, it seems, by writing a two part application and an inter-process API - any hacker can circumvent UAC with relative ease.

It’s just as we always thought - Vista is just XP wearing an imitation fur coat.

Now where did I put that Ubuntu 8.04 CD?



Siemens Gigaset 685IP Phones and Asterisk Review


Last week I purchased a triple set of the brand new Siemens S685IP telephones. This is a DECT home telephone system with support for both PSTN and VOIP services. I’d spent quite some time looking for a decent replacement for our aging and now unreliable existing DECT handsets.

I bought these from a UK based on-line telephone vendor DSTelecom and their service and price was very good. I’d been waiting for this model to become available for a couple of months and they were offering the best price and the were first to get them in stock too!

There were a few reasons I selected these Siemens phones, but the main one is their ability to act as a basic telephone switch between handsets and incoming services. The Base unit can support up to 8 incoming services: 1 x PSTN, 1 x Gigaset VOIP Network, and 6 further VOIP (SIP) services.

This is the latest release and the handsets support very high quality voice between each other and on compatible networks. They also support Bluetooth so you can use a wireless headset and upload/download your mobile phone’s address book etc.

Here’s my personal review of these new phones for use in our home network. (Just click on the thumbnails for bigger images)

My initial impressions: Nice packaging and a good looking handset.

S685IP Box The S685IP Contents S685IP Handset

There are very easy to follow 1st time instructions that get the system installed and running. Once I’d plugged the phones in and got them charging, and base station in to the LAN, the phone started showing me the weather forecast in Lisbon! :-)

Once the physical install is done, you can do almost everything else from the web based interface of the base station. I’ll cover that in detail in a minute.

But first the handsets. When you get them you need to do a first time charge and discharge cycle. The batteries are supplied (a pair of AAA rechargeables). The first full charge took between 3 and 5 hours depending on the handset. To discharge them all, I made internal calls between the phones and put them all on handsfree. It took a good 8-10 hours for them to get fully discharged. So talk-time is excellent.

The first thing my wife commented on when we were talking internally was the voice quality. She said it was brilliant! And having now just had a conversation with her somewhat hard-of-hearing father, he also attested to the much better sound than our previous telephones. So that’s good!

They have a nice big colour screen where you can - apparently although I haven’t done this yet - add pictures to your directory so the phone shows the caller’s face or avatar when ringing.

Anyway, all-in-all my initial impressions of the system was very positive indeed. Now let’s look at how the whole DECT/VOIP thing is configured and what really makes these stand out for a home phone…

Accessing the Web based user interface was easy. Here’s the login screen you first see:

Login Screen

Due to the way I have our home network set-up, I used a static IP address for the base unit. It also supports DHCP however.

IP Configuration

Next is to configure some VOIP service providers. For me it’s my Asterisk server… Only one change seemed to be needed to get the registration to work: Add subscribemwi=yes to your sip.conf. I’m not actually sure if this made any difference, as I think I didn’t click the “Active” box first time round. But apparently this setting is needed to get the message waiting light working properly when you are using Asterisk’s voice-mail anyway.

The Connection Screen

You configure the details for each service by clicking the “Edit” button. Here’s a default screen showing most of the options.

Creating and Editing Connections

The next section allows you to select the codecs you’d like each service to support and their priority. As you can see again, it’s a simple, clean and easy-to-understand interface.

After that, you are ready to choose which handsets work with what services. I configured my handsets first to give them meaningful names: “Alan’s, Helen’s and Kitchen”. Note also you can upload/download your handset’s directory from here too. The directory needs to be in vcard format. I haven’t done this yet but I can’t see any major obstacles apart from the time it will take to get a csv spreadsheet into vcard.

Configuring Handsets Assigning Numbers to Handsets

This is, for me at least, the coolest feature. From this screen, you can choose which handset rings depending on the service it is coming in on. And you can decide which calls use the built-in answer machine and which do not. It’s basic switch functionality and when you stick Asterisk behind this you have a really flexible solution to handling multiple incoming lines and different types of users.

My wife and I both run our respective businesses from our home offices. Now we have individual incoming VOIP lines into Asterisk plus the home PSTN service. Calls for my business ring, my phone and the kitchen phone. Calls for Helen’s ring her phone and the kitchen phone. Neither uses the Siemens Answer machine but the features of Asterisk’s voice-mail system. Calls for the family ring all three phones and use the built-in answering machine. You can configure this any way you wish basically.

Now we have a basic phone system set-up there are various add-on features to play with ;-)

Here is the call forwarding screen where for each service you can decide what to do under certain conditions: “When Busy, No Reply or Always”. Simple but this is a home telephone system.

Basic Call Forwarding

Next, you have a section for creating dialling plans. You have here, the ability to choose which service gets used for particular number sequences. So, for example, you could put in the international prefix for Australia and only allow numbers with that prefix to go via a particular VOIP service. You can also block certain number sequences completely too.

The Network Mailbox screen allows you to configure the voice-mail service for each provider. So for Asterisk that will be the numbers configured in voicemail.conf. This enables the service to work with the handsets so you get message waiting indications and access to the mailbox without needing to know the mailbox number.

Network Mailbox

Also in the Telephony section of the configuration tree is an “Advanced Settings” screen. This lets you configure the way DTMF tones are handled, SIP and RTP port numbering and a few other odds and sods.

Advanced Settings

That’s it for the telephony section. Comprehensive, easy-to-use and nicely laid out.

The next area is “Messaging”. The handsets support SMS type texting and there is an option to configure a jabber server (IM). The Siemens Gigaset VOIP network, which you get automatically subscribed too when you buy your phone is the default configuration, but you can change it to your favourite IM network should you wish. Not being a big user of either SMS or IM I haven’t used this. Maybe one of my kids will show me later!

Also under the Messaging section you can configure a POP3 email server. It is for the network, not per handset so I am not sure of it’s value. I suppose for a family who have a single email account it might be useful. But this feature doesn’t really do it for me. If it was per handset or per network service it would make far more sense.

After Messaging come the last few configuration pages.

The first is called “Info Services” and you can, via the Gigaset Network, configure a few somewhat limited network based information feeds. You can enter an RSS feed, or choose a weather forecasting service. The weather seemed more useful for me so I set it to show me the weather for London for the next three days.

The final screen is the ubiquitous “Miscellaneous” settings. Here you can update the firmware directly from Siemens or use a locally stored file. You also get to choose the NTP server for the clock and whether to automatically deal with daylight saving time changes.

Miscellaneous Settings

That’s the Siemens S685IP phone system. Having had them running for a few days now, I’m very pleased. Everything has worked, call quality is excellent, ease-of-use is superb.

I have come up with a couple of tricks I’d like Siemens to do that would really enhance the overall functionality however. Two are to do with time. And as there is an accurate and network-synchronised clock in the base station, I can’t see this being terribly hard to do to be honest.

  1. Use the in-built clock to allow you to configure different network connection settings. So, for example, after 6pm, If a call comes in my office number I might not want it to ring the other (our kitchen or family) phone. Perhaps during a weekend also.
  2. Ditto with call forwarding. After 6pm or during weekends forward calls to my mobile for example…
  3. Ditto with the dial plans. Being able to route certain type of call via different networks is great, but being able to choose to do it during certain hours would be even better…
  4. The email and IM features are nice but in my opinion they would be far more useful if it was configurable based on per handset or service basis rather than a single account for all devices.
  5. Also to do with the email feature; I’d like the option of IMAP as well as POP3.

I’m sure there will be some other ideas that will crop up have as we get used to them, but all-in-all my first impressions are that this is an absolutely cracking phone system for home and small business. When you use this with Asterisk of course, they get even better. Some of the time based features could possibly be got around by some fiddling with Asterisk. If I get chance to work something out I’ll write it up here.



The rise and rise of OpenOffice.org


I went to a party this Saturday evening for a friend’s 40th birthday.

Nothing remotely interesting about that in itself, but I was rather struck yesterday whilst remembering some of the conversations I’d had the previous night…

There were many people who I did not know at all or as only a “face” from the school run and such like. And it was a typical party with a wide mixture of individuals and couples from all sorts of backgrounds [i.e, NOT all in IT], and quite a few were from Australia. When the conversation turned to “what do you then?” and I told them, almost everyone of the replies included a comment along the lines of “Oh, you mean like Open Office?”.

I was questioned in-depth about Open Source in general, the business model(s) that surround and support it and on how one should go about getting or using it.

Another common thread to our chats was the: “There’s no reason to go out and spend hundreds of pounds of Microsoft’s Office. OpenOffice does more than enough and is free”.

The general interest level in Open Source and specific familiarity OpenOffice.org was very encouraging indeed.

On the downside, the evening was less like a party and more like a sales pitch… But hey - that’s fine by me ;-)



A shared “drop-box” using Samba


Here’s a neat thing I managed to sort out the other day.

If you have read any of the “Untangle, Asterisk and File Server; All-in-One” series of posts before, then you will know that I’ve got a neat little VIA CN700 server for our home that is running all sorts of good stuff.

One of the things I have wanted to do for a while was to create a shared directory on the server so any family member can put stuff in there (like music files etc) but not be able to delete anything so as to prevent accidentally removing thousands of MP3s or irreplaceable digital pictures for example. This facility is apparently called a “drop-box”.

Hmmmm. Now let me think… Linux file permissions are rwx: Read Write eXecute. So, if you have write access, you can delete too. How can I fix this?

After some Googling and reading the Samba documentation it is actually pretty straightforward. Here’s how to make a drop-box on a Linux file server using Samba (CIFS) as the file sharing protocol and access mechanism.

  • Create a directory somewhere on your server and give it a sensible name: I called it “shared” and put it under the /home tree.
  • Create a Linux group for all users who you want to access the drop-box: I called the group “shared”. Then add your users to that group.
  • Using sudo or running as root, change the the directory settings as follows:
    • chmod 770 shared. This prevents access to the directory by anyone other than root, and the owner and group members.
    • chown nobody:shared shared. This changes the directory ownership to a user “nobody” and the group “shared”. It is important that you use a user who is NOT a member of the shared group. Any user will do, but it must be defined in/etc/passwd. I chose “nobody” as it has very minimal permissions and is unlikely to pose any sort of security hazard. On my server, the user nobody is configured thus:

      nobody:x:99:99:Unprivileged User:/dev/null:/bin/false

    • chmod g+s shared/. This sets the directory’s SGID bit so that any new files or directories created in our shared directory will have their group id set to that of the of the shared directory. This ensures all members of the shared group can read the contents.
    • chmod +t shared This sets the “sticky bit” of our shared directory. On Linux, setting the sticky bit, means items inside the directory can be renamed or deleted only by the item’s owner, the directory’s owner, or the superuser; without the sticky bit set, any user with write and execute permissions for the directory can rename or delete contained files, regardless of owner.
    • Here’s a listing of the directory showing how it should look now:

      drwxrws--T 3 nobody shared 62 2008-04-15 21:48 shared

Now we can set-up our share in Samba as follows:

[shared]
comment = Our Shared Data/Media
path = /home/shared/
read only = no
valid users = @shared
browseable = yes
inherit owner = yes

The valid users @shared line tells samba that only members of the “shared” group can access this share. And the line inherit owner = yes is what makes it all work. This tells samba to set the owner of any files created to the owner of the directory we are in. In this case the owner is “nobody”. As the sticky bit is set on this directory, only the user “nobody” or the superuser can remove files as their ownership is instantly changed by Samba when first created from the actual user to the user “nobody”.

After dropping a file into the shared directory over a samba connection the listing looks like this:

-rwxr--r-- 1 nobody shared 1272366 2008-04-17 14:17 14_-_Jubilee.mp3.

See how the file is owned by “nobody:shared” and only has group and other read set.

It might sound like a bit of a palaver, but it doesn’t take very long to set up. This is a very useful way of creating drop-boxes for many kinds of applications.

I hope someone finds this useful, and please leave a comment if you do!



Starting VirtualBox VMs from an Icon or CLI


I get an amazing number of hits (relatively speaking) from Google searches for VirtualBox related information. One of the more frequently recurring search goals is for a way to start a Virtual Machine (VM) from an icon or shortcut as opposed to through the VirtualBox Management Interface.

Well, it’s pretty easy really - at least on Linux, and from what I can gather it’s similar on Windows too. The commands below are from an Ubuntu Linux host so case is important; and the quotes are too! I am not sure about M$ - don’t tend to use it much :D - but it will probably be a similar syntax just case-insensitive.

Basically the command you need is:

VBoxManage startvm "Your Machine Name"

On my system I have a few VMs for testing various things. I have one, for example, called “Ubunty Hardy” as you can see from this screen-shot of the management console.

VirtualBox Management Console
(The machine name to pass to the VBoxManage startvm command is the text in bold)

To start the Ubuntu Hardy Virtual Machine from the command line I would simply use VBoxManage startvm "Ubuntu Hardy".

Similarly, to start the WinXP vm, I would need to type: VBoxManage startvm "WinXP".

So, it should be obvious by now that to create a desktop icon, panel button and the like to start a VM, or to start one automatically during boot-up for example, you just need to use the appropriate command-line instruction in your script, icon configuration or shortcut.

There are a great many parameters that can be given to the VBoxManage utilty. Running it without any switches gives a brief yet comprehensive overview. The VirtualBox documentation pages have plenty more details.

Hope this helps the many Googlers out there.



Petition for ODF at the National Archive


Thanks to Russell Ossendryver for pointing this out.

Recently it was announced that National Archives are converting their stock of electronic documents into Microsoft Open XML format. This format is not supported outside of Microsoft’s own products and ties the public to purchasing Microsoft Office should they wish to view the products, which is a cost of around £80-£120 depending on version. It also ties a user to purchasing Microsoft Windows which is a cost of roughly £150 for the Basic edition or purchasing a new PC with Windows which is a cost of at around £200 for a new machine. Instead Open Document Format which is an accepted ISO standard unlike Open XML should be used. Open Document Format is supported on many major platforms and is freely available at no charge. It includes all the necessary features for documents otherwise it would not be the ISO standard. There should not be a £250 charge to use Microsoft for accessing the National Archives electronically especially in light of the companies ongoing litigation with the EU regarding its anti-competitive actions.

Since the recent vote by the ISO, the bit about OOXML not being a standard is now obsolete unless there is a formal complaint made within 2 months. Also, M$ Office can cost a great deal more than £120 if you want any of the (more useful) enterprise features. Of course, Open Source offers them for free.

Nevertheless, although I doubt it will make much difference to the choice of document format used by the UK’s publicly owned National Archive, as it seems to have been infiltrated by Microsoft’s puppets at senior levels, it may well help to raise the profile of ODF and OpenOffice.org to the UK government.

And of course, it’s just fun to be able to make your point somewhere.

http://petitions.pm.gov.uk/ODFinNA/



Microsoft & Yahoo - what a mess…


I am really enjoying this saga.

Yet again, Steve Ballmer has shot himself in the foot BIG TIME with his open and threatening letter to the Yahoo board at the weekend.

Dear Members of the Board:

It has now been more than two months since we made our proposal to acquire Yahoo! at a 62% premium to its closing price on January 31, 2008, the day prior to our announcement. Our goal in making such a generous offer was to create the basis for a speedy and ultimately friendly transaction. Despite this, the pace of the last two months has been anything but speedy…

Given these developments, we believe now is the time for our respective companies to authorize teams to sit down and negotiate a definitive agreement on a combination of our companies that will deliver superior value to our respective shareholders, creating a more efficient and competitive company that will provide greater value and service to our customers. If we have not concluded an agreement within the next three weeks, we will be compelled to take our case directly to your shareholders, including the initiation of a proxy contest to elect an alternative slate of directors for the Yahoo! board. The substantial premium reflected in our initial proposal anticipated a friendly transaction with you. If we are forced to take an offer directly to your shareholders, that action will have an undesirable impact on the value of your company from our perspective which will be reflected in the terms of our proposal.

It is unfortunate that by choosing not to enter into substantive negotiations with us, you have failed to give due consideration to a transaction that has tremendous benefits for Yahoo!’s shareholders and employees. We think it is critically important not to let this window of opportunity pass.

Sincerely yours,

Steven A. Ballmer Chief Executive Officer Microsoft Corporation

You know what, Steve Ballmer has made two massive errors with this letter:

  1. He has basically admitted that Microsoft really need Yahoo, and in a sense, more than Yahoo need Microsoft.
  2. He has removed any possibility of a “graceful” way out for Microsoft if they decided that ultimately the value wasn’t there. (Can I use Graceful and Steve Ballmer in the same sentence?)

It was hardly surprising then, that the Yahoo board responded with a very unambiguous Piss Off!

Dear Steve:

Our Board has reviewed your most recent letter with regard to the unsolicited proposal you made to acquire Yahoo! on January 31, 2008.

Our Board carefully considered your unsolicited proposal, unanimously concluded that it was not in the best interests of Yahoo! and our stockholders, and rejected it publicly on February 11, 2008. Our Board cited Yahoo!’s global brand, large worldwide audience, significant recent investments in advertising platforms and future growth prospects, free cash flow and earnings potential, as well as its substantial unconsolidated investments, as factors in its decision…

…Our Board’s view of your proposal has not changed. We continue to believe that your proposal is not in the best interests of Yahoo! and our stockholders. Contrary to statements in your letter, stockholders representing a significant portion of our outstanding shares have indicated to us that your proposal substantially undervalues Yahoo!. Furthermore, as a result of the decrease in your own stock price, the value of your proposal today is significantly lower than it was when you made your initial proposal…

…We consider your threat to commence an unsolicited offer and proxy contest to displace our independent Board members to be counterproductive and inconsistent with your stated objective of a friendly transaction. We are confident that our stockholders understand that our independent Board is best positioned to objectively and knowledgeably evaluate our Company’s alternatives and to maximize value.

Not bad, they managed to get unsolicited in to their letter 4 times.

For sure, if Microsoft do acquire Yahoo (which they probably will) then there is now so much animosity between the two that Microsoft will end up buying a dead dog. The shareholders will take Microsoft’s money and leave with a smile on their face and the faithful Yahoo customers will leave in droves post acquisition. Yahoo’s decent staff will also probably not want to hang around that long either. Leaving Microsoft with a very hollow pyrrhic victory.

Yahoo’s technologies are based largely on Open Source solutions and we all know how long it took Microsoft to move Hotmail off OSS and onto NT - many years and lots of extra hardware…

So that’s really good news!

Keep it up Steve. If you carry on like this Microsoft will be finished a few years.



OOXML: Canada SAYS what everyone else thinks


Wow.

Damming, direct and demeaning…

ISO/IEC DIS 29500 OOXML Fast Track
Canadian Final Position Statement

Canada has carefully reviewed the results of the ISO/IEC DIS 29500 OOXML Fast Track Ballot
Resolution Meeting and determined after detailed analysis that Canada will maintain its
Disapprove vote.

Canada notes that major enhancements had been made to ISO/IEC 29500 during the Ballot
Resolution Meeting, but the general quality of the standard was not yet what was expected of
an ISO/IEC Standard, and that there were still too many unknowns.

Canada states that the inappropriate use of the fast track process for this DIS has rendered it
impossible to ascertain whether in fact 29500 meets the standard of quality and correctness
required in an International Standard.

Canada further recommends that the ISO/IEC JTC 1 Fast Track procedures and processes be
reviewed and enhanced to ensure that this situation does not arise again in the future, and
bring disrepute to the whole ISO and IEC International Standards process.

Finally, Canada recommends that the ISO/IEC DIS 29500 OOXML Fast Track documents and
materials, plus the enhancements made at the Ballot Resolution Meeting be submitted to
ISO/IEC JTC 1/SC 34 as a New Work Item for processing via the normal standards
development processes.

Next Page »

The Open Sourcerer is proudly powered by WordPress and themed by Mukkamu

This site (and most others) look better with Firefox Firefox