Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On my diskless cluster, I want to open a port on the image that nodes use it.
Here is what I get:
Code:
root@server:~# chroot /home/nfsroot/
root@server:/# iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 4949 -j ACCEPT
iptables v1.4.4: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
root@server:/# uname -a
Linux server 2.6.32-24-server #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC 2010 x86_64 GNU/Linux
root@server:/#
First I chroot to /home/nfsroot where I installed the ubuntu image for nodes. Any suggestion on that?
On my diskless cluster, I want to open a port on the image that nodes use it.
Here is what I get:
Code:
root@server:~# chroot /home/nfsroot/
root@server:/# iptables -A INPUT -p tcp -d 0/0 -s 0/0 --dport 4949 -j ACCEPT
iptables v1.4.4: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
root@server:/# uname -a
Linux server 2.6.32-24-server #39-Ubuntu SMP Wed Jul 28 06:21:40 UTC 2010 x86_64 GNU/Linux
root@server:/#
First I chroot to /home/nfsroot where I installed the ubuntu image for nodes. Any suggestion on that?
grep IPTABLES /boot/config-`uname -r`
should print:
Code:
CONFIG_IP_NF_IPTABLES=y
If it is m, then you need to load the iptables module.
Do lsmod to see what's loaded.
/lib/modules is empty. That means there is no kernel installed for the nodes!!
It is strange because the client can boot from that image and I can see the login prompt and then login.
/lib/modules is empty. That means there is no kernel installed for the nodes!!
It is strange because the client can boot from that image and I can see the login prompt and then login.
The kernel itself is in /boot. But your install is broken if you don't have the modules.
When I say /boot and /lib/modules are empty I mean /home/nfsroot/boot and /home/nfsroot/lib/modules are empty. I am not talking about the server node
Cool! OK - it loaded the kernel using tftp from your server. It looks like it also has loads a filesystem from the server with the rest of the OS. This is probably where your modules need to be. Either that or recompile the kernel with "y" instead of "m".
Based on the documentation I'd guess that your NFS share should have the modules in it. After the kernel is booted via PXE, it should NFS mount the rest. See what's mounted and why the modules are not in the mounted directories on the root node.
The documentation is long on building the kernel and short on setting up the rest of the system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.