-
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

Seagate 8TB Internal
$120.00

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

HUS726060ALA640 HGST Ultrastar 6TB SATA 6Gbps 7.2K 3.5" Hard Drive OF21860
$129.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

Seagate ST3000NM0005 HDD 3TB SATA 6Gb/s 7.2K 3.5" 512 b/s
$59.00

Hitachi Ultrastar 3TB 7200RPM 3.5in SATA III 6Gb/s - enterprise-grade hard drive
$49.00

HGST HUS724040ALA640 4TB 7200 RPM SATA 3.5" Internal Desktop Drive 100% Health
$78.00

HDD 3.5" SATA Hard Drive with Windows 10/Win 11 64x Installed Legacy
$35.00

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99