Thanks for your quick reply. Since the client has invalid IP, it can not access to the internet. So from the server I "chroot" the folder where the image exists and installed iptables. root@server:/# apt-get install iptables Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: iptables 0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded. Need to get 460kB of archives. After this operation, 1819kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main iptables 1.4.4-2ubuntu2 [460kB] Fetched 460kB in 22s (20.2kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously deselected package iptables. (Reading database ... 12121 files and directories currently installed.) Unpacking iptables (from .../iptables_1.4.4-2ubuntu2_amd64.deb) ... Can not write log, openpty() failed (/dev/pts not mounted?) Setting up iptables (1.4.4-2ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Is there any problem with that? // Naderan *Mahmood; ----- Original Message ----- From: Jan Engelhardt <jengelh@xxxxxxxxxx> To: Mahmood Naderan <nt_mahmood@xxxxxxxxx> Cc: "netfilter@xxxxxxxxxxxxxxx" <netfilter@xxxxxxxxxxxxxxx> Sent: Friday, April 29, 2011 3:17 PM Subject: Re: can't initialize iptables table `filter' On Friday 2011-04-29 12:45, Mahmood Naderan wrote: >Hi, >I have setup a diskless cluster where there is a head node (server) and a computing node (client). >While settingup, I installed an image of linux using debootstrap. There is no problem with that and >the node can boot and I can login to that. > >The problem is when I want to open a port in the client using iptables, I get some errors and have no >idea about them. > >root@client:/home/mahmood# iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 4949 -j ACCEPT > >FATAL: Could not load /lib/modules/2.6.32-24-server/modules.dep: No such file or directory >iptables v1.4.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?) >Perhaps iptables or your kernel needs to be upgraded. > >Any suggestion is welcomed. Make sure you kernel is configured with these enabled, and don't forget to actually provide the modules, if not already built-in, because it does have the looks of a crippled installation, judging from the missing modules.dep. -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html