Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2626 - Western Digital MyBook Live Single iptables issue #7532

Closed
openwrt-bot opened this issue Nov 23, 2019 · 3 comments
Closed

FS#2626 - Western Digital MyBook Live Single iptables issue #7532

openwrt-bot opened this issue Nov 23, 2019 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

t100:

Hello.

https://downloads.openwrt.org/releases/19.07.0-rc1/targets/apm821xx/sata/openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-ext4-sysupgrade.img.gz

root@OpenWrt:~# iptables -L
iptables v1.8.3 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Thank you.

@openwrt-bot
Copy link
Author

chunkeey:

The MBL was switched over to the NAS device-type with [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=7a1497fd601d8803f608450344113db2bdc470e7|apm821xx: MBL: set DEVICE_TYPE to NAS]]. It no longer ships with any of the firewall packages.

@openwrt-bot
Copy link
Author

t100:

Hello. May I ask why? For network storage with private data security not important any more? How can I manually add firewall support?
By the way, that device has no wifi and no usb, so wifi support we can exclude from the build. But please add iptables back.
Thank you.

@openwrt-bot
Copy link
Author

chunkeey:

Hello again,

May I ask why?

What do you mean here? The patch changes the device type from router (default from include/target.mk) to nas. This is because the MyBook Live is a NAS.

How can I manually add firewall support?

I don't know how to make this any clearer, but have you tried my suggestion to install the [[https://openwrt.org/packages/pkgdata/firewall|firewall]](same name as in 17.01.x and 18.06.x) package yet? What was the result? And no, iptables is not the firewall package, instead it's just the "IP firewall administration tool" (userspace app/program frontend).

By the way, that device has no wifi and no usb, so wifi support we can exclude from the build.

I think you are a little careless with that assumption. See [[https://github.com/openwrt/openwrt/commit/9b47aa93c76ba87b7d84dacd2c881cef6334e3f5#diff-680039c666cb765fa112d518982176f2|apm821xx: unify My Book Live Single + Duo images]]. The Image is for both the MyBook Live and MyBook Live Duo because Western Digital Vendor Image is for both as well. And I can tell you that the DUO Variant does have a real USB-Port. The wpad-basic support is from what I remember a homage to the "W" in OpenWrt. But if the wpad-basic and the packages is depends on rubs you the wrong way, then please make a patch that explains your case of getting rid of it and post it to the ML/github.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant