Reply
Thread Tools
Posts: 17 | Thanked: 7 times | Joined on Oct 2011
#21
Originally Posted by jackburton View Post
I have built a new PR1.3 open-mode kernel for my N9 that includes NAT modules and the BRIDGE driver.

http://www.ctrl-h.net/nokia/harmatta...3/kernel/btlc/
I'm getting a 403 Forbidden error wen I try to download the kernel, is something broken?
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#22
Originally Posted by flof View Post
I'm getting a 403 Forbidden error wen I try to download the kernel, is something broken?
I will fix today. Sorry for the delay. I just realized I never subscribed to this thread for updates.
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#23
Download is fixed.
 

The Following 4 Users Say Thank You to jackburton For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#24
big thank you dude!
NAT really working here!
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables --flush -t nat
iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE
iptables --append FORWARD --in-interface usb0 -j ACCEPT
and my N9 is usb internet router
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following 3 Users Say Thank You to coderus For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#25
@jackburton is CONFIG the only thing need to compile kernel with NAT support?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#26
Originally Posted by coderus View Post
@jackburton is CONFIG the only thing need to compile kernel with NAT support?
Should be. You'll need the kernel sources as well, of course.
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#27
This kernel has bridge support, too. You can use the bridge utilities from the SDK image referenced in my first post.
 
Posts: 10 | Thanked: 81 times | Joined on Nov 2009 @ Espoo
#28
Originally Posted by jackburton View Post
I get this error (no idea why, I assume it's due to not using dpkg scripts that read dpkg-changelog):

Code:
CHK include/linux/utsrelease.h 

"2.6.32.48cat:include/config/kernel.release:Nosuchfileordirectory-dfl61" exceeds 64 characters 

make: *** [include/linux/utsrelease.h] Error 1
If anybody knows why this happens, please let me know so I can do this some proper way rather than the workaround below.
Hmm, the top-level Makefile should have a line like this:
Code:
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
So even if include/linux/kernel.release doesn't exist (which should be impossible), the error message should not be captured into that Make variable.

In my old tree, for example:
Code:
~/git/linux-dali$ kmake () { nice make -j2 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- $* }
~/git/linux-dali$ rm include/config/kernel.release
~/git/linux-dali$ kmake rm581_defconfig
#
# configuration written to .config
#
~/git/linux-dali$ kmake include/config/kernel.release
scripts/kconfig/conf -s arch/arm/Kconfig
~/git/linux-dali$ more !$
more include/config/kernel.release
2.6.32.39-dfl61-15770-g9583eca
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#29
@jackburton any example of using bridges on n9? any profit?
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#30
Originally Posted by coderus View Post
@jackburton any example of using bridges on n9? any profit?
I was going to modify my bluetooth tethering scripts to use a bridge rather than multiple dnsmasq instances like here:http://talk.maemo.org/showpost.php?p...&postcount=258
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:27.