Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Blogs
User Name



domain name resolution of local network names in NT domains

Posted 05-31-2011 at 11:51 PM by neonsignal
Updated 05-31-2011 at 11:52 PM by neonsignal

When operating on a local network that largely has Windows machines, resolving local names enables the use of machine names rather than ip addresses. Names can be hardwired into /etc/hosts; alternatively, they can be gathered from the NT domain using winbind:
apt-get install winbind
Then edit /etc/nsswitch.conf, and add 'wins' to the 'hosts' line.
Senior Member
Posted in Uncategorized
Views 261 Comments 0 neonsignal is offline

Still have not gotten answer yet

Posted 05-31-2011 at 09:05 PM by megasaputra

I can't booting ubuntu 11.04 when triple booting, windows 7, opensuse 11.4, and ubuntu 11.04. I have written in ubuntu forum, this forum, and other. But still have not gotten answer or solution yet. I am newbie, new in ubuntu. May be ubuntu for this version still have not support for my computer. May be I can try other popular distro. I have seen in, the second popular of linux is linux mint. I will try linux mint. At least, I have known ubuntu. Thanks for ubuntu for your iso. I...
LQ Newbie
Posted in Uncategorized
Views 366 Comments 0 megasaputra is offline

checking 3D acceleration of graphics

Posted 05-31-2011 at 09:45 AM by neonsignal
Updated 05-31-2011 at 09:47 AM by neonsignal

To check whether 3D acceleration is supported by the current graphics drivers, use glxinfo:
apt-get install mesa-utils
Where acceleration is working, the 'direct rendering' parameter will have the value 'Yes', followed by details about which features are supported.
Senior Member
Posted in Uncategorized
Views 2944 Comments 2 neonsignal is offline

reducing the mail transfer agent footprint

Posted 05-31-2011 at 09:39 AM by neonsignal

For systems with minimal memory, the mail transfer agent exim4 may not be required (since these days, email is often handled by an upstream provider rather than locally).

There still needs to be a relay agent, so this is where esmtp-run comes in. Installing it will remove the exim4 daemon.
apt-get --purge install esmtp-run
This will provide local mail delivery, but the hostname in the configuration file /etc/esmtprc can be edited to allow delivery...
Senior Member
Posted in Uncategorized
Views 284 Comments 0 neonsignal is offline

Convert and resize images using imagemagick

Posted 05-30-2011 at 11:07 PM by sag47
Updated 05-31-2011 at 02:23 AM by sag47

This past memorial day weekend I took a bunch of pictures which I wanted to post to the web. Web photos are best viewed in 800x600px and I had a lot of them. So I used a simple command to do it.
for x in `ls -1`;do convert -resize 800x600 $x `echo $x | sed 's/.JPG/.png/'`;done
mkdir web_album
for x in `ls -1 *.png`;do convert $x web_album/`echo $x | sed 's/.png/.jpg/'`;done
rm *.png
Now I don't have to spend all my time in Gimp with that simple batch command.
Senior Member
Posted in Uncategorized
Views 4255 Comments 1 sag47 is offline


All times are GMT -5. The time now is 08:48 AM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration