View previous topic :: View next topic |
Author |
Message |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Tue Jul 10, 2007 4:08 pm Post subject: pentium 1 router |
|
|
hey everybody ,
am trying to build a router and print server using an Compaq Prolinea 575 CPU=75MHZ , HDD=6Gig , RAM = 56MB , 2 10/100MBs NICS. I have some experience with windows but I know its impossible but i heard linux can do the trick. I have tried the guide at this link http://pccicla.blogspot.com/2007/02/second-idea-router-linux-server.html and I couldnt get it so if anyone of you Linux gurus out there can please help me out and lt me know whcih linux destro can do the trick and if possible some pointers and guides or even tutorials .
ANY HELP will be REALLY APPRECIATED |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10733 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jul 10, 2007 4:44 pm Post subject: |
|
|
I use a machine for that purpose that's not too much more powerful than yours: a 90 MHz Pentium I with 128Mb of RAM and a 5.6Gb hard drive. You might want to check out the Gentoo Home Router Guide. 56 Mb of RAM is pretty marginal (the handbook states a minimum of 64 Mb but I've read unofficial reports of successful installs with less. If you can, get a little more memory on eBay. Old-style memory on eBay is dirt cheap.
First, you'll want to set up Gentoo on the box; there's also an outstanding guide, The Gentoo Handbook, for that purpose. Use the Gentoo Minimal Installation CD.
Let me know how it goes.
- John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Tue Jul 10, 2007 5:04 pm Post subject: |
|
|
thnx alot for the reply ,
what version of gentoo would you recomend ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Master Shake l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Southpark/avatar15.gif)
Joined: 10 Apr 2005 Posts: 755 Location: Wilmington, Delaware
|
Posted: Tue Jul 10, 2007 5:07 pm Post subject: |
|
|
gentoo is versionless. The install CD that is most current is 2007.0. _________________ System Specs:
64-bit gentoo linux
Q6600 @ 3.2Ghz
P35 Chipset
4 Gigs 800mhz 4-4-4-12
Nvidia GeForce 8800 GTX @ 630mhz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Tue Jul 10, 2007 5:11 pm Post subject: |
|
|
THANX ALOT ,
LET ME GET DOWN TO THE DOWNLOADING |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10733 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue Jul 10, 2007 5:17 pm Post subject: |
|
|
To expand on that just a little bit, Gentoo is "versionless" because it installs everything by compiling it from source code and because Gentoo's Portage package management system (see About Gentoo) always downloads the latest "stable" source code for each package you install.
Gentoo is perfect for limited resource applications like your router project because, beyond the kernel and a very conservative set of utilities, nothing is installed unless you do it.
- John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Wed Jul 11, 2007 12:57 pm Post subject: |
|
|
Hello,
I downloaded the gentoo 2006.1 iso labled "install-x86-minimal-2006.1.iso" put image on CD and installed it.
I have static IPs so i figured to start from heading labled "Cable and or dynamic/static IP"
typed:"nano /etc/conf.d/net". File opened with the following lines:
#This blank configuration will automatically use DHCP for any net.*
#scripts in /etc/init.d. To create a more complete configuration,
#please review /etc/conf.d/net.example and save your configuration
#in /etc/conf.d/net (this file :]!).
And i added the lines below after which i saved and quit nano:
config_eth1=("192.168.0.6 broadcast 66.92.78.255 netmask 255.255.255.0")
routes_eth1=("default gw 192.168.0.1")
Typed "nano /etc/resolv.conf" after which a blank file opned
I added "nameserver 193.220.20.30" (without quotees) to it and saved and quit nano
Typed "ln -s net.lo /etc/init.d/net.eth1" and system gave me
"ln:creating symbolic link '/etc/init.eth1' to 'init.lo:File exists" (without outer quotees)
Typed "rc-update add net.eth1 default" and the system gave me
"* net.eth1 added to runlevel default" (without quotees)
Typed "/etc/init.d/net.eth1 start" and the system gave me
"* Caching services dependacies... [ok]" (without quotees)
"* WARNING : net.eth1 has already been started." (without quotees)
Typed "nano /etc/conf.d/net" and a blank file opened to which i added
"config_eth0=( "192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" )"
(without outer quotees) and saved and quit nano.
Typed "rc-update add net.eth0 default" system gave me :
" * net eth0 added to run level default" (without quotees)
Typed "/etc/init.d/net.eth0 start". system gave me :
"* Caching services dependacies... [ok]" (without outer quotees)
"* WARNING : net.eth0 has already been started." (without quotees)
Typed "emerge dnsmasq" . system gave me
"bash : /etc/init.d/dnsmasq : No such file or directory" (without quotees)
AND THATS WHERE I STALLED
by the way the data from my system administraor is for the internet line is as follows
IP = 192.168.0.6
SUBNET MASK = 255.255.255.0
PREFERED DNS SERVER = 193.220.20.30
ALTERNATIVE DNS SERVER = 193.219.193.135
DEFAULT GATEWAY=192.168.0.1
and by the way my printer is an HP1100
once again , ANY HELP WILL BE HIGHLY APPRECIATED
THANX AGAIN |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10733 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jul 11, 2007 1:09 pm Post subject: |
|
|
zedman wrote: | Typed "emerge dnsmasq" . system gave me
"bash : /etc/init.d/dnsmasq : No such file or directory" (without quotees)
AND THATS WHERE I STALLED | Could you please post all of the messages from the "emerge dnsmasq"?
- John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Wed Jul 11, 2007 1:28 pm Post subject: |
|
|
hello John,
Typed "emerge dnsmasq"
system gave me " bash : emerge : command not found"
Typed "nano /etc/dnsmasq.conf".
a blank file opened and i added the following lines, saved and quit nano:
"dhcp-range=192.168.0.100,192.168.0.250,72h"
Typed "rc-update add dnsmasq default".
system gave me :
"rc-update : '/etc/init.d/dnsmasq' not found ; aborting"
typed "/etc/init.d/dnsmasq start".
system gave me :
"bash : /etc/init.d/dnsmasq : No such file or directory"
THATS WHERE I STALL
I can install gentoo ll over again if you want and start from scratch
THANX
PS:dont man to be a burden but can I send you my yahoo then maybe we can use yahoo messenger or msn messenger or e-mail , and communication could be faster. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10733 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jul 11, 2007 1:39 pm Post subject: |
|
|
Forum is usually better because it preserves a history of the issue so that others can benefit.
One important point: if a command fails, you just can't move on. You need to find out why it fails, fix that, and re-run the command that failed. The fact that "emerge dnsmasq" fails means that some other step earlier than that didn't complete. "emerge" is part of Portage, probably the most fundamental part of Gentoo Linux. If you don't have that command, then you missed a step in the Handbook install.
It's possible that just your PATH is messed up. Can you show the output of
- John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Wed Jul 11, 2007 1:46 pm Post subject: |
|
|
thanx for the quick reply,
let me try to reinstall gentoo and start all over again right now.
will let you know how it goes
zedman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nobspangle Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/210249061640b0c1d626f5b.gif)
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Wed Jul 11, 2007 2:36 pm Post subject: |
|
|
Have you been all the way through the Gentoo handbook and installed the OS?
The main steps are
partitioning the disks and setting up filesystems
downloading and unpacking the stage tarball
downloading and installing portage
compiling the kernel.
installing the bootloader
If you haven't done the above steps then you haven't installed Gentoo.
If you're having trouble with the Gentoo installation ask for help in the installing Gentoo forum. Once you have a working system come back here for help setting up your router.
One tip for the forum, when you typing commands and output from the console wrap it in [code] tags as it helps others to read what you have written. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Wed Jul 11, 2007 3:06 pm Post subject: |
|
|
I installed gentoo from scratch but I stall again at the same place.
I type "emerge dnsmasq"
system gives me : "bash: emerge: command not found"
I type: "echo $PATH".
system gives me :
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-
pc-linux-gnu/gcc-bin/4.1.1"
I type "pwd"
system gives me:
"/root"
I type "emerge dnsmasq"
system gives me : "bash: emerge: command not found"
I type "cd /"
I type "pwd"
system gives me
"/"
I type "emerge dnsmasq"
system gives me : "bash: emerge: command not found"
what directory should I be in to run "emerge dnsmasq" ?
what version of gentoo should I have?
THANX |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
John R. Graham Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1323583785534df64897db0.jpg)
Joined: 08 Mar 2005 Posts: 10733 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Jul 11, 2007 3:09 pm Post subject: |
|
|
zedman,
That simply can't be the first command that failed. What was the last step of the Handbook that you executed that succeeded? Can you post that command plus the section of the Handbook you were following?
- John
Last edited by John R. Graham on Wed Jul 11, 2007 3:15 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zedman n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jul 2007 Posts: 8
|
Posted: Wed Jul 11, 2007 3:14 pm Post subject: |
|
|
Thanx for the post nobspangle ,
I think thats where my problem is
I downloaded the "install-x86-minimal-2006.1.iso" thats the one I install and it doesnt ask me too much when installing I just press "Enter" untill it finishes and brings me "livecd root #" that where I take over from
I dont follow any installation book
let me check the book will get back to you
thanx again
zedman |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|