<?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>Thu, 29 Jul 2010 22:51:03 +0000</pubDate>
	<ttl>15</ttl>
	<item>
		<title>recovery after mkfs</title>
		<link>http://www.binrev.com/forums/index.php/topic/43667-recovery-after-mkfs/</link>
		<description><![CDATA[Ok, I wasnt thinking and did a mkfs instead of a fsck (that'll teach me for not checking what my fingers do). Whats the best way to go about recovery? I dont have a similar sized HDD else i'd just try and copy what I could with the tools I've used before. Can a mkfs (ext3) be reversed?<br />
<br />
edit:<br />
well wiki says this: <p class='citation'>Quote</p><div class="blockquote"><div class='quote'>There is no chance of file recovery after file system format.</div></div> so I guess there is no standard way to recover from this. I'm running photorec to see what it can get back.]]></description>
		<pubDate>Thu, 29 Jul 2010 22:51:03 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43667-recovery-after-mkfs/</guid>
	</item>
	<item>
		<title>Apache on fedora, help please :)</title>
		<link>http://www.binrev.com/forums/index.php/topic/43631-apache-on-fedora-help-please/</link>
		<description><![CDATA[Hey !<br />
<br />
So I am going to run a website on fedora. Got apache installed and its online. <br />
I used to run the website on windows Xp earlier and it worked fine. But now when I have <br />
placed all the folders in /var/www/html it just brings me a "<span style='font-family: Franklin Gothic Medium'>You don't have permission to access / on this serve</span>r." error.<br />
When my html folder is empty it brings my to the fedora test page, so I know its working but somehow whenever I place <br />
something in the html map it gives me that error...<br />
<br />
What's wrong ?]]></description>
		<pubDate>Tue, 13 Jul 2010 09:33:34 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43631-apache-on-fedora-help-please/</guid>
	</item>
	<item>
		<title>ext2/ext3</title>
		<link>http://www.binrev.com/forums/index.php/topic/43629-ext2ext3/</link>
		<description><![CDATA["The maximum file size for ext2/ext3 is actually dependent on the choice of blocksize and hardware architecture"<br />
<br />
Why are the maximum file size and file system size dependent on the block size?<br />
<br />
 It appears that 4KB is the standard block size in x86; however, ext4 supports larger files and larger file systems with the same block size of 4KB.<br />
<br />
Does anyone know the origin of this limitation in ext2/ext3 and/or how they overcame it in ext4?]]></description>
		<pubDate>Mon, 12 Jul 2010 18:02:19 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43629-ext2ext3/</guid>
	</item>
	<item>
		<title>sparc64 + linux</title>
		<link>http://www.binrev.com/forums/index.php/topic/43610-sparc64-linux/</link>
		<description><![CDATA[well ive tried debian stable like 2 weeks ago which was debian 504 which was pretty much depricated being 2.6.26 kernel (2 years old and counting) no ext4 support so i tried debian testing but like when i tried gentoo whenever i use a weekly release cd i get random errors. like when i tried debian testing some one broke parted as it couldnt part a sun disklabel  it just messed it up, made all the parts like 1/2 the size indicated so id end up from supposed to being like 100mb /boot, 2gb swap, then like 34gb for /. (36gb drive) end up being 100mb 14gb free space, 14gb /, 1gb free space, 1gb swap. and as i had debain stable working just fine, it was specific to testing obviously. so the question is anyone have any suggestions on how to get a weekly release cd working?<br />
<br />
edit: its for my newish sun ultra60 2x360mhz ultrasparc II's with 4mbl2 per, and 1796mb of ram with dual 36gb scsi drives, dual ethernet nic's fiber optic card, usb, sound, video card (not the one that takes up both slots) so i was planning on using it on a dailyish basis so i want to be able to run programs newer than 2 years old :p]]></description>
		<pubDate>Wed, 07 Jul 2010 06:08:53 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43610-sparc64-linux/</guid>
	</item>
	<item>
		<title>LDAP Anyone ?</title>
		<link>http://www.binrev.com/forums/index.php/topic/43600-ldap-anyone/</link>
		<description><![CDATA[So,<br />
<br />
I just finished setting up another DSEE7 Ldap server at the home lab to stay current with the enterprise so to speak.<br />
Outside of work/production networks,<br />
<br />
Does anyone else here run LDAP servers @ home?<br />
<br />
Aside from that, who admins ldap servers and what do you run? <br />
<br />
btw, anyone use likewise enterprise in prod ?]]></description>
		<pubDate>Sat, 03 Jul 2010 08:50:33 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43600-ldap-anyone/</guid>
	</item>
	<item>
		<title>Screen flickering using new distros</title>
		<link>http://www.binrev.com/forums/index.php/topic/43558-screen-flickering-using-new-distros/</link>
		<description><![CDATA[I'm wondering if anybody else has been experiencing constant and unpredictable screen flickering using these two (x86) distributions. My video-card is an AGP-based ATI Radeon 9800 pro and I'm almost convinced this is relevant to the issue. Maybe the video driver that these distros use just doesn't like my video card. The screen blanking at random intervals and these intervals are short so I can't these much faster distributions on my main-machine. Anyone else experience this problem?]]></description>
		<pubDate>Tue, 22 Jun 2010 20:37:28 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43558-screen-flickering-using-new-distros/</guid>
	</item>
	<item>
		<title><![CDATA[*NIX SSH based &#34;BBS&#34; (Free Shell Server)]]></title>
		<link>http://www.binrev.com/forums/index.php/topic/43545-nix-ssh-based-bbs-free-shell-server/</link>
		<description><![CDATA[So <br />
in another Forum Frog asked how to go about creating a "BBS" <br />
(This first Post is an Overview)<br />
<br />
Well a modern similar related concept of this is a modern shell server deployment.<br />
<br />
( You may have encountered various free shell sites such as metawire (now defunct) and SDF, (Still going )<br />
<br />
Both of which have/had their own enclosed communities within the realm of a live server offering up terms .<br />
<br />
While of course a classic BBS is telephony only with a community encapsulated off the net, these days its a bit pricy<br />
to run telephone lines etc . <br />
<br />
The closest thing to text only shell content that comes to mind is a Free shell service.   Want community isolation ?<br />
Use localhost only text based services.  (ie for example a web server that only listens and serves content on the localhost)<br />
<br />
With internet laws becoming even more draconian , one could even encourage the use of such a shell server with ssh over TOR <br />
anonymity apps   .<br />
<br />
(Keep in mind however, TOR isn't always safe either )<br />
<br />
So with only a modest sign up web page facing the internet and ssh only public login access,<br />
<br />
One could grant access to user accounts with a custom written menu driven shell script set as a system shell  that vaguely resembles an old school "BBS"<br />
<br />
<br />
Thus the "BBS" becomes more of a complete Unix system merged with BBS like shell scripts . <br />
<br />
limiting actual shell access is probably a good idea.<br />
<br />
With modern day virtualization and segmented OS instances, one can both offer a Freeshell/BBS like service with the added security layer of virtualization. <br />
<br />
This is where my favorite *NIX  OS comes in . Solaris 10.<br />
<br />
<br />
So you have a Solaris 10 host (Full blown server)<br />
<br />
On the Global zone, you enable resource pools and the Fair Share Scheduler to better control system resources.<br />
<br />
 <br />
<br />
Then you have a whole array of public / private facing zones.<br />
<br />
The tricky catch being that each zone has multiple network "interfaces" allowing for private <br />
back end communication .<br />
<br />
Each zone has hard and soft resource limits set so the system never becomes completely overloaded (in theory)<br />
<br />
<br />
Zone specifics:<br />
<br />
Global zone <br />
Verboten. No one can log into it directly from a public IP. (must be accessed via console or some other non public facing secure measure)<br />
The global zone is used solely to monitor system resources and other zones.<br />
(or internal private NFS server for auto_home use on zones )<br />
<br />
 ssh login zone <br />
Sole purpose is to be the front end portal for ssh logins and front line login available on both public/private facing networks<br />
<br />
TOR/SQUID zone<br />
<br />
public/private facing zone that runs as a TOR relay and/or TOR exit node (get a legal department if you run a TOR exit node lol )<br />
<br />
<br />
private web server zone<br />
<br />
<br />
Host all web based content with no direct shell access to the general free shell public internally<br />
<br />
<br />
public web server zone<br />
<br />
all public facing web content externally<br />
<br />
<br />
mysql db zone (private)<br />
<br />
mysql server zone <br />
<br />
mysql db zone (public)<br />
<br />
mysql server zone <br />
<br />
IRCD zone (private)<br />
<br />
zone that hosts IRC comms internally (not public facing for extra security)<br />
<br />
Fileserver/FTP zone<br />
<br />
depending on your model, a private or public <br />
<br />
<br />
<br />
Identity management ? <br />
<br />
There is a few ways to go about doing this. You could either<br />
<br />
run an internal private facing LDAP server zone ( and be extra vigilant on security )<br />
<br />
or propagate /etc/passwd , /etc/shadow copies between zones (a bit more secure but prone to error and other problems)<br />
<br />
 <br />
Administration ?<br />
<br />
Use RBAC profiles or conversely limit su - to a specific group one must login to . These concepts could be used both on zones and global .<br />
<br />
 <br />
Just a high level overview of how to setup a "BBS" like secure shell server with zones.]]></description>
		<pubDate>Sun, 20 Jun 2010 22:08:59 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43545-nix-ssh-based-bbs-free-shell-server/</guid>
	</item>
	<item>
		<title>Sun Ultra 10</title>
		<link>http://www.binrev.com/forums/index.php/topic/43474-sun-ultra-10/</link>
		<description><![CDATA[I got this machine a few years ago for &lt;$100 on eBay. I haven't booted the machine in over a year and I wanted to load a new operating system(new to me that is), so now it's running freebsd 8.0. It was a pain in the ass to get set up but once I did, I liked it very much. The only problem I'm having so far is a dead mouse cursor in my console. My mouse works fine when I'm in X-windows but I would like the mouse to work with my console(or to gtfo my screen). I have a sun ball-mouse that connects to the sun keyboard that came with when I bought the system. The mouse was a pain to get working from the start as I had to modify xorg.conf to use /dev/cuau3(instead of /dev/sysmouse) and a protocol called 'mousesystems' for the mouse to work properly. Now that it does, I could care less about the console mouse problem except that it obscures whatever character ends up under the cursor. Maybe somebody knows a trick to fix this?<br />
<br />
Here's some pics for fun:<br />
<a class='resized_img' rel='lightbox[353327]' id='ipb-attach-url-4386-0-47251500 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4386" title="IMAGE_007.jpg -  917.3K,  13"><img src="/forums/uploads/monthly_06_2010/post-18711-127546577801_thumb.jpg" id='ipb-attach-img-4386-0-47251500 1283476930' style='width:300;height:180' class='attach' width="300" height="180" alt=": IMAGE_007.jpg" /></a><a class='resized_img' rel='lightbox[353327]' id='ipb-attach-url-4387-0-49144700 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4387" title="IMAGE_008.jpg -  926.05K,  12"><img src="/forums/uploads/monthly_06_2010/post-18711-127546581902_thumb.jpg" id='ipb-attach-img-4387-0-49144700 1283476930' style='width:300;height:180' class='attach' width="300" height="180" alt=": IMAGE_008.jpg" /></a><a class='resized_img' rel='lightbox[353327]' id='ipb-attach-url-4388-0-49161800 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4388" title="IMAGE_009.jpg -  1.03MB,  12"><img src="/forums/uploads/monthly_06_2010/post-18711-127546583193_thumb.jpg" id='ipb-attach-img-4388-0-49161800 1283476930' style='width:300;height:180' class='attach' width="300" height="180" alt=": IMAGE_009.jpg" /></a><a class='resized_img' rel='lightbox[353327]' id='ipb-attach-url-4389-0-49178100 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4389" title="IMAGE_010.jpg -  969.42K,  14"><img src="/forums/uploads/monthly_06_2010/post-18711-12754658603_thumb.jpg" id='ipb-attach-img-4389-0-49178100 1283476930' style='width:300;height:180' class='attach' width="300" height="180" alt=": IMAGE_010.jpg" /></a><a class='resized_img' rel='lightbox[353327]' id='ipb-attach-url-4390-0-49194900 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4390" title="IMAGE_011.jpg -  896.43K,  22"><img src="/forums/uploads/monthly_06_2010/post-18711-127546587029_thumb.jpg" id='ipb-attach-img-4390-0-49194900 1283476930' style='width:300;height:180' class='attach' width="300" height="180" alt=": IMAGE_011.jpg" /></a>]]></description>
		<pubDate>Wed, 02 Jun 2010 08:24:39 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43474-sun-ultra-10/</guid>
	</item>
	<item>
		<title>wicd or me?</title>
		<link>http://www.binrev.com/forums/index.php/topic/43461-wicd-or-me/</link>
		<description><![CDATA[This is a fairly noobish question so go easy. My wireless card (Rosewill RNX N300) used to work perfectly fine with BT4 pre final however now that I have BT4 Final, wicd can't find any wireless networks. I've checked iwconfig and it recognizes that I have a wireless connection, and to make sure the card was being recognized I used the lspci command. Everything seems to check out alright, so is this just wicd's issue or am I missing something extremely obvious here? I'd love to be able to throw this ethernet cable back in my dresser drawer  <img src='http://www.binrev.com/forums/public/style_emoticons/dark/blink.gif' class='bbc_emoticon' alt=':blink:' />]]></description>
		<pubDate>Sun, 30 May 2010 16:07:12 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43461-wicd-or-me/</guid>
	</item>
	<item>
		<title><![CDATA[Can Ubuntu boot &#38; run from a flash drive]]></title>
		<link>http://www.binrev.com/forums/index.php/topic/43395-can-ubuntu-boot-run-from-a-flash-drive/</link>
		<description><![CDATA[I need to know this before I start onto this - will Ubuntu boot ok from a bootable flash drive? I know how to make the drive bootable, that's not a problem.<br />
<br />
Anyone who knows, post it.]]></description>
		<pubDate>Thu, 13 May 2010 02:24:26 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43395-can-ubuntu-boot-run-from-a-flash-drive/</guid>
	</item>
	<item>
		<title>GREX System to Terminate Dialins</title>
		<link>http://www.binrev.com/forums/index.php/topic/43381-grex-system-to-terminate-dialins/</link>
		<description><![CDATA[Moderators: if anyone thinks this is inappropriate or in the wrong topic (UNIX was the most related thing I could think of), feel free to delete/move.<br />
<br />
As per the <a href='http://grex.org/cgi-bin/backtalk/abalone/read?conf=coop&csel=&isel=275,276-$&rsel=new&noskip=1' class='bbc_url' title='External link' rel='nofollow external'>co-op thread</a>, the GREX system admins are considering dropping their last two modem lines for system access.<br />
<br />
For those who don't know, the GREX system is a public access machine in Ann Arbor, MI operating on similar principles as the SDF. Not too many people use the dialins anymore, and with the usage statistics the admins have collected, it's really hard to see a justification in keeping the lines in service. GREX holds special meaning for me as it was my first introduction to UNIX, back when it ran SunOS 4 on really ancient Sun hardware. Nothing like popping up the Windows 95 telnet terminal in class to check your e-mail, and having the teacher freak out because a student had a black window with green "hacker text" open!<br />
<br />
Anyhow, it turns out keeping a single line up would cost between $20-40 a month, or 4-8 new paid subscription users. Subscriptions cost around $60/year. Last time I checked, GREX supports dialin speeds down to at least 1200 baud, and probably 300 as well. I thought it might be relevant to post here about the system, in case people would be interested in subscribing for a shell account in order to keep a dialin up. Since we have free long distance calling at home, I often dial in with one of my vintage machines to check e-mail or transfer files between home and school (they also support SSH/telnet logins, as well as FTP).<br />
<br />
When it comes down to it, dialins are largely a forgotten and deprecated method of connecting to the system, especially with many free dialup services posted. While there are a few people who still use dialins with GREX, it won't be the end of the world if they go. I thought I might find some support, if any exists, in helping keep at least one line up -- I'm not actually affiliated with GREX, other than being a long-time user.]]></description>
		<pubDate>Sun, 09 May 2010 05:31:22 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43381-grex-system-to-terminate-dialins/</guid>
	</item>
	<item>
		<title>/dev/crypto opinions</title>
		<link>http://www.binrev.com/forums/index.php/topic/43375-devcrypto-opinions/</link>
		<description><![CDATA[using /dev/crypto doesn't strike me as the fastest model for encryption. Simply because I my intuition would suggest that context switching, e.i. changing your memory maps and flushing your cache to enter kernel-space would be too much overhead. Even, I would presume, if a hardware crypto device were behind /dev/crypto. What is everyone's opinions on this? Should crypto be in userspace where it doesn't necessarily cause expensive context switches or should is it best to use /dev/crypto? Perhaps there could be a hybrid approach where your crypto framework uses user-space crypto until you reach some threshold where it then starts using /dev/crypto.]]></description>
		<pubDate>Fri, 07 May 2010 17:17:28 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43375-devcrypto-opinions/</guid>
	</item>
	<item>
		<title>in your term, caping your page-up/down</title>
		<link>http://www.binrev.com/forums/index.php/topic/43373-in-your-term-caping-your-page-updown/</link>
		<description><![CDATA[Does anyone know why vi and other such programs would ignore $TERMCAP? <br />
<br />
Basically I've set $TERM to pcansi because it's the closest thing to my terminal, however the /etc/termcap entry for pcansi does not have definitions for page-up/down. I searched through /etc/termcap and didn't find an entry that I liked. When running screen it complains if $TERM is not in the /etc/termcap database. So.. I set $TERM to pcansi to get screen from complaining then I add definitions to $TERMCAP for page-up/downs. The thing is that it seems most programs ignore your $TERMCAP if $TERM is a valid entry. Any ideas on how I get screen not to complain about invalid $TERMs and have programs read my $TERMCAP at the same time? This is really bothering me :( Modifying anything on my computer isn't an option, unfortunately. For example I'm not going to add a screen.TERM entry or modify /etc/termcap.]]></description>
		<pubDate>Thu, 06 May 2010 17:15:47 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43373-in-your-term-caping-your-page-updown/</guid>
	</item>
	<item>
		<title>Encrypted ZFS Backups</title>
		<link>http://www.binrev.com/forums/index.php/topic/43349-encrypted-zfs-backups/</link>
		<description><![CDATA[One of OpenSolaris's heralding features is a next-gen filesystem called ZFS. Managing ZFS backups could not be easier. All you need to run is <em class='bbc'>zfs snapshot tank/dataset@backup</em>. If you want to replicate or store that snapshot on another machine, you can run <em class='bbc'>zfs send tank/dataset@backup &gt; backup.zfs</em>.<br />
<br />
I'll be demoing how to use GPG2 to encrypt ZFS backups created with zfs send. Here's the commands I used to do it:<br />
<p class='citation'>Quote</p><div class="blockquote"><div class='quote'>
root@shawn-desktop:~# chmod A+user:shawn:full_set:fd:allow /datumz/<br />
root@shawn-desktop:~# logout<br />
shawn@shawn-desktop:~$ zfs create datumz/demo<br />
shawn@shawn-desktop:~$ echo "this is a test" &gt; /datumz/demo/testfile<br />
shawn@shawn-desktop:~$ zfs snapshot datumz/demo@backup<br />
shawn@shawn-desktop:~$ zfs send datumz/demo@backup | gpg2 -e -r "Shawn Webb" -o datumz_demo&#092;@backup.zfs.gpg<br />
Warning: using insecure memory!<br />
shawn@shawn-desktop:~$ zfs destroy -r datumz/demo<br />
shawn@shawn-desktop:~$ gpg2 -d datumz_demo&#092;@backup.zfs.gpg | zfs recv datumz/demo<br />
Warning: using insecure memory!<br />
You need a passphrase to unlock the secret key for<br />
user: "Shawn Webb "<br />
4096-bit RSA key, ID F751C7BB, created 2010-04-27 (main key ID 5B242D25)<br />
can't connect to `/home/shawn/.gnupg/S.gpg-agent': No such file or directory<br />
Warning: using insecure memory!<br />
gpg: encrypted with 4096-bit RSA key, ID F751C7BB, created 2010-04-27<br />
"Shawn Webb "<br />
shawn@shawn-desktop:~$ ls /datumz/demo/<br />
testfile<br /></div></div><br />
So you can see how easy it is to manage and create snapshots and backups of ZFS datasets. I love that the backup files are never stored in plaintext. They're stored encrypted.<br />
<br />
Originally <a href='http://0xfeedface.org/blog/2010-04-28/lattera/encrypted-zfs-backups' class='bbc_url' title='External link' rel='nofollow external'>posted</a> on my tech blog]]></description>
		<pubDate>Thu, 29 Apr 2010 01:41:58 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43349-encrypted-zfs-backups/</guid>
	</item>
	<item>
		<title>APT data base error.</title>
		<link>http://www.binrev.com/forums/index.php/topic/43348-apt-data-base-error/</link>
		<description><![CDATA[Adept wont update for me even if i sudo apt-get or update -f. For somreason i get this error. I have attached a photo anyone that can offer help i would love a lot!!<br />
<a class='resized_img' rel='lightbox[352435]' id='ipb-attach-url-4364-0-52171000 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4364" title="Error.png -  17.76K,  1"><img src="/forums/uploads/monthly_04_2010/post-6275-127249359528_thumb.png" id='ipb-attach-img-4364-0-52171000 1283476930' style='width:300;height:97' class='attach' width="300" height="97" alt=": Error.png" /></a><br />
<br />
Oh and here is another error i get when i man install firefox flash plug in...<br />
<a class='resized_img' rel='lightbox[352435]' id='ipb-attach-url-4365-0-52188600 1283476930' href="http://www.binrev.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=4365" title="Error1.png -  19.78K,  1"><img src="/forums/uploads/monthly_04_2010/post-6275-127249376057_thumb.png" id='ipb-attach-img-4365-0-52188600 1283476930' style='width:300;height:114' class='attach' width="300" height="114" alt=": Error1.png" /></a><br />
<br />
<br />
Last thing i swear: is there a way can make it so that i dont need to enter my password for sudo commands in terminal?]]></description>
		<pubDate>Wed, 28 Apr 2010 22:26:44 +0000</pubDate>
		<guid>http://www.binrev.com/forums/index.php/topic/43348-apt-data-base-error/</guid>
	</item>
</channel>
</rss>