Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 20, 2008 12:59 pm 
Offline
Newbie

Joined: Wed Aug 20, 2008 12:44 pm
Posts: 2
Hi All,

i'm new user of CentOS.
when i start my firewall,
the iptables module ("ip_conntrack_netbios_ns")
got FAILED.

how to add CentOS kernel module so i did not get
FAILED when loading "ip_conntrack_netbios_ns".
when i check with lsmod, it is empty
Code:
[root@xyz ~]# lsmod
Module                  Size  Used by
[root@xyz ~]#



btw, how to upgrade kernel of CentOS 5.2?
*I use CentOS 5.2 in Linode 360*
when i check the rpm, i did not found the
kernel package.
Code:
[root@xyz ~]# rpm -qa | grep -i kernel
kernel-headers-2.6.18-92.1.10.el5
[root@xyz ~]# ls /boot/
grub  message
[root@xyz ~]#


thanks for your help.


Top
   
 Post subject:
PostPosted: Wed Aug 20, 2008 1:40 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
Code:
mwalling@you ~$ uname -a
Linux you 2.6.18.8-domU-linode7 #1 SMP Mon Feb 11 13:45:54 EST 2008 i686 Intel(R) Xeon(R) CPU           L5335  @ 2.00GHz GenuineIntel GNU/Linux
mwalling@you ~$ zgrep "NETBIOS" /proc/config.gz
# CONFIG_IP_NF_NETBIOS_NS is not set


That means you are probably going to have to build it as a module using the source from http://linode.com/src/.

The kernels that your Linode runs are provided by Linode, not by your distribution.


Top
   
PostPosted: Wed Aug 20, 2008 1:56 pm 
Offline
Newbie

Joined: Wed Aug 20, 2008 12:44 pm
Posts: 2
here is my configuration

Code:
[root@xyz ~]# uname -a
Linux iv6.net 2.6.18.8-linode10 #2 SMP Sat Jul 19 20:24:32 EDT 2008 i686 i686 i386 GNU/Linux
[root@xyz ~]# zgrep "NETBIOS" /proc/config.gz
# CONFIG_IP_NF_NETBIOS_NS is not set
[root@xyz ~]#


yes, our configuration is similar.( 2.6.18.8 ).
mine is linode10, yours is domU-linode7.

how to build a kernel module from http://linode.com/src/
is it equal like build a vanilla kernel?
any URL that explain it?

hehmm ..
a new thing for me.
i think i can upgrade my own operating system (in VPS),
but now i knew that the operating system doesn't like
an ordinary installation of centos.


Top
   
 Post subject:
PostPosted: Mon Sep 08, 2008 3:49 am 
Offline
Junior Member
User avatar

Joined: Sat Sep 06, 2008 5:43 pm
Posts: 21
Location: Los Angeles, CA
Unless you need to actually track the connections of netbios sessions (probably only needed if you are doing things with samba and/or CIFS shares) then just configure iptables to not load that module.

Edit /etc/sysconfig/iptables-config and comment out the following line.

Replace:
IPTABLES_MODULES="ip_conntrack_netbios_ns"
With:
#IPTABLES_MODULES="ip_conntrack_netbios_ns"


Top
   
PostPosted: Tue Sep 09, 2008 11:15 am 
Offline
Junior Member

Joined: Sat Apr 14, 2007 11:38 am
Posts: 29
arv wrote:
how to build a kernel module from http://linode.com/src/
is it equal like build a vanilla kernel?
any URL that explain it?

Yes, it's like building a vanilla kernel, but you don't have to compile the kernel itself, just the module(s).

This is only possible in Xen linodes. There have been at least two recent threads on the subject:
http://www.linode.com/forums/viewtopic.php?t=3478
http://www.linode.com/forums/viewtopic.php?t=3389


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group