linux…

I love free software.

I’ve been tasked with adapting lwip to a Xilinx-based MicroBlaze processor at work, and finally got it to a point where I can ping the devboard, telnet into it and load simple webpages from it.

All this was done with a static IP, but of course any embedded device worth its salt needs to be able to acquire a dynamic IP. This is fairly easy to activate in lwip, provided that the rest of the framework is interacting well with the custom-written Ethernet driver.

The proof is, however, in the puddingtesting: I didn’t have a spare router or anything lying at work though, and didn’t want to risk plugging the devboard into the office LAN (and thereby potentially bringing down the office network at 5pm). I tried in vain for a while to configure my desktop (a Mac) to enable DHCP on it, but then gave up. It seems that tools you pay for is really hard to use, especially if you want it to do something that doesn’t have a cute little icon in the “System Preferences” dialog.

So instead I fired up my personal linux laptop, installed dhcp3-server via apt, and voila! the devboard leased an address and it was up and running!

If you are not a geek, the reason that this is so cool is that… ugh, never mind :)

peace out

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s