maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   PR1.1 Feedback? (https://talk.maemo.org/showthread.php?t=40428)

juaalto 2010-01-14 10:47

Re: PR1.1 Feedback?
 
Quote:

Originally Posted by Master of Gizmo (Post 470211)
I had that installed previously and yes, i noticed that the vpnc package added something to the script. This may have prevented the script from being updated.

Would someone who has updated his machine be so kind to put his
/etc/udhcpc/libicd_network_ipv4.script somewhere so i can compare them?

Assuming now that your problem is caused by the vpnc_0.5.8-0m5_armel.deb package installed before upgrade to PR1.1 over SSU. You can either reflash with PR 1.1 and reinstall vpnc or you could try following manual steps. Please report if they work:

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'
5. Create file '/etc/maemo-dhcp.d/60_vpnc'
6. Add the following code in /etc/maemo-dhcp.d/60_vpnc:

Code:

#!/bin/sh -e
if route -n | grep -e "^0\.0\.0\.0" | grep -q tun0; then
    route -n | grep -e "^0\.0\.0\.0" | grep $interface | awk '{print $2}' > /tmp/vpnc_route
    ip=`cat /var/run/vpnc/defaultroute | cut -f3 -d' '`
    if [ -z $ip ]; then
        killall vpnc
    else
        if route -n | grep -e "^0\.0\.0\.0" | grep -q $ip; then
            route delete default $interface
        fi
    fi
fi

7. In X Terminal enter 'chmod +x /etc/maemo-dhcp.d/60_vpnc'
8. Reboot the device

You need steps 5-7 if you want to continue using you old vpnc installation. Another way is to reinstall vpnc which reinstalls the hack in file '/etc/udhcpc/libicd_network_ipv4.script'

horus 2010-01-14 10:48

Re: PR1.1 Feedback?
 
The link to the Ovi store from the application menu now works. Hoo-rah!

hstende 2010-01-14 10:52

Re: PR1.1 Feedback?
 
My wlan now works after first uninstalling vpnc and then

cp /etc/udhcpc/libicd_network_ipv4.script.dpkg-dist /etc/udhcpc/libicd_network_ipv4.script

Master of Gizmo 2010-01-14 10:53

Re: PR1.1 Feedback?
 
Quote:

Originally Posted by chrget (Post 470233)
Mine says:

Code:

#!/bin/sh
# Place your script to /etc/maemo-dhcp.d directory so that it gets run.

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

Hope this helps,

Chris.

That's /etc/udhcpc/libidc_network_ipv4.script.dpkg-dist and not /etc/udhcpc/libidc_network_ipv4.script

Doesn't the latter exist at all on your device?

Edit: The part i was missing was the fact that the dpkg-dist file seems to be the one that's created if the original one has been modified and is thus not touched by dpkg.

qwerty12 2010-01-14 10:57

Re: PR1.1 Feedback?
 
Quote:

Originally Posted by Master of Gizmo (Post 470204)
/etc/resolv.conf doesn't even need to contain anything.

Yes, it does. The N900 runs udhcpc for a reason.

Mine says "nameserver 127.0.0.1".

Slunge 2010-01-14 10:58

Re: PR1.1 Feedback?
 
I updated to PR 1.1 today (after clearing some extra applications to make room)

After the update i have several problems:

- I cant connect to my MSN and OVI chat accounts
it says netword fault (but then in dutch)
- I cant open any of the catalogues on the apps installer.
all catalogues or not available...they were before the update tho..
- Intenal gps not connecting

Can someone help me with this?

Master of Gizmo 2010-01-14 10:58

Re: PR1.1 Feedback?
 
Quote:

Originally Posted by juaalto (Post 470288)
You can either reflash with PR 1.1 and reinstall vpnc or you could try following manual steps. Please report if they work:

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'
5. Create file '/etc/maemo-dhcp.d/60_vpnc'
6. Add the following code in /etc/maemo-dhcp.d/60_vpnc:

Code:

#!/bin/sh -e
if route -n | grep -e "^0\.0\.0\.0" | grep -q tun0; then
    route -n | grep -e "^0\.0\.0\.0" | grep $interface | awk '{print $2}' > /tmp/vpnc_route
    ip=`cat /var/run/vpnc/defaultroute | cut -f3 -d' '`
    if [ -z $ip ]; then
        killall vpnc
    else
        if route -n | grep -e "^0\.0\.0\.0" | grep -q $ip; then
            route delete default $interface
        fi
    fi
fi

7. In X Terminal enter 'chmod +x /etc/maemo-dhcp.d/60_vpnc'
8. Reboot the device

I didn't have vpnc installed anymore, so i omitted steps 5-7. But the remaining hints fixed the problem. Is pkg-dist the name dpkg uses if it finds the original file modified and doesn't want to touch it?

Master of Gizmo 2010-01-14 10:59

Re: PR1.1 Feedback?
 
Quote:

Originally Posted by qwerty12 (Post 470312)
Yes, it does. The N900 runs udhcpc for a reason.

Mine says "nameserver 127.0.0.1".

But it also works if it doesn't. Mine is empty and everything is fine again.

jcnielsen 2010-01-14 13:42

Re: PR1.1 Feedback?
 
I can't connect to pc-suite anymore after I updated my N900.

jcompagner 2010-01-14 14:00

Re: PR1.1 Feedback?
 
Calendar is way faster
Modest is faster (but i still think that it could improve, sometimes gmail inbox is there within a second other times it takes 4)
Browses has basic portrait support (people really shouldnt count on full ui (== desktop) portrait support for Maemo 5! This will be per app)
it dont see MicroB as that quicker currently.. But it has 1 annoying feature now.. when i go to this site or for example my-symbian and then i zoom in to click the small new post picture, it goes to that next page to the new post but in the zoom level i am in, it doesnt zoom out first, thats quite annoying..

Lost 10MB in root.


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

vBulletin® Version 3.8.8