/[gentoo]/xml/htdocs/doc/en/gentoo-freebsd.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-freebsd.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.12 2005/12/20 19:12:53 cam Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.13 2006/01/10 21:15:20 vanquirius Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/gentoo-freebsd.xml"> 5<guide link="/doc/en/gentoo-freebsd.xml">
6<title>A short guide to Gentoo/FreeBSD</title> 6<title>A short guide to Gentoo/FreeBSD</title>
7 7
26 26
27<!-- The content of this document is licensed under the CC-BY-SA license --> 27<!-- The content of this document is licensed under the CC-BY-SA license -->
28<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 28<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
29<license/> 29<license/>
30 30
31<version>1.9</version> 31<version>2.0</version>
32<date>2005-12-06</date> 32<date>2006-01-10</date>
33 33
34<chapter> 34<chapter>
35<title>Introduction to FreeBSD</title> 35<title>Introduction to FreeBSD</title>
36<section> 36<section>
37<title>What is FreeBSD?</title> 37<title>What is FreeBSD?</title>
308ifconfig_rl0=("192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255") 308ifconfig_rl0=("192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255")
309routes_rl0=("-net 0.0.0.0 -host 192.168.0.1") 309routes_rl0=("-net 0.0.0.0 -host 192.168.0.1")
310</pre> 310</pre>
311 311
312<p> 312<p>
313To change your hostname you have to edit <path>/etc/hostname</path>. 313To have your network interface activated at boot time, you have to add it to the default runlevel.
314</p>
315
316<pre caption="Adding your network adapter to the default runlevel">
317# <i>rc-update add net.rl0 default</i>
318</pre>
319
320<p>
321Your system's hostname can be changed in <path>/etc/hostname</path>.
314</p> 322</p>
315 323
316<pre caption="Setting up the machine's hostname"> 324<pre caption="Setting up the machine's hostname">
317# <i>echo "YOUR_HOSTNAME_HERE" > /etc/hostname</i> 325# <i>echo "YOUR_HOSTNAME_HERE" > /etc/hostname</i>
318</pre> 326</pre>

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20