Re: [opensuse-virtual] [Fwd: virtualisation: xen vs kvm]
- Original Message - As said, i would report back. It seems i met another pygrub-issue, If you start with the yast2 module, remove the default disk and 1) add a bootable cdrom and _next_ 2) add you boot/root disk, you get a problem where the system starts to install but fails after the initial reboot. Probably because you're making the CDROM the first entry, which is the one Xen will boot from. For installation, just specify the actual disks in this section. You can specify the CDROM, or even better, an installation URL, in the installation settings section later. -- James Oakley jf...@funktronics.ca -- To unsubscribe, e-mail: opensuse-virtual+unsubscr...@opensuse.org To contact the owner, e-mail: opensuse-virtual+ow...@opensuse.org
[opensuse-factory] EVMS in 10.3
According to https://bugzilla.novell.com/show_bug.cgi?id=224462 , EVMS installation was disabled in 10.2 and was to be reenabled in 10.3. I'd like to try it in RC1, but it is apparently still not enabled. Is there any way I can enable it myself? -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-packaging] Re: kernel-*.spec fixed strings are no fun
On Friday 10 August 2007 1:21 pm, Jan Blunck wrote: On Thu, 09 Aug 2007 21:34:31 +0200, Jan Engelhardt wrote: the kernel-*.spec files contain a lot of hardcoded strings, such as 2.6.22.1 for what's currently cooking. This causes a major pain when trying to bump the version by oneself. All occurrences need to be replaced by more-or-less blunt scripts (simple perl -pe 's///'), since the .in files are not available. If these could please be added to the kernel-source pack, that would greatly simplify work. Well, most of the scripts need direct access to our internal CVS server. So just putting them somewhere doesn't help. Although this is something I already have on my to-do list. I ended up writing my own script to build kernel spec files from templates, which I have attached. Basically, I made 3 spec templates from the specs I found in the buildservice, using @@VARIABLENAME@@ where I wanted substitutions: kernel-source.spec.in kernel-binary.spec.in kernel-syms.spec.in Then I created a bunch of files containing flavor-specific variables: kernel-bigsmp.vars kernel-debug.vars kernel-default.vars kernel-kdump.vars kernel-ppc64.vars kernel-s390.vars kernel-um.vars kernel-vanilla.vars kernel-xenpae.vars kernel-xen.vars Here's the contents of kernel-bigsmp.vars, for example: FLAVOR=bigsmp EXCLUSIVEARCHES=%ix86 SUMMARY=Kernel with PAE Support DESCRIPTION=This kernel supports up to 64GB of main memory. It requires Physical\n\ Addressing Extensions (PAE), which were introduced with the Pentium Pro\n\ processor. Hope that helps, -- James Oakley [EMAIL PROTECTED] buildspecs.sh Description: application/shellscript
Re: [opensuse-packaging] Packages for sale
On Wednesday 11 July 2007 6:51 am, Dirk Mueller wrote: libdnet libdnet-devel I've had a libdnet package in home:jimfunk since September. Since I occasionally have a use for it, I don't mind maintaining it. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] python-elementtree in Factory
On Friday 23 February 2007 5:07 pm, Christoph Thiel wrote: On Fri, Feb 23, 2007 at 02:22:27PM -0400, James Oakley wrote: I've noticed that python-elementtree was removed in Factory. Will it be returning? No, most likely it won't. It's a very popular module that's used in a lot of Python projects, including osc. osc already has code in place to use Python 2.5's xml.etree. (We just need to drop the python-elementtree requirement for $dist = 10.2). All other packages that depended on python-elementtree should have been patched to use xml.etree. If there are still hidden problems with this, let me know! Is there any functionally that existed in python-elementtree, which is not part of xml.etree that you relied on? (I only know of SimpleXMLWriter, which was only used by repoview and therefore is now being shipped with repoview.) A list of differences can be found at http://codespeak.net/lxml/compatibility.html I have no problem porting my code, but other people may have trouble. Why not make ElementTree raise a DeprecationWarning for a short period to give people a chance to catch up? -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] python-elementtree in Factory
On Monday 26 February 2007 11:12 am, Christoph Thiel wrote: A list of differences can be found at http://codespeak.net/lxml/compatibility.html Are you sure this is really the in-tree Python 2.5 etree.xml? It looks like a different thing to me -- at first glace. Ah, you're right. lxml.etree is an ElementTree implementation under lxml, and xml.etree is a subset of Fredrik Lundh's module. I have no problem porting my code, but other people may have trouble. Why not make ElementTree raise a DeprecationWarning for a short period to give people a chance to catch up? I guess we can add the package back, in case it really turns out to be a problem. But as of today I'm not aware of any. According to this, xml.etree is a subset of the full distribution: http://docs.python.org/whatsnew/modules.html#SECTION000142 For myself, this is not really a problem, since I can update my code and I only use core features. However, there are plenty of programs that use ElementTree directly that are not supplied in OpenSUSE. I know of a couple of programs that are using local forks of some of my code using ElementTree. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] python-elementtree in Factory
On Monday 26 February 2007 4:21 pm, Christoph Thiel wrote: The way I see it, most projects actually ship their own in-tree copy of ElementTree (e.g. smart does). So, most of the stuff should be alright -- or needs to be ported to 2.5's xml.etree anyways. So, for now, I'd suggest we stick with the current sitation -- without python-elementtree. If it turns out, there is actual demand for it, we will have to reconsider. That's cool. I'll send patches downstream to the projects using my code. Thanks, -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse-factory] python-elementtree in Factory
I've noticed that python-elementtree was removed in Factory. Will it be returning? It's a very popular module that's used in a lot of Python projects, including osc. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] python-elementtree in Factory
On Friday 23 February 2007 2:36 pm, [EMAIL PROTECTED] wrote: Hi, I've noticed that python-elementtree was removed in Factory. Will it be returning? Probably not, as it's now part of the standard library. # rpm -ql python-xml | grep -i elementtree /usr/lib/python2.5/xml/etree/ElementTree.py /usr/lib/python2.5/xml/etree/ElementTree.pyc /usr/lib/python2.5/xml/etree/ElementTree.pyo /usr/lib/python2.5/xml/etree/cElementTree.py /usr/lib/python2.5/xml/etree/cElementTree.pyc /usr/lib/python2.5/xml/etree/cElementTree.pyo The only problem is that it does not contain all of the functionality of the official release. It was renamed in this way so that they can coexist. It's kind of like python-xml vs. PyXML. Is it possible to fix these projects to use import xml.etree instead of import elementtree? You can do something like this: try: import xml.etree as elementtree except ImportError: try: import cElementTree as elementtree except ImportError: import elementtree -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] nxserver (FreeNX) and 10.2
On Tuesday 12 December 2006 12:18 pm, Greg Freemyer wrote: On 12/12/06, James Oakley [EMAIL PROTECTED] wrote: On Tuesday 12 December 2006 11:49 am, Greg Freemyer wrote: nxserver --list is showing nothing. ie. it runs and shows column titles, but no sessions. What's in /var/lib/nxserver/db/running? Nothing at all. OTOH, I'm accumulating sessions in /var/lib/nxserver/db/failed Hmmm. Do you have another 10.2 box you can run nxserver on? I have two 10.2 boxes that I log into via NX daily. If you can get it working on another box you can compare the configurations to see what's different. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] nxserver (FreeNX) and 10.2
On Tuesday 12 December 2006 11:49 am, Greg Freemyer wrote: nxserver --list is showing nothing. ie. it runs and shows column titles, but no sessions. What's in /var/lib/nxserver/db/running? -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] nxserver (FreeNX) and 10.2
On Monday 11 December 2006 4:53 pm, Greg Freemyer wrote: All, Is nxserver / FreeNX working for anyone under openSUSE 10.2? === I've been using nxserver and the FreeNX client with SUSE 10.1 Since I upgraded Friday I have not been able to get it to work. Per the log, I'm successfully logging in and authenticating, but when the session itself is launched it is failing. The logs don't show anything useful beyond that. Do you have the Tunnel all traffic over SSL enabled on your client? If it's off, and you have a firewall on your server, you may not be able to connect. If you enable it, all traffic will be tunnelled over SSH and you'll have no firewall trouble. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] article about Midnight Commander
On Tuesday 05 December 2006 12:49 pm, Daniel Feiglin wrote: Joe Morris (NTM) wrote: It certainly IS a great app, but it isn't a clone of xtree but of Norton Commander, which was great app in it's day. MC is the only console text editor I need. Works great over ssh as well. Wished it was installed on the rescue system, but not a big deal as I have it when I mount and chroot. ;-) I also use it a lot, including ftp. How do you do the ssh thing? I think he meant using it on a remote system after logging in via ssh. You can browse files over ssh, though: cd /#sh:[EMAIL PROTECTED] -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] article about Midnight Commander
On Tuesday 05 December 2006 8:17 am, Mark Goldstein wrote: On 12/5/06, Lev Lafayette [EMAIL PROTECTED] wrote: Midnight Commander is a *great* interface. For those old MS-DOS heads from the eighties, it's like Xtree Pro/Gold, but *better*. Well, Norton Commander is closer to MC than Xtree. One very powerful feature of MC is macro parameters. I'm using it quite often. E.g. I have different releases in 2 directories and I want to check differences between files one by one. I'm opening these directories in 2 panels and use command diff %f %D/%f (compare file under cursor in the current panel with file with the same name in the other panel). I do this in the edit menu, so I can simply hit F2, then d or D (I commented the default d and D entries). I also colourised the output to make the changes stand out, like when you open up a patch file in mcedit: + t r ! t t d Diff against file of same name in other directory if [ %d = %D ]; then echo The two directores must be different exit 1 fi if [ -f %D/%f ]; then# if two of them, then diff -up %f %D/%f | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\([EMAIL PROTECTED])/\x1b[36m\1\x1b[0m/g' | less -R else echo %f: No copy in %D/%f fi D Diff current directory against other directory if [ %d = %D ]; then echo The two directores must be different exit 1 fi diff -up %d %D | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\([EMAIL PROTECTED])/\x1b[36m\1\x1b[0m/g' | less -R fi To edit your menu file, go to Command | Edit Menu File and select Home. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] (bug??) Another (small) problem with 10.2rc1
On Friday 01 December 2006 7:07 pm, Simon Roberts wrote: Simon Roberts wrote: It used to be that my .profile file would be executed on login, but this no longer appears to be the case. Try creating a symlink to .profile called .bash_profile. (Since you spoke of bashrc, I assume that you are using bash.) Are you using KDE? I filed a bug here: https://bugzilla.novell.com/show_bug.cgi?id=225482 -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Is reiserfs dead?
On Monday 04 December 2006 1:07 am, Rajko M wrote: I thought that I'm one of the last mc users :-) Now I feel better. I've been using it since it was called Mouseless Commander. I still use it constantly. Please look at this and see what we can add/change: http://en.opensuse.org/Midnight_Commander http://en.opensuse.org/Midnight_Commander/Tips Ah. Off the top of my head: Alt-s - Incremental search (I use this every 3 minutes on average :-) Ctrl-x a - Open VFS list. If an ftp session times out, you won't be able to browse the site until you use this to free the open vfs so you can log in again cd /#sh:[EMAIL PROTECTED] - Browse files on another system via ssh Also, the F2-menu is awesome. Here's my favourite customisation, which produces colourised diffs of files against the other directory: + t r ! t t d Diff against file of same name in other directory if [ %d = %D ]; then echo The two directores must be different exit 1 fi if [ -f %D/%f ]; then# if two of them, then diff -up %f %D/%f | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\([EMAIL PROTECTED])/\x1b[36m\1\x1b[0m/g' | less -R else echo %f: No copy in %D/%f fi D Diff current directory against other directory if [ %d = %D ]; then echo The two directores must be different exit 1 fi diff -up %d %D | sed -e 's/\(^-.*\)/\x1b[1;31m\1\x1b[0m/g' \ -e 's/\(^\+.*\)/\x1b[1;32m\1\x1b[0m/g' \ -e 's/\([EMAIL PROTECTED])/\x1b[36m\1\x1b[0m/g' | less -R fi -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Is reiserfs dead?
On Friday 01 December 2006 7:19 am, Jan Engelhardt wrote: The only problem I have with reiserfs is that suse's partition manager doesn't seem to be able to resize a reiserfs partition, which is why I installed with ext3 when I added Suse 10.1 Reiserfs can be resized without even unmounting. If you want to grow a Reiserfs filesystem, you simply increase the size of the underlying volume/partition/whatever, then run resize_reiserfs device. Most filesystems, including Ext3, have to be unmounted before resizing. Most huh? resize2fs's manual page says it can do it online too, and xfs can _only_ do it online. I am sure jfs also has some way, so most ist mostly inaccurate ;-) Ah, I stand corrected. Reiserfs *used* to be the only Linux fs capable of online resizing. ext3 got it in 2.6.10. Apparently, this misconception is popular. I remember reading it recently. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Is reiserfs dead?
On Thursday 30 November 2006 3:24 pm, Robert Smits wrote: The only problem I have with reiserfs is that suse's partition manager doesn't seem to be able to resize a reiserfs partition, which is why I installed with ext3 when I added Suse 10.1 Reiserfs can be resized without even unmounting. If you want to grow a Reiserfs filesystem, you simply increase the size of the underlying volume/partition/whatever, then run resize_reiserfs device. Most filesystems, including Ext3, have to be unmounted before resizing. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Xen unstable
On Friday 24 November 2006 11:22 am, Matthew Stringer wrote: Does anyone here use Xen in full virtualisation mode much and if so how stable is it? I have. It works, but it's slower and you lose some features, so paravirtualization is much better. I have a system that requires Redhat 7.3 to work (upgrading it would be particularly difficult). However because it's so old it won't install on modern boxes. It's way easier to just boot paravirtualized using your SUSE Xen kernel. In fact I *am* running Red Hat 7.3 this way. I used an IDE-to-USB cable to dd the drive to an image on my Xen box and booted it under Xen. Here's my config file: name = 'tesla' memory = 256 vcpus = 1 disk = [ 'file:/var/lib/xen/images/tesla/hda,hda,w'] builder = 'linux' kernel = '/boot/vmlinuz-xen' ramdisk = '/boot/initrd-xen' vif = [ 'mac=xx, bridge=xendot4' ] localtime = 0 extra = 'root=/dev/hda1' In order to get the Xen kernel to recognise the ext3 partitions, edit /etc/sysconfig/kernel, add 'ext3' to DOMU_INITRD_MODULES, and run mkinitrd. If you want to be able to load kernel modules after boot, copy the /lib/modules from your dom0 into the domU. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Broadcom wireless and static address under ndiswrapper.
On Tuesday 21 November 2006 11:16 pm, John Andersen wrote: Yes, I understand that, but the firmware is freely available from the card manufacturer's website, and would be more current than anything SUSE or Ubuntu distributed anyway. It does not matter how you got something. If you do not have explicit permission to redistribute you cannot do it. That's applies to anything under copyright. One of the rights granted by the GPL is redistribution, which makes Linux distributions possible. Perhaps ubuntu HAS explicit permission, or a loophole in the law due to non US ownership. I doubt Broadcom would give permission to Ubuntu and nobody else. They do allow redistribution of the firmware for the 57xx cards however, which is included right in the Linux kernel. Side issue: ATI has rpms on their site. Inside these RPM it says they were built by SUSE. Yet you can't get them from opensuse, and you have to go fetch them. Probably the same with Nvidia, although I haven't checked. Those are binary kernel drivers. SUSE does not distribute them: Novell's Official Position Most developers of the kernel community consider non-GPL kernel modules to be infringing on their copyright. Novell does respect this position, and will no longer distribute non-GPL kernel modules as part of future products. February 9, 2006 Yet you can get Acrobat directly off the SUSE disks (not-oss). Same with RealPlayer. Novell has made deals with those companies to allow redistribution. There seems to be this strange division on what Suse chooses to include and what they don't. They simply distribute what they are allowed to. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Broadcom wireless and static address under ndiswrapper.
On Friday 17 November 2006 5:13 pm, John Andersen wrote: The bcm43xx driver was included in the mainline kernel in 2.6.18, which will be shipped in 10.2. But it does not include the firmware which of course makes it useless. The firmware can be downloaded from Ubuntu ( but it still has issues ). Will this issue ( the firmware ) be cleared up when 10.2 goes GM? Can one yank the firmware off the windows driver disks in the meantime? Yes, using bcm43xx-fwcutter, which is also included in 10.2. I'm surprised that Ubuntu distributes it, since it's not really legal unless they have explicit permission. That's why SUSE, and the driver maintainers are not distributing it. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Broadcom wireless and static address under ndiswrapper.
On Friday 17 November 2006 2:27 am, John Andersen wrote: On Thursday 16 November 2006 21:20, John Pierce wrote: The Knetworkmanager connects to my wireless router just fine. However I run a local network and wish to use a static address and I cannot get it to allow me to set the address of wlan0 to be static and use my personal nameservers. So set it in your router. Most routers have IP reservation capability and thats much easier than booting machines with statics anyway. Bummer about ndiswrapper. I thought there was a project for the bc44XX. The bcm43xx driver was included in the mainline kernel in 2.6.18, which will be shipped in 10.2. If you're brave, you can run the kernel from Factory on 10.1, but you will need to pull some other packages as well: perl-Bootloader, mkinitrd, xen (if you use it), and possibly some others. RPM will tell you, if you decide to try. -- James Oakley [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SPAM: Re: Re: [opensuse] Howto save flash files from web with SuSE 10.1
On Friday 03 November 2006 7:41 am, Joao Paulo Pires wrote: I visited http://www.babyfirsttv.com/ but I can't found the link of flash files in view source code. Any help? Where can I find getvideo url ? Best regards, Joao. http://www.funktronics.ca/getvideo -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] SPAM: How to add more VM images to XEN in SUSE ?
On Thursday 02 November 2006 10:59 pm, cifroes wrote: Hi, Just followed these instructions: http://en.opensuse.org/Installing_Xen3 and now I have 1 VM up running. Is there any fast way to just copy the installation I'm using as my vm01 and create 2 more VM's? I suppose I can run the instructions again, but I think it's possible to do it just copying something but I'm kind of lost here... Assuming you installed to an image file, you can shut down the domain and copy the image. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SPAM: Re: Re: [opensuse] Howto save flash files from web with SuSE 10.1
On Friday 03 November 2006 11:49 am, Carlos E. R. wrote: The Friday 2006-11-03 at 11:27 -0400, James Oakley wrote: On Friday 03 November 2006 7:41 am, Joao Paulo Pires wrote: I visited http://www.babyfirsttv.com/ but I can't found the link of flash files in view source code. Any help? Where can I find getvideo url ? Best regards, Joao. http://www.funktronics.ca/getvideo Is that a script to save flash streams to a file? I tried it on the Novell webcast and it doesn't work. What's the URL? If the src is specified through a javascript function, the script won't be able to download it, since it doesn't include a javascript interpreter. :-) If the video is in a popup and not the url you pass it, you need to use the popup url. You can right-click and show the location bar to get it. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SPAM: Re: Re: [opensuse] Howto save flash files from web with SuSE 10.1
On Friday 03 November 2006 6:16 pm, Carlos E. R. wrote: The Friday 2006-11-03 at 23:08 +0100, jdd wrote: http://www.novell.com/linux/microsoft/flash_stream.html this run perfectly nice on my seamonkey stock (not to say I can save it :-() Then your network is better or nearer the source. Here I can't fill the buffer more that 40%, so it doesn't even start. Ah, the getvideo download saved nothing in two hours and a half, I just stopped it. The file is at http://files1.novell.com/cached/video/microsoft/mswebcast.flv The reason getvideo didn't save it is because it's loaded by javascript. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SPAM: Re: Re: [opensuse] Howto save flash files from web with SuSE 10.1
On Friday 03 November 2006 7:22 pm, Carlos E. R. wrote: The Friday 2006-11-03 at 18:38 -0400, James Oakley wrote: Then your network is better or nearer the source. Here I can't fill the buffer more that 40%, so it doesn't even start. Ah, the getvideo download saved nothing in two hours and a half, I just stopped it. The file is at http://files1.novell.com/cached/video/microsoft/mswebcast.flv The reason getvideo didn't save it is because it's loaded by javascript. I had the following command running during two and a half hours, till I interrupted it: [EMAIL PROTECTED]:~/tmp/getvideo getvideo http://files1.novell.com/cached/video/microsoft/mswebcast.flv Traceback (most recent call last): File /home/cer/bin/getvideo, line 34, in ? page = urllib.urlopen(url).read() File /usr/lib/python2.4/socket.py, line 285, in read data = self._sock.recv(recv_size) KeyboardInterrupt [EMAIL PROTECTED]:~/tmp/getvideo Ah. getvideo downloads objects parsed from html. I used it to save videos by handing it the url from my browser's location bar, which is faster than looking through ugly html and, in many cases, piecing the url together manually. Handing it a url to the actual video will cause it to parse the file as html, which would result in a lot of grinding. :-) If you already have the video url, wget is the appropriate utility. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Howto save flash files from web with SuSE 10.1
On Monday 30 October 2006 12:00 pm, Joao Paulo Pires wrote: Hi, How can I save flash files from web pages? I have SuSE 10.1 I wrote this script for extracting embedded videos, but it works for any embedded objects such as flash files, soubds, etc. Just run getvideo url. -- James Oakley [EMAIL PROTECTED] getvideo Description: application/python
Re: [opensuse] hda - sda
On Tuesday 31 October 2006 2:36 pm, Felix Miata wrote: My disks average upwards of 20 partitions each, a number which continues to climb. This 24/7 system has two disks, with 43 and 18 partitions. My other 24/7 system has 1 disk with 22 partitions. There's simply no way for those numbers to be reduced as long as disk sizes keep escalating. If you need so many partitions, why are you not using LVM? -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] hda - sda
On Tuesday 31 October 2006 3:18 pm, Felix Miata wrote: On 06/10/31 14:39 (GMT-0400) James Oakley apparently typed: On Tuesday 31 October 2006 2:36 pm, Felix Miata wrote: My disks average upwards of 20 partitions each, a number which continues to climb. This 24/7 system has two disks, with 43 and 18 partitions. My other 24/7 system has 1 disk with 22 partitions. There's simply no way for those numbers to be reduced as long as disk sizes keep escalating. If you need so many partitions, why are you not using LVM? I have no knowledge of any way LVM could do anything but increase complication. My backup strategy is heavily dependent on cloning disks and partitions across 20 machines as much as 8-10 years old having various multiboot mixtures of OS/2, DOS, doz, and Linux. Even more reason for LVM in addition to Xen/Qemu or VMware. You can consolidate your old machines into a couple of good ones and do your full disk backups with minimal downtime using the LVM tools (no downtime in some cases). That approach also allows you to light up your virtual machines immediately on any of your boxes in case one goes down. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-packaging] Python based program / Files section
On Friday 20 October 2006 3:52 am, Dominique Leuenberger wrote: Hi everybody, as quiet a n00b in packaging, I;m in progress of packaging gnome-sudoku (will be found in games:puzzle. The package works good so far, EXCEPT for opensuse-factory. The reason is tracked down, I'm just missing a good solution, that I might like (introducing a variable using an %if construct is not what I'd like) So the problem: The program get's installed to /usr/lib/python2.4/site-packages/gnome_sudoku and thus, in my files section, I have %{_prefix}/lib/python2.4/site-packages/gnome_sudoku But as Factory switched to Python 2.5, of course the install path is different (the install script realizez it, and copies it to [...]python2.5[...] How can I adjust the %Files - Section to reflect this 'Multi-Version' aware? Add --prefix=%{_prefix} to your setup.py install line. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] virtual network interface?
On Monday 09 October 2006 4:16 am, Frank Steiner wrote: But that still doesn't solve the problem: Having eth0:0 allows to add a special routing entry for that virtual device, just adding a second IP to eth0 does not. So this doesn't really help. It's the same physical interface. What ifconfig creates here are not really virtual devices, like vlans. The :n entries were a hack to work around the old ifconfig interface limitations. The new iproute2 interface is far superior and way more flexible. If you want to add custom routes, see 'man routes' and edit /etc/sysconfig/network/routes, if your device is persistent, or /etc/sysconfig/network/ifroute-same-id-as-interface if your device is not persistent. How about an example? Say I have two networks on my physical lan (I actually do at work and at home) 10.1.2.0/24 and 192.168.1.0/24. The IP addresses for the networks are 10.1.2.2 and 192.168.1.2, respectively. I want my default route to be 10.1.2.1, but I want traffic to www.opensuse.org (130.57.4.24) to go through 192.168.1.1. /etc/sysconfig/network/ifcfg-eth-id-00:00:00:00:00:00: BOOTPROTO='static' NAME='My special interface' STARTMODE='auto' USERCONTROL='yes' IPADDR='10.1.2.2/24' IPADDR_OTHER='192.168.1.2/24' /etc/sysconfig/network/routes: 130.57.4.24 192.168.1.1 255.255.255.255 - default 10.1.2.1- - If the device is transient, you can put your special route in a device-specific file that has the same format as routes. /etc/sysconfig/network/ifcfg-eth-id-00:00:00:00:00:00: 130.57.4.24 192.168.1.1 255.255.255.255 - You can look at your routing table by executing 'ip route'. When the kernel needs to route a packet somewhere, it goes through this table in order until it finds a matching route. For the network I described above, it should look like this: 130.57.4.24/32 via 192.168.1.1 dev eth0 10.1.2.0/24 dev eth0 proto kernel scope link src 10.1.2.2 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2 default via 10.1.2.1 dev eth0 Hope that helps, -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Adding multiple IP addresses to existing NIC
On Saturday 16 September 2006 04:27, kernel.2k5 wrote: Hi james , thanks fro this help i also need the same thing , but i may have some more need if u can help a great appreciation . like i am using suse_10.1 iam having one eth0 and 2 different internet connections 1.Office 2.Home both are static ip now i write a shell script when i logged in to home or office so run the script and it make the Network entries accordingly . but every time i need to overwrite my resolv.conf and gateway entries which are very different for Home and Office . In YaST, go to System - Profile Manager, which will let you setup SCPM, which will do exactly what you want. You will even get a tray icon that will let you switch easily. SCPM is particularly cool because any settings you change are saved to the profile any time you switch a profile. Even if you manually edit your /etc/resolv.conf or /etc/sysconfig/network/ifcfg-eth-id-* files, SCPM remembers the changes. It does the same for any daemons you run, including whether they are running or not. Hope that helps, -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Motherboard suggestions for Core 2 Duo running Xen
On Friday 15 September 2006 10:57 am, Michael Crider wrote: We purchased a box with a Core 2 Duo (E6400) for the purpose of running Windows Server 2003 on Xen. The motherboard that came in the box was an Intel DG965RY, using the G965 chipset. We chose Suse 10.1 (we used x86_64) as the host operating system primarily because it was the only distro that would install. We have determined that the PATA controller and the network adapter on the motherboard are not currently Linux compatible (initially solved by using a Broadcom network adapter and a USB CD-ROM drive). We then figured out that Suse chose the VESA Framebuffer Graphics driver for the video adapter, which does not work under the Xen kernel. Does anybody have a suggestion of a motherboard or chipset that is compatible with the Xen kernel that will accept the E6400 CPU? Asus P5LD2-VM http://www.asus.com/products4.aspx?l1=3l2=11l3=194model=536modelmenu=1 I just bought this motherboard earlier this week and everything worked out of the box on openSUSE 10.2 alpha4: - i945 graphics, with 3d support (xgl works, too) - SATA - PATA (There are two different PATA controllers. They both work) - Gigabit LAN (e1000!) - Sound works for the most part, but there were a couple of glitches. I haven't had time to delve into this, so I'm not sure exactly what the problem is yet Xen works great, too. You have to enable Virtualization Technology in the BIOS before you can create HVM domains, though. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse] Adding multiple IP addresses to existing NIC
On Friday 15 September 2006 4:10 pm, Bacchu, Anjan wrote: Hi All, Thanks for any pointers. On Suse 9.3(CONSOLE only, no GUI), what are the steps needed to add multiple IP addresses to the NIC ? Previously, while using Redhat (not Fedora), we used to a) make a copy of ./etc/sysconfig/network-scripts/ifcfg-eth0 b) rename the copy to ./sysconfig/network-scripts/ifcfg-eth01 c) edit the contents of the new file and d) reboot This is easier in SUSE. From /etc/sysconfig/network/ifcfg.template: ## Multiple addresses ##You can extend the variable name 'IPADDR' by any string you like (IPADDR_1, ##IPADDR_FOO, IPADDRxxx, ...) and use these variables for your IP addresses. ##If you need some additional parameters for these addresses, then just add ##the same extension to these variable names. ##IPADDR_AAA=1.2.3.4 ##NETMASK_AAA=255.0.0.0 ##BROADCAST_AAA=1.2.3.55 ##IPADDR_BBB=10.10.2.3/16 ##LABEL_BBB=BBB ##an so on ... ## ## You do not need to set a label for any address. But then you should not use ## ifconfig any longer; go and use ip. If you want to use ifconfig then omit the ## label for your main address and set a label for every additional address. So you simply need to edit the /etc/sysconfig/network/ifcfg-eth-id-mac file and add the addresses. I usually specify only IPADDR for each additional entry in cidr format like so: IPADDR_FOO='10.1.1.1/24' IPADDR_BAR='192.168.1.1/24' Once you save the file, there's no need for a reboot. You can do one of the following: ifdown devicename ; ifup devicename or rcnetwork restart Hope that helps, -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Games on openSUSE 10.2 (forw)
On Wednesday 06 September 2006 7:25 am, Stefan Dirsch wrote: On Wed, Sep 06, 2006 at 11:55:25AM +0200, Bernhard Walle wrote: Hello, * Joerg Mayer [EMAIL PROTECTED] [2006-09-06 11:10]: don't forget pysol. It seems it was dropped for 10.1 I think it's on the DVD. At least it's available in the internet installation sources. Indeed. This package still exists. The problem is that it's rather big for a Solitaire game (21 MB). kpat should be ok for the beginner. How about splitting music and cardsets into separate packages? My mom *loves* Pysol. :-) -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Games on openSUSE 10.2 (forw)
On Wednesday 06 September 2006 2:28 pm, Stefan Dirsch wrote: How about splitting music and cardsets into separate packages? Is Pysol really so much better than kpat? Yes. It's complete. In the Windows world, there are lots of different downloadable solitaire games that are popular. For the people who have *that one game* they absolutely must have, Pysol has them covered. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] distribution meeting - introduction and agenda
On Wednesday 16 August 2006 11:44 am, Andreas Jaeger wrote: * update messages general/conditional (e.g. bind) During update of packages they could notify users about changes via email and/or the SuSEplugger (until 10.0, this is not anymore in 10.1). Most of these are outdated and not really usefull anymore and should be removed. The question is how to handle situations like bind where config files get rewritten and the user should be informed if this fails. I believe that sending mail is still the appropriate action. As for the outdated messages, you can set environment variables (eg: SUSE_UPDATE_FROM=900, SUSE_UPDATE_TO=1020) so that %pre and %post scripts can determine whether a message should be sent. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[opensuse-factory] Rug and Factory
I've been trying to keep up to date with Factory, but every time I try an update, it fails for some reason or another. It's usually Failed to parse XML metadata: Can't add repository at ftp://mirrors.kernel.org/opensuse/distribution/SL-OSS-factory/inst-source: Cannot create the installation source So after many weeks, I finally have factory active in rug, but now rug thinks I'm up to date: maus:~ # rug up No updates are available. The problem is that I'm not up to date: maus:~ # rpm -q bash bash-3.1-27 maus:~ # rug info bash Catalog: ftp://mirrors.kernel.org/opensuse/distribution/SL-OSS-factory/inst-source Name: bash Version: 3.1-29 Arch: i586 Installed: No Status: up-to-date Why would rug think it's up-to-date when it clearly isn't? Here's my rug sl/ca: maus:~ # rug sl # | Status | Type | Name| URI --++--+-+--- 1 | Active | ZYPP | factory | ftp://mirrors.kernel.org/opensuse/distribut... 2 | Active | YUM | funktronics | http://software.opensuse.org/download/home:... 3 | Active | YUM | aj-zen | ftp://ftp.gwdg.de/pub/linux/suse/people/aj/... 4 | Active | YUM | os-tools| http://software.opensuse.org/download/openS... 5 | Active | ZYPP | extra | ftp://mirrors.kernel.org/suse/install/10.2/... maus:~ # rug ca Sub'd? | Name| Service ---+-+ Yes| funktronics | funktronics Yes| factory | factory Yes| aj-zen | aj-zen Yes| os-tools| os-tools | extra | extra -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Packagage Groupings - From Selections in 10.1 to Patterns in 10.2
On Wednesday 12 July 2006 9:41 am, Klaus Kaempf wrote: * Glenn Holmer [EMAIL PROTECTED] [Jul 12. 2006 12:54]: On Wednesday 12 July 2006 04:18, Andreas Jaeger wrote: * Patterns can be grouped into roles, like Development or Desktop. * Patterns can require other patterns Will there be a way to have alternate choices, e.g. if you select Database Server you can choose between MySQL and Postgres, or either if you select Java Development you can choose between NetBeans and Eclipse? Yes, this could be done. However, depending on whom you ask, people will love or hate such questions. Actually, I think this can be used to take some of the drudgery out of the package selections. I end up going through all of groups to make sure that I get all of the packages I need, but if a pattern can select packages based on other selected patterns, I could spend far less time on it. If I select Database/PostgreSQL alone, it will install the server and client, but if I also have Development/C and C++ and Development/Python selected, postgresql-devel and postgresql-python will also be installed. Similarly, if I select Desktop Environments/KDE it will install a basic KDE system, but if I also have Hardware/TV Capture it will also install kwintv. You could also use this to select tasks independently of the desktop environment. If you select Productivity/Chat and you have KDE and GNOME selected, you would get Konversation and XChat, but if you just have KDE, you would just get Konversation. I think that could be very powerful. -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Test updates for SUSE Linux 10.1
On Tuesday 11 July 2006 9:22 am, Andreas Jaeger wrote: I've published two repositories for SUSE Linux 10.1: * An updated packagemanagement stack * New kernel 2.6.16.21 The zen update worked perfectly. However, the kernel update did not:: xen:~ # rug up aj-kernel Resolving Dependencies... ERROR: Dependency resolution failed: Unresolved dependencies: Establishing novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64 [SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613] Installing novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64 [SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613] Establishing atom:novfs-kmp-default-1.2.0_2.6.16.21_0.6-9.2.x86_64[aj-kernel] kernel-default-2.6.16.13-4.x86_64 [SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613] provides kernel(kernel) == f6bd6270900c24b7, but another version of that package is already installed. There are no installable providers of kernel(kernel) == f6bd6270900c24b7 for novfs-kmp-default-1.2.0_2.6.16.13_4-10.x86_64 [SUSE-Linux-10.1-DVD9-x86-x86_64-10.1-0-20060707-164613] xen:~ # rpm -q kernel-default kernel-default-2.6.16.20-2 xen:~ # rpm -e novfs-kmp-default error: package novfs-kmp-default is not installed If novfs-kmp-default is not installed, why is it considered in the dependency resolution? -- James Oakley [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]