LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mandrake Noob-Need hlp with netwrlk/internet (https://www.linuxquestions.org/questions/linux-networking-3/mandrake-noob-need-hlp-with-netwrlk-internet-58107/)

Pechorin 05-04-2003 02:54 PM

Mandrake Noob-Need hlp with netwrlk/internet
 
Ok,

I just installed mandrake for the first time and don't quite know where to begin to get the system on the internet. I have a win2000 server that is sharing a cable connection accross our network. How to I tell mandrake (im using KDE) to access the internet through the shared connection. I think it is recognizing my on board realtek nic, but like I said, i'm as new as they come to this.

Can some one give me some steps to getting this sytem online.

david_ross 05-04-2003 02:57 PM

Just set the linux box's gateway to be the IP of the Win2k machine. If you have already got ICS working then that is all you need to do.

Pechorin 05-04-2003 03:01 PM

ok, thats a start. Now if I only knew where to go to do that...

david_ross 05-04-2003 03:16 PM

This should do it:
1) Run "netconf".
2) Click on "Hostname and IP network devices".
3) Click on "Adaptor 1" then enter your network details.
4) Click "Accept" then "Routing and Gateways"
5) Click "Defaults" then enter then IP of your win2k machine
6) Accept the changes and click "Do it"
7) Restart the network service "service network restart"

morgoth 05-05-2003 05:11 AM

Thanks for that hint, david_ross!
I had a similar problem with MD 9.1, now network works fine - almost. Sometimes the system looses the dns-settings, netconf shows blank entries.

Any idea? I don't know much about about MD, I have just switched from SuSE 8.1 to MD 9.1.

Thanx, Morgoth

david_ross 05-05-2003 02:04 PM

Try adding an entry like:
nameserver xxx.xxx.xxx.xxx

to:
/etc/resolv.conf
/etc/sysconfig/network-scripts/net_resolv.default

Netconf should do this automaticaly but try adding it manually if an entry is missing.

morgoth 05-06-2003 01:37 AM

I did this - /etc/resolv.conf is not present on my system. If I create this file it is automaticly deleted on next boot.

/etc/sysconfig/network-scripts/net_resolv.default shows correct entries, first nameserver pointing to loop, second to my default gateway (a W2K-machine that is also DHCP). I configured this both manually and with netconf.

Tonight I found out that my machine does not behave the same on every start. Sometimes I can ping IPs in exetrnal networks (but not names), sometimes I can only ping hosts in my LAN.

When I can ping exteral IPs I simply have to restart network services to get DNS working. If I can't I have to reconfigure network settings with netconf and then restart the services. :scratch:


All times are GMT -5. The time now is 11:24 PM.