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 >> ]
|Sunday, November 7th, 2010|
Sounds issues on Ubuntu
My laptop completely crashed, so I opted for a desktop for many reasons. It came with Windows 7, and after many tries of installing Ubuntu, I finally got it installed about the fifth time.
Anyway, my sound was working fine at first. Then, it stopped working on Ubuntu through the speakers, but it would play through the headphones.
I know these two things shouldn't have affected things, but just so you know, my mom had logged onto Windows and my sister was using the headphones, but she had muted them (they have a volume and mute on them) so she could hear something on the television.
When I came to use my computer again, the sound didn't work through the headphoens or through the speakers. I've tried every combination that I have in my sound options both with and without the headphones, but sounds never play.
I am using Ubuntu 10.10 (Maverick Meerkat). I know my Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
Can anybody tell me what I need to do in order to fix this problem?
|Friday, October 22nd, 2010|
Virtual domains for Postfix MTA + Dovecot POP3 + Cyrus SASL + Fetchmail + Procmail MDA
On SuSe SLES 10SP3, using Postfix as an MTA, created a few virtual mailboxes.
Each box authenticates via POP3 to Maildir format in /home/vmail/%d/%u/Maildir/ .
If this matters, Cyrus is being used for SMTP SASL authentication.
These mailboxes are verified as fully functional.
Created a .fetchmailrc for fetchmail to pull mail from a MS BPOS Exchange 2007 cloud server, then forward to said postfix virtual mailbox.
Here is the issue: Fetchmail's pulled mail should forward via procmail toward virtual domains in Postfix. However, procmail takes issue with virtual domains, and refuses forwarding.
(Explanation of procmail's limitation available here: http://partmaps.org/era/procmail/mini-faq.html#virtdom
As an alternative, removed virtual domains in postfix's main.cf, using local linux account pam authentication. Forwarding via procmail and fetchmail toward a single local linux accounts works, will not work for multiple local accounts.
In looking for alernatives, are maildrop
good solutions for replacing fetchmail and procmail? Anyone have experience forwarding fetchmail via procmail toward multiple local server accounts? Remote accounts will not suffice for this scenario.
Attached both .fetchmailrc and .procmailrc (real sslfingerprint and account removed):.fetchmailrc
# initial setup
set postmaster "localaccount"
set daemon 600
# must provide ssl fingerprint for self signed ssl certificates
# fetchmail -d0 -vk red001.mail.microsoftonline.com
# accounts to poll
poll "red001.mail.microsoftonline.com" protocol POP3 uidl auth password
user 'email@example.com' there with password 'password' is localaccount here options ssl
mda "/usr/bin/procmail -m /home/localaccount/.procmailrc"
|Wednesday, October 13th, 2010|
Rant on /etc/default
In debian, /etc/default/ is a directory of mostly empty (or very small)
files. The way it is meant to work is that each /etc/init.d/foobar
script first sources /etc/default/foobar before starting/stopping the
foobar service. The purpose of the file is to provide extra options for
when starting the service, or override certain aspects of the service's
startup. A common way this is used is so a package can go ahead and
install the whole /etc/rc.d/ structure for automatic startup/shutdown,
but not actually start it until the user edits /etc/default/foobar to
really enable it by setting "FOOBAR_ENABLED=1". This way you don't have
to worry about daemons being automatically started when the user hasn't
yet configured them.
-- ( one of the half decent explanations I found on the internet about it)
To do non standard shit like that BREAKS things. In my case, it made it that the UPS utility wasn't starting ( You know, the one that auto-shutdowns the server in case of power failures? Yeah.. that one). Because the variable ISCONFIGURED was equal to "no". No, there was no note of this "unable to start service" business in /var/log/messages.
There's already a method to not start services, and that's to have a K99 ( or KXXutility, or simply nothing!) in front of the link in /etc/rc.d because then, it's OBVIOUS why the service is not starting. All that you stupid fools are doing is adding YET another layer of complexity that breaks things. Like, I understand why some of those features are even $something_good , but you guys are breaking shit trying to improve things, and that's really really dumb.
And don't get me started on if-up. Current Mood: annoyed
|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.