-
Knoppix PC as a gateway problem
Ok, I'm running Knoppix 3.2 off the CD on a PC with no HDD. I'd like to set this computer up as the gateway for my network. I've got internet access on the Knoppix box, set up eth1 (LAN NIC) to have the proper settings using the netcardconfig utility, insert my barebones IPTables settings that should allow NAT, IPMasq, etc... but to no avail my network still can't access the network. Let me know what other information you guys might need. Both cards have been detected as an aside.
On another note, could the problem be the fact that I've got no writable media on this computer, and therefore my rules for iptables are just getting dumped after inserting them?
-
Knoppix as a gateway
Hey there orcsoul
I'm doing the same thing but with a hdd in the machine.
does the knoppix box have an internal modem???
if not you need to setup a eth0 for the other ethernet card.
the iptables shouldnt be dumped when you put them in as it's stored in the ram
but the one thing you need to do is re-enter it every time you turn the machine on.
you need to set up routing if you havent already
and you need to enable fowarding (ill tell you later how to do it)
Tim
ps. more later
Hope this sorts it out for now
-
networking
how to enable fowarding
the quick way is at the prompt type the following
"echo 1 > /proc/sys/net/ipv4/conf/eth0/fowarding"
then repeat for eth1 by putting a 1 inplace of the 0
this means your two network card can talk to each other.
routing - i'm still sorting this one out my self but to get the internet on knoppix add the following to the routing tables by using route.
ipaddress gateway mask
0.0.0.0 (ipaddress of your modem here) 255.255.255.0
that should work, if not just put a post here with some details.
Tim
Similar Threads
-
By ghostblaze in forum Networking
Replies: 6
Last Post: 10-31-2004, 11:58 PM
-
By JordyC in forum General Support
Replies: 2
Last Post: 07-25-2004, 04:50 PM
-
By SideWynder in forum Networking
Replies: 2
Last Post: 11-21-2003, 11:41 PM
-
By melo in forum The Lounge
Replies: 4
Last Post: 11-11-2003, 09:40 PM
-
By djm in forum General Support
Replies: 2
Last Post: 01-20-2003, 02:07 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
~CLEARANCE SALE~ 15.6" HP ProBook Laptop PC: 16GB RAM 256GB SSD Windows 11
$249.97
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$23.33
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem
$39.99
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$14.85
Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands
$88.00
HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB
$127.20