On 2/14/2014 4:52 AM, Mark Barton wrote:
> On 2/13/14 10:58 PM, Walter Schilling wrote:
>> Board members:
>>
>> I've got an interesting problem that I'm trying to come up with a
>> solution
>> for.  I am going to be teaching a class next quarter on the Beaglebone
>> Black.  Students will attach their bones to a network and program them
>> remotely over ethernet.  Code will be developed on a virtual machine
>> running Linux and then connected via sftp to the board.  However, the
>> students will only have a bone and a prototyping cape available to them.
>>   WHat I am trying to figure out is the best way for them to determine
>> the
>> IP address of their board.  By default, I know that the boards use
>> dhcp to
>> get an ip address.  However, without a display, it's somewhat hard to get
>> an ip address.  Is there an easy way, maybe by using the usb connection,
>> that students can figure out the IP address of the board so they can
>> remote
>> to it in an appropriate fashion.  I've thought about simply pinging the
>> boards, but with multiple boards on the network, that would only indicate
>> that a board is connected, not that their board is connected.  I
>> suppose I
>> could go to fixed IP's, but that would require them to change the SD
>> card,
>> which at first I'd rather use "stock" until they have gotten their
>> feet wet.
>>
>> Any ideas or suggestions?
>>
>> Thanks,
>>
>> Walt
>>
>> PS: We'll be using a Debian image based of of Robert Nelson's work
>> unless a
>> new "standard" image comes out from Circuitco before then.
>>
> Hi Walter,
> 
> This would depend on your setup, but some routers can be configured to
> issue a fixed IP based on a Mac address.

I agree, creating host entries on your DHCP server to provide a fixed iP
address based on the MAC address of the board is probably the easiest
solution.  If you've got DDNS setup, you could register a MAC address
based hostname when they get their IP w/o having to create static host
entries for each board (a problem if you are frequently getting new
boards or have more boards than available IP addresses).

-- 
Charles Steinkuehler
[email protected]

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to