Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [HOWTO] N900 WiFi Hotspot (shell script version)

    Reply
    Page 7 of 11 | Prev |   5     6   7   8     9   | Next | Last
    9000 | # 61 | 2011-06-10, 13:10 | Report

    I wondered why there is no ip* module in it. Please show me the listing of upper directory:

    ls -l /lib/modules/

    Edit | Forward | Quote | Quick Reply | Thanks

     
    My_PeSePe | # 62 | 2011-06-10, 13:21 | Report

    $ 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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 63 | 2011-06-10, 13:44 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    My_PeSePe | # 64 | 2011-06-10, 15:08 | Report

    ~ $ 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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 65 | 2011-06-10, 16:10 | Report

    ipt_MASQUERADE.ko is there...

    Try load the module in absolute path as root:

    Code:
    insmod /lib/modules/current/ipt_MASQUERADE.ko

    Edit | Forward | Quote | Quick Reply | Thanks

     
    My_PeSePe | # 66 | 2011-06-10, 17:10 | Report

    /home/user # insmod /lib/modules/current/ipt_MASQUERADE.ko
    insmod: error inserting '/lib/modules/current/ipt_MASQUERADE.ko': -1 Unknown symbol in module

    Edit | Forward | Quote | Quick Reply | Thanks

     
    9000 | # 67 | 2011-06-10, 17:54 | Report

    Originally Posted by My_PeSePe View Post
    /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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by 9000; 2011-06-10 at 18:03.

     
    downstormaf | # 68 | 2011-06-11, 06:00 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to downstormaf For This Useful Post:
    9000

     
    downstormaf | # 69 | 2011-06-11, 06:10 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by downstormaf; 2011-06-11 at 06:16.

     
    downstormaf | # 70 | 2011-06-11, 06:13 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 7 of 11 | Prev |   5     6   7   8     9   | Next | Last
vBulletin® Version 3.8.8
Normal Logout