| Prev | 3   11     12   13   14     15   23 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 as a Wifi Hotspot, part 2 (https://talk.maemo.org/showthread.php?t=48075)

assetburned 2010-04-27 02:30

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by rambo (Post 628897)
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.

Quote:

Originally Posted by rambo (Post 628897)
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.

rambo 2010-04-27 05:47

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by assetburned (Post 629212)
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.

Quote:

Originally Posted by assetburned (Post 629212)
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.)

nightfire 2010-04-27 05:58

Re: N900 as a Wifi Hotspot, part 2
 
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)

assetburned 2010-04-30 02:14

Re: N900 as a Wifi Hotspot, part 2
 
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?

rambo 2010-04-30 12:27

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by assetburned (Post 634380)
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.

Duff 2010-04-30 18:47

Re: N900 as a Wifi Hotspot, part 2
 
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 ?

nightfire 2010-04-30 18:59

Re: N900 as a Wifi Hotspot, part 2
 
Try starting it from the command line (as root) with:

Code:

mobilehotspot_backend start
It should give you more information.

Duff 2010-04-30 19:11

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by nightfire (Post 635358)
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)

nightfire 2010-04-30 19:15

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by Duff (Post 635372)
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?

Duff 2010-04-30 19:25

Re: N900 as a Wifi Hotspot, part 2
 
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"?


| Prev | 3   11     12   13   14     15   23 | Next | Last
All times are GMT. The time now is 18:12.

vBulletin® Version 3.8.8