Linux and The Linksys EtherFast Instant GigaDrive
Although I was initially disappointed that only Samba was supported, I found that performing a Linux SMB mount was just as easy as using NFS, if not easier. With the ability to mount your remote share, there's really no reason to use FTP or another means of file transfers.
Although one normally avoids creating SUID root programs, a simple
# chmod 4711 /usr/bin/smbmnt # chmod 4711 /usr/bin/smbumount
will allow you to quickly and easily mount public shares locally like this:
# smbmount //gigi/public backupAfter entering your password, you'll find all your public shares on the GigaDrive files mounted locally (in this case, in the local directory named “backup” from the GigaDrive named “gigi”).
I knew there had to be more to the GigaDrive besides a simple web-based interface. Heck, I wanted to be able to use TELNET to log in to the machine and peek around its insides, behind the facade of CGI scripts. But I worried a little about what would happen if the system became corrupted or a problem developed with the GigaDrive.
I e-mailed Linksys tech support with some questions and received a speedy reply, which shows good customer support. According to Linksys technical support, if the GigaDrive “crashes, you would have to RMA it... at this time there are no restore disks for the gigadrive to restore it yet.”
This is quite interesting, because when I looked at the Windows CD-ROM included with the GigaDrive, I found out that the CD is actually a Red Hat Linux 2.0.36 install CD with a custom install program to restore the GigaDrive's file system on a new drive!
It took me about 20 minutes to figure out how to enable TELNET on the GigaDrive. One way to do this is to remotely run a simple, undocumented CGI script installed on the drive. After another 20 minutes, I was able to get the Red Hat system's root password, figure out a special TELNET user password and then TELNET in to the GigaDrive, gain root access and create my own user account “behind” the Samba and web-based interface. From there, it was a simple matter to copy favorite libc5-based clients, such as the pico text editor, onto the Red Hat file system. This will also be necessary if you want to install (unsupported) NFS or FTP service on your GigaDrive.
Now, before you throw your hands up in horror (“Oh my God! Anyone can get into our GigaDrive!”), you should know that cracking the root password won't do any good unless you can gain TELNET access (root TELNET access is denied through a TCP wrapper, and TELNET is disabled by default). The base Red Hat 2.0.36 system on the GigaDrive also uses shadow passwords, and you cannot get the special TELNET user password unless you know something about your GigaDrive—I'm not going to say what.
The GigaDrive is quite secure when properly installed and configured. There is no way a casual or even determined cracker can gain access, unless you leave your own password on your desktop or under your doormat.
I really like my “gigi” GigaDrive, and I really like Linksys for its hardware support for the Linux community. I heartily recommend the GigaDrive for any home, home-office or small-business user who needs quick, inexpensive, on-line and secure storage for a small network. You can also find the GigaDrive at a discounted price if you shop around, which makes this Linksys product a winner in a growing field of instant-storage devices.
Bill Ball (firstname.lastname@example.org) is the author of numerous books about Linux, but still doesn't know what to do with his multiple copies of shrink-wrapped Microsoft operating system software and CD-ROMs. He is a member of the Northern Virginia Linux Users Group.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- ServersCheck's Thermal Imaging Camera Sensor
- The Italian Army Switches to LibreOffice
- Linux Mint 18
- Chris Birchall's Re-Engineering Legacy Software (Manning Publications)
- Petros Koutoupis' RapidDisk
- Oracle vs. Google: Round 2
- The FBI and the Mozilla Foundation Lock Horns over Known Security Hole
- Privacy and the New Math
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide