| Prev | 29   37     38   39   40     41   | Next
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)

XiliX 2011-03-06 13:27

Re: N900 as a Wifi Hotspot, part 2
 
Sorry for the newb question, but how save is it to install this, and are there any significant downsides to the use of the enhanced kernel and the mobile-hotspot packages?

caco3 2011-03-07 20:50

Re: N900 as a Wifi Hotspot, part 2
 
Hi all

I tried Wifi Hotspot several times, but never got it working, neither on Windows XP nor on a Linux system.

When I read through all those posts, I get a lot of questions.

What I am desiring is a wiki page which explaines all the needed steps. I know that there are instructions on the project website, but they do not clear all the questions.

Some questions I have in my mind:
1. Which packages are needed?
2. Which kernel is needed? AFAIK there are several different power kernels. Which one is the right one?
3. Can I also use it to access my phone from a PC, but not having a gprs connections?
4. After I started it, do I have to connect the phone to a specific network?
(It seems to connect to the just created network and shows a adhoc icon in the status bar).
5. How do I debug if it does not work?
6. PC-conenctivity manager also offers an adhoc mode. What does it do? Is it similair, or is it even not compatible?

A lot of questions which arent realy solved through this and other threads.

And here the Problem I have:
My laptop (Win XP and Linux) both can see the network, but time out while connecting. I would expect that they get no response, no IP or something like that.

Thank you for your help and this great tool!

kolos 2011-03-17 02:03

Re: N900 as a Wifi Hotspot, part 2
 
@caco3

I have installed kernel power 46 and mobilehotspot 0.3.4. I think that iptables and wireless-tools are also required. All these packages are in extras-testing. Connection sharing is working for my laptop (Vista32) and Nokia N95.

To install open x-terminal and type:
Code:

apt-get install mobilehotspot iptables wireless-tools
In extras-devel you can find mobilehotspot 0.3.5, but this one didn't worked for any of my devices. They couldn't even find N900's access point.


How to handle mobilehotspot (MHS)?

Don't connect the phone to the internet before starting MHS!
First open app and set "Connection", "Network name" and "Encryption". Then press on button "Start" which will initiate 2G/3G internet connection and start wifi access point. Button "Start" will be turned into "Stop", but wifi indicator won't be present/visible, there will be only for 2G/3G connection.
When you decide to end MHS, press on button "Stop". This will turn off wifi and disconnect 2G/3G internet connection. Button "Stop" will become again "Start".

Dinho 2011-03-17 18:52

Re: N900 as a Wifi Hotspot, part 2
 
has anyone tried using mobile hotspot with an android tablet?

i am trying to decide whether to buy a motorola xoom tablet, so i went to best buy to check it out. i tried to connect to my n900 mobile hotspot, but the xoom kept indicating the network was out of range. a nook color similarly reports the network as out of range.

strangely, i can connect from my macbook and and an ipad 2 when i tested it last friday.

so what is causing xoom and nook color to be unable to connect?

debernardis 2011-03-17 19:11

Re: N900 as a Wifi Hotspot, part 2
 
I was told android devices don't get adhoc networks (I'm sorry if this is not technically correct). I haven't been able to "see" the joikuspot network either with wife's galaxy tab.

aslande 2011-03-31 21:51

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

Originally Posted by kolos (Post 969346)
@caco3

I have installed kernel power 46 and mobilehotspot 0.3.4. I think that iptables and wireless-tools are also required. All these packages are in extras-testing. Connection sharing is working for my laptop (Vista32) and Nokia N95.

To install open x-terminal and type:
Code:

apt-get install mobilehotspot iptables wireless-tools
In extras-devel you can find mobilehotspot 0.3.5, but this one didn't worked for any of my devices. They couldn't even find N900's access point.


How to handle mobilehotspot (MHS)?

