Solved: iptables masquerading no longer seems to work - Missing module in kernel?
|
11th Feb, 2015, 01:36 AM
Post: #1
|
|||
|
|||
iptables masquerading no longer seems to work - Missing module in kernel?
Hi all,
Since last night my iptables masquerading seems to throw an error. I did indeed perform an update yesterday, but I couldn't fix the issue by rolling back. Today I set up a completely fresh installation of xbian and am still getting the same error. When I try setting up masquerading with iptables for my VPN using this command: Code: iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -i eth0 -j MASQUERADE my raspi returns this error message: iptables v1.4.14: can't initialize iptables table `nat': Table does not exist (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. i am currently running this configuration: Code: root@xbian ~ # uname -a I'd be happy to give more info, but for now I don't know what else to do, I loaded a dozen modules so far and couldn't find a viable solution googling around.. Anyone having the same problem? Or does anyone have a solution? Thanks a lot! |
|||
11th Feb, 2015, 02:11 AM
Post: #2
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
Mind to report it here? https://github.com/xbianonpi/xbian/issues - please report your previous kernel version (check the last entries in /var/log/apt/history.log if unsure).
I think the relevant kernel module has just been disabled by mistake. |
|||
11th Feb, 2015, 02:20 AM
Post: #3
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
done, thank you.
I'm afraid it'll take a while till this is passed down and ends up fixed in one of the next releases if it's the case that the module is missing |
|||
11th Feb, 2015, 04:23 AM
Post: #4
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
Kernel module was missing, quick fix for everyone having the same problem with kernel 3.17.7-ck2+ is to downgrade to xbian-package-kernel_3.16.5-ck2+-1420117998 (available in the staging repo).
Looks like the setting will be changed in future versions. See https://github.com/xbianonpi/xbian/issues/672 |
|||
11th Feb, 2015, 04:28 AM
Post: #5
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
Thanks. Would you mind edit prefix of your thread to [Solved]? ~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
12th Feb, 2015, 07:38 PM
Post: #6
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
Hello there,
I'm new to Xbian and I just did a fresh new installation, Can you explain me how to downgrade the kernel? Thanks. (11th Feb, 2015 04:23 AM)marky Wrote: Kernel module was missing, quick fix for everyone having the same problem with kernel 3.17.7-ck2+ is to downgrade to xbian-package-kernel_3.16.5-ck2+-1420117998 (available in the staging repo). |
|||
12th Feb, 2015, 08:39 PM
Post: #7
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
(12th Feb, 2015 07:38 PM)todovale80 Wrote: Hello there, The new kernel should already be out there and should be fixed. I haven't tried it yet, so here's what I did to move back to an older version: Code: wget http://apt.xbian.org/pool/staging/rpi-wheezy/x/xbian-package-kernel/xbian-package-kernel_3.16.5-ck2+-1420117998_armhf.deb after the reboot, you should have moved back to version 3.16.5. |
|||
13th Feb, 2015, 06:19 PM
Post: #8
|
|||
|
|||
RE: iptables masquerading no longer seems to work - Missing module in kernel?
Thank you marky, I did what you suggested, but now I cant get my wlan0 to work! did we miss something?
Thanks (12th Feb, 2015 08:39 PM)marky Wrote:(12th Feb, 2015 07:38 PM)todovale80 Wrote: Hello there, |
|||
« Next Oldest | Next Newest »
|