iptables

Tom H tomh0665 at gmail.com
Fri Dec 7 22:13:25 UTC 2012


On Fri, Dec 7, 2012 at 4:25 PM, JD <jd1008 at gmail.com> wrote:
> On 12/07/2012 10:33 AM, Tom H wrote:
>> On Fri, Dec 7, 2012 at 11:43 AM, JD <jd1008 at gmail.com> wrote:
>>>
>>> I just ran nm-tool and it reports
>>>
>>> - Device: wlan0
>>> ----------------------------------------------------------------
>>>    Type:              802.11 WiFi
>>>    Driver:            ath9k
>>>    State:             unmanaged
>>>    Default:           no
>>>    HW Address:        00:23:80:00:03:0A
>>>
>>> So how is it that NM no longer manages wlan0?
>>> And why is it set to default to no?
>>>
>>> It was coming up just fine before In installed ufw and enabled it.
>>> In fact, I was on wifi connection when a respondent to my question
>>> re: iptables, suggested I use ufw.
>>
>> Do you have any NIC other than "lo" defined in "/etc/network/interfaces"?
>>
> The is the default interfaces file that came with the
> installation of 12.10 or it was inherited from 12.04:
>
> auto lo eth0 wlan0
> allow-hotplug eth0
> iface lo inet loopback

1) "allow-hotplug" isn't used in Ubuntu, which uses "allow-auto" (or
its shorter equivalent, "auto").

2) If you don't set "managed=true" in the "ifupdown" section of
"/etc/NetworkManager/dispatcher.d/01ifupdown", NM won't manage a NIC
defined in "/etc/network/interfaces".




More information about the ubuntu-users mailing list