Low End Mac Reader Specials
Memory To Go Special: MacPro 8 Core 8GB kit $232 / 4GB kit $116 / 2GB kit $72. New Macbook 2GB DDR3-$65. HARD DRIVES available -- Free shipping / LIfetime warranty.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, MacBook Pros and more. Optical Drives for Apple iBooks, Powerbooks, MacBooks, MacBook Pros in Stock. Call 1-800-941-7654 Click Here.
OWC: Big Drives, High Performance - Not High Prices! SATA 3.5" up to 1.5TB. Notebook up to 500GB. FW up to 6.0TB. 1.0TB Drive Models from as low as $97.99 www.MacSales.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
Low End Mac's Online Tech Journal
AppleShare on Linux
L Victor Marks - 2001.08.28>
You've got a spare PC. You've just come over from the Dark Side™ and are wondering what do with the old beige Pentium-based machine?
Or maybe you've used Macs forever and are looking at a way to allow a large number of users have share files on a central server.
In either case, with a cheap PC (or even an expensive one) you can install Linux and AppleTalk services for Linux and have large amounts of hard drive space available for many users.
Linux has no limitation on the number of users |
- No more than 10 folders can be "share points" at one time. A "share point" is a folder or drive volume which appears on the network as a device you can connect to remotely. You can share many more than 10 folders within a single share point, but they cannot be logged into separately. So if you wanted to have a folder for every user, secure from other users' eyes, 10 is your limit.
- No more than 10 users can be connected simultaneously.
- No more than 100 users can be listed in your Users and Groups file. (Most teachers, at least in high school, have well over 100 students.)
Apple Knowledge Base Article 15460 describes these limits in more detail. (Please note, the above was shamelessly stolen from Jeff's article. It'll do you good to read it.)
As with any new software package, pay attention to the system requirements. Linux is growing, and the list of hardware compatible with Linux is ever-expanding. Still, you should consider looking at what hardware is supported by the distribution of Linux you choose. Make sure that you have a compatible ethernet card, for example, as some older PCs don't necessarily have one. I have had good luck with 3Com PCI ethernet cards. For Linux on a Macintosh, again, follow the system requirements as laid out by LinuxPPC, Yellow Dog, SuSE, Debian, or whichever distribution you choose.
First off, you'll have to make a few decisions. Do you intend to keep Windows on that PC or are you fine with erasing that hard drive? If your PC has a small drive to begin with, you might consider buying a large drive and using that instead - after all, we are talking about creating a file server.
Second, which Linux distribution will you use? This is the topic of many a flamewar. I don't intend to start one here, but will recommend a few. Red Hat is an ever popular robust distribution of Linux. Make sure you use a version where the point release is greater than zero (7.1, for instance.) You might also choose to use Mandrake, a distribution with many similarities to Red Hat, with a focus on ease of use and configuration.
These distributions, when used with a default install, can fill over a gigabyte of disk space. If you don't need a graphical interface and don't need a Web server, you can likely select an install option that will require less disk space. While Linux can be made to fit on a bootable floppy drive, I don't recommend that you, as a new user, try to select your own packages to pare the installation size.
While the focus of this article isn't teaching you to install Linux, there are five things you may want to consider and prepare for before installing:
1) What drive will you install Linux onto?
Remember, we're using this box as a file server, so you may want to use a larger hard drive. Linux has several folders that it requires for a working system. These folders can also be created as partitions. Linux doesn't really care either way. In any case, your shared files will all be stored in subdirectories under the /home volume. If you go with partitioning options besides making the drive one large partition, or letting the installer automatically create the partitions, make the /home volume as large as you can. Having /home be a separate partition is a smart plan.
2) What sort of installation type should you install?
Server, workstation, graphics manipulation, multimedia, and other classes of installation are available to you. Unless you have a greater plan about how you'll use Linux beyond file sharing, workstation is likely to be fine. If it's not, you can always install other components later.
3) Set the root password and create user accounts and passwords.
The Root user
|
You must set the password for the Root user, but you should create user accounts as well. If you log into a lesser privileged user account for everyday use, you eliminate 99% percent of the opportunities to screw up your system. You will need to create user accounts for every user that requires a private file share on the Linux box. You may create them during the installation of Linux or once you have a working system up and running.
4) Set ethernet configuration.
You can use DHCP, BootP, or set a static IP address at this time. There are configuration tools for changing it later, but it's easiest to set it right at this time. This way, when you boot into the system for the first time, networking is already configured and ready to go.
5) Configure Xwindows, video card, and monitor type.
Xwindows is the one of the systems that allows Unix and Linux to have a graphical user interface. When shipped with Linux, it can also be referred to as XFree86. The installer may probe and recognize your video card, but it will not be able to detect your monitor settings. If you find your monitor in a list that Linux knows, that's great. If it doesn't you'll need to find that paper booklet that came with your monitor and told you what your horizontal and vertical sync ranges are. Sometimes these can be gotten from the website of the monitor's manufacturer.
Boot into Linux. Login with your user account. Get familiar with the system, and explore a little. find an application called the Terminal, also known as a shell, Xterm, console, or Konsole. The Terminal is daunting to look at, especially for long time Mac users. If you have any experience typing in a MS-DOS window, this shouldn't be too painful to use. If you want more information on using the Terminal, Apple has a page that's intended for folks using Mac OS X and Web serving, but they discuss common commands in the Terminal. We'll come back to using the Terminal in a moment.
Test your network connection by opening a browser and surfing the Web for a moment. You should have a link to Netscape on the desktop or on the taskbar. You'll be asked to accept a license agreement, and then the browser will open.
If your network connection works, and you've sufficiently played around in Linux and are ready to get down to business, logout and log back in as the Root user.
Download
Download the Netatalk package from SourceForge. This website lists all of the versions of Netatalk for different platforms as well as beta and stable releases. You'll want to download a current release for Linux.
It is important that you look at the suffix of the download you choose. You want to get a .RPM. RPMs are Red Hat Package Manager packages that install and upgrade easily. Many people refuse to use RPMs in favor of downloading the source code in .tar.gz format, but as a new user, I won't ask you to go through the extra steps.
Look at the text within the download. You'll see that some of the files have RH7 in their names. These are appropriate for Red Hat 7.x installations of Linux. The downloads that have MDK in their filename are meant for Mandrake systems. Save this file to your /usr/local/src directory. When Netscape asks for the location you'd like to save this file in, make certain that the field for the file name contains /usr/local/src/netatalk-1.5pre6-1mdk.i586.rpm where the latter part is the name of the file you intend to download for your system.
In your terminal, you'll need to change directories from the /root directory, to the /usr/local/src directory. Do this by typing cd /local/src and pressing Enter.
Install the Netatalk package In your terminal window, type rpm -Uvh netatalk-1.5pre6-1mdk.i586.rpm, where the filename is the same as the one you've downloaded. The Red Hat Linux 7.0 Reference Manual, includes some chapters on using rpm, and using Gnorpm. Gnorpm is a graphical method of installing, upgrading, and managing RPM packages. We're using the manual method from the Terminal simply because I can't predict that you have Gnorpm installed on your system, or where you might click to invoke it, as different distributions set up the graphical environments differently.
Reboot
In your terminal, you may type either reboot, or shutdown -r now, and the system will restart. Login as the root user this time. Don't make a habit of logging in as root, but for the next step, you'll need to. For most tasks in Linux, you don't have to reboot, but since this Apple file sharing is a service that comes up at boot time, I'll want you to reboot. There are ways to restart the services that run at boot time without needing to reboot, but for simplicity's sake, we'll restart the computer.
Test install in Chooser
On your Linux box, open a Terminal, and type ifconfig. If you look at the section that is headed by eth0, you will find the IP address of your Linux machine.
for example, ifconfig on my computer shows this:
root@eliot:/home/vmarks > ifconfig
|
lo |
Link encap:Local Loopback |
|
eth0 |
Link encap:10/100 Mbps Ethernet HWaddr
00:20:35:29:36:0A |
Where inet addr:192.168.1.101 is the IP address that is bound to your ethernet card.
On your Macintosh, open the Chooser and select AppleShare. You'll be asked to enter an IP address, username, and password. Enter the IP of the Linux box along with a username and password that is valid on the Linux box. A mapped file share will appear on the desktop, and will open directly to the home directory of the user who was authenticated in Chooser.
Add users as necessary
Anyone who desires a private share on the Linux box must have a username and password on the Linux box. All user directories are stored under /home/.
First, you must know how to become Root from being logged in as a regular user. You may either log out and log back in as Root, or you may use the su command from the terminal. You will be asked for Root's password and then may be given the # mark as a prompt. Regular users have $ for a prompt. (Some terminals have settings that ignore this convention. Those terminals tend to put the user name in the prompt, as in root@eliot:/home/vmarks > where my user name is root on the machine named eliot and I'm in the /home/vmarks/ directory. ) When you are done acting as Root, type exit and press enter. You will be returned to your lesser-privileged user status.
From a terminal window as root issue the following commands:
# /usr/sbin/adduser (username) where
username is the name of your new user.
# /usr/bin/passwd (username)
and type in a new password for the new user. By default the user will have a new group with the same name as the user.
- Gil Becerra writes: This will work, but it will not create a home directory for that user. You should issue the adduser -m (username): this will create the user and create a home directory for him at the same time. Also, if you wanted to add them to a group, the adduser -m -G (groupname) (username) is all you need.
For normal production use
If you've had a chance to use Mac OS X, you'll notice that the user you create at install time is an Administrator. The Administrator user is endowed with great privileges, but is not Root. Root is more powerful than any other user, period.
I highly recommend that you log into your system with an underprivileged user account in a production environment, whether you're using Mac OS X or Linux, instead of these more powerful accounts. This will minimize any damage to the system should it get hacked someday, and it will minimize the amount of damage you or someone else can do through ignorance or carelessness.
Only log in as an Administrator or Root when it is absolutely necessary.
Recent Online Tech Journal Columns
- Optimized Software Builds Bring Out the Best in Your Mac, 06.30. Applications compiled for your Mac's CPU can load more quickly and run faster than ones compiled for universal use.
- Low End Mac's Safe Sleep FAQ, 06.15. What is Safe Sleep mode? Which Macs support it? How can you enable or disable it? And more.
- The Original Macintosh, 01.12. An in-depth look at the original Macintosh and how it shaped future Macs.
- The Innovative Lisa, 01.08. Apple's Lisa and how it paved the way for the Macintosh.
- More in the Online Tech Journal index.
Links for the Day
- Mac of the Day: Clamshell iBook G3/300 MHz, Sep. 1999 - innovative, rugged, heavy, clamshell laptop introduced AirPort and was a huge hit.
- Group of the Day: G-Books is for G3 PowerBooks and iBooks.
- July 4 in LEM history: 00: When Randy met Mac - 08: Wouldn't life be great with an iSlate? - Mac Pro overclocking, Windependence with Darwine, Blu-ray for Macs, and more
- Support Low End Mac
Recent Content on Low End Mac
- iPhone 3GS Overheating, Battery Life App, 240 GB Upgrade for 5G iPod, Total Baby App, and More, iNews Review, 07.02. Also low cost international calls, U-verse remote DVR control, Sync Blocker USB-to-Dock cable, Rocket Taxi improved, and more.
- MacBooks Top Amazon Sales, EFI 1.7 Problems, Pros and Cons of Built-in Batteries, and More, The 'Book Review, 07.02. Also make a bootable SD Card, Leopard on a 9" Dell netbook, MacBook Pro and Air reviews, triple WiFi range, bargain 'Books from $179 to $2,300, and more.
- Apple Tops in Satisfaction Again, Slim Profits on Mac mini, Ultimate Photo Setup, and More, Mac News Review, 07.02. Also tips for cloning hard drives and moving files from old Macs, Clickfree Transformer turns USB drive into a backup drive, maximum Mac Pro RAM, and more.
- Refurb MacBook Pro Deal, Fastest Mac Browser, 256 MB Modules for WallStreet, and More, Charles W. Moore, Miscellaneous Ramblings, 07.01. Also more Safari 4 feedback, praise for Camino, MacBook cracks, looking for Craigslist software for Macs, and more.
- Amazon.com v. Interstate Sales Tax: Everyone Loses, Dan Knight, Mac Musings, 07.01. Amazon.com is standing up to states that are trying to have it collect sales tax on interstate commerce, which most see as a violation of federal law.
- Introduction to Autofs in Mac OS X, Keith Winston, Linux to Mac, 07.01. "Autofs is often used in enterprise environments to set up network-based home directories and other network mounts for users at login."
- Checking Out Safari 4 on an Old PowerBook, Charles W. Moore, 'Book Value, 06.30. Safari 4 is the fastest it's ever been, but it's not without some frustrating drawbacks.
- Intel's Promise Fulfilled: More Processing Power per Processor Cycle, Dan Knight, Mac Musings, 06.30. Apple promised improved CPU efficiencies when it announced the move to Intel in 2005. Three years of MacBooks show the progress.
- Is Steve Jobs' Health Essential to Apple's Future?, Frank Fox, Stop the Noiz, 06.30. Steve Jobs' health is an important thing, but Apple has demonstrated that it can be profitable without him.
- More links in our archive.
Recent Deals
- Best Mac Pro Deals, 07.02. Used 3 GHz 4-core, $2,000; 3.2 8-core, $2,900; refurb 2.8 8-core, $2,399; new 2.66 4-core, $2,290 a/r; 2.26 8-core, $3,070 a/r; 2.66, $4,499; more.
- Best Mac OS X 10.4 'Tiger' Deals, 07.02. Full version DVD, $140; 5 user family pack, $370; 10-user Server, $299.
- Best 17" PowerBook G4 Deals, 07.02. Used 17" 1 GHz PowerBook, $689; 1.67 GHz, $749; hi-res, $1,029.
- Best Xserve Deals, 07.02. Used 2 GHz single G5, $800; dual, $1,000; refurb 2.8 GHz 4-core Xeon, $2,100; new 2.26 4-core Nehalem, $2,888; 8-core, $3,449; 2.66, $4,799; 2.93, $5,999.
- Best iPod touch Deals, 07.01. Refurb 2G/8 GB, $179; 16 GB, $259; iG/32 GB, $279; new 2G/8 GB, $215; 1G 16 GB, $210; 2G, $275; 2G/32 GB, $369. Prices include shipping.
- Best 13" MacBook & MacBook Pro Deals, 07.01. Used 1.83 GHz, $595; 2.0, $629; new 2.0, $889; 2.13, $925 after rebate; refurb 2.0 Unibody, $949; 2.4, $1,099; new 2.26 MBP, $1,119 a/r; more.
- Best 12" PowerBook G4 Deals, 07.01. Used 867 MHz Combo, $400; 1.33 GHz, $448; 1.5 GHz, $599; 1 GHz SuperDrive, $509; 1.33 GHz, $599; 1.5 GHz SD, $679.
- Best Apple TV Deals, 07.01. Refurb 40 GB Apple TV, $199; new, $220; refurb 160 GB, $279; new, $320. Prices include ground shipping.
- Best G4 iBook Deals, 06.29. Used 12" 800 MHz Combo, $290; 1 GHz CD, $299; Combo, $370; 1.33 GHz, $428; 14" 1 GHz Combo, $399; 1.2, $465; 1.42 GHz, $500.
- Best Power Mac G3 and PCI Video Card Deals, 06.29. Used beige 300 MHz, $25; G4/366, $39; blue & white 350, $80; 400, $90; 450, $105; PCI video cards from $15; shipping additional.
- Best Mac OS X 10.0-10.3 Deals, 06.29. Mac OS X 10.0, $30; 10.1, $20; 10.2, $60; 10.3, $50; 10.3 Server, unlimited users, $130.
- Best Time Capsule and AirPort Deals, 06.29. Close-out 500 GB Time Capsule, $199; 1 TB, $350; AirPort Extreme Base Station, $130; refurb AirPort Express, $85.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Have a question?
Ask an expert!
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
Ask an expert!
