D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Starting Up Network

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Lloyd-Jones wrote:
|
| # Please read /usr/share/doc/initscripts-*/sysconfig.txt

Always a good idea.

| # for the documentation of these parameters.
| GATEWAY=192.168.1.2
| TYPE=Ethernet
| DEVICE=eth0:1

I'd have expected eth0 here, eth0:1 is usually used to add multiple
addresses to an existing ethernet interface. But Fedora may do it
differently.

i.e.

ifconfig eth0 192.168.0.1
ifconfig eth0:1 10.0.0.1

will put the machine on two networks at the same time.

| HWADDR=00:40:ca:53:3b:06
| BOOTPROTO=none

"none" is good if you want static IP addresses.

| NETMASK=255.255.255.0
| IPADDR=192.168.1.24
| IPV6INIT=yes

;) I'm guessing you don't have IPv6 but it shouldn't hurt.

| ONBOOT=yes
| USERCTL=no

For home boxes... "yes" is probably a good answer

| PEERDNS=yes

For 'static' entries this is irrelevant - so you'll need to edit
/etc/resolv.conf by hand to ensure it has the IP address of your DNS
server - see man resolv.conf

Where is the above script, and what happens when you "ifup <relevant
interface name>".
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCTQdtGFXfHI9FVgYRAoczAJkBnrn2u+Mr13m9bn5ZLhrIly5wRACfZIrx
TbNo3PDQI3FH4JGpNbw7dV4=
=pyi1
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe. FAQ: www.dcglug.org.uk/linux_adm/list-faq.html