Errata

Linux Networking Cookbook

Errata for Linux Networking Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 10
Table 1-2, bottom 3 paragraphs (paras 6-8)

Table 1-2
=========

The Speed column in Table 1-2 uses the incorrect units for PCI bandwidth. The given units are Mbps/Gbps (megabits/gigabits per second) but the actual bandwidth numbers for the PCI bus are those when measured in MBps (megabytes per second). For example:

The 32-bit 33MHz PCI bus has a speed of 132 MBps (or MB/s) _not_ 132 Mbps.
The 64-bit 133MHz PCI bus has a speed of 1GBps (or GB/s) _not_ 1 Gbps.

Pararaph 6
==========

The theoretical speed for PCI-E x16 is not 8Gbps (gigabits per second). In PCI-E 1.0, each lane can transfer 250 MBps (megabytes per second), such that an x16 PCI-E 1.0 device can transfer 4GBps (gigabytes per second) or 32Gbps (gigabits per second). PCI-E 2.0 doubles the lane transfers to 500 MBps, giving a PCI-E 2.0 device a theoretical maximum bandwidth of 8GBps. With the existence of x32 devices, maximum bandwidth increases even further.

Paragraph 7
===========

USB 1.1 (USB Full Speed) runs at 12 Mbps (1.5MBps), not 11 Mbps.

Paragraph 8
===========

32-bit CardBus adapters can run at up to 132 MBps (mebabytes per second) for CardBus adapters in DWord mode.


Page 10 uses the single Mbps unit for all devices, irrespective of whether the values given are for mega_bits_ or mega_bytes.

Please could you verfiy this, and let me know whether you agree with me.

Cheers,
Nick Morrott
Rugby Linux Users Group
England

Anonymous  Jun 09, 2008 
Printed Page 102
##/etc/raddb/eap.conf

It defines xena.crt as the private key file, and xena.key as the certificate file.

I cannot guarantee this, but it appears that xena.key is the key, while xena.crt is the certificate.

Anonymous   
Printed Page 102
##/etc/raddb/eap.conf

Random File is defined as /etc/raddb/keys/random

Halfway up, the directions to make the file say it ends up in /etc/raddb/random.

Anonymous   
PDF Page 267
3rd paragraph

This sentence is backwards: "The TAP driver provides low-level kernel support for IP tunneling, and the TUN driver provides low-level kernel support for Ethernet tunneling."

It should be: "The ***TUN*** driver provides low-level kernel support for IP tunneling, and the ***TAP*** driver provides low-level kernel support for Ethernet tunneling."

If you need confirmation, see:
http://vtun.sourceforge.net/tun/faq.html
http://openvpn.net/index.php/open-source/faq.html

Joe Kelly  Aug 20, 2009 
Printed Page 269
chapter 9 about OpenVPN

Page 269, chapter 9 about OpenVPN, the commands for the test lab
are written :

root@xena:~# ifconfig eth1 192.168.3.11 netmask 255.255.255.0 up
root@uberpc:~# ifconfig eth1 192.168.1.76 netmask 255.255.255.0 up

The correct version is :

root@xena:~# ifconfig eth1 192.168.3.10 netmask 255.255.255.0 up
root@uberpc:~# ifconfig eth0 192.168.1.76 netmask 255.255.255.0 up

Anonymous  Apr 07, 2009 
Printed Page 280
top

the following lines should be changed for client3.conf:

cert /etc/openvpn/keys/xena.crt
key /etc/openvpn/keys/xena.key

THESE ARE THE SERVER KEY AND CERTIFICATE, NOT THE CLIENT.

Change them to:

cert /etc/openvpn/keys/stinkpad.crt
key /etc/openvpn/keys/stinkpad.key

DonaldVR  Jul 15, 2010 
Printed Page 311
7th paragraph

The line that reads

"--with-automount -with-smbmount..."

should read

"... --with-smbmount..."

Anonymous   
Printed Page 312
Solution for Fedora

The correct chkconfig command is chkconfig --add smb.

Fedora, Red Hat, and CentOS users who build Samba from sources will find init scripts in samba-
[version]/packaging/RHEL/setup. For example, copy smb.init to /etc/init.d/, change its name to smb,
and you're in business. You should also copy samba.sysconfig to /etc/sysconfig/ and change the name
to samba.

Anonymous   
Printed Page 315
5th line (2nd command)

The command to add the new machines group to the samba server's /etc/group file is missing any
mention of a GID value to add.

Executing the command as written yields the following:

# groupadd -g machines
usage: groupadd [-g gid [-o]] [-r] [-f] group

On a RHEL4 system using shadow-utils-4.0.3-63.RHEL4 anyway.

Neither is there any discussion of what value to use for the GID. Should the user just pick a value
not already in /etc/group or something else?

Anonymous   
Printed Page 333
diagram

This diagram is inconsistent with its description on the next page (334) where, in the first
paragraph it says that "The leftmost branch terminates at a user ID (UID)." but the diagram's
leftmost branch terminates in an ou. The second paragraph of page 334 confirms this error by saying
that the entry "uid=terryjones" should be in the diagram.

Anonymous   
Printed Page 334
last paragraph including indented example

The example has one duplicate attribute but the first sentence following it says "This shows a
couple of duplicate attributes." Off by one!

Anonymous   
Printed Page 336
first paragraph

The text claims that DSE "is one of those clever self-referential geek names". Then it goes on to
explain that the D in DSE stands for DSA and that the D in DSA stands for Directory. Nowhere is
there any self-referentiality. DSA is simply an acronym which references ANOTHER acronym.

Anonymous   
Printed Page 372
Last listing of Debian packages

libbg2 should be libgd2-noxpm

On page 373 the list carries on and libgd2-dev is listed twice, however only the first one is
correct, the entry for package 3 should be libpng12-0-dev

Anonymous