maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   After updating Maemo 5 PR1.1, no longer able to connect using WiFi (https://talk.maemo.org/showthread.php?t=40567)

fatalsaint 2010-01-15 03:06

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by DaveQB (Post 473053)
Right, I see. Very noble of you.
You have the SDK?
I have installed it but I haven't started playing with it yet.

Actually yeah... I am using VirtualBox with the vmware virtual image. Good point.. I could start looking in there.

fpbrooks 2010-01-15 03:09

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I just updated my N900 and have had this problem too. I have read this far (post 53) and until now could not access the web using WI-FI.

I followed your solution below except the part where you removed vpnc and vpnc-gui. every thing works now WI-FI access, vpnc and vpnc-gui

I second the thanks of the help of the maemo community!

Quote:

Originally Posted by jsbigs (Post 472467)
Okay, per this thread:

http://talk.maemo.org/showthread.php...288#post470288

I removed vpnc gui and vpnc (didn't need it as I got OpenVPN to work), then went through the following steps:

1. Install 'rootsh' package
2. Open X Terminal
3. Enter 'sudo gainroot'
4. Enter 'mv /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist /etc/udhcpc/libicd_network_ipv4.script'

rebooted, re-connected to LAN and...back in business!! Thank you Maemo community!

And regarding my fear of flashing and voiding my warranty, it was moot anyway as I've reflashed a couple of times earlier trying to get Knots2 working.

Cheers!


egoshin 2010-01-15 03:10

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by DaveQB (Post 473046)
This should work.

DIsclaimer: I haven't tried this myself, but if you are desperate...

Code:

apt-get install --reinstall  -d libicd-network-ipv4
dpkg -i --force-confnew /var/cache/apt/archives/libicd-network-ipv4*


OK, I will try to do it after vpnc removal and BEFORE move to 51.x
Just need to check versions... to do not install it from 51.x ;)

If there is no old version I will try it after move to 51.x

nokiabuff 2010-01-15 03:11

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
OK finally got it working following the link.

http://talk.maemo.org/showthread.php...288#post470288

I do not think that this is a DNS issue as I tried to mod the resolv.conf with nameserver but no help.
Thanks guys. Cheers to community!!. But Nokia, this will not work if you were to reclaim iphone place. Let me check what other issues the new firmware has now :-)

Thank you all. I am planning to write a N900 review this weekend and was waiting for MFE support before doing so let me complete this over the weekend.

fatalsaint 2010-01-15 03:14

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Why the hate on Nokia? Again.. this was not their fault. *sigh*.

egoshin 2010-01-15 03:18

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by fpbrooks (Post 473059)
I just updated my N900 and have had this problem too. I have read this far (post 53) and until now could not access the web using WI-FI.

I followed your solution below except the part where you removed vpnc and vpnc-gui. every thing works now WI-FI access, vpnc and vpnc-gui

I second the thanks of the help of the maemo community!

Unfortunately, you are too optimistic on vpnc - original file /etc/udhcpc/libicd_network_ipv4.script had some code to fix DNS over VPN and just replacing it with new version destroys that code.

To fix this you should uninstall vpnc and install it again.

BTW, month ago I noted that there are two packages vpngui and vpn-gui. The last one (vpn-gui) was very buggy but vpngui work perfect. Just FYI.

DaveQB 2010-01-15 03:30

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by egoshin (Post 473072)
Unfortunately, you are too optimistic on vpnc - original file /etc/udhcpc/libicd_network_ipv4.script had some code to fix DNS over VPN and just replacing it with new version destroys that code.

To fix this you should uninstall vpnc and install it again.

BTW, month ago I noted that there are two packages vpngui and vpn-gui. The last one (vpn-gui) was very buggy but vpngui work perfect. Just FYI.

I would remove it too.

I am using the openvpn and openvpn-applet packages and didn't have this problem. The creator packaged them well I'd say.

This is not a good replacement for vpnc?

fpbrooks 2010-01-15 03:37

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
So will I get the newer file by uninstalling and reinstalling the vpnc and the WI-FI will still work?

Quote:

Originally Posted by egoshin (Post 473072)
Unfortunately, you are too optimistic on vpnc - original file /etc/udhcpc/libicd_network_ipv4.script had some code to fix DNS over VPN and just replacing it with new version destroys that code.

To fix this you should uninstall vpnc and install it again.

BTW, month ago I noted that there are two packages vpngui and vpn-gui. The last one (vpn-gui) was very buggy but vpngui work perfect. Just FYI.


DaveQB 2010-01-15 03:41

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by fpbrooks (Post 473096)
So will I get the newer file by uninstalling and reinstalling the vpnc and the WI-FI will still work?

If the package was written right, then it should put back any changes it made when removed AFAIK. But who knows....

fpbrooks 2010-01-15 03:43

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I tried openvpn at first (both on my N800 before I got the N900). the problem I had was I need a vpn client for work. the network admins will only supply a PCF file with an encryption key and the server info. I could not get openvpn to import the file so I went back to the more buggy but able to import the file provided program.

Quote:

Originally Posted by DaveQB (Post 473087)
I would remove it too.

I am using the openvpn and openvpn-applet packages and didn't have this problem. The creator packaged them well I'd say.

This is not a good replacement for vpnc?


fpbrooks 2010-01-15 03:48

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
AH but that is the problem something was not written right if its not the firmware upgrade its the VPN program and with a program that is still in extra-devel I I would be more inclined to suspect it first. But I can get attached to my office network with VPN and my WI-Fi is working again. I wish I had saved the original "libicd_network_ipv4.script" file now that I think about it I would like to compare then to see what was different from the two files.

Quote:

Originally Posted by DaveQB (Post 473101)
If the package was written right, then it should put back any changes it made when removed AFAIK. But who knows....


fatalsaint 2010-01-15 03:49

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
You can rebuild the working file with Dave's post here.

latinmau 2010-01-15 03:58

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
hey people... first at all... I dont know how to put a new own post in this site... so I will add a new replay in this post..

1. I used the back up of the previous version... (copia de seguridad in spanish)
2. I instaled the new firmware ...44..x.x... using pc suite in my computer..
3. I lost every application I instaled before.
4. I lost the configuration for my cellular provider connections.. (PORTA... ECUADOR)
5. I set up the data connection and the infraestructure connection with the old parameter... only voice was working... but internet nothing....
6. I bucked up my new .44 configuration
7. I restored my old backup configuration.
8. Internet old connection is working... but new still not... both use the same parameter. I can't delete my new data connection ( the not working internet connection).
9. I connected the phone to the internet through my PORTA provider and I can't download nothing from the OVI Store!!!!l
10. In my old firmware maemo and my new firmware maemomy phone has a number 2.5 near the battery graphic...

HELP ME PLEASE!!!!!!!

DaveQB 2010-01-15 04:12

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by fpbrooks (Post 473105)
I tried openvpn at first (both on my N800 before I got the N900). the problem I had was I need a vpn client for work. the network admins will only supply a PCF file with an encryption key and the server info. I could not get openvpn to import the file so I went back to the more buggy but able to import the file provided program.

Oh ok. I see. I am lucky work gave me an openVPN config and keys. Worked first go. Gotta get lucky sometimes..

latinmau 2010-01-15 04:14

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
11. Nokia catalogs are not working.
13. sometimes I cant write in Texboxes in maemo Browser (this was my second chance I tried. Now it works..)
please solve the bugs. I am programmer too.

DaveQB 2010-01-15 04:14

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by fpbrooks (Post 473110)
AH but that is the problem something was not written right if its not the firmware upgrade its the VPN program and with a program that is still in extra-devel I I would be more inclined to suspect it first. But I can get attached to my office network with VPN and my WI-Fi is working again. I wish I had saved the original "libicd_network_ipv4.script" file now that I think about it I would like to compare then to see what was different from the two files.

Someone did a few pages back.

DaveQB 2010-01-15 04:16

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by latinmau (Post 473117)
hey people... first at all... I dont know how to put a new own post in this site... so I will add a new replay in this post..

1. I used the back up of the previous version... (copia de seguridad in spanish)
2. I instaled the new firmware ...44..x.x... using pc suite in my computer..
3. I lost every application I instaled before.
4. I lost the configuration for my cellular provider connections.. (PORTA... ECUADOR)
5. I set up the data connection and the infraestructure connection with the old parameter... only voice was working... but internet nothing....
6. I bucked up my new .44 configuration
7. I restored my old backup configuration.
8. Internet old connection is working... but new still not... both use the same parameter. I can't delete my new data connection ( the not working internet connection).
9. I connected the phone to the internet through my PORTA provider and I can't download nothing from the OVI Store!!!!l
10. In my old firmware maemo and my new firmware maemomy phone has a number 2.5 near the battery graphic...

HELP ME PLEASE!!!!!!!

Hmmm maybe DNS issue.

What does going to this address in your browser do?
66.102.11.99

egoshin 2010-01-15 04:20

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by DaveQB (Post 473125)
Oh ok. I see. I am lucky work gave me an openVPN config and keys. Worked first go. Gotta get lucky sometimes..

Open VPN and vpnc are not compatible. Both uses something different and are supposed to work with different VPN setup.

nickt 2010-01-15 04:54

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I've never installed any VPN software, /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist does not exist and the contents of /etc/udhcpc/libicd_network_ipv4.script are this:

run-parts -a "$1" /etc/maemo-dchp.d

I'm confused. Guess I will have to use wifi in "intermediate" power saving mode to use it until there is some kind of update. :(

fatalsaint 2010-01-15 04:58

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Just your wifi doesn't work nickt? 3G works fine?

egoshin 2010-01-15 05:20

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by nickt (Post 473174)
I've never installed any VPN software, /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist does not exist and the contents of /etc/udhcpc/libicd_network_ipv4.script are this:

run-parts -a "$1" /etc/maemo-dchp.d

I'm confused. Guess I will have to use wifi in "intermediate" power saving mode to use it until there is some kind of update. :(

Is power set to 100mW?

maguitodelrock 2010-01-15 05:33

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by latinmau (Post 473117)
hey people... first at all... I dont know how to put a new own post in this site... so I will add a new replay in this post..

1. I used the back up of the previous version... (copia de seguridad in spanish)
2. I instaled the new firmware ...44..x.x... using pc suite in my computer..
3. I lost every application I instaled before.
4. I lost the configuration for my cellular provider connections.. (PORTA... ECUADOR)
5. I set up the data connection and the infraestructure connection with the old parameter... only voice was working... but internet nothing....
6. I bucked up my new .44 configuration
7. I restored my old backup configuration.
8. Internet old connection is working... but new still not... both use the same parameter. I can't delete my new data connection ( the not working internet connection).
9. I connected the phone to the internet through my PORTA provider and I can't download nothing from the OVI Store!!!!l
10. In my old firmware maemo and my new firmware maemomy phone has a number 2.5 near the battery graphic...

HELP ME PLEASE!!!!!!!


Hey, from Ecuador? Im too, from Guayaquil :D but im expecting get my N900 this week from USA :( send me a private message or add me to msn as my nickname here (maguitodelrock)in hotmail for stay in contact

PD: the 2.5 number near batterry graphic is about EDGE signal, and show that 3g is not available because in Ecuador 3g is only over 850 mhz and not 900/1700 mhz so that is the best u can get with N900
PD: Plz this is not spam i cant pm him and i im just little surprised with finding a mate from my country :O dont edit plz :)

nickt 2010-01-15 05:35

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Yeah, T-Mobile 3G connection works fine.

Power is set to 100mW. It only seems to work with either "On (Intermediate)" or "On (Maximum)" for the Power saving setting.

egoshin 2010-01-15 05:44

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by nickt (Post 473223)
Yeah, T-Mobile 3G connection works fine.

Power is set to 100mW. It only seems to work with either "On (Intermediate)" or "On (Maximum)" for the Power saving setting.

What is the router?
What is the distance? Walls?

And - how long it lasts w Intermediate?

nickt 2010-01-15 06:08

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
The router is a Linksys BEFW11S4. It doesn't connect at all when power saving mode is fully on. The wifi icon just blinks, then goes away eventually. Distance isn't a problem -- if I stand right next to it, it will still do this.

With intermediate, it works just like it used to... stays on.

burhan 2010-01-15 08:41

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I don't know maybe I'm lucky. WiFi works with all power saving modes. Automatically switches, etc.

Using generic BrandLuxe AP, also tested it with Netgear and Linksys AP.

noobmonkey 2010-01-15 08:48

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Ok my problem is a bit surreal!
Spent last night on the n900 trying to fix it! - failed!

Wireless refused to work....

Got home this morning, tried apt-get -d install libicd-network-ipv4, it said it failed as the file was the original. Without rebooting i tried to connect to the home wireless and it is working.....


Random!

But i must say a huuuge thank you to all of you have have stuck around to help us/me out on here.

villo 2010-01-15 11:27

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by jsbigs (Post 472467)
Okay, per this thread:

http://talk.maemo.org/showthread.php...288#post470288

