You are not logged in.

#1 2009-10-03 11:15:41

mibadt
Member
Registered: 2009-09-25
Posts: 396

How to disable iptables during startup?

Hi,
My formerly working, fully updated Arch, stopped acquiring dynamic IP address during boot (DHCP sever OK).
I guess that's related to my trying to configure iptables before last shutdown.
How can I (temporarily) reconfigure the system to start with iptables NOT running (or having an empty rule set) to verify my assumption?

Best Regards,

Michael Badt


Best regards,
Michael Badt

Offline

#2 2009-10-03 11:32:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: How to disable iptables during startup?

Removing 'iptables' from DAEMONS array in rc.conf will prevent your rule set being loaded. This will leave you with the default rule set which is to allow everything.

Offline

#3 2009-10-03 12:04:13

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: How to disable iptables during startup?

Thanks,
It turns out iptables is NOT running (dos NOT appear in the DAEMONS section).
Yet,
when rebooting eth0 still doesn't get a dynamic IP address. (My PC and network are fine. Same setup boots fine and gets IP address using a live CD).
I can repeat that error by running as root the /etc/rc.d/network restart.

Please advise.

Thanks

Michael Badt
-----copy of network restart------------

./network restart
:: Stopping Network                                                                                                                                           [DONE]
:: Starting Network                                                                                                                                            [BUSY]
dhcpcd: eth0: hardware address 02:c0:38:64:b0:33 claims 192.168.2.101
dhcpcd: eth0: send_raw_packet: Bad file descriptor
dhcpcd: eth0: hardware address 02:c0:38:64:b0:33 claims 192.168.2.101
dhcpcd: eth0: send_raw_packet: Bad file descriptor
dhcpcd: eth0: hardware address 02:c0:38:64:b0:33 claims 192.168.2.101
dhcpcd: eth0: send_raw_packet: Bad file descriptor
dhcpcd: timed out


Best regards,
Michael Badt

Offline

#4 2009-10-03 15:03:30

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: How to disable iptables during startup?

mibadt wrote:

Thanks,
It turns out iptables is NOT running (dos NOT appear in the DAEMONS section).

iptables is not a real daemon. iptables is the user interface to the kernels netfilter system. The init script runs a bunch of iptables commands and then exits.

Offline

#5 2009-10-04 07:15:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: How to disable iptables during startup?

You're better to start a new thread for this problem since it's not an iptables issue.... I don't have any suggestions, sorry.

Offline

#6 2009-10-04 07:38:39

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: How to disable iptables during startup?

Solved, indeed was an iptables problem.


Best regards,
Michael Badt

Offline

#7 2013-12-12 10:26:01

etognoni
Member
Registered: 2012-04-14
Posts: 12

Re: How to disable iptables during startup?

mibadt wrote:

Solved, indeed was an iptables problem.

How?

ciao

Offline

#8 2013-12-12 10:46:33

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,638
Website

Re: How to disable iptables during startup?

etognoni, if you're having networking problems, please open a new thread, this one is four years old and no longer relevant.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2013-12-12 12:49:33

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: How to disable iptables during startup?

As suggested, please open a new thread. Forum Etiquette: Old Threads / Necro-Bumping
Closing.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB