Set hostname on WiFly

Hi All,

Does anyone know how to set the hostname on a WiFly?

I just recently got back to a project using my WiFly shield and an Arduino and upgraded to the Alpha-2 release of the library for that.

At work, the DHCP server refuses to issue an address unless a host name is specified in the request. Since one of my goals is to use the WiFly as part of a demonstration for students, I need to make this configuration work before the project can be completed.

The library (and my code) works fine on my home network, so I know this isn’t a basic functionality issue.

(The Alpha 0 release worked on both the network at work and the network at home last Summer. The DHCP server was upgraded during December…).

Thanks,

Paul

Ok, I found out how to do this.

in command mode, you run

“set o d name”

You’re actually setting the device name option.

I may have had to do this because my WiFly was originally sent to me with

firmware version 2.10, which did not have this option.

Paul