-
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

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$100.00

Western Digital Blue 3D NAND 500GB Internal 2.5" SSD - WDS500G2B0A
$49.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$129.99

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$42.99

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...
$30.00

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99