Network Config Via Text Console

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

 



Daniel C writes:
> Hi list,
>  
> Does anyone know how to configure network settings via the text console of
> Fedora7?

Sure.

The configurations live in /etc, /etc/sysconfig and
/etc/sysconfig/network-scripts. You want to learn several commands such
as:

service network restart

ifup

ifdown

ifconfig [device] [address] netmask [netmask]

Example:

ifconfig eth0 192.168.1.100 netmask 255.255.255.0

And, you want to learn the route command, ex:

route add default gw 192.168.1.1 eth0

If using dhcp, you want to do something like:

dhclient eth0

Janina




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux