Languages

Menu
Sites
Language
Can not set proxy for emulator

Hi all,

I am using Ubuntu 13.04. I've already set Network Proxy for PC. Verify /etc/environment is correct.

But the emulator can not access to network. It use DIRECT PROXY MODE. How to force it uses MANUAL PROXY MODE? Please help me solve it. Thanks a lot.

=============================================

[info:qemu:main]Emulator start !!!
[info:qemu:main]lcd width option = 720
[info:qemu:main]lcd height option = 1280
[info:qemu:emul_state]emulator graphic resolution = 720x1280
[info:qemu:main]* Board name : Maru
[info:qemu:main]* Package Version: 1.5.70
[info:qemu:main]* Package Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
[info:qemu:main]* Git Head : 9eacedd4d94f6513837b4c0f63776af47426db35
[info:qemu:main]* User name : Khang Tran
[info:qemu:main]* Host name : ttmkhang
[info:qemu:main]* Build date : 2013-07-17 20:04:59 KST
[info:qemu:main]* Current time : 2013/10/01 10:12:38
[info:qemu:main]* Host sdl version : (1, 2, 15)
[info:emulator:osutil]* Linux
[info:emulator:osutil]* QEMU build machine linux kernel version : (3, 2, 44)
[info:emulator:osutil]* Host machine uname : Linux ttmkhang 3.8.0-30-generic #44-Ubuntu SMP Thu Aug 22 20:54:42 UTC 2013 i686
[info:emulator:osutil]* Total Ram : 3867080 kB, Free: 1465160 kB
[info:emulator:osutil]* Linux distribution infomation :
Description:    Ubuntu 13.04
Release:    13.04
Codename:    raring
[info:emulator:osutil]* PCI devices :
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
02:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 06)
04:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
[info:qemu:main]Prepare running...
[info:qemu:main]tizen_target_img_path: /home/ttmkhang/tizen-sdk-data/emulator-vms/vms/em/emulimg-em.x86
qemu args: =========================================
/home/ttmkhang/tizen-sdk/tools/emulator/bin/emulator-x86 -drive file=/home/ttmkhang/tizen-sdk-data/emulator-vms/vms/em/emulimg-em.x86,if=virtio,index=1 -boot c -append console=ttyS0 video=uvesafb:ywrap,720x1280-32@60 dpi=3160 ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none 5 vm_name=em -serial file:/home/ttmkhang/tizen-sdk-data/emulator-vms/vms/em/logs/emulator.klog -m 512 -M maru-x86-machine -net nic,model=virtio,macaddr=1C:6F:65:D2:C7:6A -soundhw all -usb -device virtio-touchscreen-pci -vga maru -bios bios.bin -L /home/ttmkhang/tizen-sdk/tools/emulator/data/bios -kernel /home/ttmkhang/tizen-sdk/tools/emulator/data/kernel/bzImage.x86 -net user -rtc base=utc -drive file=/home/ttmkhang/tizen-sdk-data/emulator-vms/vms/em/swap-em.img,if=virtio,index=2 -enable-kvm -enable-gl -device virtio-esm-pci -device virtio-hwkey-pci -max-touch-point 10
qemu args: =========================================
skin args: =========================================
width=720 height=1280 skin.path=/home/ttmkhang/tizen-sdk/tools/emulator/skins/emul-general-3btn
skin args: =========================================
[info:qemu:main]qemu main start!
maxTouchPoint:10
[info:qemu:main]Prepare maru specified kernel command line
[info:qemu:sdb]port(26101) listen  ok
[info:qemu:sdb]sdb port is 26100
[info:emulator:osutil]DIRECT PROXY MODE
[info:emulator:osutil]shared memory key: 26100 value: /home/ttmkhang/tizen-sdk-data/emulator-vms/vms/em/emulimg-em.x86
[info:qemu:sdb]SDBD established on port 26101
[info:qemu:sdb]redirect [tcp:26101:10.0.2.16:26101] success
[info:qemu:sdb]Port(26101/tcp) listen for SDB
[info:qemu:sdb]redirect [tcp:26103:10.0.2.16:3577] success
GL VENDOR Intel Open Source Technology Center
GL RENDERER Mesa DRI Intel(R) Ironlake Desktop x86/MMX/SSE2
GL VERSION 2.1 Mesa 9.1.4
glFormat: 0x000080E1 glType: 0x00001401
[Webcam] <WARNING> Cannot identify '/dev/video0': No such file or directory
[Webcam] Camera device open failed: /dev/video0
[Webcam] Elapsed time: 0:000057
[info:qemu:main][Webcam] <WARNING> Webcam support was disabled due to the fail of webcam capability check!
[info:qemu:main]kernel command : console=ttyS0 video=uvesafb:ywrap,720x1280-32@60 dpi=3160 ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none 5 vm_name=em sdb_port=26100, http_proxy= https_proxy= ftp_proxy= socks_proxy= dns1=10.0.2.3 gles=1 yagl=0 enable_cam=0

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

5 Replies
Lakshmi Grandhi
Hi, Please check the proxy details in Preferenes->Network Connections, where it has mentioned direct or manual.
Khang Tran
I set Manual in System Settings -> Network -> Network proxy. And the /etc/environment displays correctly what I configured. You mentioned Preferences->Network Connections for what? I am using Ubuntu 13.04. My friend is using Ubuntu 12.04 and his emulator works fine with the same configure. What happen to me?
Lakshmi Grandhi
Hi, Check in Ecllipse IDE --Preference->Network Connection, for more details go through the link https://developer.tizen.org/help/topic/org.tizen.platform.development/html/platform_dev_process/proxy_settings.htm
Khang Tran
This configure is for IDE. I have tried... but nothing changed on Emulator. Emulator still uses DIRECT PROXY MODE.
talari praveen kumar
Hi I have raised a bug regarding this please follow the below link for more updates https://bugs.tizen.org/jira/browse/DEVT-103