X11
11-28-2004, 01:50 PM
Can someone tell me how to configure Mandrake 10.1 to use a static ip address permanently on my lan...thanks in advance!
|
Click to See Complete Forum and Search --> : Static ip address X11 11-28-2004, 01:50 PM Can someone tell me how to configure Mandrake 10.1 to use a static ip address permanently on my lan...thanks in advance! tecknophreak 11-28-2004, 01:55 PM Pretty sure Mandrake has this command, netconfig. Then just setup your IP address. After which, use "/sbin/service network restart" fatTrav 11-28-2004, 02:04 PM Use the drakeconf or whatever it is called tool. The main GUI tool for computer management has something for "network" settings and will have the option you want. It will most likely even restart network services too. X11 11-28-2004, 02:13 PM Thanks for the quick responses, but I'd like to configure from the command line as this computer is running headless right now. thanks... fatTrav 11-28-2004, 02:38 PM oh well that is a problem indeed. one moment while i search for a thread i had back in may about the same problem thread was here (damn, i combined questions into one post!) http://www.justlinux.com/forum/showthread.php?s=&threadid=129226&highlight=drakeconf yeah, use drakconf. it will allow you to do everything you need, if i remember correctly. well it at least will let yuo configure network. tecknophreak 11-28-2004, 03:14 PM Originally posted by X11 Thanks for the quick responses, but I'd like to configure from the command line as this computer is running headless right now. thanks... Even with a name of X11 he wants the command line, that's what I'm talking about!! Yeah, netconfig is command line, or you could do it through setup, setup actually uses netconfig. Gertrude 11-28-2004, 03:48 PM You can edit this file, and put in some of the static info.. /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 IPADDR=192.168.0.20 NETMASK=255.255.255.0 BOOTPROTO=static ONBOOT=yes BROADCAST=192.168.0.255 NETWORK=192.168.0.0 Then the gateway, and hostname for the computer go into here.. /etc/sysconfig/network And to set your DNS servers edit /etc/resolv.conf justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |