On Wed, 2002-12-11 at 21:40, Ryan McDougall wrote: > I can't run redhat-config-xxxxxxxxx whenever I try to invoke those commands I > get an error saying: > RuntimeError: could not open display > I don't have X or any graphical user interface just the command line interface. > Also how would I get the DNS servers in the /etc/resolv.conf? > > Ryan [root@jellybelly networking]# more /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none ONBOOT=yes USERCTL=no PEERDNS=no TYPE=Ethernet I'm guessing that your configuration looks like above, simply run dhclient eth0 This should manually invoke to DHCP for the interface. Changing BOOTPROTO to "dhcp" and PEERDNS to "yes" should do the trick for subsequent reboots. -- NAME : Adam Allen. EMAIL : adam@dynamicinteraction.co.uk COMMENT : ~~~~ insert your favourite signature comment here ~~~~ PGP : http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk
Attachment:
signature.asc
Description: This is a digitally signed message part