Re: [SLUG] ubuntu unity slow
Maybe it's Java that's slow? Try a different JDK maybe? -- Felix On 27/10/14 08:02, Ashley Maher wrote: Afternoon, Hope there are a few Ubuntu users around? Have Ubuntu 14.04 running Unity Desktop. The hardware is i7 model 26, 12 Gig RAM, Cape Verde PRO Radeon HD 7750, Graphics driver in use: radeon, driving a 30inch Dell at 2560 X 1600. Opening a terminal and using vim is fine. However NetBeans IDE 8.0 is so slow as to be unusable. Eclipse is totally out of the question. Mail reader works, Libre Office is okay, GIMP is fine. Anybody got ideas as to where to start debugging this?? Regards, Ashley -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A couple of electronics projects
Hi Ben, I'm in Newcastle, but I can probably offer some advice. What sort of things do you want to do? -- Felix On 13/09/13 08:01, Ben Donohue wrote: Hi all, I've got some ideas on a couple of projects but I need the help of someone who knows how to design electronics circuits. Also could involve an Arduino or Raspberry Pi as the brains behind it... don't know as yet... early stages. Anyway, anybody out there in Sydney able to help / point me in the right direction / recommended sites / whatever? I'm in Ashbury, Inner West. Thanks, Ben -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Linux midi interface
I once got a Roland UM-1 from a computer shop in Sydney somewhere, and I have one from Jaycar that works too. It looks a bit differenct to the one they have now, but it says no drivers so should be fine. http://www.jaycar.com.au/productView.asp?ID=XC4934 -- Felix On 09/02/13 15:29, Ben Donohue wrote: Thanks Rachel, and all for your help. I'm looking to get something from an overseas website as I went to various electronics places today and no one had anything or not in stock. Now I know what to look for. I think I'll try for a four way as I suppose these things tend to grow once you start to play with them. Pity midi keyboards don't just have a USB port at the back and do away with the round midi plug. That would be so much easier! Ben On 09/02/13 14:15, Rachel Polanskis wrote: Hi Ben, this list here describes a good selection of quality interfaces that work with Linux http://alsa.opensrc.org/USBMidiDevices The question is, how intensive are your requirements? Do you need mulitport MIDI control, filtering or MIDI beat clock for example? If you do, you may need a specific driver and MIDI hardware interface combination, that is supported on your flavour of Linux. You may only require simple 2 way 16 channel MIDI, which would be supported by most driver/hardware configurations. It may be wiser to purchase a more advanced interface that has the smarts to do routing and filtering and receive and transmit MIDI clock. Otherwise, you will end up progressing so far only to find you can't sync your sampler to your sequencer, for example. rachel -- rachel polanskis r.polans...@uws.edu.au mailto:r.polans...@uws.edu.au gr...@zeta.org.au mailto:gr...@zeta.org.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Installing a library.
It decodes the encrypted DVDs sudo apt-get install libdvdread4 sudo /usr/share/doc/libdvdread4/install-css.sh You have to go through this because it might be illegal to distribute those files in some places. http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act -- Felix On 17/10/12 15:46, wbenn...@turing.une.edu.au wrote: Laptop running Ubuntu I'd like to copy a DVD. Tried, using Brasero. Received message: cannot do so, because a component is missing. I have to install manually libdvdcss.so.2 libdvdcss.so.2 No---I don't know why I was told twice, either. However, could someone tell me what this library is, please? Also, sudo apt-get install libdvd.css.so.2 should install same, shouldn't it? Any help gratefully received, William Bennett. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Webcam woes
On 06/21/2012 02:53 PM, pe...@chubb.wattle.id.au wrote: Can anyone give me a bit of advice ... I'm trying to set up a webcam. When I connect to the camera using cheese, lucview or xcam, the picture is black for the first few frames, and gradually adjusts until the picture is visible. v4lctl snap gives me a black picture. I suspect that during the first few frames after opening the device the camera is doing some auto-exposure adjustment. Is there any way anyone knows of getting a picture (programmatically) and allowing the camera to adjust its aperture/shutter speed or whatever it does? I've tried webcam and webcamd but they just deliver black pictures. The obvious attempt to take two pictures in a row gives two black pictures. $ v4lctl snap jpeg 320x240; v4lctl snap jpeg 320x240 They are mainly designed for video, so yep they will do that.. You could use v4l2-ctl to find the exposure setting and set it manually. But I have found that when a program opens the camera it will sometimes have its settings reset to default. Otherwise, you could try the pygame camera library and discard the first half-dozen frames. http://www.pygame.org/docs/ref/camera.html I attached a short script which takes 10 frames and saves as jpg, it needs a couple of python libraries which should be in any distro. On Ubuntu/Debian it's: apt-get install python-imaging python-pygame -- Felix import pygame, sys import pygame.camera from pygame.locals import * import Image import time camresolutions = ( (320, 240), (352, 288), (640, 480), (800, 600), (960, 544), (1024, 768), (1280, 720), ) screenres = (1440,920) camres = camresolutions[2] CAMERA_DEVICE = '/dev/video0' pygame.init() pygame.camera.init() screen = pygame.display.set_mode( screenres, #pygame.FULLSCREEN| pygame.DOUBLEBUF | pygame.HWSURFACE ) cam = pygame.camera.Camera(CAMERA_DEVICE, camres) cam.start() for i in range(10): time.sleep(1) image = cam.get_image() screen.blit(image, (20, 20)) pygame.display.flip() imgstring = pygame.image.tostring(image, RGB) PILimg = Image.fromstring(RGB, camres, imgstring) PILimg.save(camimage.%03d.jpg % i) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Exigent closed following RAID crash?
On 10/13/2011 03:04 AM, Jim Donovan wrote: Exigent used to offer Linux virtual servers for $8/month. They had a RAID array fail late in July and I don't know how much they lost on it. Does anyone know whether they're still in business? Their website http://www.exigent.com.au is still there but live chat to their support team doesn't work nor do they answer tickets. Their phone is still connected but you don't get to a human operator. My VPS is up still, although that subject line scared me. :p Luckily mine wasn't on the host that failed, but they offer a local unmetered backup service now, for $. :/ They say Good, fast, cheap. Pick any two. I'm not so sure about getting the full two here. -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] looking for a command to automatically create sequentially numbered files
It looks like you might be using single quotes and not back-ticks (on the ~ key). This works for me, with the echo in there at least. for i in `seq 1 125`; do j=`printf %06d $i`; echo montage -geometry +4+4 a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done -- Felix elliott-brennan wrote: Hi Rick, On the basis that this is quite likely something simple that I'm not doing, or the consequence of something I haven't explained clearly enough (as I've very little experience with such things) - These are the files I'm working with: four sets of 124 images each: a_01.jpeg to a_000125.jpeg b_01.jpeg to b_000125.jpeg c_01.jpeg to c_000125.jpeg d_01.jpeg to d_000125.jpeg I've entered the command: $ for i in 'seq 1 999'; do j='printf %04d $i'; montage -geometry +4+4 a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done and receive the response: bash: syntax error near unexpected token `do' (I've cut-and-pasted the information for accuracy) I've also tried changing: 'seq 1 999' to 'seq 1 125' with no success and tried changing: do j='printf %04d to do j='printf %06d again with no success. I'm wondering if you wouldn't mind having another look at this for me? Thanks again and much appreciated. Regards, Patrick Rick Welykochy wrote: elliott-brennan wrote: Now, I know I've asked a similar questions, but I thought that I'd ask again with what may be a clearer request :) For example: I have a collection of images labelled - a_0001.jpeg through to A0999.jpeg b_0001.jpeg through to A0999.jpeg c_0001.jpeg through to A0999.jpeg d_0001.jpeg through to A0999.jpeg I want to merge them as follows: montage -geometry +4+4 a_0001.jpeg b_0001.jpeg c_0001.jpeg d_0001.jpeg montage1.jpeg the output file is montagenumber.jpeg and needs to be a sequentially increasing number. Is there a command that will allow me to do this automatically without having to individually enter each file name and output name? I realise this is a little weird and no doubt unusual, but, as usual, any assistance or direction would be most appreciated. Not weird at all. Well organised file systems often use sequential or semi-sequential numbering to keep things logical and consistent. (Who said consistency is the last refuge of the unimaginative?) The GNU seq command is useful for sequential numbering. $ seq 1 5 1 2 3 4 5 As well, you can use printf to format the numbers as you wish, e.g. $ for i in `seq 1 5`; do echo `printf a_%04d.jpeg $i`; done a_0001.jpeg a_0002.jpeg a_0003.jpeg a_0004.jpeg a_0005.jpeg Putting it all together: $ for i in `seq 1 5`; do j=`printf %04d $i`; echo montage -geometry +4+4 a_$j.jpeg b_$j.jpeg c_$j.jpeg d_$j.jpeg montage$j.jpeg; done montage -geometry +4+4 a_0001.jpeg b_0001.jpeg c_0001.jpeg d_0001.jpeg montage0001.jpeg montage -geometry +4+4 a_0002.jpeg b_0002.jpeg c_0002.jpeg d_0002.jpeg montage0002.jpeg montage -geometry +4+4 a_0003.jpeg b_0003.jpeg c_0003.jpeg d_0003.jpeg montage0003.jpeg montage -geometry +4+4 a_0004.jpeg b_0004.jpeg c_0004.jpeg d_0004.jpeg montage0004.jpeg montage -geometry +4+4 a_0005.jpeg b_0005.jpeg c_0005.jpeg d_0005.jpeg montage0005.jpeg Get rid of the echo command, change 5 to 999 and Bob's your aunty. cheers rickw -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Sound in Ubuntu
Heracles wrote: Hi, How do I tell Ubuntu to ignore the built in via sound card and use my Sound Blaster Live sound card. I can tell some programs to use it but flash and some others ignore it. Is there a way to tell ubuntu (7.0.4 btw) to completely ignore the via sound system? First, run in a terminal: sudo asoundconf list which will give you a list of the names of the cards then: sudo asoundconf set-default-card name-of-card You will have to restart any sound apps running already before they use the new card. If you need to switch between cards often, apt-get install asoundconf-gtk will add a Default sound card option to your system - preferences menu Or you could just turn it off in the BIOS if you never use it. -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] session problems Ubuntu Dapper
Sonia Hamilton wrote: I've noticed that sessions don't work very well in Ubuntu Dapper (compared to Breezy) - anyone know of a solution? What I mean is that the screen position of apps isn't saved on logout, unlike it used to be in Breezy. Also, Dapper now has that 'user friendly' logout out screen - anyone know how to remove that and go back to the old system, where logout gave you the option to save a session? You probably know about the gnome-save-session command, but I thought I might as well mention it. -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] session problems Ubuntu Dapper
Sonia Hamilton wrote: * On Sat, Aug 26, 2006 at 05:30:15PM +1000, Felix Sheldon wrote: You probably know about the gnome-save-session command, but I thought I might as well mention it. Will try that. Oops, that should be gnome-session-save. I type it wrong every second time when I want to use it too :p * On Sat, Aug 26, 2006 at 05:50:45PM +1000, Jeff Waugh wrote: Which apps in particular? Unfortunately, due to the way that old-school currently stands - in the UI because so few apps actually support the old-school X session stuff. Firefox is the biggest example here, being one Well, now not even Gnome Terminal - starts up, but not at the same size it was. I know about Firefox, etc - sort of had pious hopes that one day it'd be sorted out :) A possible solution would be to start up some apps at logon from Startup Programs, and set their screen size/position. But I notice under Gnome the window manager doesn't allow specifying a _Desktop_ to display things on. Is there a window manager that allows you to do this? How would I use a different window manager with Gnome? My ~/.metacity/session directory has some files with stuff like: window id=117f0100011557180530062960002 class=Nautilus name=desktop_window title=Desktop role= type=desktop stacking=0 sticky/ workspace index=0/ geometry x=0 y=0 width=0 height=0 gravity=NorthWestGravity/ /window but I'm using compiz, so it doesn't do anything here. Despite that, if you want to try the upstream style logout stuff, you can do so by changing an Ubuntu-local gconf key: /apps/panel/global/upstream_session = true Thanks for all your pointers Jeff, I appreciate it! I can only say sorry. :-) Nothing to be sorry about - one sets rather high expectations after using Linux for a while :) I had a quick look at one of my apps which isn't supporting sessions, and found that the wxWidgets library doesn't expose any of the session stuff. I wonder if that's the case for many of the other GUI toolkits in common use. -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] Any experiences with LVS for load balancing a webfarm?
Hi Sluggers, I'm just wondering if LVS is worth trying out as something to manage requests for a cluster of identical Windows-based web servers. http://www.linuxvirtualserver.org/index.html Thanks, Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Any experiences with LVS for load balancing a webfarm?
Well, yes, but unless you pay through the nose for the 'Advanced' or 'Data-center' editions I think it's fairly limited. I'd prefer something OSS that can be tweaked to do exactly what we want, without arbitrary limits designed to sell more licenses. -- Felix Dean Hamstead wrote: i believe 2003 has its own clustering solution? Dean Felix Sheldon wrote: Hi Sluggers, I'm just wondering if LVS is worth trying out as something to manage requests for a cluster of identical Windows-based web servers. http://www.linuxvirtualserver.org/index.html Thanks, Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Your top-ten linux desktop apps
[EMAIL PROTECTED] ~/Desktop $ gcc sizeof.c [EMAIL PROTECTED] ~/Desktop $ ./a.out size of a char is 1 size of a short is 2 size of a int is 4 size of a long is 8 size of a float is 4 size of a double is 8 O Plameras wrote: Does anybody have a 64-bit computer ? Are you able to compile and run the following code and publish the results ? Thanks. #include stdio.h int main(void) { printf(size of a char is %d\n, sizeof(char)); printf(size of a short is %d\n, sizeof(short)); printf(size of a int is %d\n, sizeof(int)); printf(size of a long is %d\n, sizeof(long)); printf(size of a float is %d\n, sizeof(float)); printf(size of a double is %d\n, sizeof(double)); return 0; } Ian Wienand wrote: On Thu, Sep 29, 2005 at 07:39:51PM +1000, O Plameras wrote: With C on 64-bit your number will not be a problem as an integer. C integer is size 8 bytes = 64 bits. So 2 exponent 64 less 1 can be handled. This isn't correct; there are two main models for 64 bit computing. LP64 where longs and pointers are 64 bits (Linux, most UNIX?) and the Windows model where only pointers are 64 bits. Many might suggest this is because so much Windows code would break if long suddenly became 64 bits, but I think the official reason is efficiency within the API. In both cases an int is 32 bits. In both models a long long will be 64 bits, no matter what your architecture. It's no wonder people use Python/Perl/OCaml/Haskell/Smalltalk so they don't have to worry about any of this. -i [EMAIL PROTECTED] http://www.gelato.unsw.edu.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] X issue
ashley maher wrote: I've just completed an amd64 ubuntu install on a new computer. The video card is nvidia 6200 and the motherboard is the tyan k8we. I have that card on amd64 ubuntu, different m/b though. All looks very good initially. Mine didn't, the screen was there but the colours were badly corrupted when using the existing binary drivers from the repository, was the same in 32bit too. If you open firefox, for example, it opens fine. If you scroll down the scrolling area becomes snow like the static on the old tv sets. If I open evolution the task buttons are not always there. They appear if you run the mouse over them. If you try and get email the scrolling area snows up like firefox. Other apps are similarly afflicted. Using the nv driver I got some weird artifacts, mostly cursors leaving trails in firefox/thunderbird. Searching google appears to be a common issue, however nothing I've found works. The nvidia installer (7667) worked for me, except the old /etc/init.d/nvidia script (from the ubuntu package) destroyed some symlinks on reboot*, so delete that before you run the nvidia installer. * I didn't reboot until getting to a LAN game a few days later. grr. Ideas, solutions, comments, urls, etc great fully received. If you're using PCI-E, then I have seen a problem where the 'mtrr' setting in xorg.conf needs to be changed, but that was an ATI card. Don't forget to take dri and GLcore out of the modules list if you're using the nvidia driver. Section Module Loadbitmap Loaddbe Loadddc Loadextmod Loadfreetype Loadglx Loadint10 Loadrecord Loadtype1 Loadvbe EndSection Section Device Identifier NVIDIA Corporation NV40? [Unknown nVidia Card] Driver nvidia BusID PCI:1:0:0 Option RenderAccel true Option NvAGP 2 EndSection -- Felix Some logs below, at least parts that seam to indicate problems. Regards, Ashley ##LOGS /var/log/gdm/:0.log X Window System Version 6.8.2 (Ubuntu 6.8.2-10.1 20050831034030 root@) Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: Linux 2.6.8.1 x86_64 [ELF] Current Operating System: Linux acca 2.6.10custom.1 #1 SMP Thu Sep 15 11:21:58 EST 2005 x86_64 Build Date: 31 August 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present OS Kernel: Linux version 2.6.10custom.1 ([EMAIL PROTECTED]) (gcc version 3.3.5 (Debian 1:3.3.5-8ubuntu2)) #1 SMP Thu Sep 15 11:21:58 EST 2005 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Fri Sep 16 06:28:19 2005 (==) Using config file: /etc/X11/xorg.conf Skipping /usr/X11R6/lib/modules/libfb.a:fbmmx.o: No symbols found Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXgetActiveScreen from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! (EE) Failed to initialize GLX extension (NVIDIA X driver not found) Warning: font renderer for .pcf already registered at priority 0 Warning: font renderer for .pcf.Z already registered at priority 0 Warning: font renderer for .pcf.gz already registered at priority 0 Warning: font renderer for .snf already registered at priority 0 Warning: font renderer for .snf.Z already registered at priority 0 Warning: font renderer for .snf.gz already registered at priority 0 Warning: font renderer for .bdf already registered at priority 0 Warning: font renderer for .bdf.Z already registered at priority 0 Warning: font renderer for .bdf.gz already registered at priority 0 Warning: font renderer for .pmf already registered at priority 0 Could not init font path element unix/:7100, removing from list! ### dmesg | grep -i pcie gives: pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5 pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5 pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5 pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5 pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5 pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5 pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5 pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] [OT]: Database Design Question
Adam W wrote: Hi, Can anyone put a name to the following type of design... I dunno what you'd call it, except perhaps a violation of Boyce-Codd Normal Form. I've seen a Lotus Domino DB2 database that did this, but I'm not sure if that's the way it usually works or if this was a custom thing. I need to be able to modify the amount/names of data fields stored for an entity so instead of representing the data stored for an entity in fields associated with that entity you would relate it to an another entity which would contain a datafield type field and its associated value, so different rows in the parent table could possibly have different datafields associated with it. E.g The parent table is person and it holds common data amongst all people - it has primary key of personID. There is another table assoicated with person called personDetails. This would have fields personID, dataType and dataValue. It might have records like the following: personID, dataType, dataValue 1,phone,123456 1,email,test@test.com 1,state,NSW 2,phone,987456321 2,state,VIC 3,phone,789456123 Of course this is just an example - the parent entity could be anything. Hope someone can put a name to this sort of design. I want to research into this to see how people search effectively in this design and its performance compared to traditional methods etc etc. Performance was ridiculously bad, and getting the data back out into a more sane format was a nightmare. Searching will suck because the index over the dataValue column will be trying to do several things at once, and missing values will be a problem. I have done it myself once, but I knew it was a nasty hack, and didn't care about the performance issues. It was a nice easy way to get the ACID stuff for free without trying to re-invent the wheel. I'd say that if you don't want your data to be relational, there's not much reason to be using a RDBMS. Maybe an object database would be a better idea if that's what you really want to do. Any help would be appreciated. I wouldn't do it. =) -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Re: P120 install - reboot oddity
elliott-brennan wrote: Hi Peter, I'm trying to install DSL. I've changed the IDE cables around and the settings in BIOS and the CD-ROM and the HDD itself; trying them out as Master and 'apprentice' in various orders and with each on as IDE 1 or 2. The best I've got to is disk boot failure, when it's started up the disk in the drive and then... pause... disk boot failure :( Dunno what's going on. I've tried other disks that I know work (Puppy Linux - even Slackware) and no joy. Regards, Patrick Peter wrote: Subject: Re: [SLUG] P120 install - reboot oddity From: Peter Hardy [EMAIL PROTECTED] Date: Thu, 4 Aug 2005 16:32:02 +1000 To: slug@slug.org.au To: slug@slug.org.au ...and then elliott-brennan said: This is a bit of a project. I've an old P120, 32Mb RAM. I can set it to boot from CD-ROM (and I've pulled a working drive from another machine for this, so I know it works). When it boots, I get the usual info about RAM and primary and secondary drives etc. All seems well. Then it starts to boot from the CD-ROM drive and I get: FD SYSTEM TYPE-(00) and then: Press a key to reboot What distribution are you using? It's not trying to boot a 686 kernel, is it? -- Pete You might want to see if you can find an updated BIOS for the M/B, bootable CDs were not very common around the time of P120s and support for them wasn't very good. If that fails, I have a few P1s lying around. -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Two problems - any CLUE/LART accepted
James Gray wrote: Hi All, From the coercion of a colleague (hi Mike), I've done the Quake3 thing - something I've always resisted. I'm not a big FPS fan, RTS is more my thing, but anyway. The hardware: My system is a K8VSE-Deluxe AMD64-3000+ machine with an NVidia FX5700 card with TwinView (dual head) set up and working nicely with KDE. First Problem: Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64 Kubuntu system, I realised the DVD-ROM has stopped running in DMA mode (WTF?). It used to, but I haven't used it in over 4 months and I think there was a kernel update in there somewhere. I've done the hdparm -d1 /dev/hda but it just barfs and syslog dumps a Drive Seek Error 0x51 etc in dmesg (yes, hda, my SATA drive is the boot drive and is sda). Any ideas? I'm not in front of my AMD64 box so chipsets/exact-errors will come laterjust thought someone might have seen this before? Second Problem: After getting Quake3 running (yay me...I think) I have it displayed on the second monitor (on the right) in the bottom-left corner with only the top half of the image displayed (see ASCII art below). My primary monitor runs 1280x1024 and the secondary runs 1024x768 with TwinView handling all the multi-head stuff. Obviously 1/2 of a Q3 screen aint gonna get me anywhere so how can I force it onto the main dislpay at a reasonable resolution? You could run in windowed mode, if you can see enough of the settings menu, uncheck 'full screen', or hit alt-enter. I have seen Q3 display strangely if it's told to run in a resolution not actually listed in xorg.conf, have you tried setting Q3 resolution to 1024x768? If it runs OK apart from all that, can you let me know what nVidia card you're using? I have plain Ubuntu on AMD64, but 32 bit games run at a fairly bad framerate and have glitches with textures displaying strangely. eg, - | | | | |This is all black | | | Primary monitor is over there -- | | and is totally black. | Quake 3 | | | top 1/2 | | | here | | - Ideas anyone? I need dual head more than I need quake, but it would be nice not having to boot that other OS just for the occasional fragging. Is there a graphical twinview config thingy where you could temporarily disable the 2nd screen? (Only a dirty camper would have time to check their email while playing Q3.) =) -- Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] glut apps giving blank window
GLUT seems to work for me in Hoary with the nVidia X driver. QuantumG wrote: Would anyone happen to know why an app which uses libglut might display a blank screen under ubuntu but work fine on every other linux box I've tried? I'm thinking xorg might be the issue. Trent -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] number prediction
Julio Cesar Ody wrote: Hello. Is anyone aware of any application/lib (any lang) suitable for guessing numbers? I'm trying to build one who takes three number sequences, like for example: 18402049 18032149 18429401 And then it tries to guess the next possibilities. It works like a keygen. Thanks a lot. This is will predict the next number in your sequence: #/usr/bin/python import random while True: print guess is %d % random.randrange(0, 2**32) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which fs is best ...
Jason Rennie wrote: JFS has been pretty good for me, and I'm guessing that it's more unlikely to eat all my data than a fancy bleeding-edge filesystem. Good large file performance ? Dunno really, seems OK =) I don't do anything serious enough to stress it probably. What exactly did you like about it ? I read about JFS when SCO was claiming ownership of it. If I was going to go to all the trouble of stealing it from SCO I thought I may as well have a look at it. =) I have stuck with it after some initial playing around, and it's been really reliable. Mainly, I like the fact that it hasn't eaten any of my files (big or small). Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which fs is best ...
Jason Rennie wrote: Which linux file system is best for storing large files (Big MPEG and AVI files specifically) ? I'm guessing ext2/3 is not the best choice, but I don't really know which to choose from Reiser, XFS or JFS. What are peoples experiences with such things ? Jason JFS has been pretty good for me, and I'm guessing that it's more unlikely to eat all my data than a fancy bleeding-edge filesystem. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] MySQL dumps per database, how 2 script ?
Voytek wrote: I have a script that dumps all MySQL databases along these lines: -- #!/bin/sh set $(date) # create sql dump of databases: rm /backup/database/koala_$3.sql.gz mysqldump -u backup --add-drop-table -F -A /backup gzip /backup/database/koala_$3.sql -- that works quite well, but, it's a little unwieldy to find invidual databases amogst the 400,000 lines of dump, so I'd like to dump individual databases dumped one at at a time I can dump names of all databases with something like 'mysqlshow' but not sure how to parse the 'borders' and feed it back to the mysqldump -- +---+ | Databases | +---+ | atom | | commodore | -- perhaps some has such a script already ? You can tell the mysql client to leave out the boxes (and the 'databases' column name): mysql -p -B --column-names=FALSE -e show databases -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Code Sample Suggestion
Jason Rennie wrote: Hi all, This is a rather odd request, but I have to turn in a code sample (in C++) for a job I am currently going for. It needs to be a couple of hundred lines of code and I seem to have tossed the stuff I have done in the past, so I need to make up some more. The question is, what the heck should I code ? Anybody know what sort of things they are looking for in a code sample ? Obviously something that using classes/inheritance/polymorphism etc, but what could I build on short notice to do something useful ?? Anyway open to any suggestions while I try to think of something myself. Jason Maybe something a bit unusual like a neural network or genetic algorithm, or perhaps one of the more obscure data structures with a test harness? Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Training CD, how? Jave Perl, Quicktime, Flash
Terry Collins wrote: Friend has to make a training video that will run off a CD on on P3s running Win2K. Why off a CD? Involves text, images(jpeg) movies (quicktime), animations (flash), inter-active questions and a final formal inter-active test which needs to be secure. He is going to produce a lot of this with Mac OSX and software. My guestion is about the glue that holds it all together. I know it all could be done with HTML, but I don't think this meets the security needs (aka, the test can not be fiddled). If it's to be run un-supervised, especially on boxes not under your control then there's nothing that can't be fiddled. If it is to be run on trusted machines, then lock them down (run a browser in kiosk mode?), not much they can fiddle with if they can't get out of the test. Even if they're not trusted, it should be possible to at least make it *difficult* to cheat, you only have to make it not worth the effort, not necessarily 'secure'. ATM, a sub-contractor is suggesting Adobe In-Design to produce it all in Java. 1) (non-linux) Can anyone tell me if this is abad idea and why and have anyother suggestions. Always a bad idea =) NFI about In-Design sorry. 2 (linux) Can anyone make any recommendations on opensource to produce it or to run it. Do it as a website, whack it on an apache box and serve it up for the windoze (or any other) machines? They can't fiddle the test if only the server knows the answers. If it does have to be on CD, then HTML would work well too. How the test results or answers are stored or transmitted would be the main problem I think. There's open-source flash tools, but the macromedia stuff is probably easier. Universities often have computer based quiz type tests, so maybe there's something open source to do that with. I've just become the general dogsbody that has to solve all the technical problems {:-(. If he was going to offer it on-line (WWW), what would you recommend? HTML / Flash / video as mpeg or ogg. No flash even better. Animated gifs might do for simple animations. Flash would do the tests pretty well too probably. HTH, Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Slides for my Beyond C, C++, Perl and Python talk
André Pang wrote: On 04/07/2004, at 2:15 PM, Rick Welykochy wrote: I've put up slides for my Beyond C, C++, Perl and Python talk at: http://www.algorithm.com.au/mt/archives/talks/ beyond_c_c_perl_and_python.html I'm happy to discuss any aspects of it on-list or off-list. I was actually intending to write up some additional references and discussion on that page, especially for topics that I wanted to cover but didn't have time for (e.g. garbage collection and meta-programming), but I figured that if people are actually interested in all that, they can ask me and I'll add to the page later :). Simply fascinating. As a programmer who's been through C then C++ (still a fave!) then on through scriptors like perl, I found the paper very enlightening. I've dabbled in Haskell and found out my onw programming limitations ... need more work in the ML/functional area. I could probably do with a good dose of Lisp as well. Thanks for the feedback Rick. Unfortunately the presentation didn't cover anywhere near as much as I really wanted to cover: I basically spent the entirety of the talk going on about type systems, which wasn't my original intent, but I think it worked out OK. I guess I can cover everything else in a future talk, if people are so inclined ... Any references you have on these topics most appreciated. References, hmmm ... a big, big problem with Haskell is that most of the references you can find are papers; not books or easy-to-learn tutorials. That wouldn't be too bad, but the papers are usually targeted at people who already know the language: a lot of Haskell development right now is involved with advancing the language, and is no use to the beginner and is completely overwhelming. I've found that any introductory books on Haskell are usually targeted at somebody who's completely new to programming, or assumes that you have a functional programming mindset already. (Keep in mind that a lot of the Haskell language designers and implemenators are _really_ smart, and they tend to live in ivory towers rather than try to figure out what the masses are up to :). I don't think the language is actually that hard to learn, but I haven't yet found a book or tutorial that presents the ideas in a digestible way to someone who's new to the language, but is already an experienced programmer using imperative or object-oriented languages. That said, probably the best bet for learning Haskell is Hal Daume's Yet Another Haskell Tutorial: http://www.isi.edu/~hdaume/htut/ I find that the start's pretty slow, and presents things in an order I wouldn't choose if I were to help someone understand the language, but lots of other people have liked it, so hopefully you might too. Another tutorial you may find useful is Tom Moertel's Haskell for Perl Hackers talk: http://community.moertel.com/ss/space/Talk+-+Haskell+for+Perl+Hackers Which covers the basics quite well, but unfortunately doesn't have the time to dive into why the basics are the way they are, and IMHO doesn't really whet the appetite for functional programming. e.g. he explains what higher-order functions are and gives an introduction to Haskell's very powerful type classes, but doesn't explain how make programmer better by showing real, concrete advantages over similar ideas in OO languages. Still, it's a good talk, and most likely he couldn't get deeper into those topics because of time constraints. If anyone's brain has survived that lot and is begging for more punishment. =) I have a copy of Haskell - The Craft of Functional Programming, free to good home. http://www.amazon.com/exec/obidos/ASIN/0201342758/103-6795994-6708612 Reply off list if you want it and I'll bring it to the next SLUG meeting. Felix snip -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Optus broadband
Alan L Tyree wrote: Optus just rang me with a $100 kickback deal on broadband connection. They supply a Dlink modem. I'm running RH8 - am I going to have any hassles setting this up? Is it ADSL or cable? Shouldn't be a problem either way Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which open source license is best
Ken Foskey wrote: BSD is the only true Open Source license. This is an interesting quote from an idiot. But I would really like to here other opinions on this. Maybe it is the one true OS license, but maybe we don't actually need or want a 'true OS license' in every case. I know there are thousands of licenses I would like to classify them: a) BSD like - use how you want includes Public Domain. b) LGPL like - for libraries. c) GPL like - can never be used in conjunction with closed programs. d) Corporate - pay for use in many forms - includes shareware. There are many ways to use code, at runtime, linking, directly copying in full or just taking bits of it. I think the Free software licenses are not so much about what you can and can't do, just that you must *always* provide source to anyone else who will 'use' (by normal execution) a work incorporating it. Where GPL and LGPL differ is the definition of 'a work incorporating it', such that software which just calls the existing LGPL code at runtime is not counted as 'incorporating' it, so is not covered by the requirement to provide source. For the record. I believe that LGPL is the only true Open Source license. a) It allows me as a professional programmer to use it anywhere I want. Yeah, but the 'use' you have here may not be not the same as 'use' in all the cases above. b) It obligates the me as a professional programmer to release any patches back to the community. The moral clause it you like. Personally, I'd like to encourage as much open source development as possible, so I'd go with pure GPL for any library code I might want to release. Please play nice! My take on it is that anyone is free to use GPL code for whatever they wish. If they want to give it to someone else, it's not them using it anymore, it's the recipient. Thanks to the GPL, the recipient can then do whatever they like with it too. There is no point where someone is 'not allowed' to do something with the source. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which open source license is best
Jeff Waugh wrote: quote who=Felix Sheldon My take on it is that anyone is free to use GPL code for whatever they wish. If they want to give it to someone else, it's not them using it anymore, it's the recipient. Thanks to the GPL, the recipient can then do whatever they like with it too. There is no point where someone is 'not allowed' to do something with the source. There are all sorts of things you're not allowed to do with GPL source. :-) - Jeff I can copy it, compile it, run it, modify it, extend it, combine it with other code, delete parts of it, write a novel about it, translate it to some other language, and most importantly, distribute it. What else could you ask for? 8) Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which open source license is best
Jeff Waugh wrote: quote who=Felix Sheldon There are all sorts of things you're not allowed to do with GPL source. :-) I can copy it, compile it, run it, modify it, extend it, combine it with other code, delete parts of it, write a novel about it, translate it to some other language, and most importantly, distribute it. What else could you ask for? 8) Me, generally nothing, but there are some important distinctions you've left out of your list, ie. combine it with other code ... distribute it. But can you? :-) combine it with other code Sure! Even the stolen Win2k source if I had it! distribute it Of course! I am talking about GPL code here. combine it with other code + distribute it Nothing in the GPL rules it out. Maybe the license on the other code says something about it, but the GPL doesn't. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which open source license is best
Robert Collins wrote: On Sat, 2004-06-05 at 16:53, Felix Sheldon wrote: combine it with other code + distribute it Nothing in the GPL rules it out. Maybe the license on the other code says something about it, but the GPL doesn't. Actually, the GPL 'no other constraints may be imposed' is the reason one often cannot combine ship. I.e. one cannot ship vanilla GPL code linked with openssl. The author of openssl could do it if he/she/they wanted to, so it's not entirely impossible. :) Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Which open source license is best
Robert Collins wrote: On Sat, 2004-06-05 at 16:00, Felix Sheldon wrote: There are many ways to use code, at runtime, linking, directly copying in full or just taking bits of it. I think the Free software licenses are not so much about what you can and can't do, just that you must *always* provide source to anyone else who will 'use' (by normal execution) a work incorporating it. Erm, thats not the definition of the GPL or LGPL. The GPL's key thing is that you must always make the the source *available should it be wanted*. (This is quite different). True, but I meant the '*always*' to be in relation to whether you have done this or that with the code. If doing something with the code means you cannot provide the source, then you cannot distribute the GPL code. It's not the GPL stopping you, it's your inability to provide the source. Whether they want it or not you still have to provide (make available) the source. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Fedora 2 and Red-Carpet
bill wrote: Hi All, I have both Fedora Core 1 and Fedora Core 2 installed (same PC - sep Hard Drives). I have installed and Red-Carpet package manager on both. It works fine on Fedora 1 ( after all, Red-Carpet rpms are available from Ximian for Fedora Core 1), but on Fedora 2 I get an error message when trying to run Red-Carpet (installed Fedora 1 rpms - none available for Fedora 2):- /usr/lib/red-carpet/red_extra/_init_.py:2:RuntimeWarning: Python C API version mismatch for module xxx_red-extra: This Python has API version 1012, module xxx_red-extra has version 1011 from xxx_red-extra import* The module will probably still work, even if it is the wrong version, but python is warning you just in case. The script should continue running after the warning I think, do you see any other errors after that? Not being a programmer in any shape or form, I'm guessing that the Red-Carpet extras pkg is trying to import a python module (C API) from an earlier version of Python (FC2 has python 2.3.3-6). I therfore assume that I either need to:- 1) create a symlink to point the old module (1011) to the current module (1012), or Nope, that won't fool it =) Can you get a more current module to match your python version? 2) edit the appropriate red-carpet pkg ( I believe that they are all python scripts) to change the import module request. The line in question is just this bit: from xxx_red-extra import * which tells python to look in various places for a module called xxx_red-extra, most usually in it's 'site-packages' dir. The problem is it can only find the 1011 version. What you might be able to do is have an older version of python run the scripts, that way the module might match. Something like changing /usr/env/python to link to python2.2 instead of python2.3 would probably do it. You can see what version python you have on either system by just running 'python' in a shell. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Anyone feel like working on Compressed block device?
Grant Parnell wrote: I've got a project on a side burner that's basically using a proprietary set-top-box (can provide details privately), the customer want's to change some of the startup files contained on a certain partition of a disk-on-module IDE device. This is in no way to do anything illegal, they simply want to use the box for something it wasn't intended for. They know it's possible because they've managed to configure it once booted, they just can't seem to store the changes. I should point out that this very excercise is LEGAL at this point but would most likely not be LEGAL if the FTA goes ahead. Write to your minister about it. Anyway... managed to dd a copy of the disk-on-module to play with and looks like the 2nd partition is ext2 but the first is not anything regular. Doing a strings on it revealed the string The boot/system partition is not of type CROMDISK ! among other things (pointing to the manufacturer). Anyway, cutting to the chase... I believe it's using something called a Compressed Block Device which acts like so:- fwrite()--ext2--CBD--ide_block_device--physical_media From my understanding it's not cramfs, romfs or cromfs (2 out of 3 in the normal kernel tree). I found a patch for the 2.4.0 kernel below. There's some interesting reading fairly early on (starting line 35). http://grumbeer.dyndns.org/ftp/linux/kernel/patches/misc/cbd-2.4.0-2.patch I tried to patch it into the 2.4.22 source and lets just say it got beyond me as after fixing up the rejects it really wasn't going to build nicely. Right now I'm seeing if I can build a 2.4.2 kernel I found from a SRC RPM on a RedHat 7.1 CD set with the hope that the patch will have more chance of building. The point of this excercise is to build as system that can modify this partition, hence I don't care what kernel it runs. Just thought I'd write this email whilst waiting for the build to finish. The time spent on this so far is more than it's worth so my client is pursuing other avenues - I'm mainly doing this because I belive it may help some other clients that have a similar problem down the track and some stuff we've run up against in the past. I'm prepared to give an EverythingLinux discount in return or something like that. It looks like it's a read-only filesystem, so dunno if there's any point getting that driver to work? Seems like the mkimg program in there takes an existing filesystem and compresses it for reading by the CBD driver, so maybe you could get away with just writing something to decompress an image, based on what mkimg does to compress it. Shouldn't the device manufacturer be providing source for it by the way? Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Bigpond and M$
Jasper Streit wrote: I tried to get Bigpond to mirror Dynebolic (live mulitmedia distro) on their server (so it don't clock up the megs on cable) and was astonished to have it rejected- moreso was utterly bewildered for their response: (and this is a direct quote) - Out of respect for Microsoft's wishes, we are not making available any software that promotes or allows the modification or alteration of their Xbox console system for anything other than its intended purpose. - I wasn't even considering using this live distro on an Xbox- but am sure as hell feeling spiteful enough to try now. Hope they don't find out that Debian works on XBox. What a bunch of fools. Bunch of something else starting with 'F', if you ask me. If you think that's bad though, wait until the free trade agreement goes through and it's actually illegal to use your own hardware 'for anything other than its intended purpose'. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Dosemu/Freedos and parallel port dongle
Matthew Davidson wrote: Thanks to all who had suggestions. I should have been a bit more precise in my original post. The parallel port dongle is not for copy-protecting the software, it's for ensuring the devices that the software is designed to configure aren't tampered with by unauthorised persons. I have been running dosemu as root. There are no hardware problems, as I'm dual-booting, and the software works fine under win98. Subsequent investigation uncovered a feature for detecting a parallel port dongle in the software I'm trying to run, and it does detect the dongle under dosemu, but still no communication. So the problem does seem to be, as one clever chap suggested, with the serial port. At this point, I'm again stuck. The PC is an IBM 300PL, and doesn't seem to have anything particularly unusual about it. The IRQ and IO settings for the serial ports can be configured in the bios, and are on the standard settings. It is a plug-and-play bios, but the Plug and Play OS parameter is set to no. setserial /dev/ttyS0 returns the expected result; no error messages. I tried configuring dosemu for low-level hardware access to the serial port, as recommended for the parallel port, with no joy. I've not seen any mention on Google of people having to do this with the serial port, but no harm in trying. I had an (unused) internal modem in the PC, which I ripped out in case it was causing a conflict, but no improvement. I have to admit to being nearly completely ignorant of how serial ports work. Anybody have any clue what may be going wrong, or how to isolate the problem? Hi Matthew, I suppose you have the speed / parity / data bits / stop bit settings to match what's on the other end of the serial cable? Maybe you could find a null-modem cable and connect it between your serial ports, then run a DOS comms program in DOSEmu and minicom on Linux. Felix snip -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] error recovery in gpg
Jamie Wilkinson wrote: Does anyone know much about GPG's encryption ciphers, and how well they recover from stream errors? It's been brought to my attention that a gpg encrypted backup on a tape may be susceptible to a bad block on the tape, and I want to know how much redundancy there is in the cipher, which may be none in order to fend off brute force attacks. If not, does anyone have any recommendations on where I can start looking? A google on error recovery for each of the ciphers in gpg --version wasn't very useful. I'm no expert, but RSA has pretty good error detection, which is about as much as you can hope for. Other algorithms won't even do that, but a message can be both signed and encrypted of course. The fact that the size of encrypted data == size of plaintext is a bit of a hint as to the levels of redundancy =) Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Dosemu/Freedos and parralel port dongle
Matthew Davidson wrote: Hi, I'm trying to get a DOS app that requires a parallel port dongle to work with Debian unstable, and am hoping someone on the list has some experience with this. It's an in-house app that has very little documentation to speak of, so I'm in the dark somewhat on that side of things. The app wil run, so there's no problem with dosemu/freedos per se (and I've got it running old games at home with no problem), but it doesn't work. It's supposed to talk to other machines via the serial port which I have configured in dosemu.conf like so: $_com1 = /dev/ttyS0 but the application just can't see them, I'm presuming because it's not recognising the dongle on the parallel port, which I have configured thus: $_ports = device /dev/lp0 fast range 0x378 0x37a $_irqpassing = 7 Some old, old usenet postings say you should disable the lp kernel module, which I had assumed the device bit above now obviates, but I tried it anyway to no avail. I am using Linux 2.4.25. Would be grateful for any ideas, I am a master at overlooking the obvious. Hi Matt, I'm no expert on the serial or parallel ports, but here's a few things you could try. I would attach an old printer to the parallel port for testing first, it's going to be hard to know if it's working for sure otherwise. Dosemu has a debugger built in, which might help to spot the problem, it's not terribly easy to use though. Also, assuming the application is old and no longer supported, it could be possible to 'fix' the dongle problem permanently Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ripping apart a link
Ken Foskey wrote: I have a configure problem for OOo. /usr/bin/ant is a link to /usr/share/ant/bin/ant. I need to find the ultimate source for that link so that the ANT_HOME directory is set correctly. Is there an easy cross platform way to do that? That should only happen on UNIX shouldn't it? readlink is what you're after in that case. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ripping apart a link
Ken Foskey wrote: On Mon, 2004-03-15 at 23:02, Felix Sheldon wrote: Ken Foskey wrote: I have a configure problem for OOo. /usr/bin/ant is a link to /usr/share/ant/bin/ant. I need to find the ultimate source for that link so that the ANT_HOME directory is set correctly. Is there an easy cross platform way to do that? That should only happen on UNIX shouldn't it? readlink is what you're after in that case. Dropping onto my favourite solaris server... charlie% readlink -f /usr/bin/ant readlink: Command not found doh! Reading the ant code itself is an education: if [ -z $ANT_HOME -o ! -d $ANT_HOME ] ; then # try to find ANT if [ -d /opt/ant ] ; then ANT_HOME=/opt/ant fi if [ -d ${HOME}/opt/ant ] ; then ANT_HOME=${HOME}/opt/ant fi ## resolve links - $0 may be a link to ant's home PRG=$0 progname=`basename $0` # need this for relative symlinks while [ -h $PRG ] ; do ls=`ls -ld $PRG` link=`expr $ls : '.*- \(.*\)$'` if expr $link : '/.*' /dev/null; then PRG=$link else PRG=`dirname $PRG`/$link fi done ANT_HOME=`dirname $PRG`/.. # make it fully qualified ANT_HOME=`cd $ANT_HOME pwd` fi Might just lift this and run the code asis... ahh, ls -ld and grab the bit after the '-' -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] A valid analogy.
Ben Donohue wrote: Sorry Richard but I disagree with this analogy. Evolution theory is based on getting better from NON intelligence. Intelligence is NOT in the equation. Oh no. So you're a creationist then? Linux and other free software is based on the collective intelligence of a whole lot of very smart people. If I was a programmer I would be a bit insulted if someone said my work, hard thought and know-how was in fact based on random input. I'd object and say that I don't just type in random characters into the keyboard along with a zillion other programmers and there happens to be the odd one that makes a good program. AND then some other RANDOM process figures out which is the best working program and includes that in the Linux kernel without any testing or whatever. NO. It was mostly your choice of language that tipped me off, but this ridiculous statement shows that you have no clue about what you're arguing against. Evolution by natural selection can be defined as the non-random survival of imperfectly replicating enities. Notice the *non-random* bit? Look at it this way: Say many people decide to fork XFree86, and the choices they make about what to put into their new forks are fairly random. The forks will obviously not end up identical to the 'parent' project: imperfect replication. Over time, some will gain more widespread use than others: non-random survival. Therefore, XFree86 has 'evolved'. Linux changes and gets better and better over time as bit like modern car design or jet aircraft from biplane over time. It's refinement over time but it's NEVER random. How can something get better without intelligence behind it? Linux is MADE to be virus resistant by design. And design means a designer. And a designer means intelligence. Linux people are intelligent people. THAT'S why we don't get viruses. We use our intelligence. Try reading up about things such as the theory of evolution, emergent behaviour, genetic programming or biology in general. I don't think SLUG is the place for proselytising either, thanks very much. Felix Richard Neal wrote: The nearest single analogy I can come across that explains Linux security is Linux is based on an evolutionary development platform were the fittest and most diverse survive. Were windows has a forced evolutionary development based on what sells software. As anyone who has studied evolutionary science can attest the more diverse and random your genetic makeup, the higher the probability of survival in the natural ever on going virus arms race. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] call for votes: BSP talks
Matthew Palmer wrote: TOPICS: * Packaging and Building (1 hour). An amalgum of the above two talks, with all the interdependencies between the two parts followed. Please note that I'll likely only do one or the other - it all depends on whether people want to be bored in short blocks or in one large chunk. g * Basic debugging with GDB and friends (30 min - 1 hour, depending on how much I cover - pick your depth!). Although a lot of software these days is written in higher level scripting languages, with their own debugging infrastructure, being able to get into GDB and get a stack trace or similar is quite useful. Also handy is memory leak checking and bounds checking with ccmalloc and electric fence. Note: this will not be an in-depth investigation of how to use GDB. Pretty much it'll follow what I wrote some time ago at http://ieee.uow.edu.au/~mjp16/prog/debugging - but it'll have live, interactive screwups for extra entertainment. g I'd like to see these ones. The non-CVS version control talk sounds good too. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [slug] NMEA logging
Nicholas Tomlin wrote: On Wed, 14 Jan 2004 01:51 am, you wrote: These guys have one listed: http://www.everythinglinux.com.au/item/UC232A so it might be worth trying to get hold of that particular model, there or elsewhere. Felix Felix, Thanks, I went to domayne and grabbed a Belken F5U409CU USB to rs232 adapter, at the exhorbitant price of $70.00 in round figures the unit that you have is a tad more economical, though not in stock. I tried the belken and went scrounging around for a driver to suit but same for linux are in short supply. I couldn´t get it to work. Under their policy I can and will return it for refund, then go back to where I should have in the first place - www.everythinglinux!. This page mentions someone getting it to work with the mct_u232 module http://www.dragoninc.on.ca/mail-archives/linux-usb/2002-04/0089.html Maybe give that a go first? but wait, there´s more!! I found a GPS receiver that plugs straight into your USB port, with NMEA output and only $159.00 inclusive of tax!! Does everyone want one?? Wow that's cheap, does it work standalone too? Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] apt NVIDIA driver - how to get it?
Phillipus Gunawan wrote: G'day, I had a GeForce MX 2 64 mb and trying to make it work under my debian box. I looked at the docos and the easiest way to get these files: Package nvidia-glx Package nvidia-glx-dev Package nvidia-kernel-common Package nvidia-kernel-source is to use apt-get (hey, thats way I am using debian) Here is my sources.list: deb ftp://ftp.us.debian.org/debian/ testing main non-free contrib but when I run dselect and query package of NVIDIA, only 'nvidia-kernel-common' showing, nothing else. Anybody know the painless way to get this AGP card works? The installer from nVidia has always worked well for me. You will need to apt-get the kernel-headers to match your kernel, then you just specify the headers path to the installer, and it builds the kernel module for you. Then 'dpkg-reconfigure xserver-xfree86' to choose the nvidia driver, remove some modules, etc etc. The README on the nVidia site is helpful. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] NMEA logging - GPS
Nicholas Tomlin wrote: Hell sluggers... Heres another problem I might not be able to work out... I have a GPS and want to log its output onto a computer in simple NMEA format. The GPS outputs a comma delimited data stream which contains text and numbers, usually in the format of a code for the data type and then the data itself, this is usually five alphas followed by the pertinant data with commas. I pulled out my trusty old toshiba t1100 + (15 years and it still goes!) and logged the data successfully via the onboard coms port - you know - a DB9 connector, this was using MS-DOS 3.2, which is grand but I want to do it with my newer laptop running mandrake 9.2 - it has more disc capacity and processing power. To do this I need to convert the DB 9 pin to a USB input, I need to read the USB port at 4800 Baud for it to be readable, and to top it all off, I need to be able to write this data to a file - say every 10 minutes, simple text would do. So, How can I do it?? I think you will need a USB - Serial adaptor, USB is a lot more complicated than just a very fast serial port. After that, it sounds like a job for Python! Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Asking about printing Barcode in JAVA
pesoy misak wrote: Dear all I have a problem with printing in JAVA. I have a font (Code 39) that could convert all the numbers into barcode (thanks to felix sheldon for the guidance) the problem is the barcode scanner doesn't want to read the barcode that I have printed using my bubble jet printer. Is there a problem when reading a barcode printed using inkjet printer or may be the paper. Is there any suggestion? First, make sure you added the start/stop characters: '*1234*'. If that's OK, try a bigger font size such that the stripes are nicely defined. If the stripes are distorted by your inkjet then you will have problems scanning. If you're only using numbers, interleaved 2of5 is a much better bet, it only needs to encode 0-9 and a checksum, so you get much bigger stripes for a given code length. It'a bit more complicated to use a 2of5 font though. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] asking about printing in JAVA
pesoy misak wrote: Dear all Hi everybody Happy new year ^_^. I have got a problem in programming with JAVA using barcode reader. now I want to know whether anyone have a clue with printing barcode in JAVA since a big problem with it or any reference to using printing with barcode output. Some laser printers can do barcodes natively, I've used Kyocera printers to do it before. It means using the raw printer control language, but it's not too hard. This gives you the quality needed for very small barcodes. The Zebra label printers work very well too, but are very pricey. You can get a Code39 barcode TrueType font, dunno if there's any free ones. There's some example code around on the net for doing code 39 and interleaved 2of5 as graphics, it shouldn't be hard to port to Java. HTH, Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Copy Controlled CDs
Matthew Palmer wrote: If so, I think Sony wanted to hear about it, as they're claiming conformance to a standard they don't actually conform to... Actually, it's Sony that's responsible for some of these schemes. Philips 'owns' the Red Book standard for Compact Discs. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] (slug) Networking problems
Nicholas Tomlin wrote: Hello sluggers, Well, I´ve done it now... I bought 3 ethernet cards and hope to make a network for the three machines I have, probably a parallel port for the laptop would have been less expensive but... the would have been too sensible. If anyone can help me here: I´m about to go mad and give up to the evil darth microbe. I have 3 Computers - Objective is to file, print share and internet share as well. a) 1 PC dedicated to linux on mdk 9.2 with 2 ethernet cards and dial up connection via ppp to internet and mail server, printer and scanner, 2 x 20 GB hdd, 512m ram b) 1 PC swapped between mdk 9.0 and win 98, if only for accounting, has one ethernet card and is connected directly to the above computer - needs to be able to print from win 98, web browsing etc from mdk 9.0. c) 1 Toshiba satellite laptop with mdk 9.2, onboard ethernet, is connected directly to the (a) computer - needs to be able to print and share files with (a) computer. Now despite trying my damnedest to get them to talk to each other, including installation of the OS on the (a) computer about a dozen times (yes... I am thick) unmentionable numbers of swear words and reconfigurations and boots, reboots, etc, etc, they both still stare at me as if I´m brainless, cursors blinking mercilessly refusing point blank to do anything about shared printing, internet or even acknowledging each other down the internet cables they are connected on. In the config I get that both ethernet cards are recognised, at boot, and in the config menu as root, in the KDE system info at this point in time they are UP and in broadcast modes, I can´t figure it out. Does anyone have a stepwise procedure / howto for connecting machines in the manner I desire? I have and old sybex text but it is not very informative or useful in this endeavour. Hi Nicholas, I have a feeling you are using standard ethernet cables, which are wired for connection to a hub or switch. If you want to link two network cards directly, you need a cable with the send and receive wires swapped on one end. http://store.compute-aid.com/spec/rj45.html Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Run-time error
Peter Lambros wrote: Hi, I get the following error when trying to run one (a Visual Basic executable) of our laboratory information system applications, which have been written for Windows. Run-time error '458': Variable uses an Automation type not supported in Visual Basic I am using Red Hat Linux 9 and the Wine application to run windows applications. I have succesfully managed to install and run Word97 and Excel97 on this Red Hat Linux 9 machine. There is NO windows partition on this computer. Does anyone have any suggestions as to possible workarounds? I am definitely a novice when it comes to Linux, but I am very impressed with what I have seen at the moment. It would be a fantastic boost for our product if we can tell users that they can the entire application entirely on non-windows platform. We have tools that the database server runs succesfully on the Linux platform, but the GUI interface application only runs on Windows. Any ideas, suggestions would be greatly appreciated. I'm assuming you have the source for the application, but have you had a look at Mono? It's not going to allow you to just recompile the app, but if cross platform support is important, it might be worth a look at what it can do. Part of what's involved in that would be poting to VB.Net or C#, which may be useful for other reasons too. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] off topic: transferring W2K to a new system
Voytek wrote: I need to transfer a W2K HD to a new PC, totally different hardware, is there a way to do it short of re-installing W2K, or: don't waste time, just reinstall afresh all user data is on a different partition, so, fresh install is not really an issue, apart from time it takes I've been told that removing all the mobo related drivers ( IDE , USB, PCI bridge) etc etc before swapping can help. Might be worth a try if the old system is still going. Felix -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Freedom and Alternatives
Jeff Waugh wrote: quote who=Mike MacCana But a lot of people, including a good portion of Linux users (maybe even most) have no idea what Open Source means other some vague notion that it can be $free to acquire and comes with source code. This can include not Open Source software such as QMail, Windows, or Pine. Here's a question I've been asking a lot of people recently. Which do you care *more* about: a) An alternative to Windows b) Access to source code c) The ideal of continuing software freedom Discuss. ;-) There have always been plenty of alternatives to Windows, and there still are, just not all OSS, so I think it's more important to have an Open Source/Free software OS for whatever the cheap hardware of the day is. If there had been a huge free software movement based on software for OS/2 or BeOS or AmigaOS (well, there was, kind of..), it would be practically dead today, thanks to the companies that owned the copyrights on the OS. Even if we could have read the source code for these OSes, it would still be dead without the right to reuse it. (I wonder if IBM ever thought about open-sourcing OS/2?) So, I don't think you can ever really have c without b or a (where Windows == proprietary OSes). Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [slug] Microshit Xtra Pains - Bill tax avoidance
neast wrote: Hellos sluggers, I´ve lashed out and bought a notebook - toshiba satellite, only as it was on special, but I probably got skinned anyway. It came with the usual tax bill or bill tax, I´ve squeezed that down to a minor portion of what it was and still didn´t kill it off, quite surprised I am at the persistence of it, its like a bad virus that wont go away I still use MYOB and since I haven´t managed to get wine going I´m using the bill tax system to run it, as temporarily as I can make it. I tried to migrate MYOB data onto the notebook via CDROM, but it will not be read by M$ crapware, not on your life - it seems multisession CD´s don´t figure in the equation, though the same disk can be easily read whilst in linux mdk 9.2, and when I try to write to the windows partition with Linux it refuses, so, there seems to be a problem.. can´t read the disk in windoze, can´t write to windoze from linux. Does anyone else have a problem performing data migration from Linux to more pains?? Yes! But also have a few solutions for you: Linux has no trouble at all writing to FAT32 partitions, so if there's a bit of room left on your drive you could make one of those to share files between OSes. If there's no room left, you could steal a bit from your Linux swap partition, enough for a few big MYOB files certainly won't hurt. There's a program called explore2fs which will let you copy files from ext2 and ext3 partitions under Windows: http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm I wouldn't trust it to write to your Linux filesystem, but reading can't hurt. Also, a network card can be had for about $15.00, so if your laptop has a port built-in, it's probably the best way of sharing data with a desktop PC under either OS. If you share a drive on the PC, your dual boot laptop could then use it as a way of sharing files between OSes too. Maybe a CDRW drive would be the go to solve weird CD issues? Just use single session for temporary disks and erase for reuse. Good luck, Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Knoppix No More?
On Sat, 2003-10-11 at 18:08, Bill wrote: JUst visited the Knoppix site (http://www.knopper.net/knoppix/index-en.html), only to discover that is temporarily closed due to EU software patent madness. Click on the KNOPPIX link in the english protest message to get to the main site. Will the EU software patent fiasco help put M$ out of business in the EU too, or will M$ be treated differently? Maybe they will be forced to go on a patenting frenzy of their own, which can't be good. Guess that we have to just wait and see' Yup -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] creating a bootable iso image
Hi Shaun, The Gibraltar firewall-on-cd might be a good starting point if you're only after console mode stuff. It is set up to save your configuration to a floppy or USB memory stick. Maybe Morphix is worth a look too. Felix On Fri, 2003-10-10 at 12:58, Shaun Oliver wrote: hi all, I want to create a bootable iso for debian woody. mainly for my own benefit but if I can get it wo rowk well enough, I'd consider publishing it. I have here the speakup boot floppies frank made a while back with kernel 2.4.17 as well as driver disks. 1. how would I go about creating the image and 2. how would I use dd to get all 5 driver disks to become the tgz archive that is the modules needed for a woody install. thanks in advance. -- Shaun Oliver Becareful of the toes u step on today, they maybe connected to the ass you have to kiss tomorrow! EMAIL: [EMAIL PROTECTED] ICQ: 76958435 YAHOO: blindman01_2000 MSN: [EMAIL PROTECTED] AIM: captain nemo 200 IRC: irc.awesomechat.net: IRCNICK: blindman CHANNELS: #awesomeradio #mircpopup-magic #linux #help #ourworld #audiofile #mauisun -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] creating a bootable iso image
The driver floppy images are 512 bytes of 'junk' then a chunk of the drivers.tgz file. So, to get drivers.tgz back, try this lot: dd if=drv14-1.bin of=d1 bs=512 skip=1 dd if=drv14-2.bin of=d2 bs=512 skip=1 dd if=drv14-3.bin of=d3 bs=512 skip=1 dd if=drv14-4.bin of=d4 bs=512 skip=1 dd if=drv14-5.bin of=d5 bs=512 skip=1 cat d1 d2 d3 d4 d5 drivers.tgz Let us know how that goes. On Fri, 2003-10-10 at 12:58, Shaun Oliver wrote: hi all, I want to create a bootable iso for debian woody. mainly for my own benefit but if I can get it wo rowk well enough, I'd consider publishing it. I have here the speakup boot floppies frank made a while back with kernel 2.4.17 as well as driver disks. 1. how would I go about creating the image and 2. how would I use dd to get all 5 driver disks to become the tgz archive that is the modules needed for a woody install. thanks in advance. -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] two intractable problems
On Mon, 2003-09-15 at 13:50, Bret Comstock Waldow wrote: The other problem is much weirder. The desktop machine kills the cable modem connection when it's powered up. Even when there's no ethernet cable connecting it to the modem. Didn't used to. It's worked for almost 2 years on that setup, and now it's killing it. Windows or Linux. Pulling the machine into another room and powering it up there seems not to kill the modem, so power is all I can think of, but that's ridiculously inconvenient in his house - the cable goes into the computer room. Has anyone seen such behavior? Could be radio interference from that PC. Are all it's covers on? You could try running an extension power lead from the other room to test the theory. If the 'cable' internet is running coaxial cable, it should be fairly safe from interference, but maybe a connection is loose, or the cable modem itself is not very well shielded. -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] cdrecord: Inappropriate audio coding
- Original Message - From: Nick Croft [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 9:18 AM Subject: [SLUG] cdrecord: Inappropriate audio coding Morning, I've used the very useful 'vsound' app to grab some news-clips in a foreign language I'm learning. The output is in .wavs, apparently Microsoft PCM, as in -- sox -V news_sep3-2.wav -r 44100 -s -w tmp.wav sox: Detected file format type: wav sox: Chunk fmt sox: Chunk data sox: Reading Wave file: Microsoft PCM format, 1 channel, 8000 samp/sec snip If I then try to make an audio CD from that, I get -- [EMAIL PROTECTED] /new/audio/Wavtest % sudo cdrecord -v speed=2 dev=1,0,0 -audio -pad tmp.wav cdrecord: Inappropriate audio coding in 'tmp.wav'. __ There must be a way. Any idea? Maybe it's just because the sample is mono? -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] chmoding files but no dirs or vv ?
On Thu, 2003-07-31 at 07:34, Voytek Eymont wrote: I'm trying to chmod all (web) files to 0644 and dirs to 0755; is there a wy to differentiate files from dirs ? at the moment, I end up with both files and dirs getting set same, forcing me to then 'correct' dirs to 0755 find -type f -exec chmod 644 {} \; find -type d -exec chmod 755 {} \; the {} is expanded to each file that find finds, and the ; is escaped with a \ so that the shell passes it on to find. -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CD tracks and their intervals.
On Tue, 2003-07-08 at 16:42, Jan Schmidt wrote: quote who=Bill Bennett Many thanks for the reply. Well, padsize is listed as a track option, so it seems that I'll have to burn the disc manually, ie., cdrecord -multi -padsize=15x60x75s audiofile1 The -multi to ensure that I can add the next file; the -padsize to add the 15 seconds after audiofile1 After audiofile2, I'd command cdrecord -multi -padsize=30x60x75s audiofile3 I'd think this should work: cdrecord padsize=15x60x75s audiofile1 ... padsize=30x60x75s audiofile3 ... Maybe: cdrecord dev=whatever -audio padsize=15x75s track1 padsize=15x75s track2 padsize=30x75s track3 padsize=15x75s track4 etc. etc. 15x60x75s would be 15 *minutes* of silence at the end of the track. -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] CD tracks and their intervals.
On Tue, 2003-07-08 at 15:11, Bill Bennett wrote: I've a rather exotic Compact Disk that I'd like to copy. Two symphonies, each of three movements. Unfortunately, whoever laid out this disc had probably been smoking substances: each movement is separated by 2 seconds and the symphonies by 3. I can rip the disc without difficulty. When I burn it, I'd like to separate the movements with (approximately) 15 seconds and the symphonies by (approximately) 30. On looking over man cdrecord, the -pad option seems to be what's the matter. It pads the audio data to be a multiple of 2352 bytes. Unfortunately, I don't know what this equates to in seconds. Can anyone help, please? The 'padsize=' option looks like a better bet. To pad the equivalent of 20 minutes on a CD, you may write padsize=20x60x75s. So you might try padsize=30x75s (the s refers to sectors, not seconds.) The manual says this needs to be specified for each track though. The pad option seems to just increase the file by only a little until the total size is a multiple of 2352 bytes. CD audio is 16bits per channel at 44KHz, which works out to 176000 bytes per second, so 2352 bytes is approximately bugger all ;) -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Billion ADSL Router (BIPAC-741)
That might be normal, you could try to request a page from outside your network and see if that works. You're probably getting the router config page because you are connecting to it from the 'inside' Babelfish is one way to test it. On Sun, 2003-06-15 at 03:29, Phillipus Gunawan wrote: G'day SLUGers Does anyone here ever using BIPAC-741 from Billion? I'm using InterNode ADSL which giving me a dynamic ip. I've tried so hard to configure its 'Virtual Server' feature to redirect any incoming HTTP from outside world into my tiny box of redhat 9 web server. I can open my web server via local connection (e.g. http://192.168.1.10) which I supposed theres nothing wrong with the conf. But if I type in the ADSL ip address, it open the front page of the ADSL modem configuration page, which is really security_risk for me. Any comment? Phillipus. __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- Felix Sheldon [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Revolution OS DVD available
On Fri, 2003-03-28 at 22:31, Jeff Waugh wrote: Hey gang, A long time ago I enquired about getting a copy of Revolution OS to show at a SLUG meeting. It would have been incredibly expensive to get the film shipped here, so waiting for the DVD seemed sensible. But now it's available! Who would like to see the DVD at a SLUG meeting? We could purchase one and give it away as a special prize or something. :-) Thanks very much to J.T.S. [1] (the director of the film) for letting us know! I hope you get a lot of orders, J.T.S. :-) - Jeff [1] Who has managed to keep his first name amazingly secret. :-) Excellent, 1 ticket please. http://www.oreilly.com/openbook/freedom/ might be of interest too, probably has a few spoilers for the movie but ;) Felix snip -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [Re: [[SLUG] VNC on Live Server for RH 7.1 [Next Round]]]
On Wed, 2003-03-26 at 18:42, LS wrote: Hi Felix et al: I am still confused. From Putty I see no X forwarding option. If you are using VNC, then you don't want X forwarding, it's a different thing. You just want plain TCP/IP port forwarding over which you use the VNC protocol. I also have teraterm. How do I start the commands from my Windows machine being the client to the server ? I don't know, but Putty can definitely do it. Also vncserver is not always running. I have to start it after I connect via SSH. Is it meant to be always up on a server ? Not necessarily, but it might be easier that way in the long run. The way I understand now is as follows: 1. Connect to the server via SSH; 2. Start vncserver on the Linux server; 3. Using Teraterm or Putty from Windows sends some syntax commands to open up a port for listening; 4. Fire up vncviewer on the Windows client and connect using the port using some syntax. Step 1 and 3 can be combined, i.e. you start the ssh session with the port forwarding active to start with. If these steps are correct, I need to know the syntax for Windows for Teraterm for step 3. Anyone uses Windows as their client to connect ? Not me sorry. Felix snip -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
RE: [Re: [[SLUG] VNC on Live Server for RH 7.1 [Next Round]]]
On Mon, 2003-03-24 at 23:15, LS wrote: My Reply under Louis snip Hi Louis, What I need to know now is how do I make the vnc connection secure via SSH. Anyone knows how to do this ? I remember reading about this from a url on the web. I can't find that url anymore. Anyway I did not really understand it properly. I can help with this bit at least, you can use the -L option to SSH to forward the VNC port on the server to a local port. ssh -C -L listen-port:host:port If VNC on your server is on port 5500, you might do: ssh -C -L 5501:server-ip-address:5500 then, on your local machine (not in the ssh session) you can type: vncviewer localhost:5501 to connect via the tunnel. Good luck, Felix snip -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Change MTU for eth0 on debian woody?
Hi all, Is it possible to configure the MTU for an ethernet interface in /etc/network/interfaces? Or is there some other way? TIA, Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Change MTU for eth0 on debian woody?
On Mon, 2003-03-03 at 21:29, Kevin Saenz wrote: don't you do that in /proc/.blah :) I dunno, wouldn't have thought so :P ifconfig can do it, so I suppose I'll put a call to that in a startup script somewhere. Hi all, Is it possible to configure the MTU for an ethernet interface in /etc/network/interfaces? Or is there some other way? TIA, Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Change MTU for eth0 on debian woody?
On Mon, 2003-03-03 at 22:18, Peter Hardy wrote: On 03 Mar 2003 21:27:30 +1100, Felix Sheldon wrote: Is it possible to configure the MTU for an ethernet interface in /etc/network/interfaces? Or is there some other way? You want the mtu option in the interfaces file, like so: iface eth0 inet static address 192.168.17.3 netmask 255.255.255.0 mtu 1490 Tried that, but it didn't seem to work. I'll test it again. The man page didn't mention an mtu option though. I'm not sure if you can use mtu with dynamically configured interfaces. If not, then use the up option to run ifconfig when the interface is configured, like: iface eth0 inet dhcp up /sbin/ifconfig eth0 mtu 1490 Yay, that sounds good. I swear I did RTFM, but didn't see the up option as being relevant at the time. =) or something. There's lots of other funky stuff you can do in the interfaces file. I highly recommend browsing the man page some time. :-) Will do. Thanks, Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] innodb problem
Hi Mark, I don't think 3.23-51 supports autoextend, try leaving that bit off. - Original Message - From: Mark Munro [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 1:40 PM Subject: [SLUG] innodb problem I have installed mysql-max 3.23-51 And edited my.cnf to contain innodb_data_file_path = ibdata1:30M:autoextend But innodb fails to fire up. Localhost.err contains: 021016 13:36:04 mysqld started Cannot initialize InnoDB as 'innodb_data_file_path' is not set. If you do not want to use transactional InnoDB tables, add a line skip-innodb to the [mysqld] section of init parameters in your my.cnf or my.ini. If you want to use InnoDB tables, add for example, innodb_data_file_path = ibdata1:30M:autoextend But to get good performance you should adjust for your hardware the InnoDB startup options listed in section 2 at http://www.innodb.com/ibman.html /usr/sbin/mysqld-max: ready for connections Any ideas people Thanks in advance Mark Munro -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Quake III 4 Linux
Grab the installer from one of the mirrors here: http://www.bluesnews.com/files/idstuff/quake3/linux/linuxq3apoint-1.31.x86.shtml Once installed you can copy the .pk3 files from your Windows Quake III CD or another partition. Works for Team Arena if you have it too. Felix On Thu, 2002-09-26 at 12:00, [EMAIL PROTECTED] wrote: I know it's old and all that Finally I have a nice system play it on can anyone tell me where I could get Q3 from? Thanks Kevin - This mail sent through IMP: http://horde.org/imp/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Encouraging General 'ftp' to 'ssh' Migration?
On Fri, 2002-09-20 at 11:30, David wrote: what windows clients do folks recommend for rsync/SSH, or sftp connecting winXX to a linux server. Personally, I am happily windows-free, but I can't see any obvious rsync/sftp/gui windows client for my command-line-challenged colleagues. I've looked briefly at PuTTY sftp and it works fine, but the version I was looking at was totally command line. Did I miss something? There's an SCP client for Windows called Secure iXplorer which works quite well. http://www.i-tree.org/gpl/ixplorer.htm They have a non-gpl version with some more features available for $ too. Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Ensoniq AudioPCI
On Tue, 2002-09-10 at 13:48, David Fisher wrote: Does anyone know a source for the Ensoniq AudioPCI sound card in Sydney? My enquiries so far have drawn a complete blank. TIA, David I think a Creative Vibra 128 is the same thing, it uses the ES1371 Ensoniq chipset. Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] access to headless box
On Tue, 2002-09-03 at 13:48, Alan L Tyree wrote: Hi, I have a perplexing problem. I want to run a single floppy distro (Bering) on a box that has been through the wars. I have no monitor for it and all the serial ports have been fried in a lightning strike. The distro runs (I can ping the box), but the floppy is too small to install ssh or anything similar that I know about. Without ssh I can't even get the ppp link up. The old Laplink for dos systems had a self installing system. That sounds like a security nightmare, but I wonder if there is anything similar that I can use to transfer communications software onto this. Any help gratefully accepted. A TFTP client would probably fit on the floppy, then it could get other files off the network (into a ramdisk?). http://rpmfind.net/linux/RPM/redhat/7.2/i386/tftp-0.17-14.i386.html Good luck =) Felix -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] MySQL userid / password problem
Try # mysql -u root which will work only if you have no password set for the mysql root user. Then mysql SET PASSWORD FOR root=Password('x'); mysql quit Then your other commands should work as they are written. Felix -Original Message- From: Richard Hayes To: [EMAIL PROTECTED] Sent: 01/08/2002 10:39 Subject: [SLUG] MySQL userid / password problem Dear list, I am trying to install an accounting package that uses a MySQL database. The installation instructions say: 5a Setup MySQL database mysqladmin -u root -p create bw_accounting So, when I try to do it I get an error eg [root@plaza /root]# mysqladmin -u root -p create bw_accounting Enter password: mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user: 'root@localhost' (Using password: YES)' [root@plaza /root]# I have never created a MySQL admin account therefore it does not have a password. How do I create a admin account? Am I totally off the mark? regard, Richard Hayes -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug - This message may contain privileged and/or confidential information subject to a confidentiality agreement or copyright material of Clarity International Ltd or third parties. You should only re-transmit, distribute or commercialise the material if you are authorised to do so. If you are not an authorised recipient of this email, please contact Clarity International Ltd immediately by return email or by telephone on +61-2-9925 5000. In such case, you may not read, print, store, copy or deliver this message to anyone, and you should not act in reliance on this email or any attachment to it. Clarity provides no warranty that the material contained in this email or any attachment to it is free from any virus, defect or error. Opinions in this message are those of the sender and unless stated otherwise, are not endorsed by Clarity. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] [OT] burned on a deal
AFAIK auction houses are treated as second-hand goods dealers, and are not under the same obligations as the manufacturers or distributors of a product might be. A lot of consumer electronics goods arrive in Australia with non-standard, usually european plugs, due to the costs and logistics of a doing a seperate production run, especially the more exotic HI-Fi gear. Most other countries will have safety regulations as stringent as here, so as long as it's intended to work with 240V 50Hz it's probably OK. The 'c-tick' mark now required on electrical goods relates to standards for the levels of electromagnetic interference generated by or inflicted upon devices. 99.9% of the time a well designed product sold elsewhere will pass these tests (which are not cheap to have done). If they won't take it back, or you can't be bothered posting it, I'd replace the plug, and buy a US-style power board or a couple of IEC leads, which you can get here fairly easily. Felix -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] Re: OT - Job advertisement (Score -1 Troll)
;P All these and more in the SLUG FAQ. what does FAQ stand for? -- - Gus -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug