MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Currently, there's little help from the threads I've read on this subject.
I have a Mandrake box with two cards, and a Windows box. Connected by crossover cable, all fine. When the Mandrake computer is booted into Windows, Internet sharing goes fine. Not so when running Mandrake.
The Mandrake box:
eth1, connected to Internet through a gateway, static IP, properly configured.
eth0, 192.168.1.26, connection to the Windows comp
Windows comp:
192.168.1.2, and does have 192.168.1.26 as its gateway setting. As said, net here works when the first comp is booted into Windows.
I updated Shorewall (heard that the one Mandrake 10 ships with is buggy), and I set up iptables - when booting, I get the "Starting IPv4 packet forwarding" message. Pings travel fine between the two computers both ways. However, the Windows comp can't access the Internet. It does resolve names to IP addresses, but it doesn't go any farther than that. A traceroute to any site stops after succesfully reaching the Mandrake box.
I assume there's something wrong in either my iptables or shorewall config that doesn't let the Windows computer's packets be passed on to the Internet, and that prehaps routing only works one way - from Mandrake comp to Windows comp, but not the other way around. Any ideas or areas where I need to elaborate?
The first two are my ISP DNS servers. Should I outcomment the last line?
However, I think that DNS works. When I load up IE on Windows box, it says there, connecting to somesite.com, then connecting to xx.xx.xx.xx, where that IP is IP of the site. Also a tracert on somesite.com shows it able to resolve that to an IP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.