HowTo install network without gui or tui available?

g geleem at bellsouth.net
Tue Jul 5 15:14:32 UTC 2011


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/
****

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110705/d600ecf3/attachment.bin 


More information about the users mailing list