2009/4/1 Shen, Cathy <cathy.s...@intel.com>: > axel lin wrote: >> 2009/4/1 Wang, Jing J <jing.j.w...@intel.com>: >>> As Moblin has include connMan, it is not allowed to manually apply >>> IP address. After you specify essid for wlan0, conman will take care >>> of everything. You will find IP address is acquired automatically. >>> >> hi Jing, >> I found sometimes connMan have associated with an AP but doesn't get >> IP from dhcp. >> That is why I execute dhclient manually to debug this problem. >> If dhclient doesn't work, what is the recommend method to debug this >> issue. >> >> Regards, >> Axel >> >>> -----Original Message----- >>> From: dev-boun...@moblin.org [mailto:dev-boun...@moblin.org] On >>> Behalf Of axel lin >>> Sent: 2009年4月1日 9:57 >>> To: d...@lists.moblin.org >>> Subject: [Moblin Dev] dhclient wlan0 shows some error messages >>> >>> hi list, >>> Test on moblin2 alpha2. >>> I got some error messages when execute dhclient wlan0 to get IP. >>> >>> [r...@localhost ~]# dhclient wlan0 >>> /sbin/dhclient-script: line 92: >>> /etc/sysconfig/network-scripts/network-functions: No such file or >>> directory >>> /sbin/dhclient-script: line 100: need_config: command not found >>> /sbin/dhclient-script: configuration for wlan0 not found. Continuing >>> with defaults. >>> /sbin/dhclient-script: line 108: source_config: command not found >>> >>> /sbin/dhclient-script: line 92: >>> /etc/sysconfig/network-scripts/network-functions: No such file or >>> directory >>> /sbin/dhclient-script: line 100: need_config: command not found >>> /sbin/dhclient-script: configuration for wlan0 not found. Continuing >>> with defaults. >>> /sbin/dhclient-script: line 108: source_config: command not found >>> /sbin/dhclient-script: line 62: change_resolv_conf: command not found >>> >>> Regards, >>> Axel >>> _______________________________________________ >>> Moblin dev Mailing List >>> dev@moblin.org >>> >>> To manage or unsubscribe from this mailing list visit: >>> https://lists.moblin.org/mailman/listinfo/dev or your user account >>> on http://moblin.org once logged in. >>> >>> For more information on the Moblin Developer Mailing lists visit: >>> http://moblin.org/community/mailing-lists >>> >> _______________________________________________ >> Moblin dev Mailing List >> dev@moblin.org >> >> To manage or unsubscribe from this mailing list visit: >> https://lists.moblin.org/mailman/listinfo/dev or your user account on >> http://moblin.org once logged in. >> >> For more information on the Moblin Developer Mailing lists visit: >> http://moblin.org/community/mailing-lists > > Axel, > Please make sure your AP has dhcp service on, or you can't get IP address > even you "dhclient wlan0".
hi Cathy, I just found in Moblin2 environment I need "-sf" option to specify the script-file # dhclient -sf /usr/lib/connman/scripts/dhclient-script wlan0 Regards, Axel > > Cathy _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists