DNS needs to be manually set on Origen Android image when using WiFi

Bug #1012542 reported by Botao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
vishal

Bug Description

On 12.06 RC1 build and several previous builds, the DNS server address needs to be manually set on Samsung Origen Linaro Android image when using WiFi to connect to Internet.

12.06 RC1 build:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob-12.06-release/#build=1

Test result for this in previous builds (Row 45):

https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0AkxwyUNxNaAadDRDVl9TSHUweUk3eG9ndk9sNGxUVnc#gid=2

Command to set DNS (Replace xxx.xxx.xxx.xxx to your DNS server IP address):

setprop net.dns1 xxx.xxx.xxx.xxx

The USB Ethernet adapter works well on this, the DNS can be set automatically. Also, in special Samsung Origen Google Hangout build:

https://android-build.linaro.org/builds/~linaro-android/origen-hangout-demo-12.05-release/#build=1

The DNS works well on both WiFi & USB Ethernet adapter mode.

Fathi Boudra (fboudra)
Changed in linaro-android:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Annamalai Lakshmanan (annamalai-lakshmanan)
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :

observed on origen android build
https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob/#build=99

not able to browse even when wlan is up and has ip

root@android:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
eth0 DOWN 0.0.0.0/0 0x00001002 00:e0:4c:53:44:58
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
wlan0 UP 192.168.0.104/24 0x00001043 a0:0b:ba:6e:fd:64

vishal (vishalbhoj)
Changed in linaro-android:
assignee: Annamalai Lakshmanan (annamalai-lakshmanan) → vishal (vishalbhoj)
milestone: none → 12.08
status: Triaged → In Progress
Revision history for this message
vishal (vishalbhoj) wrote :

The problematic commit is :

http://review.android.git.linaro.org/gitweb?p=device/linaro/origen.git;a=commit;h=295b49882973469983d0394c103f31ecb1e4a523

The networkattributes were modified in the overlay where wifi was removed which results in ConnectivityService does not instantiate a WifiStateTracker which breaks the communication between WifiService and ConnectivityService as a result the underlying wifi Status don't get reflected in the ConnectivityManager status .

Revision history for this message
vishal (vishalbhoj) wrote :

dns is set properly for origen on the build below. Once you turn on wifi-> go to menu -> Advanced -> Deselect "Avoid Poor Connections" :

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=13

Changed in linaro-android:
status: In Progress → Fix Committed
Revision history for this message
Botao (botao-sun) wrote :
Fathi Boudra (fboudra)
Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.