Re: HowTo install network without gui or tui available?



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


--

peace out.

tc.hago,

g
.

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
The installation instructions stated to install Windows 2000 or better.
So I installed Linux.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

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


Relevant Pages

  • Re: fedora-list Digest, Vol 4, Issue 259
    ... > One issue I am having involves the ggz installation. ... There could be lots of reasons for a Linux box not to boot into ... > not a Fedora issue, it's a 2.6 issue which SuSE and Mandrake also has. ... > Can a Linux machine route tcp/ip data from a modem link to a local net ...
    (Fedora)
  • Re: Improvement in Freeview tuning functionality
    ... difficult in Windows too, of course, but, as my post and the following ... Sorry, but are you claiming that with all linux distros, etc, it isn't ... support to a limited number of models, ... The second method is to take all the installation mechanisms of the OS ...
    (uk.tech.digital-tv)
  • Re: Finding installed package files
    ... >> package, and to have easy access to those files, especially the ones ... >> this as being helpful to Linux users, ... >> Linux could be made easier by having installation programs actually ... be searching for the executable and its command line for invoking the IDE, ...
    (alt.os.linux.redhat)
  • Re: Just Got Back From NAMM. Why so little Linux?
    ... Just a little diversion back to the original topic, and an observation about me, and Linux. ... installing my familiar mail client and web browser (Firefox), ... The trick of copying the contents of an existing profile ... folder into the new profile folder that gets installed with a new installation didn't work. ...
    (rec.audio.pro)
  • Re: WARNING to potential LINUX users
    ... Markzoom has a posting history of less then 10 articles on Linux or any ... of his first experience with SuSE Linux. ... years only 5 posts were worthy of a real answer. ... >>attempted installation of SuSE. ...
    (alt.os.linux.suse)