Active Topics

 



Notices


Reply
Thread Tools
Posts: 197 | Thanked: 25 times | Joined on Apr 2010 @ Europe
#121
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.
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#122
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.)
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#123
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)
 
Posts: 197 | Thanked: 25 times | Joined on Apr 2010 @ Europe
#124
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?
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#125
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.
 

The Following User Says Thank You to rambo For This Useful Post:
Posts: 72 | Thanked: 10 times | Joined on Mar 2010
#126
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 ?
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#127
Try starting it from the command line (as root) with:

Code:
mobilehotspot_backend start
It should give you more information.
 
Posts: 72 | Thanked: 10 times | Joined on Mar 2010
#128
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)

Last edited by Duff; 2010-04-30 at 19:16.
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#129
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?
 
Posts: 72 | Thanked: 10 times | Joined on Mar 2010
#130
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"?
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:55.