From: Fred on
I have Fedora 9 installed on a PC. X is not working, so I cannot use
/usr/bin/system-config-network to configure the network interface. So, I
used the "setup" command, which allows you to configure networking.
However, this does not save the changes to the /etc/sysconfig/network*
files. Neither does ifconfig. Is there a "non-gui" tool which will
allow me to permanently configure eth0's IP address?


-Thanks

From: Keith Keller on
On 2008-06-14, Fred <itfred(a)cdw.com> wrote:
> I have Fedora 9 installed on a PC. X is not working, so I cannot use
> /usr/bin/system-config-network to configure the network interface. So, I
> used the "setup" command, which allows you to configure networking.
> However, this does not save the changes to the /etc/sysconfig/network*
> files. Neither does ifconfig. Is there a "non-gui" tool which will
> allow me to permanently configure eth0's IP address?

system-config-network should figure out that it doesn't have X and run
in an ncurses window. But, you can simply edit the
/etc/sysconfig/network-scripts/ifcfg-eth0 file directly if you don't
want to run it, or if it doesn't fall back to ncurses for some reason.

--keith

--
kkeller-usenet(a)wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

From: Fred on
On Fri, 13 Jun 2008 22:23:58 -0700, Keith Keller wrote:

> On 2008-06-14, Fred <itfred(a)cdw.com> wrote:
>> I have Fedora 9 installed on a PC. X is not working, so I cannot use
>> /usr/bin/system-config-network to configure the network interface. So, I
>> used the "setup" command, which allows you to configure networking.
>> However, this does not save the changes to the /etc/sysconfig/network*
>> files. Neither does ifconfig. Is there a "non-gui" tool which will
>> allow me to permanently configure eth0's IP address?
>
> system-config-network should figure out that it doesn't have X and run
> in an ncurses window. But, you can simply edit the
> /etc/sysconfig/network-scripts/ifcfg-eth0 file directly if you don't
> want to run it, or if it doesn't fall back to ncurses for some reason.
>
> --keith


Yes, the ncurses version does run, I enter the network parameters, but it
does not change or save them (as root). Great.

From: Unruh on
Fred <itfred(a)cdw.com> writes:

>I have Fedora 9 installed on a PC. X is not working, so I cannot use
>/usr/bin/system-config-network to configure the network interface. So, I
>used the "setup" command, which allows you to configure networking.
>However, this does not save the changes to the /etc/sysconfig/network*
>files. Neither does ifconfig. Is there a "non-gui" tool which will
>allow me to permanently configure eth0's IP address?

How about using an editor?



>-Thanks

From: Fred on
On Sat, 14 Jun 2008 14:23:55 +0000, Unruh wrote:

> How about using an editor?
>
>>-Thanks


There are numerous settings besides the IP address in the
/etc/sysconfig/networking config files. I have edited these files in the
past, I'm just having difficulty believing that after all these years, I
still have a need to do so.