Active Topics

 


Reply
Thread Tools
Posts: 244 | Thanked: 155 times | Joined on Aug 2009 @ DC
#171
Originally Posted by Nathan View Post
Not sure why it would trying to use https; do you have some repositories in your sources.list that are https?

Nathan.
No I don't which is why I don't understand this error at all.
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#172
Originally Posted by sevla View Post
No I don't which is why I don't understand this error at all.
I have to say I'm a bit confused -- you might try opening app manager and seeing what repositories it thinks are configured and verify none of them have https.

Nathan
 
Posts: 28 | Thanked: 3 times | Joined on Oct 2009
#173
I keep getting
"Checking Network Connection...
A Network connection is required
Press any key to continue"
when I try an execute Install Scratchbox.

Any help to resolve this will be highly appreciated. Thanks!
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#174
Originally Posted by n900freak View Post
I keep getting
"Checking Network Connection...
A Network connection is required
Press any key to continue"
when I try an execute Install Scratchbox.

Any help to resolve this will be highly appreciated. Thanks!
A couple things I can think of.

1. If you open firefox in the VM, do you have a network connection.
2. try "ping www.google.com" from the terminal.

Nathan
 
Posts: 28 | Thanked: 3 times | Joined on Oct 2009
#175
My rest of the network is working absolutely fine, only the script is not able to access it. ;(
 
Posts: 28 | Thanked: 3 times | Joined on Oct 2009
#176
Originally Posted by Nathan View Post
A couple things I can think of.

1. If you open firefox in the VM, do you have a network connection.
2. try "ping www.google.com" from the terminal.

Nathan
My Bad, it seems that the terminal in VM is not able to access network connection although it is working fine for rest of the stuff. I am currently posting reply from my firefox on the VM.

I had to kill the ping command in terminal to get a response
maemo@maemo-desktop:~$ ping www.google.com
PING www.l.google.com (209.85.231.147) 56(84) bytes of data.
^C
--- www.l.google.com ping statistics ---
137 packets transmitted, 0 received, 100% packet loss, time 185925ms


Is there anything I can do to resolve this?
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#177
Originally Posted by n900freak View Post
Is there anything I can do to resolve this?
please show us the output of these two commands:
Code:
cat /etc/resolv.conf
ifconfig
they tell us a little bit about your network.
maybe you have some sort of proxy in place which redirects http traffic automatically...
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#178
Originally Posted by n900freak View Post
My Bad, it seems that the terminal in VM is not able to access network connection although it is working fine for rest of the stuff. I am currently posting reply from my firefox on the VM.

I had to kill the ping command in terminal to get a response
maemo@maemo-desktop:~$ ping www.google.com
PING www.l.google.com (209.85.231.147) 56(84) bytes of data.
^C
--- www.l.google.com ping statistics ---
137 packets transmitted, 0 received, 100% packet loss, time 185925ms


Is there anything I can do to resolve this?
Yes, I guess my scripts must be "too" smart. Something on your network is blocking pings so the "CheckNetwork" function is failing.

To "work" around this, the easist method would be to edit the "VM_Function.sh" file in "~/Maemo/Scripts/Install"
Add a new "return" to the first line of the "CheckNetwork() function.

This way it basically returns back out of that routine every time any of the scripts ask for it.

Nathan

Last edited by Nathan; 2009-10-28 at 17:29.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#179
Originally Posted by Nathan View Post
Code:
cp /etc/resolv.conf /scratchbox/etc/resolv.conf
isn't the CheckNetwork function called before scratchbox is installed? i thought this error comes when attempting to install scratchbox, so it's unlikely he even has a /scratchbox folder at this point.
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#180
Originally Posted by SubCore View Post
isn't the CheckNetwork function called before scratchbox is installed? i thought this error comes when attempting to install scratchbox, so it's unlikely he even has a /scratchbox folder at this point.
LOL, you are correct. Not sure where my brain is... ;-)

Hmm, the only reason CheckNetwork would fail is if the VM can't connect to the repository for some reason. CheckNetwork does a ping request against the repository to make sure you have both a active network and that the repository is actually up.

I updated my prior response with a better one. ;-)

Nathan

Last edited by Nathan; 2009-10-28 at 17:30.
 
Reply

Tags
development, fremantle, maemo, maemo 5, programming, sdk, virtual machine, virtualpc, windows, windows 7


 
Forum Jump


All times are GMT. The time now is 07:19.