maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [HOWTO] N900 WiFi Hotspot (shell script version) (https://talk.maemo.org/showthread.php?t=73406)

9000 2011-06-10 13:10

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
I wondered why there is no ip* module in it. Please show me the listing of upper directory:

ls -l /lib/modules/

My_PeSePe 2011-06-10 13:21

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
$ ls -l /lib/modules/
drwxr-xr-x 2 root root 7600 Jun 9 10:45 2.6.28-omap1
drwxr-xr-x 2 root root 20208 Jun 9 10:45 2.6.28.10-power47
lrwxrwxrwx 1 root root 17 Jun 9 10:45 current -> 2.6.28.10-power47

9000 2011-06-10 13:44

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
I see, they've changed the directory name with an additional '-' in 47. I'm still using 46 and my directory is like ' 2.6.28.10power46'.

Anyway, now please show me the listing of:

ls /lib/modules/current/ip*.ko

My_PeSePe 2011-06-10 15:08

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
~ $ ls /lib/modules/current/ip*ko
/lib/modules/current/ip6_tables.ko
/lib/modules/current/ip6t_LOG.ko
/lib/modules/current/ip6table_filter.ko
/lib/modules/current/ip_gre.ko
/lib/modules/current/ip_tables.ko
/lib/modules/current/ipcomp.ko
/lib/modules/current/ipcomp6.ko
/lib/modules/current/iphb.ko
/lib/modules/current/ipip.ko
/lib/modules/current/ipt_LOG.ko
/lib/modules/current/ipt_MASQUERADE.ko
/lib/modules/current/ipt_NETMAP.ko
/lib/modules/current/ipt_REDIRECT.ko
/lib/modules/current/ipt_REJECT.ko
/lib/modules/current/iptable_filter.ko
/lib/modules/current/iptable_mangle.ko
/lib/modules/current/iptable_nat.ko
/lib/modules/current/ipv6.ko

9000 2011-06-10 16:10

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
ipt_MASQUERADE.ko is there...

Try load the module in absolute path as root:

Code:

insmod /lib/modules/current/ipt_MASQUERADE.ko

My_PeSePe 2011-06-10 17:10

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
/home/user # insmod /lib/modules/current/ipt_MASQUERADE.ko
insmod: error inserting '/lib/modules/current/ipt_MASQUERADE.ko': -1 Unknown symbol in module

9000 2011-06-10 17:54

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Quote:

Originally Posted by My_PeSePe (Post 1026611)
/home/user # insmod /lib/modules/current/ipt_MASQUERADE.ko
insmod: error inserting '/lib/modules/current/ipt_MASQUERADE.ko': -1 Unknown symbol in module

I always wondered why mobile hotspot stops working after kernel-power updated to v47. This module is essential in IP routing. The tethering would not work without it.

To resolve the module problem, you might have to seek the maintainer's help. Note that the maintainer of v47 is no longer Titan. You may run 'apt-cache show kernel-power' for the contact of current maintainer.

The only help I could give is telling you how to downgrade your kernel-power back to v46, the version I'm using right now.

Downgrade is risky and you must prepare to reflash your N900 if anything goes wrong during dowgrading. I wouldn't recommend you to downgrade unless you're desperate to open a WiFi hotspot.

Tell me if you're prepared for it. I'll show you the instructions to downgrade then.

downstormaf 2011-06-11 06:00

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
there must be something missing on My_PeSePe version of the power kernel 47... a package... I have the same Kernel as he does and mine is running fine thanks to you...

My_PeSePe, where did you get the info on installing the power_kernel_47?
Have you done anything after installing it?

downstormaf 2011-06-11 06:10

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
also i noticed the following in My_PeSePe wifi on code:

+ iptables -t nat -F
iptables v1.4.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

My_PeSePe check if you can install the iptables through

apt-get install iptables

Maybe the installation of the kernel failed at some point that didn't install the iptables and make the ipt_MASQUERADE to malfunction...

downstormaf 2011-06-11 06:13

Re: [HOWTO] N900 WiFi Hotspot (shell script version)
 
Or, since his iPad detects the honeypot connection, can he change the settings to manual connection and change the IP?

IP: 192.168.1.99
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.1

And then test the connection again.


All times are GMT. The time now is 18:05.

vBulletin® Version 3.8.8