Active Topics

 


Reply
Thread Tools
Posts: 25 | Thanked: 87 times | Joined on Nov 2009
#41
Originally Posted by Master of Gizmo View Post
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'

Last edited by juaalto; 2010-01-15 at 14:25.
 

The Following 10 Users Say Thank You to juaalto For This Useful Post:
horus's Avatar
Posts: 190 | Thanked: 101 times | Joined on Oct 2009
#42
The link to the Ovi store from the application menu now works. Hoo-rah!
 
Posts: 150 | Thanked: 91 times | Joined on Dec 2009 @ Norway
#43
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
 

The Following 6 Users Say Thank You to hstende For This Useful Post:
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#44
Originally Posted by chrget View Post
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.

Last edited by Master of Gizmo; 2010-01-14 at 11:00.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#45
Originally Posted by Master of Gizmo View Post
/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".
 
Posts: 6 | Thanked: 0 times | Joined on Dec 2009
#46
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?

Last edited by Slunge; 2010-01-14 at 11:16.
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#47
Originally Posted by juaalto View Post
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?
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#48
Originally Posted by qwerty12 View Post
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.
 
Posts: 22 | Thanked: 5 times | Joined on Dec 2009 @ Copenhagen/Denmark
#49
I can't connect to pc-suite anymore after I updated my N900.
 
jcompagner's Avatar
Posts: 290 | Thanked: 165 times | Joined on Sep 2009
#50
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.
 
Reply

Tags
goodbye, sad sadavyk and messus


 
Forum Jump


All times are GMT. The time now is 14:34.