Don't connect the phone to the internet before starting MHS!
First open app and set "Connection", "Network name" and "Encryption". Then press on button "Start" which will initiate 2G/3G internet connection and start wifi access point. Button "Start" will be turned into "Stop", but wifi indicator won't be present/visible, there will be only for 2G/3G connection.
When you decide to end MHS, press on button "Stop". This will turn off wifi and disconnect 2G/3G internet connection. Button "Stop" will become again "Start".

I followed you instructions but was unable to get it to work just yet. DHCP is not functional. Clients are able to see the network, but they are unable to get an address or connect to the internet.

Following your instructions, I noticed it downloaded 0.3.5 instead of 0.3.4 like you claimed yours did. Anyway to force it to use the old package (assuming that is what is wrong)? Were there additional steps beyond rebooting that you used to kick off DHCP?

Lastly, how do you shut off your connections before starting MHS? (my connections seem to establish after rebooting, regardless of the state of the device on shutdown).

kolos 2011-03-31 22:29

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

Originally Posted by aslande (Post 979530)
Following your instructions, I noticed it downloaded 0.3.5 instead of 0.3.4 like you claimed yours did. Anyway to force it to use the old package (assuming that is what is wrong)? Were there additional steps beyond rebooting that you used to kick off DHCP?

The easiest way is to uninstall current version, then disable extras-devel and install it again, but this time from extras-testing where is v0.3.4.

Another option is to specify version in xterminal. First uninstall current version:
Code:

sudo gainroot
apt-get remove --purge mobilehotspot

and then type:
Code:

apt-get install mobilehotspot=0.3.4



Quote:

Originally Posted by aslande (Post 979530)
Lastly, how do you shut off your connections before starting MHS? (my connections seem to establish after rebooting, regardless of the state of the device on shutdown).

I shutdown my connections with desktop widget ConnectNow. Also you can tap on clock, then from appeared menu select "Internet connection" and choose "Disconnect [connection's name]".

Another thing, my Internet connections (Menu->Settings) are set to "Always ask".

aslande 2011-03-31 23:36

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

Originally Posted by kolos (Post 979543)
The easiest way is to uninstall current version, then disable extras-devel and install it again, but this time from extras-testing where is v0.3.4.

Another option is to specify version in xterminal. First uninstall current version:
Code:

sudo gainroot
apt-get remove --purge mobilehotspot

and then type:
Code:

apt-get install mobilehotspot=0.3.4





I shutdown my connections with desktop widget ConnectNow. Also you can tap on clock, then from appeared menu select "Internet connection" and choose "Disconnect [connection's name]".

Another thing, my Internet connections (Menu->Settings) are set to "Always ask".

First of all, thanks for your reply.

I tried just using apt-get to downgrade the package. No luck, DHCP still didn't work.

I've now tried purging the original, and installing iptables (1.4.6-5), wireless-tools (30~pre7-1.3maemo+0m5) and mobilehotspot (0.3.4).

I changed my setting to "always ask" and have rebooted.

After a few surprises and issues with WEP, it suddenly started working. I'll have to see how it continues.

Thanks for your help!

rambo 2011-04-01 09:51

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

Originally Posted by aslande (Post 979569)
First of all, thanks for your reply.


After a few surprises and issues with WEP, it suddenly started working. I'll have to see how it continues.

Usually if you can't get ip via DHCP you can't ping N900 even with static ip set (see thread for debugging instructions) which means there is some other network issue and debugging that is "just" like debugging network issues in general (ie time to dig up tcpdump, wireshark and kismet....)

heykennedy 2011-04-01 11:50

Re: N900 as a Wifi Hotspot, part 2
 
@kolos. Your instructions did the trick for me. I had hotspot previously installed but couldn't get it to pass data because i didn't know about the disconnect the 2g/3G first. Big smiles on this end cause now I got my "iPad2 wifi only" to tether thru my n900 saving me hundreds of dollars on not having to buy the more expensive 3G version and pay additional data charges! Thanks so much.
And don't hate because I have an ipad2. Haha!


| Prev | 29   37     38   39   40     41   | Next
All times are GMT. The time now is 18:12.

vBulletin® Version 3.8.8