As a followup, (make sure if anyone runs across the same problems down the road...)
I managed to get this going... Ends up dhcpcd wasnt asking my dhcp servers for domain_name_servers, so it was never returning it back, never executing dhcp-run-hooks, etc. The culprit? init.rc wasn't trying to start dhcpcd with those command line arguments enabled. simply adding -o6 (for the option for domain_name_servers solved my problem. My Service line looks like the following... service dhcpd /system/bin/dhcpd -BKL eth0 -d -o6 Hope it helps anyone! Weston On Nov 29, 2:27 pm, Ronnyek <wwe...@gmail.com> wrote: > Nicu, > > I am actually using your patches... I am not 100% sure if its patched > in completely (I've noticed it appears the settings/ethernet stuff > should show the dhcp settings regardless if its in dhcp or static (if > its been set) and mine does not. > > Regarding the dhcpcd.conf, should I have any entries? I dont need > wilan or anything else, just eth0. > > It doesnt appear that getprop net.eth0.dns1 gets set at all. I am > going to try and see if I can find the prerequisite dhcpcd config > files in picopc as thats probably what I need to get the closest to. > > When I toggle network mode and hit save I see this in logcat: > > I/EthernetStateTracker( 2153): reset device eth0 > I/EthernetStateTracker( 2153): trigger dhcp for device eth0 > D/EthernetStateTracker( 2153): DhcpHandler: DHCP request started > D/dhcpcd ( 2500): dhcpcd 4.0.15 starting > D/dhcpcd ( 2500): hardware address = 00:19:b8:00:de:52 > D/dhcpcd ( 2500): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', > reason PREINIT > D/dhcpcd ( 2500): host does not support a monotonic clock - timing > can skew > D/dhcpcd ( 2500): broadcasting for a lease > D/dhcpcd ( 2500): sending DHCP_DISCOVER with xid 0xe865dc7, next in > 3.78 seconds > D/dhcpcd ( 2500): offered 10.202.158.12 from 10.202.157.120 > D/dhcpcd ( 2500): sending DHCP_REQUEST with xid 0xe865dc7, next in > 4.96 seconds > E/dhcpcd ( 2500): ignoring message; no Server ID > D/dhcpcd ( 2500): acknowledged 10.202.158.12 from 10.202.157.120 > D/dhcpcd ( 2500): checking 10.202.158.12 is available on attached > networks > D/dhcpcd ( 2500): sending ARP probe (1 of 3), next in 1.35 seconds > D/dhcpcd ( 2500): sending ARP probe (2 of 3), next in 1.67 seconds > D/dhcpcd ( 2500): sending ARP probe (3 of 3), next in 2.00 seconds > D/dhcpcd ( 2500): leased 10.202.158.12 for 691200 seconds > D/dhcpcd ( 2500): adding IP address 10.202.158.12/16 > D/dhcpcd ( 2500): adding route to 0.0.0.0/0 via 10.202.157.130 > D/dhcpcd ( 2500): executing `/system/etc/dhcpcd/dhcpcd-run-hooks', > reason BOUND > I/EthernetStateTracker( 2153): report new state CONNECTED on dev eth0 > V/EthernetStateTracker( 2153): update network state tracker > I/EthernetStateTracker( 2153): received HW connected, stack=false > HW=false > D/EthernetStateTracker( 2153): DhcpHandler: DHCP request succeeded: > ipaddr 10.202.158.12 gateway 10.202.157.130 netmask 255.255.0.0 dns1 > 0.0.0.0 dns2 0.0.0.0 DHCP server 10.202.157.120 lease 691200 seconds > D/EthernetStateTracker( 2153): DhcpHandler: DHCP DNS1: 0 DNS2: 0 > I/EthernetStateTracker( 2153): received configured succeeded, > stack=false HW=true > D/dhcpcd ( 2500): sending ARP announce (1 of 2), next in 2.00 seconds > D/dhcpcd ( 2500): sending ARP announce (2 of 2) > D/dhcpcd ( 2500): renew in 345596 seconds > > Regards, > > Weston Weems -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting