April 24, 2019

Turn an Old PC Into a Multi-Purpose LAN Server with ZeroShell (part 1) - page 2

Setup, Using Zeroshell With an Existing Router

  • April 20, 2009
  • By Eric Geier
  1. On the main ZeroShell menu, type I. Type your password when prompted and hit Enter.
  2. 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.
  3. Type G to set the Default Gateway, enter the IP address of your existing router, and hit Enter.
  4. 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 if the router's IP is 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.
  5. 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.
  6. 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.
  7. Type Q to return to the main menu.

Bringing up the web-based GUI

Now you should be able to access ZeroShell with the web browser. Simply enter the IP address of ZeroShell in a browser. Just remember to use https rather than http. Figure 1 shows an example of 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:

  1. On the web-based GUI, click the Setup link on the main menu and select the Profiles tab (see Figure 2).
  2. Choose the drive/partition where you want to store the profile and click the Create DB button.
  3. 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.
  4. Select the profile and click the Activate button.
  5. 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

periodically back up the profile. On the Setup/Profiles page, choose the profile, click the Backup button, and choose a location.

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).

Most Popular LinuxPlanet Stories