<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>*NIX</title>
	<description>All posts in *NIX</description>
	<link>http://www.binrev.com/forums/index.php</link>
	<pubDate>Sat, 06 Mar 2010 02:58:03 +0000</pubDate>
	<ttl>15</ttl>
	<item>
		<title>sigio</title>
		<link>http://www.binrev.com/forums/index.php/topic/43110-sigio/</link>
		<description><![CDATA[Seems I'm catching sigio on the master terminal io and not slave io. Any ideas why? I want the parent process to handle characters coming out of the child with function "io"<br />
<br />
<pre class='prettyprint'>
if(openpty(&master, &slave, slave_name, &term.conf, &term.ws_conf)&lt;0) { 
 perror("openpty");
 exit(0);
}
printf("pty: %s&#092;n", slave_name);
signal(SIGIO, io);
fcntl(master, F_SETFL, fcntl(master, F_GETFL,0)|O_ASYNC|O_NONBLOCK);
if(fork() == 0) {
 login_tty(slave);
 execlp("/bin/ksh", "ksh", (char *)0);
}
... do master stuff
</pre> <br />
<br />
I don't get it yet.]]></description>
		<pubDate>Sat, 06 Mar 2010 02:58:03 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43110-sigio/</guid>
	</item>
	<item>
		<title>Installing Lexmark Linux Drivers in 64-bit Debian-Based Distributions</title>
		<link>http://www.binrev.com/forums/index.php/topic/43092-installing-lexmark-linux-drivers-in-64-bit-debian-based-distributions/</link>
		<description><![CDATA[As Lexmark just released Linux drivers for a great deal of home printers that were previously unsupported in Linux, I rushed to write an article on how to make it work (yeah, they fell in the trap of making a 32-bit rpm package only and calling that a "Linux" driver):<br />
<br />
<a href='http://www.awakecoding.com/index.php?option=com_content&view=article&id=20:installing-lexmark-linux-drivers-in-64-bit-debian-based-distributions&catid=1:home' class='bbc_url' title='External link' rel='nofollow external'>Installing Lexmark Linux Drivers in 64-bit Debian-Based Distributions</a><br />
<br />
I hope this will help a couple of you to get their printers working in Linux.]]></description>
		<pubDate>Tue, 02 Mar 2010 04:34:03 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43092-installing-lexmark-linux-drivers-in-64-bit-debian-based-distributions/</guid>
	</item>
	<item>
		<title>any recommended books or tutorial websites?</title>
		<link>http://www.binrev.com/forums/index.php/topic/43073-any-recommended-books-or-tutorial-websites/</link>
		<description><![CDATA[i finallay pulled a PC out of the storage closet and installed asteriskNOW onto it, which runs on top of CentOS... everything installed smoothly... got no idea what i am doing behind the command line of CentOS - or any linux distro for that matter, none of the comand line commands that i am familiar with for windows dos box is any help... <br />
<br />
getting into the freePBX web interface was easy enough, but i have no idea what setting to change, or what to input where... <br />
<br />
i am not looking for anyone to hold my hand, because i actually enjoy learning, and falling on my ass and failing on my own... what i am trying to find is if anyone has any resources that they would be able to point me to such as books, PDF files, or websites that have basically infoz on CentOS or a tutorial about linux command line inputs... <br />
<br />
info about asterisk such as how to set up multiple sip accounts - and customize it, i would like one sip account to collect the CID data, and upon hanging up calls the number back right away (ring back numbers no longer work, sometimes cell reception is not good when i am testing peoples phone lines) i would like to configure another SIP line to provide dial tone to make a call thru my asterisk server (if i could spoof CID on the fly that would be even better, but not a major concern until it is working) <br />
<br />
and i finally infoz about how to set everything up with freepbx... <br />
<br />
i assume that i can just put the asterisk box in a corner somewhere and forget about it, and administer all of the changes, etc from another PC over the LAN (could i also do this over the WAN if i had a static IP or set up a dynamic ip service?)<br />
<br />
(sorry for any spelling, i am on my netbook right now.. tiny keyboard, and no spell check)]]></description>
		<pubDate>Sat, 27 Feb 2010 01:04:02 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43073-any-recommended-books-or-tutorial-websites/</guid>
	</item>
	<item>
		<title>getting this script to work in cron</title>
		<link>http://www.binrev.com/forums/index.php/topic/43059-getting-this-script-to-work-in-cron/</link>
		<description><![CDATA[at the moment i'm trying to automatically cycle through images to use as my background, and i've found a script that does this. the script works fine when i run it manually through the terminal, but never seems to work when cron runs it. i can tell from syslog that cron is running the script, and it doesn't seem like the script is running differently at all from stdout and sterr (i have them piped to a text file) but my background image doesn't change.<br />
<br />
i'm not sure how else to describe it, so here's the script, permissions, and crontab<br />
<br />
<br />
script<br />
<pre class='prettyprint'>#!/bin/bash

# Script to randomly set Background from files in a directory

#hopefully set some of the environment variables properly...
#/home/zandi/.profile

# Directory Containing Pictures
DIR="/home/zandi/Pictures/space"
#DISPLAY=:0.0
#USER=zandi
#USERNAME=zandi

# Command to Select a random jpg file from directory
# Delete the *.jpg to select any file but it may return a folder
PIC=$(ls $DIR/*.jpg | shuf -n1)

#set the wallpaper
/usr/bin/gconftool -t string -s /desktop/gnome/background/picture_filename $PIC
</pre><br />
<br />
permissions<br />
<pre class='prettyprint'>-rwsr-xr-x 1 zandi zandi      519 2010-02-23 21:23 wallpaper.sh</pre><br />
<br />
crontab<br />
<pre class='prettyprint'>* * * * * /home/zandi/wallpaper.sh &gt;/tmp/cron.log 2&&gt;1</pre><br />
<br />
stdout and stderr is getting piped to /tmp/cron.log, i just didn't show the file here because it's blank.<br />
<br />
<br />
any ideas as to why this isn't working?]]></description>
		<pubDate>Wed, 24 Feb 2010 03:25:47 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43059-getting-this-script-to-work-in-cron/</guid>
	</item>
	<item>
		<title>Ubuntu Hardy Heroine</title>
		<link>http://www.binrev.com/forums/index.php/topic/43053-ubuntu-hardy-heroine/</link>
		<description><![CDATA[I am using Ubuntu Hardy Heroine, since it's release. Since running it i've gotten a few issues that I cannot find solutions to. I was hoping the binrev community might be able to help me with that. <br />
<br />
1.) FireFox after a while of use starts acting funny, mostly when the computer sits idle for a few hours. However it does not happen all the time. What it does it lags, and has no sound for anything audio related. The audio still works on everything else except FF. I have to close firefox, than kill the proc in order to restart it, before it starts working correctly again. While i've dealt with this a long time, it just gets annoying. Any thoughts?<br />
<br />
2.) Sometimes when restarting the machine (after its been acting up) it will hang on a blank screen saying *Killing ALSA...* it'll sit there until I hard boot it. <br />
<br />
3.) Cario-Dock crashes after a while of use. I have the dock set to hide until scrolled over, and sometimes it just never comes back up. <br />
<br />
... last but not least<br />
<br />
4.) I have my windows machines networked with my Ubuntu machine. I set it up to be able to print to the printer hooked to my XP machine. Everything goes good until it hits the printer. It seems like the print spool hangs the process onces it hits the XP machine. I can see the print queue with the document I am trying to print on the XP machine, and sometimes the printer will say printing, but it just hangs from there. I have to kill my Ubuntu machine before I can kill the queue to print other things. <br />
<br />
These are the little things that I cannot figure out, not matter how much I google, and to no avail of asking friends. If anyone has any insight please feel free to help.]]></description>
		<pubDate>Mon, 22 Feb 2010 23:41:08 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43053-ubuntu-hardy-heroine/</guid>
	</item>
	<item>
		<title>(First?) VirtualBox Hackint0sh Guide</title>
		<link>http://www.binrev.com/forums/index.php/topic/43020-first-virtualbox-hackint0sh-guide/</link>
		<description><![CDATA[I found this article yesterday, dating from February 12th, so it's very recent:<br />
<br />
<a href='http://www.taranfx.com/install-snow-leopard-virtualbox' class='bbc_url' title='External link' rel='nofollow external'>How To Install Snow Leopard in VirtualBox</a><br />
<br />
Correct me if I'm wrong, but I think this is actually the first serious hackint0sh guide for VirtualBox. I followed the first steps but in my case I get a kernel panic, but it allowed me to go a little further than where I was previously able to. The only thing annoying about the article is that the guy provides modified VirtualBox binaries for Windows in order to make the retail Snow Leopard installation work, not really giving a hint on how they've been modified. I use Linux and I'm not going to give it a try on Windows, but someone here using Windows could give it a try and put feedback here to say if it worked.<br />
<br />
I found this article out of nowhere, not so long after finding out that my HP ProBook 4510s is a nice hackint0sh candidate. I've been able to use SnowOSX Universal v3.6 to successfully install Snow Leopard easily on it. Everything works except ethernet and wifi. That looks really bad but it isn't, really, as I just went to futureshop to find the cheapest usb wireless adapter that would have a compatible chipset. I got lucky with a "GXT VGR12USB" wireless n adapter that has a ralink 2870 chipset in it, for 40$. It's compatible with Windows / Linux / Mac OS X. With that, I have a working Snow Leopard installation with wireless working, which is enough for tinkering and development purposes. However, there are some glitches I'd like to fix, such as the keyboard and mouse working 50% of the time I boot OSX. Normally, with a retail installation, they shouldn't be working at all, but SnowOSX Universal 3.6 comes with the VoodooPS2Controller driver. Now I'm looking into making my own retail installation of Snow Leopard on my laptop, but making the minimum modifications required to an untouched Snow Leopard install DVD and using Chameleon. The biggest advantage of a retail installation is that it can be updated way more easily, as you've built it yourself and you know what you need to repair or fix. Oh and, it's running super fast, with video acceleration and everything.]]></description>
		<pubDate>Sat, 13 Feb 2010 15:07:25 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43020-first-virtualbox-hackint0sh-guide/</guid>
	</item>
	<item>
		<title>Syslog</title>
		<link>http://www.binrev.com/forums/index.php/topic/42776-syslog/</link>
		<description><![CDATA[I'm trying to put the output of all Nmap scans to syslog.<br />
<br />
I've read the man pages(syslog, syslog.conf) several times and cannot figure out how I would use normal programs/processes(The one I want at the moment is Nmap) to output std err/in/out.<br />
I'm not sure if it can be done.<br />
As for as I know you can only use the subsystems provided i.e. mail, auth, etc. <br />
^ This is were my confusion is ^<br />
As a temporary fix I have cron running a Nmap scan when called and then I'm using cron as a facility for syslog. <br />
By the way it doesn't have to use the deprecated syslog, any of it's descendants will do.<br />
<br />
Thanks<br />
SchippStrich]]></description>
		<pubDate>Thu, 21 Jan 2010 00:48:46 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42776-syslog/</guid>
	</item>
	<item>
		<title>challenge</title>
		<link>http://www.binrev.com/forums/index.php/topic/42767-challenge/</link>
		<description><![CDATA[what you need to do it (spoiler cuz yeah if you read it it makes it alot easier than if you dont..)<br />
<div class='bbc_spoiler'>
	<span>Spoiler</span> <input type='button' class='bbc_spoiler_show' value='Show' />
	<div class='bbc_spoiler_wrapper'><div class='bbc_spoiler_content' style="display:none;"> you need to be able to mount a file with a filesytem e.g. "mount -o loop" need a hex editor, support for ext4/vfat/ext2 gpg also. it makes it easier because if you dont read this how do you know your supposed to mount the file?<br />
</div></div>
</div><br />
 help spoiler/hintz<br />
<div class='bbc_spoiler'>
	<span>Spoiler</span> <input type='button' class='bbc_spoiler_show' value='Show' />
	<div class='bbc_spoiler_wrapper'><div class='bbc_spoiler_content' style="display:none;"> ok the first one is vfat.. so open the image in a hex editor maybe there were files that were deleted/partialy still their. the secong one is ext4 so no point in hex editor again, but theres some info in the txt file take a guess at "daves" password. and yeah thats the finishez.<br />
<br />
i put in a typoz on accident for daves passwords, theres 10 less days than their shouild be i.e. a 1 instead of a 2<br />
</div></div>
</div><br />
<br />
edit: more descriptive spoiler for what the challenge was supposed to do.<br />
<div class='bbc_spoiler'>
	<span>Spoiler</span> <input type='button' class='bbc_spoiler_show' value='Show' />
	<div class='bbc_spoiler_wrapper'><div class='bbc_spoiler_content' style="display:none;"><br />
1. just to think more as a hacker<br />
2. find the last file<br />
3. learn some basicish tricks for hiding/finding files<br />
4. have some fun for once<br />
</div></div>
</div><div id='attach_wrap' class='rounded clearfix'>
	<h4></h4>
	<ul>
		
			<li class='clear'>
				<a href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_id=4262" title=""><img src="http://www.binrev.com/forums/public/style_extra/mime_types/zip.gif" alt="" /></a>
&nbsp;<a href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_id=4262" title="">img5.zip</a> <span class='desc'><strong>(5.4K)</strong></span>
<br /><span class="desc info">: 6</span>
			</li>
		
	</ul>
</div>]]></description>
		<pubDate>Wed, 20 Jan 2010 07:25:10 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42767-challenge/</guid>
	</item>
	<item>
		<title>Windows Print Server</title>
		<link>http://www.binrev.com/forums/index.php/topic/42736-windows-print-server/</link>
		<description><![CDATA[Hi,<br />
<br />
I've been thinking about this for a while and I think I've heard about it. I have a Lexmark x4960, a wireless printer that has no Linux support. I have a Windows Server 2008 machine running 24/7 that I thought I could install a print server on that would take printing jobs from my Linux computers and send them to my Lexmark printer. Any idea on how to do that, and if it can be done?]]></description>
		<pubDate>Sun, 17 Jan 2010 18:18:26 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42736-windows-print-server/</guid>
	</item>
	<item>
		<title>Sidux</title>
		<link>http://www.binrev.com/forums/index.php/topic/42688-sidux/</link>
		<description><![CDATA[<a href='http://www.sidux.com/' class='bbc_url' title='External link' rel='nofollow external'>Sidux: Debian Hot & Spicy!</a><br />
<br />
After using debian testing for around 2-3 years, I finally found a satisfying alternative, called Sidux. Sidux is a debian distribution based on debian sid, the debian repository where packages stay for a while before going into "testing". One of the main thing that people complain about with debian is that it's old. Other distributions have a faster development cycle which allows people to get recent software faster than with debian. For a production environment, this makes debian very good, but for a desktop OS, it's not very nice. I'm using Ubuntu on my laptop, and it works very well. I am aware that because of the faster development cycle of ubuntu I am more likely to get unstable crap. So far so good, I can stand the instability. The only release that really was crap IMHO was 9.04. For some reason the stock kernel that came with 9.04 crashed on the first boot for me and all my friends. A couple of the stock kernels in 9.04 were unstable for me, but I managed to find one that worked well. I very rarely had kernel crashes with debian.<br />
<br />
Now... ext4. Yeah, it's still a new feature, and some bugs have still recently been found. But, wtf, it's been offered for a long time already by default in ubuntu, and I've been using it without any problems. The debian installer in testing still doesn't fully support ext4 for the root filesystem. Plus, with time, I had a feeling that ubuntu had less glitches overall than debian testing. I used to wait a very long time before making updates, which probably wasn't a good idea, a lot of things eventually didn't upgrade very well and my system was quite slow (boot time sucked compared to ubuntu). The Sidux installer supports ext4 by default, and installation took 15 minutes :)<br />
<br />
Now, I just installed Sidux with XFCE. This thing simply rocks. So far it's easier to maintain than debian testing. The manual gives clear instructions on how to properly maintain your system and what to do in case of instability. Before that I had been using gnome, but from what people in #sidux told me, they don't have enough people to maintain gnome which is prone to often break in debian sid. I didn't really mind giving XFCE a try, as there were a couple of things that I would find unsatisfying in gnome, and XFCE is often called a gnome clone that is more lightweight.<br />
<br />
The way sidux works is that they maintain repositories of fixed packages that replace broken packages from sid, so that you get a more stable debian sid. The rest is the normal debian sid, so you have access to the huge number of packages available for debian, which is the main reason why I kept debian on my desktop computer. I'm currently running a 2.6.32 kernel, hehe.<br />
<br />
Has anybody else tried Sidux? This is a distribution for those ready to spend some time maintaining it if it breaks, so I wouldn't recommend it for linux beginners. However, I really recommend it for more advanced users.]]></description>
		<pubDate>Fri, 15 Jan 2010 01:29:24 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42688-sidux/</guid>
	</item>
	<item>
		<title>Need a Nix guru pls lol....</title>
		<link>http://www.binrev.com/forums/index.php/topic/42672-need-a-nix-guru-pls-lol/</link>
		<description><![CDATA[Need some help installing new drivers for this wifi card. So I don't have to re-write everything you can read about most of it here: <a href='http://www.binrev.com/forums/index.php/topic/42669-got-the-card-woo/' class='bbc_url' title='External link' rel='nofollow external'>http://www.binrev.com/forums/index.php/topic/42669-got-the-card-woo/</a><br />
<br />
<br />
Thanx to anyone who can help in advance..... I've been beating myself up all day about this. <br />
<br />
<br />
<br />
-gLi7cha]]></description>
		<pubDate>Thu, 14 Jan 2010 02:40:54 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42672-need-a-nix-guru-pls-lol/</guid>
	</item>
	<item>
		<title>BT4 Final</title>
		<link>http://www.binrev.com/forums/index.php/topic/42659-bt4-final/</link>
		<description><![CDATA[...This is not an announcement (although I wish it was).... I was just wondering if ANYONE has any info on BackTrack4 Final release date?? (or even any rumors). Thanx<br />
<br />
<br />
<br />
-gLi7cha]]></description>
		<pubDate>Tue, 12 Jan 2010 06:28:29 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42659-bt4-final/</guid>
	</item>
	<item>
		<title>gentoo install failedz.</title>
		<link>http://www.binrev.com/forums/index.php/topic/42630-gentoo-install-failedz/</link>
		<description><![CDATA[basically i was doing a minimal gentoo install from a weekly release (2months ago or so) had already installed the weekly stage 3, chrooted into /mnt/gentoo(/dev/sda3/) (where installed stage 3) then when i would go to "emerge sources" (kernel)(yes i typed in the correct kernel file name) it returned "out of pty devices" just wondering what the error could have been?]]></description>
		<pubDate>Thu, 07 Jan 2010 06:36:09 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42630-gentoo-install-failedz/</guid>
	</item>
	<item>
		<title>Dear linux script writer</title>
		<link>http://www.binrev.com/forums/index.php/topic/42568-dear-linux-script-writer/</link>
		<description><![CDATA[Dear linux script writer,<br />
<br />
Unless your script needs it don't start with #!/bin/bash . Not every unix has bash by default (for example, openbsd). Want you want to start with is #!/bin/sh <br />
<br />
Thank you for your time and consideration<br />
<br />
<br />
edit: maybe that sounds a little harsh, i was a little angry when I wrote that.. still use /bin/sh mate]]></description>
		<pubDate>Tue, 29 Dec 2009 21:11:59 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42568-dear-linux-script-writer/</guid>
	</item>
	<item>
		<title>Google Chrome for Linux (BETA)</title>
		<link>http://www.binrev.com/forums/index.php/topic/42562-google-chrome-for-linux-beta/</link>
		<description><![CDATA[Has anybody noticed all those ads for the beta version of Google Chrome for Linux? Hell, it was about time. I don't know why Google chose to first release Chrome for Windows only and then wait so long before releasing it for Linux. In any case, I'm using it right now and it appears to be pretty good just like the Windows version. Even though it's still a beta it appears to be quite stable.<br />
<br />
<a href='http://www.google.com/chrome?platform=linux' class='bbc_url' title='External link' rel='nofollow external'>Google Chrome for Linux</a><br />
<br />
They're providing packages for Debian/Ubuntu and Fedora/OpenSUSE in both 32 and 64-bit versions.]]></description>
		<pubDate>Mon, 28 Dec 2009 18:58:01 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/42562-google-chrome-for-linux-beta/</guid>
	</item>
</channel>
</rss>