Linux Community's Journal|
[Most Recent Entries]
Below are 20 journal entries, after skipping by the 40 most recent ones recorded in
Linux Community's LiveJournal:
[ << Previous 20 -- Next 20 >> ]
[ << Previous 20 -- Next 20 >> ]
|Saturday, October 9th, 2010|
I recently did some upgrades.
I upgraded my file server to have 3 1.5TB SATAs from 4 750MB IDEs. It's still running Ubuntu Hardy Heron.
I upgraded my workstation to be running Ubuntu Karmic Koala.
In both cases I'm running NFS.
Before the changes I could get sustained file transfers of about 40MB/s To Server or From Server with Large (>1GB) media files. It also didn't matter if I was copying or moving, using nfs or scp.
Now I'm getting about 38MB From Server, 20MB To Server when I'm copying... If I MOVE the file, I get about 9MB To Server, 15 From.
What kills me is if I scp the files, I can get about 40MB to Server, 55MB from server.
Any thoughts or comments?
|Monday, October 4th, 2010|
eeepc as server
I have a need (want?) for a personal server. It wouldn't be under much load, just serving some web pages to a very limited number of connections. I don't want to deploy a whole PC to this task, so I was eyeing my 701SD eeepc. It's one of the original ones with the tiny screen and a few gig of old school SSD.
I suppose I could wack a lighter distro like Debian with no desktop and just run it as a headless server. But...The question is, would there be any pitfalls that you guys could think of?
The first that came to mind was any power saving features that might stop it talking to the 'net. I'm guessing I can overcome those. Anything else?
|Saturday, October 2nd, 2010|
Debian Lenny and Eclipse v3.2 bugfix
Fired up eclipse v3.2 in Debian lenny stable, ...and received error messages! oh no!
searching for compatible vm...
testing /usr/lib/jvm/java-6-openjdk...not found
/usr/lib/jvm/java-gcj/bin/java: symbol lookup error: /home/robert/.eclipse/org.eclipse.platfo
o: undefined symbol: _ZN4nsID5ParseEPKc"
Okay, then did a quick google search on the phrase "libswt-mozilla-gtk-3236.so: undefined symbol"
Which led me to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511713
and eclipse 3.2.2-6.1 should start under lenny."
So I then did robert@pip:~$ sudo aptitude install xulrunner-dev
Now eclipse v3.2 fires up fine in my Debian Lenny stable workstation. Current Mood: mellow
|Monday, September 20th, 2010|
I am trying to figure out how to convert a contact list from Kaddressbook into an Opera contacts.adr file.
Kaddressbook can export to vCard, CSV, LDIF, and "Bookmark Menu" (but I haven't figured out how this last one works).
But I can not figure out how to get any of those formats into Opera's contacts.adr format w/o relying on an online tool (which I don't want). Dawn (a windows application) sorta seems to promise it, but I can not figure out how to save a contacts.adr file in that program either.
Kaddressbook will IMPORT an Opera address book just fine, but will not export into Opera format.
This will be posted to Opera forums too, but I usually get better answers here.
And for those who ask the inevitable "why are you trying to do this" question, it's because I'm trying to make my address book portable between my phone, Google Contacts, Kaddressbook, and Opera... but did you really need to know that?
|Tuesday, September 14th, 2010|
Escape key for screen/tmux
Which escape key do you guys use for screen/tmux? I've always used screen's default ^A and I have just noticed how unergonomic it is for me. Have any of you ever used an unmodded key, like backtick or comma, for this purpose? Any thoughts?
Also, has anyone switched from screen to tmux? What about from tmux to screen? What were the reasons for such a switch?
|Tuesday, September 7th, 2010|
No Power to Laptop
I don't know what is wrong with my Toshiba. It's a Toshiba 'Satellite E105-S1802. Things were working and I was not having problems. Suddenly, the battery stopped charging. I thought that the charger might have bent as I might have set the computer at an odd angle on my lap tray. I tried bending the end of the charger, but nothing happened. I tried moving the charger and the laptop and I tried moving the charger all around in the AC slot in the computer.
Nothing worked to get the computer charging.
I have a Best Buy Geek Squad Guarantee, so I brought it to them. They sent the computer to the main center. They sent it back saying that the computer does charge. They said that it might have to do with my operating system. I was using Ubuntu – Karmic Koala.
However, I know that the operating system was not the problem.
While I was at Best Buy when I went to pick up my laptop, I was able to talk to the person at the Geek Squad station at our local store. He knows that I use Ubuntu and he himself is a fan of using Fedora, so there's no problem with him knowing that it shouldn't be the operating system.
In fact,, at that time, I brought one of the Kensington multi-adapters so I could show him that it was not charging. He also happened to have one of his own and tried to plug the computer in so it would charge, and it also did not charge with his.
I don't know what they did at the center since they do not check the laptop with the operating system, but just the hardware. They said that it is charging. The battery came back with more of a charge than it had.
I was able to remove my personal documents from the computer by copying them to a USB thumb drive, so I have them. I tried to install Lucid Lynx, but I ran out of battery power before it could finish installing.
I know that normally laptops will detect the electricity without the battery, but the case isn't just the battery not charging. It's the fact that no power goes to the laptop, even if central Geek Squad says it does. It doesn't.
While this isn't directly related to linux, perhaps somebody knows can be done about this. I have no idea and it is very irritating. I don't have the money to constantly buy a new laptop. It's always been within two years that something seems to go wrong with my laptops.
I HATE planned obsolescence! Why do they do that?!?!?!
Anyway, can anybody help?
|Sunday, September 5th, 2010|
Sigh..ok, well I'm over my big snit over the new Ubuntu software centre now and looking for an easy
distro other than Ubuntu or any of it's derivatives. I'll leave the drama on my own lj, but bottom line, I believe it's just as important to have things be free as in free beer as well as freedom. This is what drew me towards GNU/Linux. Unfortunately, not technical skills :( I know I should take some more time to learn(and I have been slowly), but I need something that I (old ex-raver) can run right now. Has anybody any suggestions?
|Saturday, August 21st, 2010|
Dual/n-th booting Linuxes
I'm taking some Linux+ classes this semester. I'm familiar with the Debian/Ubuntu way of doing things and haven't played with Red Hat in a number of years.
I'm thinking about taking a spare box I've got at home and attempting to dual boot Fedora Core 13 (or whatever they're up to these days) and Open Solaris to get the most out of the class, exposing me to more distros. (NOTE
: I haven't played with Gentoo or Slackware either; maybe I should try one of those as well.)
I've dual-booted Red Hat 6 (back in the days before Fedora and GRUB) and Windows 98, so I'm no stranger to dual-booting per se
, but I've never dual-booted two Linux OSes. Any suggestions, pointers, don't-dos or anecdotes?
If I'm using the same file system (i.e. ext3 or RieserFS) for each of the OSes that I'm going to install, can they share the same /boot partitions? Will GRUB automagically make the dual and triple boots work?
|Friday, August 13th, 2010|
I recently purchased an eee PC 900a when I saw it on Woot ($159!!) and I have an GPS unit lying around (little hand held job without maps). So I thought one of the 900a alternative uses will be a backup GPS mapping unit/Car PC. I will be using Ubuntu Netbook Edition on the machine.
Well, one of my ideas is to have Netbook connect to my home wireless and any open wireless to grab:
1) Maps as needed
2) Radio programs (I listen to NPR)
3) Hourly News Update podcasts
So the question is, how do I set my Netbook into this mode to attach to any open wireless automatically without user intervention. I (ideally) would like it to use existing setup connections, but when those are not available and an unknown open wireless is available, it should use it. I don't see anyway to do this using the Network Manager on my current (Sony) laptop.
Also, will the wget -c option work in thy plan?
Anyone have experience setting something like this up?
Thanks in advance
|Saturday, August 7th, 2010|
downloading/installing new apps on eeePC
I have one of the most basic questions I can imagine, and it's driving me nuts that I can't solve it for myself. I'm hoping one of you will be kind enough to help.
First, I apologize in advance if this is a question I should have been able to find the answer to without asking here. I did look online, but unfortunately there is so much
information out there that it's very hard to find the specific thing I need. The other problem is that right now, I'm under a little time pressure.
I have an Asus eeePC (901) running EEEbuntu. It was set up for me like that before I bought it, and I don't yet have the linux know-how to change it or even know if I want to change it. My understanding is that /most/ things set up for Ubuntu will work with this, at least until I get into the fancy stuff that I'm obviously not ready for yet.
I can use it. What I don't know how to do is install new applications. I'll use my current problem as an example.The Battle for Wesnoth
is a freeware game which says it is available for several Linux distros
, including Ubuntu.ETA: Thank you. You all are great. This should take me a long way.Scenario A: What I Would Most Like To Do
- download something that my eeePC could use onto a flash drive, from my desktop computer which is a Mac.
- install the game on my eeePC from the flash drive
- play itScenario B: What Would Also Work
- download the game directly onto my eeePC, using its internet connection
- install it
- play it
Clearly, this game is not that important, though it would be nice to have. But basically, I don't know how to do this for /any/ application. I feel like a moron. Can someone please help?
Building RPMs for Fedora
Does anyone have some good resources on how to build RPMs for Fedora? I have a Mono/.NET app I want to package for Fedora and I'm having some trouble doing it. I created the .spec file on openSUSE with the help of their template for vim (you just type vim package.spec where package.spec doesn't exist and it loads a template for you), but the file doesn't work on Fedora 13. For some reason the package tries to write to /usr/share instead of the specified DESTDIR for make install, which of course fails for lack of permissions (i.e. not root).
Since Mono and openSUSE are both Novell products, I'd imagine they make it easy...i.e. the RPM dependency finder worked automatically even though the method to find dependencies for .NET assemblies isn't the same as it is for, say, ELF binaries. Fedora's wiki has lots of information...on how to get a package accepted into Fedora. I don't want to do that, I just want to make an RPM for my software.
|Friday, July 30th, 2010|
Does anyone know how to fix the problem with autotool-ed source code packages that results in output like this:
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-time.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xstrtod.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xstrenc.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-uri.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-poll.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-path.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-stdlib.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-property-hash.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-value-hash.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2296: Xmono-error.lo: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2428: Xlibmonoutils.la: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2433: X: command not found
/home/user/mono-2.6.8really2.6.7/mono/utils/../../libtool: line 2440: Xlibmonoutils.la: command not found
mkdir: cannot create directory `/.libs': Permission denied
make: *** [libmonoutils.la] Error 1
make: Leaving directory `/home/user/mono-2.6.8really2.6.7/mono/utils'
make: *** [all] Error 2
make: Leaving directory `/home/user/mono-2.6.8really2.6.7/mono/utils'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/user/mono-2.6.8really2.6.7/mono'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/user/mono-2.6.8really2.6.7'
make: *** [all] Error 2
Notice how it's trying to execute library file names and they all begin with "X". I've seen this happen before but don't know how to fix it. I'm trying to compile a fairly recent program (Mono 2.6.7) on an older Linux distribution (Debian lenny), and I've tried forcing re-generation and replacement of the various autotool files that ship with the package with versions from the distribution (using the 'autoreconf -f -i -s' command) but it doesn't fix the problem. Any clues anyone?
Thanks. Current Mood: irritated
|Monday, July 12th, 2010|
S/PDIF jack produces no output
Hi all. I have recently attempted to get standalone S/PDIF output working via my
laptop (Sager NP8690/Clevo W860CU) to an Logitech Z680 speaker system without
success. I'm currently running kernel 2.6.33, Alsa-1.0.21 with the snd_hda_intel
module and an Alc888 chip. The interesting thing about this setup is, is that
there is one digital audio output subdevice (hw:0,1) according to aplay -l and
/proc/asound/devices, and that output via said subdevice works via the HDMI
port, but not the standalone S/PDIF jack. This laptop does have an NVidia GTX280
card, that does in fact use the S/PDIF header on the sound card for HDMI audio
output, since the video card contains no onboard audio controller of its own;
I'm not sure if this may have something to do with the problem. Also, supposedly
one is able to reroute S/PDIF audio between the HDMI port and the standalen jack
with no problem, however I have no way of testing that here. ( Collapse )
Perhaps I really do need to have a TV connected to the HDMI port in order to be
able to use the S/PDIF jack due to the hardware configuration? Maybe the
Snd_hda_intel driver currently does not support the audio re-routing required to
be able to send audio to the jack instead of to the audio header to which the
video card is connected? I am really at a loss as what to try next here, so any
further ideas on this would be much appreciated. Thanks!
Edit: Is the 3.5mm jack on this laptop really optical, or is it coax? I got an
toslink to 3.5mm optical mini plug a while back, on the assumption that the jack
was an optical one, but it could be coax for all I know.
|Wednesday, July 7th, 2010|
Trouble setting up a mail server
I'm trying to set up a mail sever on my desktop, so I have something to test an prototype board with. I just want something to receive and let me read plain text messages from busybox's sendmail.
I installed a the esmpt mail server on Ubuntu 10.4. I can connect to the mail sever with telnet using lo, but the connection is reused when I use eth0. This is both from my desktop and the prototype. The server responds on lo, so it's running. The firewall is wide open. Details behind the cut.( Collapse )
|Sunday, June 20th, 2010|
tar compression autodetect
I seem to remember ages and ages ago that I had, in some Linux install, a version of tar that would automatically detect the compression type used and you could do something like 'tar xvf file.tar.gz' and 'tar xvf file.tar.bz2' and it worked regardless.
Does anyone know anything about this?
|Thursday, June 17th, 2010|
TX ring patch for tcpreplay
Often in network software tests there are troubles with stress-testing on rates higher than 100Mbit/s. One of most popular utility tcpreplay has bottleneck, that doesn't allow me to get rates higher than 500Mbit/s on 4Gb RAM, Core 2 Quad 2.7Ghz, Intel i82571 (e1000e) 1Gb NIC.
To fix this problem I've decided to implement TX ring buffer for sending data to the network card.
I've modified tcpreplay
and get rate about ~900Mbit in result!. Also it reduced CPU usage on about ~25%. There is result patch
for 3.4.3 version, but I hope its usable for other versions.TX ring
technology is true Jedi magic that mmap TX ring directly into the userspace. Thats allow to inplement zero-copy scheme for the data transmission process and totaly reduce system calls of send().
TX ring ioctl calls was included in Linux vanilla kernel at 2.6.31 version. Older kernels should be patched
|Sunday, June 6th, 2010|
Distro advice sought
I'm looking for a relatively light weight distro to run on an aging machine. It's 866Mhz Pentium III with 512MB RAM. It'll be used for playing music, word processing, and light internet activity. Up to recently I've run Ubuntu on the box. Trouble is with every update and version change Ubuntu is getting increasingly sluggish on the machine. I've tried DSL 4.4.10 but that isn't working out so well. For whatever reason half the packages I try to install with apt-get error out in weird mismatched dependency type errors.
Any help would be appreciated.
|Friday, June 4th, 2010|
broken audio CDs
Hi all. I am currently using kernel 2.6.33, Cdrecord 2.01.01A67, and an Sony
Optiarc AD-7580S according to Dmesg. I have been able to burn data disks ok with
Cdrecord, and DVDs just fine using Growisofs. However, the problem comes when I
attempt to burn audio disks. When I insert a so-called successfully burned disk
(Cdrecord gives no apparent errors during burning), I get a bunch of the
following (some of it scrolled off this screen, but this is what I could readily
cut/paste:( Collapse )
Anyone have any ideas as to why I can't seem to burn proper audio disks with
this drive? I have tried both cdrecord -dev=/dev/sr0, or dev=1,0,0 -v -tao -pad
-audio file.wav. I also most recently tried passing driver=mmc_cdr_sony, with no
effect. In conclusion, note that I receive similar log output, albeit without
the "illegal track" lines, but I still get "I/O error on logical block 0" type
Edit: The files in question are all more than 700 MB in size, the first track I
am attempting to burn on the one disk is 732 MB. Afaik this is still ok, given
that Cdrecord doesn't complain loudly that the file won't fit on disk.
Edit 2: Apparently, I was able to successfully burn the audio track in question
to a CDRW, after I had shutdown my VM that was running in VirtualBox. I'm hoping
that this whole problem was due to something along the lines of VB's method (s)
for presenting host storage devices to guests was making Cdrecord internally
shit itself, or maybe the drive was being put in read mode by VB and Cdrecord
was trying to write to it at the same time.
|Thursday, June 3rd, 2010|
Ubuntu, Wine and MS Office 2007
My friend, bramey
, is having a spot of trouble ...
Ubuntu (netbook, 8.04), Wine and MS Office 2007.
To quote her... "I have to download the trial from MS because I don't have an optical drive.
ANYwho. I download the DLM.exe, then use wine to extract, and get a string of "stub!" protests in the Terminal.
The installer tries, it extracts the files, and then just as the setup window pops up, it craps out and says sorry, no can do."
If you've got a clue and think you can help her... pop into her journal and let her know or just reply here.
(and thank you. :D)
|Tuesday, May 25th, 2010|
rootkits - should i be worried?
Hi, been running Linux for a while now (currently on Ubuntu 10.04), and after reading about rookits on Linux, I have to ask, should I be worried about possibly being infected with one? How likely is it? Or am I just overthinking things and getting worried about nothing?