View Single Post
Posts: 86 | Thanked: 362 times | Joined on Dec 2007 @ Paris / France
#84
I've built a kernel with NAT support (with at least the same modifications as rambo's patches).
It works, but the N900 reboots as soon as there is more than light traffic through the NAT: I can download a small web page from a computer behind the NAT, but reloading many pages at once kills the n900 every time.
It happens with any interface (wlan or phone).

I've also tried Jebba kernel (version 2.6.28-omap1-jebba9-g649dffc) which have exactly the same problem.

So is there anybody really using NAT on the N900 (not just loading the modules) ?


Here is an easy way to reproduce the problem:

Put the n900 (with iptables & a nat kernel) on a wifi network, and then type:
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
Then on a PC on the same network:
Code:
route del default
route add default gw <N900 address>
Then browse some web pages from the PC, N900 should reboot after a few seconds.


Tell me your results and we'll know if i've done something stupid with my n900 or if there is a real problem
 

The Following 2 Users Say Thank You to eber42 For This Useful Post: