Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 17:30
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Slacko 5.6 and Precise 5.7.1 missing kernel modules
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
evilpascal

Joined: 23 Sep 2013
Posts: 5

PostPosted: Tue 24 Sep 2013, 16:22    Post subject:  Slacko 5.6 and Precise 5.7.1 missing kernel modules  

When I run linux firewall in Slacko 5.6 and Precise 5.7.1 i get this error:

    -> Projectfiles.com Linux Firewall version 2.0rc9 running.
    -> Performing sanity checks...... [ FAILED ]
    -> FATAL: Could not find 'nat' table. Did you compile support for all necessary modules?

    Errors were detected in your system configuration.
    See the output above for specific details.

    A copy of the Linux Firewall initialization script preconfigured by this program is located in /tmp/rc.firewall

    Firewall install script finished.
    Press ENTER key to quit:


I have traced the problem back to a missing module called "iptables_nat.ko". This module isn't included in the Slacko 5.6 kernel version 3.10.5 and in the Precise 5.7.1 kernel version 3.9.11,
but is included in the Slacko 5.5 kernel version 3.4.17 as you can see from the image below:

I have downloaded Slacko 5.5 and, sure enough, when I run linux firewall (in order to share my internet connection with another computer) I don't get the error
and internet sharing works like a charm. A couple of questions:

1) Why isn't this module included in the new kernel?
2) Is there an easy way to include it?
3) If 2) requires a kernel recompile can anyone share a good tutorial.
Back to top
View user's profile Send private message 
Galbi


Joined: 21 Sep 2011
Posts: 273
Location: Bs.As. - Argentina.

PostPosted: Tue 24 Sep 2013, 16:52    Post subject:  

Try:
Code:
modprobe iptables_nat


and look at
http://www.thegeekstuff.com/2010/11/modprobe-command-examples/
Back to top
View user's profile Send private message 
evilpascal

Joined: 23 Sep 2013
Posts: 5

PostPosted: Tue 24 Sep 2013, 17:16    Post subject:  

I tried modprobe, but it said it couldn't find the module (In Slacko 5.6 and Precise 5.7.1).
It isn't even listed in the available modules to add in the BootManager add module program.

On the other hand, on Slacko 5.5 it is there. You can see it in the picture above. Why isn't it included in the new versions?

BTW, thanks for the link, it was usefull. Very Happy
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8565
Location: Stratford, Ontario

PostPosted: Tue 24 Sep 2013, 18:29    Post subject:  

When I run firewallinstallshell in Precise 571, the firewall starts correctly. But it loads a different set of kernel modules than Slacko 55, probably because it has a different kernel.

I suspect that there is some other reason why your firewall won't start. Try booting from a fresh install, then start the firewall.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 882

PostPosted: Tue 24 Sep 2013, 19:04    Post subject:  

Yep, I experienced similar behaviour and had to switch to Slacko-5.6 with k.3.4.52.
There was no way to set WiFi access point and share internet with k3.10.5.

As for compiling those missing modules, I tried once, but partially failed (e.g. with ipt_MASQUERADE.ko).
I guess it's "just" a matter of editing the DOTconfig in the right way; apparently I did it wrong, so can't really help in this matter.
Hopefully (01micko is aware of this issue) next version will be fixed...

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
evilpascal

Joined: 23 Sep 2013
Posts: 5

PostPosted: Tue 24 Sep 2013, 19:32    Post subject:  

@rcrsn51:
The firewall starts, but displays the error when I try to apply changes from the custom configuration. You can see the error in my first post. I tried running the command "iptables -t nat -L"
and it gave me an error and said to insert a module, but the module isn't there in the kernel 3.9.11 and 3.10.5 as you can see from the pictures (Both Precise 5.7.1 with kernel 3.9.11
and Slacko 5.6 with kernel 3.10.5 are missing this module, I tried both ISO's). I tried with a full install and a frugal install on hdd and with a frugal install from usb, not working.
With Slacko 5.5 it works immediately. I'm not saying that "iptable_nat.ko" is 100% why it doesn't work but I'm pretty sure.

And just look at the picture, why are so many modules missing in the new version, that can't be good.

@SFR:
Yeah, hopefully it gets resolved. Otherwise, I really like puppy linux, it runs super fast on my netbook, superb.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8565
Location: Stratford, Ontario

PostPosted: Tue 24 Sep 2013, 19:48    Post subject:  

I ran several tests in Precise with Custom Configuration and they all worked. If Precise was actually missing kernel modules that the firewall needed, it should have failed like you.

What exactly are you setting up in Custom Configuration?

Quote:
(in order to share my internet connection with another computer) I don't get the error

Unfortunately, I don't have a way to test that. So maybe something is missing.
Back to top
View user's profile Send private message 
evilpascal

Joined: 23 Sep 2013
Posts: 5

PostPosted: Tue 24 Sep 2013, 20:22    Post subject:  

This was my setup (now I'm running Slacko 5.5):

<USB Wireless>-------------<Precise 5.7.1 Netbook>-------------<Windows 7 x64 SP1 Desktop>
...........................wlan1.......IP: 192.168.1.200............eth0.........IP: 192.168.1.203

This is what i typed into firewall custom config:
custom, selected ssh(nothing else), any - allow from anywhere, yes (internet connection sharing), eth0, no, 192.168.1.203

Here was my ifconfig listing:
    # ifconfig
    eth0 Link encap:Ethernet HWaddr 00:26:9E:BA:6A:95
    inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:517 errors:0 dropped:0 overruns:0 frame:0
    TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:40802 (39.8 KiB) TX bytes:798 (798.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    wlan1 Link encap:Ethernet HWaddr A0:F3:C1:2C:44:BF
    inet addr:222.222.222.250 Bcast:222.222.222.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4666 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3608 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:5071117 (4.8 MiB) TX bytes:494889 (483.2 KiB)

This did not work on Precise 5.7.1 and Slacko 5.6. Identical setup on Slacko 5.5 and no linux firewall error from the first post. Everything works fine.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0594s ][ Queries: 11 (0.0039s) ][ GZIP on ]