Re: HowTo install network without gui or tui available?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 05.07.2011 17:14, schrieb g:
> On 07/05/2011 02:03 PM, Reindl Harald wrote:
> <>
> 
>> 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
> 
> which would leave 'ifcfg-eth0' with only "IPV6_AUTOCONF=no".
> 
> should be;
> 
> 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

correct, sorry

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux