maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   no internet (even though correct key entered) (https://talk.maemo.org/showthread.php?t=75668)

tobymansell 2011-08-11 09:55

no internet (even though correct key entered)
 
hi.

Got prob with my n900.
Even though i am entering the exact same key pasted from my router eireless settings i just cannot establish any connection at all for the internet. I get an error message saying 'network connection error. Try again?' i really dont know what to do. It is working fine in all laptops dotted around the house, just not the n900, anyone know why??

lma 2011-08-11 10:11

Re: no internet (even though correct key entered)
 
Are you entering the key in hex by any chance?

mr_pingu 2011-08-11 10:31

Re: no internet (even though correct key entered)
 
did you get an IPadress from the dhcp? Else you could try to fill in everything manually ;)

at my school, I have given my n900 a static IP as the router wouldn't want to give mobile devices an IP, while laptops do =/ Probably has something todo with the timeout of the dhcp server, as mobile devices have in general lower hardware than laptops and could take it a little longer ;) Giving a static IP will solve this.

tobymansell 2011-08-11 10:41

Re: no internet (even though correct key entered)
 
Hi there

How would i know if i was entering the key in hex dec? where would i need to go to make it non hex?

How would i also give it a static ip address and know what ip to give it?

Thanks very much for your help guys.

lma 2011-08-11 10:59

Re: no internet (even though correct key entered)
 
Quote:

Originally Posted by tobymansell (Post 1067778)
How would i know if i was entering the key in hex dec?

If it consists only of digits 0-9 and letters A-F then it's probably hex.

Quote:

where would i need to go to make it non hex?
You can convert the hex values to decimal and enter directly in gconf as described in the bug report, or try to convert to ASCII using for example http://www.speedguide.net/wlan_key.php (may not be possible) and enter that in the connection dialog.

Quote:

How would i also give it a static ip address and know what ip to give it?
Look at the router's config (or use ifconfig/ipconfig on another machine) to determine the IP subnet used, and pick a free address within that space. If for example your laptop is 192.168.0.5 with netmask 255.255.255.0, try pinging 192.168.0.6 from it, and if you get no response use that in the N900.

tobymansell 2011-08-11 11:20

Re: no internet (even though correct key entered)
 
Hi there,

Yes it does consist only of digits 0-9 and letters A-F. it's about 26 charcaters in total.
is gconf an application that would need to be downloaded to the N900?

I did just try the speedguide website but there was no option on there on the dropdown box for a 26 character wep key.

Thanks very much.

Mart.

lma 2011-08-11 11:51

Re: no internet (even though correct key entered)
 
Ah, if you are using WEP your problem isn't related to the key being in hex (but if you care about your network's privacy/security you should switch to WPA2).

What is your wireless router's make/model/firmware version?

mno@8 2011-08-11 12:00

Re: no internet (even though correct key entered)
 
I have time to time the issues with some AP. I was never being able to understand why as I was unable to provoke the issue on demand.
On top the same issue appears using the same AP with a full linux box but not with a Windows (7 or XP).
My feeling was that the origin of the problem was on the AP but without being able to provoke it it was difficult to understand the prob.

If you have the chance to have another box available, you can try sniffing the wireless (e.g. linux + airmong to block the channel + wireshark). You will have the different traffic exchanges between the N900 and the AP. With some chances you may find some usefull info and the reason why it is ejected.

pusak gaoq 2011-08-11 12:23

Re: no internet (even though correct key entered)
 
Quote:

Originally Posted by tobymansell (Post 1067801)
Hi there,

Yes it does consist only of digits 0-9 and letters A-F. it's about 26 charcaters in total.
is gconf an application that would need to be downloaded to the N900?

I did just try the speedguide website but there was no option on there on the dropdown box for a 26 character wep key.

Thanks very much.

Mart.

is it really your own router or not??
i really doubt that it is your router cause if it does the all keys are in ASCII...never i have seen keys from a router in HEX unless you using fAircrack,cleven or wepon to find the keys....
26 HEX keys is equal to 13 ASCII keys so you proberly trying to hacks someone router....

tobymansell 2011-08-11 12:30

Re: no internet (even though correct key entered)
 
Hi there,

thanks for your help.
Not trying to hack someones router at all.
Im staying in UK with my sister and using hers.
Its a inventel livebox router and the wep key is: EDF903D5317BDB7BD92278DE0B

Its strange because i can connect wirelessly on the nokia e63 but just not the N900.

Isthere a way i can do this without the use for any other sftware apart from the standard that came with the n900. i ask this because i cant connect to the net on my n900 for application viewing.

Pleaselet me know.

Thanks guys.

mr_pingu 2011-08-11 12:43

Re: no internet (even though correct key entered)
 
Quote:

Originally Posted by pusak gaoq (Post 1067831)
is it really your own router or not??
i really doubt that it is your router cause if it does the all keys are in ASCII...never i have seen keys from a router in HEX unless you using fAircrack,cleven or wepon to find the keys....
26 HEX keys is equal to 13 ASCII keys so you proberly trying to hacks someone router....

But HEX should work ;) As on school I got the key from a windows computer using siw and it was HEX, needed the app wpa-keys to work tho as it was a 64 char long HEXkey. But if you enter a HEX key it should work also =/


does "ifconfig wlan0" give an ip by inetaddr ?

pusak gaoq 2011-08-11 13:28

Re: no internet (even though correct key entered)
 
Quote:

Originally Posted by mr_pingu (Post 1067844)
But HEX should work ;) As on school I got the key from a windows computer using siw and it was HEX, needed the app wpa-keys to work tho as it was a 64 char long HEXkey. But if you enter a HEX key it should work also =/


does "ifconfig wlan0" give an ip by inetaddr ?

yes i know HEX keys works but he said that is his own router (i dont thinks so) so when you go to the router setup the keys is not in HEX but in ASCII...
now where did he got the HEX keys??
hmmm...unless he use fAircrack & cleven but...
why use those program to get the keys when you can just open your router setup to get the keys??
hmmm...unless he trying to hack some else router :D

tobymansell 2011-08-11 13:33

Re: no internet (even though correct key entered)
 
What confuses me is the fact it works perfectly well to connect on my nokia e63. On my N900 it just for some reason will not accept that long key i stated a few posts ago. It will not let me connect to the router. It says network timeout everytime. I dont know if i need to enable/disable something on the phone or what??

I dont have aircrack or any 3rd party software as i cant do that because i have no internet access.
That key is definately the key my sister uses and it will not work on the n900. Everything else it will.... just not the n900. its most bizarre.

tobymansell 2011-08-11 13:41

Re: no internet (even though correct key entered)
 
This is the error i get also when trying to change the key.
Perhaps by this u guys would be able to tell me what settings i would need to apply to the N900.
Thanks.
http://img856.imageshack.us/img856/8874/proofqn.png

don_falcone 2011-08-11 13:55

Re: no internet (even though correct key entered)
 
Are you pasting it perhaps with an additional space?

mr_pingu 2011-08-11 14:04

Re: no internet (even though correct key entered)
 
Definitely HEX as it is 0-9 + A-F which is a total of 16 ;)

What are the other settings on that page? and what is the manfacturer of you router, maybe I can help you to change it :)

tobymansell 2011-08-11 14:10

Re: no internet (even though correct key entered)
 
Ok thanks for the info there guys.
It is a Livebox-0D98 router.

the other settings on the exact page are:
Channel number (which is set to 1)
apart from that, that is all.. and of course the option to change the wireless key itself.
Let me know if anymore info is required in order to help me.

Thanks very much again.

mr_pingu 2011-08-11 16:39

Re: no internet (even though correct key entered)
 
Well that's not much info :o that your router gives...
In my router (sitecom) I have 7 option
SSID:
Broadcast ESSID: on or off
Encryption: WEP or WPA
WPA Type:
Pre-Shared Key type: HEX or Passphrase
Pre-Shared Key: mykey


I was actually looking for something like that :)
Can you actually connect with the router or do you get network error?

tobymansell 2011-08-11 18:00

Re: no internet (even though correct key entered)
 
i dont get any of those options mate.
do u have any other options i could take?
whats wpa-keys? would that help me?

thanks.

mr_pingu 2011-08-11 18:03

Re: no internet (even though correct key entered)
 
Can you use wpa instead of wep? As wep is being cracked in less than 4 minutes on a n900 :P imagine on a normal laptop :P

Why wep is bad:
http://www.youtube.com/watch?v=D3-Pobgi8JM

Nah wpa-keys is an application for hex wpakeys of 64 char, but your key isn't 64 characters so I don't know the problem...

Try to use wpa if you can, must be somewhere configurable

Pigro 2011-08-11 18:14

Re: no internet (even though correct key entered)
 
Long shot, but maybe worth deleting the AP on the n900 (from settings->internet connections->connections) and then setting it up again from there with the same key as before - I sometimes get problems connecting to some public wifi AP's when I just select the AP from the auto-detected list on n900, but setting up from scratch works in those circumstances.

It's a long shot 'cos it's only one specific type of wireless router that seems to give me that issue, I guess its unlikely to be the same as the one you're trying to connect to.

tobymansell 2011-08-11 18:31

Re: no internet (even though correct key entered)
 
Hi there thanks for your replies guys!
Looking at my phone settings on my connections settings i can see the options of:
network mode: infastucture or adhoc
securty method is set to:WPA pre-shared key.
the other options are: WEP, or WPA with EAP.
which option is best?

On the advanced setup of the AP creation i have found some other things. such as atab that says proxies, ip addresses and other. If i go onto ip addresses i can see auto retrieve ip which is ticked. ip address is 0.0.0.0 subnet is 0.0.0.0 default gateway is also 0.0.0.0 auto retrieve dns is also checked. primary dns is 0.0.0.0. under the 'other tab' i have 100mw selected and WPA2 only mode unchecked. Should ANY of these settings be changed?

thanks.

I have attached another screen from the router config on my windows based laptop

thanks ppl.

http://img853.imageshack.us/img853/1340/wepp.png

mr_pingu 2011-08-11 19:07

Re: no internet (even though correct key entered)
 
Ok delete the acces point from the n900 under settings-> connections

From the screen I see easypairing maybe means thatWiFi Protected Setup Compliant

on n900
So open status-menu (top bar)
Select connection your router and if possible the button with WiFi Protected Setup Compliant

Then follow the steps on your screen of your n900 ;)

tobymansell 2011-08-12 07:25

Re: no internet (even though correct key entered)
 
I am very stuck and dont know what to do?

Anymore suggestions??

tobymansell 2011-08-12 10:02

Re: no internet (even though correct key entered)
 
Somebody? Anybody? :( :(

mr_pingu 2011-08-12 11:12

Re: no internet (even though correct key entered)
 
Set security to wpa and try if this possible ;)

http://www.techiecorner.com/1854/n90...liant-network/

Pigro 2011-08-12 11:16

Re: no internet (even though correct key entered)
 
it's confusing because you originally said you were entering a WEP key ... but later you say that your router config is set to WPA. You need to be clear which of these is correct before going any further (I assume WPA as that is what the AP itself says - however if in any doubt, you should double check by looking at the config of a laptop or other device that is connecting successfully to the AP).

Did you do what I suggested and delete the existing connection from your phone & recreate it manually? Also, double check that your router isn't set to only accept connection requests from known MAC addresses (doesn't sound like that's the problem based on the error msgs you posted before, but best to be thorough).

Once you know what key type (WEP or WPA) is expected, reboot the router/AP and the n900. Then delete/recreate the connection manually again. When doing this, choose the option to scan for AP's and select your own (verify that the n900 setup defaults to the correct "security method", and change it if incorrect. Enter the key manually rather than by cut & paste just to be sure that you haven't mistakenly got a dodgy character in the string.

When setting up the connection, all the defaults should be OK (i.e. infrastructure mode, power saving etc. and you shouldn't need to mess around with the ip address settings either - unless your router is set NOT to serve DHCP, which is pretty unlikely). However, in the advanced tab, it may be worth disabling the power saving mode for the time being just to ensure that is not affecting the connection.

If that doesn't help, I'm out of ideas.

tobymansell 2011-08-12 14:00

Re: no internet (even though correct key entered)
 
ok guys ill try yr ideas later.

thank u so much for your help guys i appreciate it so much

don_falcone 2011-08-13 03:54

Re: no internet (even though correct key entered)
 
Quote:

Originally Posted by mr_pingu (Post 1067771)
did you get an IPadress from the dhcp? Else you could try to fill in everything manually ;)

at my school, I have given my n900 a static IP as the router wouldn't want to give mobile devices an IP, while laptops do =/ Probably has something todo with the timeout of the dhcp server, as mobile devices have in general lower hardware than laptops and could take it a little longer ;) Giving a static IP will solve this.

Oh i have to thank you sooo much for this post. I didn't try to manually assign an IP, but finally did so here. Now the issues i had with the hotel AP here are remedied, finally. Had the same issue here since end of last year; always had to take the (heavy) laptop with me cause of that.


All times are GMT. The time now is 23:00.

vBulletin® Version 3.8.8