[maemo-developers] How can I set up an Internet connection in Maemo Sctachbox SDK

From: Huang Gao huanggao at longcheertel.com
Date: Mon Mar 31 12:49:59 EEST 2008
Dear Janne:
	You are right, thank you very much for your help!

Best Regards
Huang Gao
-----邮件原件-----
发件人: Janne Kataja [mailto:janne.kataja at movial.fi] 
发送时间: 2008年3月31日 16:39
收件人: Huang Gao
抄送: maemo-developers at maemo.org
主题: Re: How can I set up an Internet connection in Maemo Sctachbox SDK

Huang Gao wrote:
>        I am now trying to test some Internet applications in Maemo 
> Scratchbox SDK. And it is found that the application can not connect to 
> Internet when it is launched in X86 simulation environment. Is there any 
> way that may help me solve this issue?

Probably it can't resolve DNS. Copy your host's /etc/resolv.conf in 
/scratchbox/etc/resolv.conf . Change /scratchbox/etc/nsswitch.conf 
hosts-line to say: "hosts: files dns".


Janne
-- 
Janne Kataja, Movial Corporation
Porkkalankatu 13 J, FI-00180 Helsinki
Mobile +358 40 550 9801, Tel +358 9 8567 6400
Fax +358 9 8567 6401
www.movial.fi




More information about the maemo-developers mailing list