iptables

JD jd1008 at gmail.com
Fri Dec 7 16:43:41 UTC 2012


On 12/07/2012 01:42 AM, Colin Law wrote:
> On 7 December 2012 01:12, JD<jd1008 at gmail.com>  wrote:
>> On 12/06/2012 04:29 PM, Wes James wrote:
>>
>>>
>>> On Thu, Dec 6, 2012 at 4:26 PM, JD <jd1008 at gmail.com
>>> <mailto:jd1008 at gmail.com>> wrote:
>>>
>>>      Hi all,
>>>      On redhat based linuxes, you enable the firewall by
>>>      either using the "services" gui or use the command
>>>      line chkconfig.
>>>      Once enabled, it always starts at boot(assuming you
>>>      have set up your firewall rulesfile which is
>>>      /etc/sysconfig/iptables).
>>>      As I am indeed new to ubuntu, I need way of
>>>      "enabling" iptables and thus having it always
>>>      start at boot automatically.
>>>
>>>      Thanks for any tips.
>>>
>>>      Cheers,
>>>
>>>      JD
>>>
>>>
>>>
>>> sudo ufw enable
>>>
>>> google ufw
>>>
>>> you can get a gui with
>>>
>>> sudo apt-get install gufw
>>>
>>> good luck,
>>>
>>> wes
>>>
>>>
>> That works Wes. Thanx!
>> However, upon reboot, wireless lan no longer gets started by NetworkManager.
>> How do I force wlan restart at boot up?
> Are you saying that enabling ufw stops the wifi from working?  That
> does not sound very likely.
>
> Colin
>
That is the case here.

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

   Capabilities:

   Wireless Properties
     WEP Encryption:  yes
     WPA Encryption:  yes
     WPA2 Encryption: yes

   Wireless Access Points


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.

My laptop is currently tethered via long ethernet cable which I would 
like to remove.
So, how do I bring wifi back online?






More information about the ubuntu-users mailing list