I removed vpnc gui and vpnc (didn't need it as I got OpenVPN to work), then went through the following steps:

1. Install 'rootsh' package
2. Open X Terminal
3. Enter 'sudo gainroot'
4. Enter 'mv /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist /etc/udhcpc/libicd_network_ipv4.script'

rebooted, re-connected to LAN and...back in business!! Thank you Maemo community!

And regarding my fear of flashing and voiding my warranty, it was moot anyway as I've reflashed a couple of times earlier trying to get Knots2 working.

Cheers!

Do you need to be connected to a VPN to do this?

Cas07 2010-01-15 12:12

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I have to thank DaveQB for his post outlining the exact problem i was having with DNS not working.

I found i had /etc/dnsmasq.conf.dpkg-dist file that contained the new dnsmasq conf and i was still running the old version pointing to non-existent /tmp/resolv* files!

Quote:

Originally Posted by villo (Post 473766)
Do you need to be connected to a VPN to do this?

No.

villo 2010-01-15 12:13

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Ok, I've actually decided to flash the device and it seems to be working fine now. For those of you who are thinking about doing the same I would certainly recommend it. Folow this link for insrtuctions: http://discussions.europe.nokia.com/...&thread.id=168

deejoe 2010-01-15 17:30

DNS fail after upgrade to 2.2009.51-1.002
 
I can reach sites by IP address but not by name.

Is independent of what access point I connect to.

If I put in a DNS server in /etc/resolv.conf, it works OK.

MiNe 2010-01-15 18:08

Re: DNS fail after upgrade to 2.2009.51-1.002
 
I've the same problem when connecting to wifi. Reboot of the device helps most of the times.

sjgadsby 2010-01-15 18:11

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
The thread "DNS fail after upgrade to 2.2009.51-1.002 " with two posts has been merged into this thread.

egoshin 2010-01-15 18:51

Re: DNS fail after upgrade to 2.2009.51-1.002
 
Quote:

Originally Posted by deejoe (Post 474500)
I can reach sites by IP address but not by name.

Is independent of what access point I connect to.

If I put in a DNS server in /etc/resolv.conf, it works OK.

Put line

nameserver 127.0.0.1

into /etc/resolv.conf AND into /etc/vpnc/resolv.conf-backup
Package vpnc does some copying back and forth both files but it may at some point destroy one of them ---> you lose DNS during connection setup. Bug in vpnc, I filled it to them (not Maemo, because at that time they don't have a slot in bugs.maemo.org)

egoshin 2010-01-15 18:53

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by Cas07 (Post 473845)
I have to thank DaveQB for his post outlining the exact problem i was having with DNS not working.

I found i had /etc/dnsmasq.dpkg-dist file that contained the new dnsmasq conf and i was still running the old version pointing to non-existent /tmp/resolv* files!

No.

Can you write a little more details? File /etc/dnsmasq doesn't exist but it should be /etc/dnsmasq.conf and you may find file /etc/dnsmasq.conf.dpkg-dist

Just double check before next steps...

egoshin 2010-01-15 18:54

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by noobmonkey (Post 473493)
Ok my problem is a bit surreal!
Spent last night on the n900 trying to fix it! - failed!

Wireless refused to work....

Got home this morning, tried apt-get -d install libicd-network-ipv4, it said it failed as the file was the original. Without rebooting i tried to connect to the home wireless and it is working.....


Random!

But i must say a huuuge thank you to all of you have have stuck around to help us/me out on here.

Please use line

apt-get install --reinstall -d libicd-network-ipv4

as DaveQB wrote previously.

Ulrik 2010-01-15 20:00

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
I have the same problem = I can't look up web addresses when using WIFI. It connects fine and I get a IP.

I have the following in the /etc/resolv.conf file:
"nameserver 127.0.0.1"

Is that correct? If not, what do I need to write in /etc/resolv.con???

Thanks

egoshin 2010-01-15 20:42

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by Ulrik (Post 474832)
I have the same problem = I can't look up web addresses when using WIFI. It connects fine and I get a IP.

I have the following in the /etc/resolv.conf file:
"nameserver 127.0.0.1"

Is that correct? If not, what do I need to write in /etc/resolv.con???

Thanks

It is correct, but more info is need - when you see it - before using wifi or during using wifi? Did you even install vpnc?

nickt 2010-01-15 20:46

Re: After updating Maemo 5 PR1.1, no longer able to connect using WiFi
 
Quote:

Originally Posted by noobmonkey (Post 473493)
Ok my problem is a bit surreal!
Spent last night on the n900 trying to fix it! - failed!

Wireless refused to work....

Got home this morning, tried apt-get -d install libicd-network-ipv4, it said it failed as the file was the original. Without rebooting i tried to connect to the home wireless and it is working.....


Random!

But i must say a huuuge thank you to all of you have have stuck around to help us/me out on here.

HEY! What do ya know, that fixed it for me too. Thanks, and thanks to everyone else for helping. :)

fatalsaint 2010-01-15 20:48

Re: DNS fail after upgrade to 2.2009.51-1.002
 
Quote:

Originally Posted by egoshin (Post 474667)
Put line

nameserver 127.0.0.1

into /etc/resolv.conf AND into /etc/vpnc/resolv.conf-backup
Package vpnc does some copying back and forth both files but it may at some point destroy one of them ---> you lose DNS during connection setup. Bug in vpnc, I filled it to them (not Maemo, because at that time they don't have a slot in bugs.maemo.org)

The problem with manually changing resolv.conf is most DHCP software will overwrite that when you connect via DHCP. I don't know specifically what the N900 does or has.. but I'd be wary of that.

I think the real problem isn't the resolv.conf's... but that script file discussed before. I believe that fires off whatever tool or utility that then creates the appropriate resolv.conf file for you.


All times are GMT. The time now is 08:39.

vBulletin® Version 3.8.8