Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#101
Originally Posted by nieldk View Post
Can I ask for an update to the NAT setup?

When running
# echo 1 > /proc/sys/net/ipv4/ip_forward
# ettercap -T -q -P dns_spoof -M arp:remote -i wlan0 /192.168.0.2/ //

This error comes to surface:

iptables: No chain/target/match by that name.

A bit of digging around found this possible cause, set up CONFIG_NETFILTER_XT_TARGET_REDIRECT in kernel config (Networking support -> Networking options -> Network packet filtering framework (Netfilter) -> Core Netfilter Configuration -> REDIRECT target support).

Thanks, once more, this NAT support have been nagging me, so happy it got implemented
@nieldk, sorry I did not reply to you earlier on this...
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#102
Originally Posted by juiceme View Post
@nieldk, sorry I did not reply to you earlier on this...
NP I have the kernel in place Works like a charm

Look at the change Jack did
http://talk.maemo.org/showpost.php?p...5&postcount=42
Works fine (at least for ettercap)

Last edited by nieldk; 2013-09-04 at 07:05.
 

The Following User Says Thank You to For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#103
Originally Posted by nieldk View Post
NP I have the kernel in place Works like a charm

Look at the change Jack did
http://talk.maemo.org/showpost.php?p...5&postcount=42
Works fine (at least for ettercap)
Ahh, I missed that as I looked at only the posting #41 where you requested the feature. The configuration option has indeed been renamed in later netfilter versions due to reorganization...

Now, as I just checked that option is not set on my kernel-2.6.32_plus_nat_extfat tree.
I shall recompile it now.
 

The Following 2 Users Say Thank You to juiceme For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#104
Originally Posted by juiceme View Post
I shall recompile it now.
Here's the missing redirect module for the latest plus kernel: http://www.swagman.org/juice/ipt_REDIRECT.ko
(md5sum=ece3c3236819b65f178d4afa0a0eae63)

How to install:
  • drop it to the "/lib/modules/2.6.32.59-plus_nat-20121301" directory on your device
  • run "depmod -a 2.6.32.59-plus_nat-20121301"
  • that's it folks
 

The Following 3 Users Say Thank You to juiceme For This Useful Post:
Posts: 181 | Thanked: 64 times | Joined on Feb 2012
#105
exFat under windows would be great indeed... Can anyone confirm functionality ?
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#106
Originally Posted by KTy View Post
exFat under windows would be great indeed... Can anyone confirm functionality ?
Well, easy to check I guess
Beat the record and be the first one to test it!
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#107
Originally Posted by Ancelad View Post
I've made icon to switch between partitions. It changes it's name according mounted partition.
Can you post how you create icons like this? I assume there is some backing script or exe?
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,700 times | Joined on Nov 2011 @ Ängelholm, Sweden
#108
i think it simple sed script
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#109
Originally Posted by jackburton View Post
Can you post how you create icons like this? I assume there is some backing script or exe?
Something like this... /opt/switcher/switcher.sh
Code:
#!/bin/bash

reply=$(grep mmc /etc/usb-moded/usb-moded.ini)
if [ "$reply" = "mount = /dev/mmcblk0p1" ]; then
sed -i '/mmc/s/1/4/g' /etc/usb-moded/usb-moded.ini
sed -i '/Name/s/MyDocs/BackupRoom/g' /usr/share/applications/switcher.desktop
else
sed -i '/mmc/s/4/1/g' /etc/usb-moded/usb-moded.ini
sed -i '/Name/s/BackupRoom/MyDocs/g' /usr/share/applications/switcher.desktop
fi
Desktop icon (/usr/share/applications/switcher.desktop)

Code:
[Desktop Entry]
Type=Application
Terminal=false
Name=MyDocs
Categories=System;
Terminal=false
Exec=sh -c "echo rootme | devel-su -c '/opt/switcher/switcher.sh'"
Icon=/path_to_your_icon
rootme is default root-user password, change it to your one.

Last edited by Ancelad; 2013-09-06 at 04:30.
 

The Following User Says Thank You to Ancelad For This Useful Post:
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#110
Originally Posted by juiceme View Post
To celebrate the Microsoft aquisition of Nokia Mobile Phones, I hereby present a fresh kernel-plus-nat-exfat version.
(ExFAT being Microsoft creation, that is)

Get it from here: http://www.swagman.org/juice/zImage_...xtfat-20121301
(md5sum=5e9c4e445763256613810f8c5a5e9f07)

The new kernel is fully compatible with modules from the previous kernel-plus-nat version (http://www.swagman.org/juice/kernel-...9-plus_nat.tar) so if you've already got that there's no need to download new modules. Just upload the kernel to your ubiboot config (or flash it in case you are not using ubiboot)

I am running that now on my device, and it works correctly.
However, I have not tested mounting ExFAT partitions so be my guest and please test that functionality
So, any volunteers to test this?

I have been running this kernel on my device for two days now, but as I have no windows neither desire to touch one I cannot test the ExFAT functionality.

Somebody needs to mount their mmcblk0p1 to windows machine and format it as exfat and then change the fstab entries to reflect it correctly to see if it then works OK on the device...
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:52.