Shayner Posted March 13, 2006 Report Share Posted March 13, 2006 Hey, im a complete newbie to linux and i was curious if anyone has any documentation on this? its mandrake 10.1. Thanx Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 14, 2006 Report Share Posted March 14, 2006 I don't really have any documentation as such but it would be pretty simple to create a router. I'm assuming you want to use a machine with Mandrake/Mandriva installed as a router. Can you explain more of the situation, then I can explain how you can make the machine act as a router? What is your hardware, do you have two network cards or one? Do you want it to act as a router for internet connections? If so, how is your internet connection provided, router or usb modem? Quote Link to comment Share on other sites More sharing options...
arctic Posted March 14, 2006 Report Share Posted March 14, 2006 A bit dated but still useful: http://doc.mandrivalinux.com/MandrakeLinux..._Conf_Guide.pdf a newer and detailed online-guide can be found here: http://www.howtoforge.com/perfect_setup_mandriva_2006 Quote Link to comment Share on other sites More sharing options...
Shayner Posted March 14, 2006 Author Report Share Posted March 14, 2006 Hardware: Pentium 3 500mhz 378mb ram 1 nic mandrake 10.1 Ya, for internet connections. the cable modem has a usb and an ethernet out so ill pry use the usb. The way i want it to be is Desktop (winxp home) modem->mandrake comp->switch< Laptop (winxp pro) Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 15, 2006 Report Share Posted March 15, 2006 OK, normally routing is enabled by default in Mandrake/Mandriva. You can check with: [ian@europa ~]$ cat /proc/sys/net/ipv4/ip_forward 1 if it reports 1 then ip forwarding is enabled. Since you'll use a USB modem, then what you want to do next is make sure the firewall is enabled to protect your connection. So, System/Configuration/Configure Your Computer/Security. Go into the Firewall option, and enable the firewall. It will then ask you which device it should be protecting, so select the USB modem since this is the incoming device from the internet. You can then check under one of the options here, I think networking and there should be an internet connection sharing wizard. If not, do: urpmi drakwizard and then relaunch Configure Your Computer and check again. Run this to sort out the internet connection sharing. After this, you need to make sure all your machines use the Linux machine as your default gateway for it to work. This is based on using Mandrake/Mandriva and not another distro. Quote Link to comment Share on other sites More sharing options...
Shayner Posted March 15, 2006 Author Report Share Posted March 15, 2006 [ian@europa ~]$ cat /proc/sys/net/ipv4/ip_forward 1 Reported a 0 :P Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 15, 2006 Report Share Posted March 15, 2006 OK, follow the rest of what I posted, and then we can work from there once you've done the internet connection sharing. Quote Link to comment Share on other sites More sharing options...
Shayner Posted March 16, 2006 Author Report Share Posted March 16, 2006 the USB modem comes up as unknown device. how can i change that? Quote Link to comment Share on other sites More sharing options...
Shayner Posted April 3, 2006 Author Report Share Posted April 3, 2006 Ok, ive gotten most of it sorted out i think. I upgraded to mandriva 2006, and installed a second NIC. And im up thru the connection sharing. Whats next ? :) Quote Link to comment Share on other sites More sharing options...
static Posted April 11, 2006 Report Share Posted April 11, 2006 What was the second NIC for? As far as the modem - you should simply be able to use a network cable instead of the USB, which, btw, would be faster too (except that your ISP probably isn't going to give you internet at 100MB/s ;) ) Quote Link to comment Share on other sites More sharing options...
Shayner Posted April 11, 2006 Author Report Share Posted April 11, 2006 What was the second NIC for? As far as the modem - you should simply be able to use a network cable instead of the USB, which, btw, would be faster too (except that your ISP probably isn't going to give you internet at 100MB/s ;) ) Its going to be a router, so 1 network cable comes from the modem, and the second goes out to the switch... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.