-
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
LOADED 2019/20 Apple MacBook Pro 16 32GB RAM 1TB SSD i9 8 Core 5.0 Turbo NEW OS
$899.00
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$350.00
Dell 14" TOUCHSCREEN IntelQuadCore 16GB RAM up to 512GB SSD Fingerprint BT Win11
$235.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x 256GB SSD Quadro 2000 Linux GA
$212.49
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
Intel Core i9-13900K Raptor Lake 24-Core (8P+16E) Desktop Processor CPU
$474.98
Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...
$314.99
Intel Core i7-6700 3.4GHz 8MB 8GT/s CPU Processor SR2L2 LGA1151
$58.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA
$182.73
Dell Optiplex 5040 MT Core i5-6500 3.20GHZ 8GB RAM 256GB SSD Win 10 Pro WiFi
$89.99