tag:blogger.com,1999:blog-24698542652070988122018-08-30T10:58:59.213-05:00Linux How-To'sHow-To's to help you.Josef Hollandnoreply@blogger.comBlogger12125tag:blogger.com,1999:blog-2469854265207098812.post-35608455537633850992016-08-22T23:26:00.000-05:002018-03-17T23:53:37.126-05:00Run fsck on boot<div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Have you ever ran into the issue of rebooting a remote system just to find you cannot log in remotely again because the system decides to require a manual fsck on a partition?</div><div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">I know how irritating it can become as i have a system that runs into this upon boot any time i reboot it (It acquires and removes about a hundred gigs a day).</div><div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">So just incase you run into the same issue as well, the way to fix this issue is to edit</div><blockquote style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: Georgia,&quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24.37px; margin-bottom: 0px; margin-left: 45px; margin-right: 45px; margin-top: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="color: #333333; font-family: Georgia,&quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: italic; font-variant: normal; font-weight: 400; line-height: 24.37px; margin-bottom: 0px; margin-left: 45px; margin-right: 45px; margin-top: 0px;"><div style="text-align: center;">/etc/default/rcS</div></div></blockquote><div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">and change the line #FSCKFIX=no to #FSCKFIX=yes</div><div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">of course this will need to be done as root (In general would need to be completes as root unless you have altered the directory or file permissions)</div><div class="separator" style="clear: both; text-align: center;"><a href="https://4.bp.blogspot.com/-stgu8tdMy00/Wq3qXTGnTqI/AAAAAAACBJ8/fC5QJiAzKrECF54NRxEx2Q1O1u0_UhkBgCLcBGAs/s1600/Screen-Shot-2016-08-22-at-6.07.42-PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="568" data-original-width="895" height="404" src="https://4.bp.blogspot.com/-stgu8tdMy00/Wq3qXTGnTqI/AAAAAAACBJ8/fC5QJiAzKrECF54NRxEx2Q1O1u0_UhkBgCLcBGAs/s640/Screen-Shot-2016-08-22-at-6.07.42-PM.png" width="640" /></a></div><div data-mce-style="text-align: center;" style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br /></div><span style="background-color: transparent; color: #333333; display: inline; float: none; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; text-align: center; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">By changing #FSCKFIX=no to #FSCKFIX=yes you will be running auto repair on boot, the same thing as pressing y through the interactive version that usually comes up.</span><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-68587101577976333272016-04-17T23:18:00.000-05:002018-03-17T23:20:09.717-05:00Unpackage a .tar.bz2 file<div style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: &quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 24.37px; margin-bottom: 24.3px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/OBABZnmXwfs/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/OBABZnmXwfs?feature=player_embedded" style="clear: right; float: right;" width="320"></iframe>Ever download a file to your Linux system and it's extension was .tar.bz? Have you needed to extract that file from the command line? It is actually very easy to do, to extract the file all you need to do is type:</div><blockquote style="-webkit-text-stroke-width: 0px; background-color: transparent; color: #333333; font-family: Georgia,&quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: italic; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 24.37px; margin-bottom: 0px; margin-left: 45px; margin-right: 45px; margin-top: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="color: #333333; font-family: Georgia,&quot; font-size-adjust: none; font-size: 15px; font-stretch: normal; font-style: italic; font-variant: normal; font-weight: 400; line-height: 24.37px; margin-bottom: 0px; margin-left: 45px; margin-right: 45px; margin-top: 0px;">tar -xvjf filename.tar.bz2</div></blockquote><br />Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-61739124187130354212014-08-01T02:36:00.000-05:002014-08-01T02:36:42.076-05:00(Informational) Kali Linux has released USB EFI bootable ISOs<a href="http://distrowatch.com/kali" style="clear: right; float: right; font-family: inherit !important; font-size: inherit !important; margin-bottom: 1em; margin-left: 1em; text-align: center;"><img align="middle" border="0" src="http://distrowatch.com/images/yvzhuwbpy/kali.png" style="border: none;" title="Kali Linux" /></a><br /><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> Mati Aharoni has announced the release of</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><a href="http://distrowatch.com/kali" style="font-family: inherit !important; font-size: inherit !important;">Kali</a><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">Linux 1.0.8, a minor update of the project's Debian-based distribution with specialist tools for penetration testing and forensic analysis: "</span><span class="Quote" style="color: #990000; font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: inherit;">The long awaited Kali Linux USB EFI boot support feature has been added to our binary ISO builds, which has prompted this early Kali Linux 1.0.8 release. This new feature simplifies getting Kali installed and running on more recent hardware which requires EFI as well as various Apple MacBook Air and Retina models. Besides the addition of EFI support, there is a whole array of tool updates and fixes that have accumulated over the past couple of months. As this new release focuses almost entirely on the EFI capable ISO image, Offensive Security won't be releasing additional ARM or VMWare images with 1.0.8. As usual, you don't need to re-download Kali if you've got it installed, and apt-get update && apt-get dist-upgrade should do the job.</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">" Read the rest of the</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><a href="http://www.kali.org/news/kali-1-0-8-released-uefi-boot-support/" style="font-family: inherit !important; font-size: inherit !important;">release announcement</a><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">for further information.</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><a href="http://www.kali.org/downloads/" style="font-family: inherit !important; font-size: inherit !important;">Download (SHA1)</a><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">:</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><a href="http://cdimage.kali.org/kali-images/kali-1.0.8/kali-linux-1.0.8-amd64.iso" style="font-family: inherit !important; font-size: inherit !important;">kali-linux-1.0.8-amd64.iso</a><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">(3,037MB,</span><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;"> </span><a href="http://distrowatch.com/table.php?distribution=kali&pkglist=true&version=1.0.8#pkglist" style="font-family: inherit !important; font-size: inherit !important;">pkglist</a><span style="font-family: Nunito, Arial, Helvetica, sans-serif, generic; font-size: 15px;">).</span>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-36653119877855825062014-06-23T00:39:00.002-05:002014-06-23T00:39:31.963-05:00Disable Laptop LCD Completely on boot I use my laptop connected to a 55" television, and linux always recognized the LCD screen that i don't use. This was always great except for the fact that it causes a few issues.<br /><br />Recognizing the LCD screen Cons:<br /><br />Dealing with the LCD being set as primary<br />When going to console Ctrl+Alt F1 the console only displays on the LCD's resolution<br />The simple fact that it bugged me<br /><br />Pro's to disabling LCD:<br /><br />All of the video auto settings set to the proper resolution of 1080<br />Console is also the proper resolution<br />The unused screen is no where listed in linux, as if it does not exist<br /><br />To disable the LCD screen and let everything automatically work with your external monitor is actually very easy.<br /><br />EDIT /etc/default/grub<br /><br />#sudo nano /etc/default/grub<br /><br />Edit the line<br /><br />GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"<br /><br />and add video=LVDS-1:d to the end of whatever you have listed<br /><br />GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=LVDS-1:d"<br /><br />Then save and run<br /><br />#update-grub<br /><br />and reboot<br /><br />The boot loader will show up on its usual screen, then all you have to do is continue and from that point forward your laptop will act as though the LCD screen does not exist and will continue to work as though your external monitor is the only connected display.<br /><br />Side note: Disabling the LCD does not disable the laptop lid switch, so you will still need to change the lid closed option to do nothing if you plan on keeping the lid closed as you work with it.<br /><br /><div style="text-align: center;">(I keep the lid closed and use an external mouse and keyboard connected to my television) </div><br /><div style="text-align: center;">(Below is Display properties after editing grub and disabling LCD)</div><div style="text-align: center;">(As you can see lcd is not listed at all as if it does not exist)</div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-OiyWI4KN3ss/U6e8UdJZHFI/AAAAAAABmPw/Xiu3ht8nLOc/s1600/snapshot1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-OiyWI4KN3ss/U6e8UdJZHFI/AAAAAAABmPw/Xiu3ht8nLOc/s320/snapshot1.png" /></a></div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-29362030368278373522014-05-25T20:40:00.001-05:002014-05-25T20:40:29.936-05:00Connecting to the internet in terminal with Network Manager (nmcli)Have you ever been in a position where your GUI just needs work done or some complicated thing came up denying you access to the Network Manager icon or the GUI in general? It's one of those times you really wish you have wicd installed on your machine, but most people are given Network Manager to start off. Fear Not network manager is actually pretty easy when you know what your doing with it.<br /><br />Step 1.<br /><br />Type the command : nmcli dev wifi<br /><br />Returns :<br /><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-k0JFgx6De8o/U4KaT9R_PzI/AAAAAAABmEQ/OLxmBT0aOyc/s1600/nmclidevwifi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-k0JFgx6De8o/U4KaT9R_PzI/AAAAAAABmEQ/OLxmBT0aOyc/s1600/nmclidevwifi.png" height="161" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">Step 2.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">The network I wanted to connect to was 2WIRE316</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Type the command : nmcli dev wifi connect 2WIRE316 password shhmypassword</div><div class="separator" style="clear: both; text-align: left;"> nmcli dev wifi connect <SSID> password <YOUPASSWORD></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Give it a few and when you see the terminal is ready for input again you are online.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">I hope this helps you out, needless to say, it did for me.</div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-48780779790953285572014-05-25T17:24:00.002-05:002014-05-25T17:34:01.215-05:00Keep xterm open after running a commandIf you want to keep xterm open after it has run a command, it's actually a lot easier then you think.<br /><br />Just a -hold option remember -e is always the last option<br /><br />Example of what it usually does:<br /><br />xterm -e cat * Dropbox/<br /><br /><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" frameborder="0" height="344" src="//www.youtube.com/embed/ldrcJ34ort0" width="459"></iframe></div><br /><br /><br />Example of keeping the xterm open after execution: (Click the windows X to close)<br /><br />xterm -hold -e cat * Dropbox/<br /><br /><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen="" frameborder="0" height="344" src="//www.youtube.com/embed/sRuMoZaqRi4" width="459"></iframe></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><br />Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-7520656882851078092014-05-24T07:56:00.002-05:002014-05-24T07:59:13.083-05:00Update: Install (Force) Kali Linux on an EFI based system<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://www.kali.org/wp-content/uploads/2012/12/offsec-logo-door-center-dragon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.kali.org/wp-content/uploads/2012/12/offsec-logo-door-center-dragon.png" /></a></div><br /><br />Requirements to install:<br /><br />Hardware - <br /><br />Thumb Drive<br />Your EFI/UEFI System<br />An Internet connection<br /><br />Software -<br /><br /><a href="http://www.kali.org/">Kali Linux ISO - Linux Distrobution ISO</a> (64 bit image)<br /><a href="http://rufus.akeo.ie/">Rufus - Application (Used to place and create Bootable USB)</a><br /><br />Step 1.<br /><br />Download Kali Linux ISO<br /><br />Step 2.<br /><br />Plug in your USB drive<br /><br />Step 3.<br /><br />Download and run Rufus<br /><br />Step 4.<br /><br />In Rufus select the thumb drive and the Kali Linux ISO and let it format and place Kali onto your thumb drive (Make some hot coco, coffee or something this process takes atleast 5 min)<br /><br />Step 5.<br /><br />Open your Thumb drive in explorer<br /><br />Step 6.<br /><br /><a href="https://drive.google.com/file/d/0BxF7BxqDqSbJT3B0SlppemNuUWc/edit?usp=sharing" target="_blank">EFI.tar.gz</a> - Download this, Extract and copy to thumb drive<br /> -this will place /EFI/BOOT with 3 req files inside the directory<br /><br />Step 7.<br /><br />Reboot the system pressing esc to choose what efi partition to boot and select your thumb drive and you good to go.<br /><br /><br /><br />------------------------------------------------------ Various Tips and Hints ----------------------------<br /><br /><h4 style="text-align: center;">Internet connection is required during install process</h4><div style="text-align: center;">It downloads the grub efi packagess</div><div style="text-align: center;"><br /></div><h3 style="text-align: center;">Disable Secure Boot in Bios</h3><div style="text-align: center;">Usually del or f1 while computer is booting, find it and turn it off. That is an idea Microsoft came up with and surprise surprise make linux installation more complicated</div><div style="text-align: center;"><br /></div><h4 style="text-align: center;">WiFi Drivers are not always recognized</h4><div style="text-align: center;">I recommend a hard line(Ethernet Connection) till you have it installed</div><br /><br /></div><div dir="ltr" style="text-align: left;" trbidi="on"><h4 style="text-align: center;"><span style="font-weight: normal;">Video of this how to to prevent confusion: (Still original how-to's video)</span></h4></div><div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;"><a href="http://youtu.be/oE-kgfDg4Gs">Install Force Kali Linux on an EFI based system</a></div><div style="text-align: center;"><br /></div><div style="text-align: center;"><a href="http://linuxhow2s.blogspot.com/2013/06/install-force-kali-linux-on-efi-based.html">Original How-To</a></div></div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-58744224053567806242014-03-26T17:58:00.000-05:002014-03-26T17:58:18.040-05:00Displaying the networks in your areaIn order to view the networks in your area we will use just a few commands (This is Terminal method)<br /><br />First of all you would make sure that your wifi card is down with the command<br /><br />ifconfig wlan0 down<br /><br />then enable monitor mode of that card with<br /><br />airmon-ng start wlan0 ------ this will create a monitor mode network interface on mon0<br /><br />now to see the networks and broadcasting devices around you just type<br /><br />airodump-ng mon0<br /><br />when you are done scanning the networks just press ctrl+c to exit the program<br /><br /><br /><center><iframe width="560" height="315" src="//www.youtube.com/embed/x7M01gkcqCg?list=UUq3VJCGHQSXkiNzHcjtKJ9g" frameborder="0" allowfullscreen></iframe></center>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-246405554138031962014-03-19T19:33:00.002-05:002014-03-19T19:33:33.810-05:00Install (Force) Kali Linux on an EFI based system (Video Coverage of the How-To)<div dir="ltr" style="text-align: left;" trbidi="on"><center><div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: center;">I was requested to make a video covering the Kali Linux UEFI Installation, So I made a How-To besed on my How-To Located at <a href="http://linuxhow2s.blogspot.com/2013_06_25_archive.html">Kali UEFI install</a></div><div style="text-align: center;"><br /></div><div style="text-align: center;"><br /></div><div style="text-align: center;"> <iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/oE-kgfDg4Gs" width="560"></iframe></div></div></center></div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-73133437893403809472014-03-13T03:33:00.000-05:002014-03-13T03:42:52.770-05:00Adjusting the txpower of your wifi adapter<div dir="ltr" style="text-align: left;" trbidi="on"><div dir="ltr" trbidi="on"><div dir="ltr" style="text-align: left;" trbidi="on"><div dir="ltr" style="text-align: left;" trbidi="on"><div style="text-align: left;">The default TX-Power of wireless adapters in Kali linux is set to 20 dBm. You can however increase that value making it operate at 30 dBm allowing you to have clearer and stronger signals. Be warned though that raising the power is actually illegal in some countries.</div></div><br /><div style="text-align: left;">And as a side note this is not something that works for all wireless cards and if you set the power to high for to long their is a chance of messing up your wifi card as the manufacturer may have not provided an adequate heat-sink for your device to operate at such a high level.</div></div><br /><div style="text-align: center;">Commands To Use:<br /><br /></div><div style="text-align: center;">ifconfig wlan0 down</div><div style="text-align: center;">iw reg set BO</div><div style="text-align: center;">ifconfig wlan0 up</div><div style="text-align: center;">iwconfig wlan0 txpower 30</div><blockquote class="tr_bq"><span style="color: #cccccc;"><span style="font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"></span><span style="font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"></span></span><br /><span style="color: #cccccc; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"></span></blockquote><span style="background-color: #444444; color: white;"><span style="font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"></span><br /></span>Following video is the whole process as well as a little showing how it affects your reception, All commands and why they where used are in the comments of the video on youtube Video URL: <a href="http://youtu.be/-7dpNNB-c50">http://youtu.be/-7dpNNB-c50</a></div><br /><span style="background-color: #fafafa; color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;"><br /></span><br /><center><iframe allowfullscreen="" frameborder="0" height="315" src="//www.youtube.com/embed/-7dpNNB-c50" width="420"></iframe></center><br />Extra Info:<br />Legal Power Output Community Created List<br /><a href="http://www.tomshardware.com/forum/8931-43-legal-power-output-country">http://www.tomshardware.com/forum/8931-43-legal-power-output-country</a> </div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-75130949877625499212013-06-25T16:13:00.006-05:002014-05-24T07:40:39.387-05:00Install (Force) Kali Linux on an EFI based system <div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://www.kali.org/wp-content/uploads/2012/12/offsec-logo-door-center-dragon.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.kali.org/wp-content/uploads/2012/12/offsec-logo-door-center-dragon.png" /></a></div><br /><br />Requirements to install:<br /><br />Hardware - <br /><br />Thumb Drive (No CD drive)<br />Your EFI/UEFI System<br />An Internet connection<br /><br />Software -<br /><br /><a href="http://www.kali.org/">Kali Linux ISO - Linux Distrobution ISO</a> <br /><a href="http://rufus.akeo.ie/">Rufus - Application (Used to place and create Bootable USB)</a><br /><a class="file" href="ftp://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os/EFI/BOOT/grubx64.efi">grubx64.efi</a> (Required file for EFI)<br /><a class="file" href="ftp://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os/EFI/BOOT/BOOTX64.efi">BOOTX64.efi</a> (Required file for EFI) <br /><br />Step 1.<br /><br />Download Kali Linux ISO<br /><br />Step 2.<br /><br />Plug in your USB drive<br /><br />Step 3.<br /><br />Download and run Rufus<br /><br />Step 4.<br /><br />In Rufus select the thumb drive and the Kali Linux ISO and let it format and place Kali onto your thumb drive (Make some hot coco, coffee or something this process takes atleast 5 min)<br /><br />Step 5.<br /><br />Open your Thumb drive in explorer<br /><br />Step 6.<br /><br />Create a folder called EFI with folder BOOT within it<br />EFI/BOOT<br /><br />Step 7.<br /><br />Copy <a class="file" href="ftp://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os/EFI/BOOT/grubx64.efi">grubx64.efi</a> and <a class="file" href="ftp://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/os/EFI/BOOT/BOOTX64.efi">BOOTX64.efi</a> into /EFI/BOOT/<br />(Avoid confusion, files go in lowest level at BOOT not in EFI)<br /><br />Step 8.<br /><br />Open wordpad or notepad and paste the following<br /><br /><blockquote class="tr_bq"># Config file for GRUB2 - The GNU GRand Unified Bootloader<br /># /boot/grub/grub.cfg<br /><br />set menu_color_normal=yellow/blue<br />set menu_color_highlight=blue/yellow<br /><br />function load_video {<br />insmod efi_gop<br />insmod efi_uga<br />insmod video_bochs<br />insmod video_cirrus<br />insmod all_video<br />}<br /><br />load_video<br />set gfxpayload=keep<br /><br /># Timeout for menu<br />set timeout=5<br /><br /># Set default boot entry as Entry 0<br />set default=0<br />set color_normal=yellow/blue<br /><br />menuentry "Kali - Boot Non Persistent Mode" {<br />set root=(hd0,1)<br />linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali<br />initrdefi /live/initrd.img<br />}<br /><br />menuentry "Kali - Boot Persistent" {<br />set root=(hd0,1)<br />linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence<br />initrdefi /live/initrd.img<br />}<br /><br />menuentry "Kali Failsafe" {<br />set root=(hd0,1)<br />linuxefi /live/vmlinuz boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal<br />initrdefi /live/initrd.img<br />}<br /><br />menuentry "Kali Forensics - No Drive or Swap Mount" {<br />set root=(hd0,1)<br />linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali noswap noautomount<br />initrdefi /live/initrd.img<br />}<br /><br />menuentry "Kali Graphical Install" {<br />set root=(hd0,1)<br />linuxefi /install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788<br />initrdefi /install/gtk/initrd.gz<br />}<br /><br />menuentry "Kali Text Install" {<br />set root=(hd0,1)<br />linuxefi /install/vmlinuz video=vesa:ywrap,mtrr vga=788<br />initrdefi /install/initrd.gz<br />}</blockquote>Then save the file as grub.cfg in the boot folder also<br />(Don't accidentally save it as grub.cfg.txt ; Click file, Save as, for the file name type grub.cfg, then the important part where it says file type change that to *.* )<br /><br />Step 9.<br /><br />Reboot the system pressing esc to choose what efi partition to boot and select your thumb drive and you good to go.<br /><br /><br /><br />------------------------------------------------------ Various Tips and Hints ----------------------------<br /><br />Internet connection is required during install process as it will have to download the grub-efi package to install your efi grub (Yes it sets up the efi boot loader on it's own)<br /><br />You get and error after choosing an option to install saying something about security and it hangs you will need to disable the security part of the efi bootloader in bios. After you do that when you choose the option to install it will prompt you that security is off but then continue into the installation as it is supposed to.<br /><br />I had a difficulty with getting wifi running during the installation claiming the wifi firmware was not there yet it was definitely there, I did a simple work around and just used a hard line as Ethernet has always been problem free for me (Yes after installation wifi was working flawlessly from the start so its only an issue during the installation process; and again may not occur during your installation)<br /><br />.... Annnnnd that is all i can think of at the moment, please feel free to comment or ask any questions, thank you for your time.</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">Video of this how to to prevent confusion:</div><div dir="ltr" style="text-align: left;" trbidi="on"><br /></div><div dir="ltr" style="text-align: left;" trbidi="on">Install Force Kali Linux on an EFI based system: http://youtu.be/oE-kgfDg4Gs<br /><br />Make things easier on you:<br /><br /><h4 style="text-align: center;"><b>Do steps 1 - 4 then extract the contents onto the drive Its the EFI/BOOT directories the required dll's and the complete config file</b></h4><h3 style="text-align: center;"><a href="https://drive.google.com/file/d/0BxF7BxqDqSbJT3B0SlppemNuUWc/edit?usp=sharing" target="_blank">EFI.tar.gz</a></h3></div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0tag:blogger.com,1999:blog-2469854265207098812.post-13043708222314603862013-06-05T23:24:00.000-05:002013-06-25T15:36:20.899-05:00Make .Jar Files execute from file manager in Fedora 16 / Gnome 3 (Or just creating your own MIME types)<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-2gi1ixwUWx4/TuanFeNrgiI/AAAAAAABK2Y/RArCUAOTon4/s1600/Fedora.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-2gi1ixwUWx4/TuanFeNrgiI/AAAAAAABK2Y/RArCUAOTon4/s1600/Fedora.jpg" /></a></div><br /><br />I have a few .Jar applications that I wanted to be able to execute as a regular application from within Gnome 3 but everytime I double clicked them it wanted to open File Roller Gnome's archave manager.<br /><br />I did not want to open a terminal everytime I wanted to execute a .Jar file just to type java -jar {filename} so i did a little research and made it work with the double click and now I want to make sure everyone else knows how to do it.<br /><br />First I edited /usr/share/applications/defaults.list<br /><br />Output from Diff of /usr/share/applications/defaults.list<br /><br /><blockquote class="tr_bq">diff defaults.list /home/viroscope/Original\ Files/defaults.list<br />235c235<br />< application/x-java-archive=java.desktop;<br />---<br />> application/x-java-archive=gnome-file-roller.desktop;</blockquote>What this means is I changed gnome-file-roller.desktop to the at the time nonexistant file java.desktop<br /><br />Second I edited /usr/share/applications/mimeinfo.cache<br /><br />Output From Diff of /usr/share/applications/mimeinfo.cache<br /><br /><blockquote class="tr_bq">diff mimeinfo.cache /home/viroscope/Original\ Files/mimeinfo.cache<br />70c70<br />< application/x-java-archive=java.desktop;<br />---<br />> application/x-java-archive=gnome-file-roller.desktop;</blockquote>Here this means I changed gnome-file-roller.desktop to again the non-existant file java.desktop<br /><br /><br />Lastly I created the java.Desktop file in /usr/share/applications and it's contents are:<br /><blockquote class="tr_bq"><br />[Desktop Entry]<br />Name=Movie Player<br />Comment=Execute Java .jar Files From File Manager<br />Icon=<br />Exec=java -jar %f<br />Terminal=false<br />MimeType=application/x-java-archive<br />Type=Application<br />Categories=Application;</blockquote><br />Then all you do is log out and back into gnome and the .jar files run on double click.</div>Josef Hollandhttps://plus.google.com/112647687466929367264noreply@blogger.com0