Turn an Old PC Into a Multi-Purpose LAN Server with ZeroShell (part 1) - page 2
Setup, Using Zeroshell With an Existing Router
- On the main ZeroShell menu, type I. Type your password when prompted and hit Enter.
- If you have multiple network cards, make note of the Ethernet card that's connected to the router. The status field gives you a hint to which ones are connected to something. Remember the interface ID, such as ETH00 or ETH01.
- Type G to set the Default Gateway, enter the IP address of your existing router, and hit Enter.
- Type A to add an IP address, enter the interface ID that you previously noted as the one connected to the router and hit Enter. Then type an IP address that's within the subnet of the router (such as 192.168.1.6 if the router's IP is 192.168.1.1) and hit Enter. Then to use the default netmask (which is probably the case), don't type anything when prompted for it, just hit Enter.
- Now to remove the default IP, type D. Then enter the interface ID where the IP is assigned. Then type the number identifying which IP you want to delete and hit enter. Finally, type YES and hit Enter.
- Then to refresh the interface, type S. Enter the interface ID that's connected to the router and hit Enter. Type DOWN and hit Enter. Then repeat the process to make the status UP.
- Type Q to return to the main menu.
Bringing up the web-based GUI
Saving and loading settings
Since ZeroShell is a live CD, it doesn't store settings by default. When you reboot or shutdown, the default settings will return and any changes you made will be lost. Thus before you configure any more, you should set up a profile on a storage drive. That way you when you do reboot, it will retrieve your profile and load your configuration. Here's how to set this up:
- On the web-based GUI, click the Setup link on the main menu and select the Profiles tab (see Figure 2).
- Choose the drive/partition where you want to store the profile and click the Create DB button.
- On the profile details window, enter a description for the profile, type in the password you created, enter your router's IP address for the Default Gateway, and click Create.
- Select the profile and click the Activate button.
- On the Profile Info window, click the Activate button. When prompted, click OK.
ZeroShell will restart, booting back up with the profile you just created. Any settings you change now will be saved to the profile. You should also
Stay tuned--in the next parts, we'll check out the RADIUS server, soft access point, and captive portal features.
Eric Geier is an author of many computing and networking books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft Windows Vista (Que 2007).