Skip to main content

a silhouette of a person's head and shoulders, used as a default avatar

IPv6, prefixlen

This story started when I discussed with our openSUSE member Marek Stopka and he told me that he is running IPv6 network but because of really bad support in YaST2 he needs to configure that manually.
Oh, what a shame! So we made a deal that he'll test my patches and I'll try to implement initial support.
So now we have initial support for IPv6 in YaST. Initial means that you're able to configure "primary" address IPv6 type. Nothing more, nothing less.
Because of this I add new parameter to configure prefixlen (in v6 there is no netmask as we know from v4). In UI you can configure prefix with a little trick - instead of 255.255.255.0 you can write "/24".

Ok, example of CLI:


linux-1pi7:~ # yast lan list
0 79c970 [PCnet32 LANCE], Not configured

1 79c970 [PCnet32 LANCE], Not configured

linux-1pi7:~ # yast lan edit id=0 ip=2001:15c0:668e::5 prefix=48
Ethernet Network Card
MAC : 08:00:27:80:b5:07
Device Name: eth1
Started automatically at boot
IP address: 2001:15c0:668e::5/48


linux-1pi7:~ # yast lan list
0 Ethernet Network Card, 2001:15c0:668e::5

1 79c970 [PCnet32 LANCE], Not configured

linux-1pi7:~ #


And some screenshots from ncurses UI:






Of course there's still much work to implement full support, routing, network services support, test all possible cases, AutoYaST, etc.
Implemented in yast2-network-2.17.1

the avatar of Rupert Horstkötter

NNTP Access to the openSUSE Forums

For folks not that used to web interfaces, the openSUSE Forums team provides a secondary interface to our forums – NNTP. The intention of this post is to raise your attention on this possibility.

What is NNTP?

Using our NNTP interface, you’re able to participate in forums discussions without accessing the web interface at all. You’re able to use any newsreader supporting the RFC standard to read and even write posts. Actually your user-id gets recognized in the web interface if you set up your newsreader properly.

From my personal experience especially developers are in general more familiar in using mailing lists instead of browsing a web interface. One of our desires is to get more developers to the board. On the one hand, developers can provide competent assistance especially to our new users – on the other hand, the forums are able to provide a lot of feedback back to developers. The advantages are obvious!

The NNTP interface to the forums provides a neat way to browse significantly more content with less effort. You can get a quick overview about forums content using NNTP. Certainly you’ll not be able to see the great template created by Robert Lihm, but every choice has its drawback – Good to have a choice at least, isn’t it?

For detailed instructions on how to set up your newsreader properly to participate in forums discussions, be sure to check out the NNTP section within our forums FAQ.

We’re really looking forward to your contribution!

a silhouette of a person's head and shoulders, used as a default avatar

FirmwareUpdateKit

[PS. I coudn’t resist. I just had to name the package ‘*Kit’. 😉 ]

Need to do a firmware update with a DOS program?

Can get tricky if you don’t have a DOS system around. We used to provide a bootable floppy image for that in the past (package dosbootdisk). But who has a floppy drive anyway?

So, here comes the new
FirmwareUpdateKit
package. Install it and run run, e.g. fuk --grub foobar.exe That’s it. The next reboot gives you the option to start DOS and run foobar.exe.

fuk can also create bootable ISOs and, of course, even floppy images.

a silhouette of a person's head and shoulders, used as a default avatar

Converting Babylon Dictionaries to Stardict Format in OpenSuse

This blog does not add any information to the documentation you can find around. Anyway, it is not too long since someone was able to make Babylon dictionaries usable by software other than the proprietary Babylon application. And they have been trying for years… so it has not been a trivial step 🙂

If you do not know Stardict, you can get it from Yast. This is the official site.

A few dictionaries are also linked – ready and free to use – at Stardict website. However, I used Babylon when I was a Windows user and i have to admit that their dictionaries remain unbeaten. Matters not what language you want, mono-language or bi-language, technical, general purpose etc etc… they just rock!

You can get tons of dictionaries for free from Babylon website:

Now, go to Yast Software Manager and search for dictconv. Alternatively, you can install from source (which is what I personally did).

Installing is very easy: ./configure and then make all install

Now you’re all set. To use it to convert:

cd to the directory where you have the .BGL dictionaries and type: dictconv INPUT_FILENAME.BGL -o OUTPUT_FILENAME.ifo

Pay attention to the extension: must be .ifo. This will generate 3 files for each BGL dictionary: .ifo, .idx, .dict

Place all these 3 files in /usr/share/stardict/dic/ creating a separate folder for each dictionary. Then rebook Stardict and go to Manage Dictionary (bottom right): there you can select what comes first, activate or deactivate etc etc

Nothing difficult but def worth, and not only for non native speakers.. there are lots of technical terminology Babylon dictionaries that may well come handy.

Notice that with Stardict you can also implement Pronunciations of the typed words: see Stardict site: “WyabdcRealPeopleTTS package make StarDict pronounce English words. It is just many .wav files. Extract(tar -xjvf) the tarball at /usr/share/”.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sooo well… Have fun ~ Buon divertimento ~ Viel Spaß ~ I que te diviertas ~ Maak plezier ~ ha så roligt [hmm i’m just hoping the dictionaries mentioned just above are not making me do some poor figure for these few transations of “Have Fun”.. cuz i have no idea for any language except Italian :D]

