On Tue, Jul 5, 2011 at 10:03 AM, Reindl Harald <h.rei...@thelounge.net> wrote:
> Am 05.07.2011 15:50, schrieb Thomas Schweikle:
>>
>> Since I could not find a working Howto for Fedora 15:
>>
>> How do I install networking without having gui or tui tools
>> available? Even without having the ability to use them (if they
>> where installed)?
>>
>> I could not find any description not using gui setup tools ... :-(
>
> echo "DEVICE=eth0" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "IPADDR=10.0.0.99" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "NETWORK=10.0.0.0" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "GATEWAY=10.0.0.1" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "BROADCAST=10.0.0.255" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "NETMASK=255.255.255.0" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "TYPE=Ethernet" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "BOOTPROTO=static" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "ONBOOT=yes" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "NM_CONTROLLED=no" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "USERCTL=no" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "IPV6INIT=no" > /etc/sysconfig/network-scripts/ifcfg-eth0
> echo "IPV6_AUTOCONF=no" > /etc/sysconfig/network-scripts/ifcfg-eth0
> /etc/init.d/network start

In your cut/paste, you forgot to change ">" to ">>". :)

Why not use "cat > /etc/sysconfig/network-scripts/ifcfg-eth0 <<EOF" or vi?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to