I am running Android v 9 on an Asus Tinker Edge R.
Connectivity is LTE, via a Quectel EG25-G modem. Connectivity works, but only after a normal boot by writing “reboot” at the command line. More details on the problem:
When I start up the Asus Tinker Edge R by plugging in the power cord, i.e. do a ‘coldboot’, dhcp never starts and DNS is never set. Also, when I restart the unit by “am start -a android.intent.action.REBOOT” dhcp never starts.
When I do a normal boot of the system by “reboot”, dhcp starts and dns server adresses will be set.
I have checked that the ril-daemon is installed correctly and is running, LTE properties appear to be set correctly i.e. getprop gives:
…
[gsm.current.phone-type]: [1]
[gsm.defaultpdpcontext.active]: [true]
[gsm.network.type]: [LTE]
[gsm.operator.alpha]: [TELIA S Telia]
[gsm.operator.iso-country]: [se]
[gsm.operator.isroaming]: [false]
[gsm.operator.numeric]: [24001]
[gsm.sim.operator.alpha]: [Telia]
[gsm.sim.operator.iso-country]: [se]
[gsm.sim.operator.numeric]: [24001]
[gsm.sim.state]: [LOADED]
[gsm.version.baseband]: [EG25GGBR07A07M2G]
[gsm.version.ril-impl]: [Quectel_Android_RIL_Driver_V2.6.7]
…
What I have noticed is that when the unit boots succesfully, there is a DHCP answer in the logcat:
08-24 08:02:44.940 439 439 D DHCP : ===== DHCP message:
08-24 08:02:44.940 439 439 D DHCP : op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
08-24 08:02:44.940 439 439 D DHCP : xid = 0x0b4b0000 secs = 0, flags = 0x8000 optlen = 14
08-24 08:02:44.940 439 439 D DHCP : ciaddr = 0.0.0.0
08-24 08:02:44.940 439 439 D DHCP : yiaddr = 0.0.0.0
08-24 08:02:44.940 439 439 D DHCP : siaddr = 0.0.0.0
08-24 08:02:44.940 439 439 D DHCP : giaddr = 0.0.0.0
08-24 08:02:44.940 439 439 D DHCP : chaddr = { 2a 36 b9 54 c5 fc }
08-24 08:02:44.940 439 439 D DHCP : sname = ''
08-24 08:02:44.940 439 439 D DHCP : file = ''
08-24 08:02:44.940 439 439 D DHCP : op 53 len 1 { 01 } discover
08-24 08:02:44.940 439 439 D DHCP : op 55 len 4 { 01 03 06 1c }
Following a ‘coldboot’, i.e. booting by plugging in the power cord, there is no response from dhcp. Neither does dhcp start after I enter “am start -a android.intent.action.REBOOT”. Only after normal command-line “reboot” does dhcp start.
Any help would be appreciated how I can trace this problem further. I really need the unit to be connected over LTE first time it is plugged in.