Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 as a Wifi Hotspot, part 2

    Reply
    Page 13 of 41 | Prev | 3   11     12   13   14     15   23 | Next | Last
    assetburned | # 121 | 2010-04-27, 02:30 | Report

    Originally Posted by rambo View Post
    There is no difference in ascii or hex keys (other than the way you input them), the hotspot UI always takes "ascii" key (as in: you input the key bytes as is and hex-encoding is done by the backend script when it passes they key to iwconfig), it will also automatically 0-pad/limit the key to correct size.
    I didn't talked about the N900 app, I was talking about the drivers of some other machines. some of them only accept WEP keys only in hex form, others only as ASCII even if all should be able to use both. I also have a device that allows me to use WEP keys with one single ASCII character! And no it is not filled with some dummy dater afterwards.
    It's just a bad coded driver... that's why I don't like WEP encryption, but it is better than nothing.

    what ever that shouldn't be your problem... or maybe it could be.
    Would it be hard to implement a counter to show the user how many characters are left for a specific WEP encryption? I mean there are WEP64, WEP128 and even a WEP256. All of them are available as hex and ASCII. So it would be cool if there would be a pop up that tells you "you reach the right length for an ASCII-WEP-64 key" or something like that.
    at least a message that informs you that you got a valid length for a WEP key.

    Originally Posted by rambo View Post
    Try running "sudo /usr/sbin/mobilehotspot_backend start" manually in terminal and post the output, it will show for example the exact commands used to configure kernel etc.
    maybe it is the time... but how do i copy in the x terminal?! ctrl+c doesn't work and i can't use a remote ssh connection.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 122 | 2010-04-27, 05:47 | Report

    Originally Posted by assetburned View Post
    what ever that shouldn't be your problem... or maybe it could be.
    Would it be hard to implement a counter to show the user how many characters are left for a specific WEP encryption? I mean there are WEP64, WEP128 and even a WEP256.
    It's not hard, just not done yet, iwconfig supports only WEP64 and WEP128.

    Originally Posted by assetburned View Post
    maybe it is the time... but how do i copy in the x terminal?! ctrl+c doesn't work and i can't use a remote ssh connection.
    In the title-menu there are copy and paste options (ctrl-c is "break", a process control signal.)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nightfire | # 123 | 2010-04-27, 05:58 | Report

    Thanks rambo and all who contributed! This is exactly what I was hoping for when I was looking into joikuspot; something that simply tied together netfilter, kernel nat, wireless tools, etc.

    Works perfectly!

    (posted through mobilehotspot)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    assetburned | # 124 | 2010-04-30, 02:14 | Report

    hmm ok i slowly got pissed because the update for kernel-flasher-maemo 2.6.28-maemo23 was shown but i couldn't install it. the previous version and mobilhotspot was blocking some files.
    so i had to deinstall mobilhotspot first and then the kernel-flasher app... then I was able to install the new version of the kernel-flasher and after that the mobilhotspot.... and now everything is working again :-)

    do i have to do that everytime from now on?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 125 | 2010-04-30, 12:27 | Report

    Originally Posted by assetburned View Post
    hmm ok i slowly got pissed because the update for kernel-flasher-maemo 2.6.28-maemo23 was shown but i couldn't install it. the previous version and mobilhotspot was blocking some files.
    so i had to deinstall mobilhotspot first and then the kernel-flasher app... then I was able to install the new version of the kernel-flasher and after that the mobilhotspot.... and now everything is working again :-)

    do i have to do that everytime from now on?
    Probably not, kernel-maemo got renamed to kernel-power and that probably caused interesting depedency issues. hotspot itself does no depend on specific version of anything.

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

     
    Duff | # 126 | 2010-04-30, 18:47 | Report

    hey. I have a slight issue regarding this app. dont worry, ive searched two of the threads and found no cure..

    a few days ago, when i installed mobilehotspot, it worked perfectly but noticed my cpu freq is capped at 600mhz (i was using lehto's 900mhz kernel)..

    two days later, i decided to flash my device back to 900mhz and ever since, my mobilehotspot stopped working: it gives me a "hotspot failed to start" error message.

    tried reinstalling, rebooting, the whole nine yards... still no difference.

    any ideas ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nightfire | # 127 | 2010-04-30, 18:59 | Report

    Try starting it from the command line (as root) with:

    Code:
    mobilehotspot_backend start
    It should give you more information.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Duff | # 128 | 2010-04-30, 19:11 | Report

    Originally Posted by nightfire View Post
    Try starting it from the command line (as root) with:

    Code:
    mobilehotspot_backend start
    It should give you more information.
    okay, this is what i got:


    DEBUG: executing uname -r
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28-omap1/nf_conntrack.ko
    DEBUG: Command output: insmod: can't read '/lib/modules/2.6.28-omap1/nf_conntrack.ko': No such file or directory
    Traceback (most recent call last):
    File "/usr/sbin/mobilehotspot_backend", line 14, in <module>
    sys.exit(backend.cli())
    File "/home/opt/mobilehotspot/libs/backend.py", line 395, in cli
    backend.start()
    File "/home/opt/mobilehotspot/libs/backend.py", line 131, in start
    self.start_insert_modules()
    File "/home/opt/mobilehotspot/libs/backend.py", line 141, in start_insert_modules
    self.state['kernel']['loaded_modules'][modulename] = self.test_insert_module(modulename)
    File "/home/opt/mobilehotspot/libs/backend.py", line 371, in test_insert_module
    helpers.exec_cmd('insmod ' + self.module_directory + '/' + module + '.ko')
    File "/home/opt/mobilehotspot/libs/helpers.py", line 12, in exec_cmd
    raise Exception("Command '" + cmd + "' returned with code " + str(return_code) + " (" + str(expect_code) + " expected)")
    Exception: Command 'insmod /lib/modules/2.6.28-omap1/nf_conntrack.ko' returned with code 256 (0 expected)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Duff; 2010-04-30 at 19:16.

     
    nightfire | # 129 | 2010-04-30, 19:15 | Report

    Originally Posted by Duff View Post
    okay, this is what i got:

    ...
    Well, according to that, you're on the stock kernel; did you try reflashing lehto's or titan's kernel?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Duff | # 130 | 2010-04-30, 19:25 | Report

    well thats weird, im pretty sure im running on 900mhz.. according to Conky of course..but is that the issue why hotspot "failed to start"?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 13 of 41 | Prev | 3   11     12   13   14     15   23 | Next | Last
vBulletin® Version 3.8.8
Normal Logout