a silhouette of a person's head and shoulders, used as a default avatar

running YaST in debugger

First of all - I like Python.
Second - we have some prototype for mysql-server configuration written in Python I never tried before.

So I check-in code from subversion and try to run. Unfortunately it exits with some errors like "couldn't initialize UI". So I open the code in Eric - great Python debugger.

With breakpoints, globals and locals variables dispatcher it was really easy to find problematic places in code. Also possibility to write code interactively into interpreter is very helpful.
And finally module runs ;-)


Sorry, video is pretty slow - probably ati driver problem ;-(

the avatar of James Willcox

a silhouette of a person's head and shoulders, used as a default avatar

Installing Enthought Tool Suite (ETS) on OpenSUSE 10.3

The Enthought Tool Suite (ETS) is a collection of components developed by Enthought to construct custom scientific applications. It includes a wide variety of components, including:

  • an extensible application framework
  • application building blocks
  • 2-D and 3-D graphics libraries
  • scientific and math libraries
  • developer tools
  • MayaVi Data Visualizer

It is available for Linux, Mac OS X and Windows, but they don't provide binaries for OpenSUSE, I don't now why.

Here are just some steps to get it running on OpenSUSE 10.3. But, you have to install some packages, check here before to proceed:
My system:

ionut@vaio:~> cat /etc/SuSE-release
openSUSE 10.3 (X86-64)
VERSION = 10.3

I installed the suite in /usr/local/lib64/python2.5/site-packages so, let's create the directories:

sudo mkdir -p /usr/local/lib64/python2.5/site-packages

Get the souces for ets tool from their repository:

svn co https://svn.enthought.com/svn/enthought/ETSProjectTools/trunk ETSProjectTools

Build ets (it is a kind of wrapper for their repository), a tool that automates the checkout process.

cd ETSProjectTools
python setup.py install

Get the latest souces for the project files, and build the eggs for the components:

ets co ETS
cd ETS_3.0.0b1
svn export https://svn.enthought.com/svn/enthought/sandbox/egg_builder.py
python egg_builder.py

If the build was successful, you would not have received any errors (though there will be one warning at the end about not building egg.info files) and the built eggs would be residing in a directory called dist

Install the eggs in the directory which we created at the beginning:

sudo easy_install -f dist/ -H dist/ ETS

Now you can try some examples which are included:

  • check if Traits is working:
python Traits_3.0.0b1/examples/demo/Applications/converter.py
  • check if Mayavi is working:
python Mayavi_3.0.0a1/examples/mayavi/scatter_plot.py
python Mayavi_3.0.0a1/examples/mayavi/streamline.py

or just run mayavi2 command.

In my case everything is working fine, I hope that also for you. Here are some references:

the avatar of Andrés G. Aragoneses

WTF

How can I clear the list of elements of a Gtk.ComboBox??? It doesn't seem to be a way, but maybe if I'm able to get the number of elements... After an hour searching, when I was going to give up, I just found this:


combo_box =
GTK_COMBO_BOX (NAUTILUS_NAVIGATION_WINDOW (window)->view_as_combo_box);
/* Clear the contents of ComboBox in a wacky way because there
* is no function to clear all items and also no function to obtain
* the number of items in a combobox.
*/
model = gtk_combo_box_get_model (combo_box);
g_return_if_fail (GTK_IS_LIST_STORE (model));
store = GTK_LIST_STORE (model);
gtk_list_store_clear (store);


Clearly, we need some improvements in Gtk+ API. I'd bet it's much easier with MWF unfortunately. At least, the developer that coded this was kind enough to file a bug, which BTW is 3 years old and, of course, still not fixed.
a silhouette of a person's head and shoulders, used as a default avatar

Welcome to the Official openSUSE Forums !

After announced on March 11, 2008, official openSUSE forums has been established and starting work for providing better support for openSUSE community on June 09, 2008. Forums merges 3 existing openSUSE forums, suseforums.net, suselinuxsupport.de and the openSUSE support forums at forums.novell.com.

openSUSE forums

You could use single sign-on login with your Novell/openSUSE account. It’s also should be work with your existing account at existing forums but I didn’t try it ;-), so, please try to login before create another new account.

Thanks for all of Novell staff and openSUSE community members who make the dream come true. Quoting what Michael said last 3 month : “a big gain for the whole openSUSE Community !”

a silhouette of a person's head and shoulders, used as a default avatar

http-server, dns-server integration

Actually this is not new feature, but because I re-tested that functionality today, I found it's good time to describe it in a few words.
Integration in this case means that you can configure DNS server records while adding new virtual hosts for apache HTTP server (with YaST, both on the same machine)

yast2-dns-server

First - DNS server must be installed, enabled and running:



Then add new zone (it must be type "Master"):



yast2-http-server

Then in yast2-http-server module add new virtual host. Server name belongs into dns zone "example.com" we configured in yast2-dns-server:

Virtual Host ID must be valid IP address


And here we can see there is button "Add to Zone" which in this case will add record www.example.com with IP address 10.20.30.40 into example.com zone



yast2-dns-server

When you open YaST DNS server again, you can see that new record for "example.com" zone was correctly added.