PATCH: usbnet: doc updates
Subsystems (2)
Quoted 8 lines · David Miller
From: David Miller <[email protected]>
Subject: Re: PATCH: usbnet: doc updates
To: [email protected]
Cc: [email protected], [email protected]
Date: Sunday, September 5, 2010, 5:12 PM
From: David Brownell <[email protected]>
Date: Sun, 5 Sep 2010 17:06:10 -0700 (PDT)
Quoted 7 lines
Quoted 3 lines
Apologies in advance for sending this as an
attachment, but I think it's less likely to get
angled (except quoted-printable?) this way.Well, patchwork didn't grok it at all, and this means your patch is a
lot more work for me.
If I had my normal mail access, I'd send this
patch inline; but I don't.
Quoted 4 lines
Actually looking at the patch, the comment formatting is not all
that pretty:
I guess you don't like
/*
preformatted text ...
*/as a comment style. Fixed in the attached.
David Miller
maintainerFrom: David Brownell <[email protected]>
Date: Sun, 5 Sep 2010 21:48:01 -0700 (PDT)
Quoted 2 lines
If I had my normal mail access, I'd send this
patch inline; but I don't.
The problem is that you set the content type to octet stream with base64 encoding, which patchwork can't handle.
Set it to something like text/plain with UTF8 encoding, and all should be well.
Thanks.
Quoted 8 lines · David Miller
From: David Brownell <[email protected]>
Date: Sun, 5 Sep 2010 21:48:01 -0700 (PDT)Quoted 2 lines
If I had my normal mail access, I'd send this
patch inline; but I don't.The problem is that you set the content type to octet stream with base64 encoding,
I did no such thing; the mailer must have that hard-wired. The only option I have is whether to send HTML mail (never!!) or plain text.
I would really like to have something like my normail email setup back again... but too many key machines died at the same time, and putting such a setup back together is painful.
You wouldn't know of a Linux distro that comes with a "this box will be a NAT firewall" setup option? Ubuntu only has that aftermarket AFAICT.
David Miller
maintainerFrom: David Brownell <[email protected]>
Date: Mon, 6 Sep 2010 11:28:48 -0700 (PDT)
Quoted 3 lines
You wouldn't know of a Linux distro that comes
with a "this box will be a NAT firewall" setup
option? Ubuntu only has that aftermarket AFAICT.
Just do a bare debian install and put something like the file below in your /etc/network/interfaces, it's what I use.
eth0 is outgoing, eth1 is internal network. Change eth0 to a dhcp config if that is what you use.
I also use dnsmasq as the dhcp server for the internal network.
IP addresses variable'ized to protect the innocent :-)
--------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address $(INTERNET_IP)
netmask $(INTERNET_NETMASK)
network $(INTERNET_NETWORK)
broadcast $(INTERNET_BROADCAST)
gateway $(INTERNET_GATEWAY)
dns-nameservers $(INTERNET_DNS_1) $(INTERNET_DNS_2)allow-hotplug eth1
iface eth1 inet static
address 11.0.0.1
netmask 255.0.0.0
network 11.0.0.0
broadcast 11.255.255.255
up iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE