June 2008
SSHFS
Submitted by mmorsi on Wed, 2008-06-25 04:09There are times every person discovers something simple that makes life so much easier that they wonder how they lived without it. SSHFS is a very simple and subtly-named utility that allows you to mount files systems via ssh. Since ssh supports the file system operations anyways, using sshfs is trivial, nothing has to be done on the server side, and the client merely needs to install sshfs (eg yum install sshfs) and run
sshfs user@hostname:/ mountpoint
Feel free to specify a different directory to mount, and make sure the user running sshfs is the owner of mointpoint. This can be done as many times as needed on any machine (eg they can be cascaded such that sshfs'ing into one machine provides filesystem access to many. And combined with simple symlinks and what not, editing files on a large number of machines, using local tools and editors is a cinch.
- mmorsi's blog
- Login to post comments
Fedora Live DVD Install Command
Submitted by mmorsi on Tue, 2008-06-24 16:56Earlier today I tried may unsuccessful attempts at installing Fedora 9 on an expiremental developer workstation that has alot of kinks. After upgrading the bios, I booted w/ the F9 live dvd only to find X would not start. I was able to get around this by running the liveinst command to start the installer from the command line, but alas every time I arrived at the "enter root password" screen my keyboard went kaput, and no longer responsed (moving it to another USB socket doesn't help, and since it works up to that point and with my laptop, I have a feeling its either a USB controller issue or more likely an issue w/ X running under the installer). To get around this I simply ran liveinst --text to run the installer in text mode, and had no problems installing after that. Good luck!
- mmorsi's blog
- Login to post comments
- Read more
Quick Degugging with GDB/DDD
Submitted by mmorsi on Sun, 2008-06-22 20:40As I started to get back into lower level / compiled languages for work (starting to hack on libvirt) and personal side projects, I needed to more efficiently debug my applications and libraries, as printf's don't cut it and the command line gdb iterface was getting annoying (*gasp* I know, its a first, my desire to use a gui over the command line ;-] ). The Data Display Debugger (DDD) is a great frontend to GDB and is a cinch to use. Simply append "-g" to the gcc/g++ command you run to enable debugging output (or append "-g" to the "AM_CXXFLAGS" directive if using Automake) and then compile. Next you will have to run the generated executable (really a wrapper shell script which finalizes the compilation and linking process) at least once to generate the true binary (named lt-name in the .libs/ subdirectory). Use ddd to debug this executable by running ddd .libs/lt-name (ddd can be install via any major distro repo)
(more after the jump)
The D-Link WDA-1320 WIFI Card
Submitted by mmorsi on Thu, 2008-06-12 23:26After a long, frustrating week of simple things that should be working, not, it is refreshing to have the reverse scenario happen. More specifically, before today I have never had a wireless card work on Linux right out of the box. Perhaps its a testiment to Linux's ever-increasing hardware support and strong developer community, or perhaps D-Link is to be given credit (though I doubt it; I used to have a D-Link wireless router and it was the worst possible device, quickly switched to the Linksys one I have no and never went back), but the D-Link WDA-1320 pci based WIFI card worked right out of the box. Thats right, no drivers to hunt down and install, no man pages to read, just plugged it in, used network manager to select my wireless network, specified my password, and whala! I was surfing.
I very much recommend this card to any Linux user who is looking for the simplest and most pain free wireless experience on Linux.
- mmorsi's blog
- Login to post comments
- Read more
More Linux Hardware Fun
Submitted by mmorsi on Fri, 2008-06-06 22:56I love Linux but hate when things don't just 'work out of the box' (definitely not a Linux-only problem though). Well, recently I bought a PC off ebay to use for a media center I'm setting up and ran into some woes with the Ethernet card. I always expect wireless problems but it has been years since I had an issue with a wired network card. Alas, after quite a bit of Googling I found my answer ( here ) and figured I'd share it incase anyone else was wondering.
- mmorsi's blog
- Login to post comments
- Read more





