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

提供一个Padavan下的napt66.ko(内核版本3.4) #53

Open
hanwckf opened this issue May 19, 2017 · 1 comment
Open

提供一个Padavan下的napt66.ko(内核版本3.4) #53

hanwckf opened this issue May 19, 2017 · 1 comment

Comments

@hanwckf
Copy link

hanwckf commented May 19, 2017

经测试,在没有SMB和USB支持的padavan固件里使用这个模块会崩溃,在我自己编译的带SMB和USB支持的固件运行正常。
napt66.zip
如要自己编译,请先编译好padavan工具链且成功完整地编译过一次固件才能成功。
附Makefile:

# Makefile under 2.6.25
ifneq ($(KERNELRELEASE),)
#kbuild syntax. dependency relationshsip of files and target modules are listed here.
obj-m := napt66.o
napt66-objs := napt66_main.o napt66_conntrack.o napt66_nat.o napt66_hash_table.o napt66_ftp_alg.o
else
PWD  := $(shell pwd)
KVER ?= $(shell uname -r)
KDIR := /opt/rt-n56u/trunk/linux-3.4.x
all:
    $(MAKE) -C $(KDIR) M=$(PWD) modules ARCH=mips CROSS_COMPILE=/opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-
clean:
    rm -rf .*.cmd *.o *.mod.c *.ko .tmp_versions *.symvers *.order
endif
@BROBIRD
Copy link

BROBIRD commented Oct 23, 2017

您好,您提供的ko文件在newifi mini/newifi y1s上均不能加载,我自己编译了一份依然不能加载,输入完insmod /opt/napt66.ko wan_if=eth2.2之后,路由器就重启了,没有任何效果

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

No branches or pull requests

2 participants