hi
how can i configure am335xevm as DHCP client on eth0. i have arago-base-tisdk-image-am335x-evm-20160405224338.rootfs filesytem flashed and booting from NAND.
thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi
how can i configure am335xevm as DHCP client on eth0. i have arago-base-tisdk-image-am335x-evm-20160405224338.rootfs filesytem flashed and booting from NAND.
thanks
thanks its very useful... if I want to configure the am335xevm as DHCP server how can I achieve that
hi BISER
i followed the link u have suggested but i dint found how to setup dhcp server. i could also find the udhcp package from busybox site but how to install it i m not getting. kindly tell me wat next i can do
Hello Sanjeev,
Change the interface that the udhcpd will use to interface eth0 in /etc/udhcpd.conf
Open the /etc/init.d/busybox-udhcpd script, find and replace all the DHCPD_CONF variables with DHCPDCONF then reboot the board.
During the booting the udhcp daemon will be started in runlevel 5 by /etc/rc5.d/S20busybox-udhcpd.
If everything went well the output of this command will look like this:
root@am335x-evm:~# ps aux | grep udhcpd
root 721 0.0 0.4 1956 1204 ? Ss 01:38 0:00 /usr/sbin/udhcpd -S /etc/udhcpd.conf
root 910 0.0 0.3 1960 980 ttyS0 S+ 01:39 0:00 grep udhcpd
Best regards,
Kemal
hi Kemal
i dint find the /etc/udhcpd.conf & /etc/init.d/busybox-udhcpd in my filesystem. im using arago-base-tisdk-image-am335x-evm-20160405224338.rootfs
Just place these files on appropriate paths
/etc/https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/udhcpd.conf
/etc/init.d/https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/busybox_2D00_udhcpd
and run this command.
update-rc.d busybox-udhcpd defaults 20
Hi Kemal
thanks i could run the DHCP server on eth0 and verify whether its providing ip to clients.
now similarly i want to run DHCP server on wlan module present in am335xevm and how to check the wlan functionality
kindly support and thank u for your valuable support
Switch back to interface wlan0 in /etc/udhcpd.conf and add the auto wlan0 line in /etc/network/interfaces to bring up the interface during boot up. The interface must have an IP address to be able to start the DHCP server on it.
You can check the wlan functionality with the tools provided by iw and wireless-tools packages.
Hi kemal
is any wlan module is present in am335xevm??? coz i found in hw guide as "There is a Wireless LAN and Bluetooth card connector on the GP EVM. This connector contains a card with a WL1271 WLAN/BT module and integrated antenna.". so as per the suggestion given by you i will be able to see the wfi network availability? coz wen i change the /etc/network/interfaces and provide
auto wlan0
iface wlan0 inet static
address 192.168.0.2
netmask 255.255.255.0
wireless-essid sanjeevwifi
wireless-mode Managed
wireless-key sanjeevpwd
iam getting the error as
Configuring network interfaces... Error for wireless request "Set Encode" (8B2A) :
invalid argument "sanjeev".
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
what could be the problem
Which SDK version you use? You can turn to WiLink™ WiFi + Bluetooth Forum regarding this issue.