configuring dhcp for almost-seamless use of nwam

When I use my laptop at home at my desk, I usually have it plugged in to a port replicator.  I have wireless but I need to plug in for power anyway.

I finally got around to setting up the laptop to use the nwam phase 0 package to provide nearly seamless migration between wireless and wired network.  The trick turned out to be to set CLIENT_ID in /etc/default/dhcpagent to the client id used by the wired interface -- 0x01 followed by the six-byte ethernet address.  I suppose using the wireless interface's mac address would also work, but it's not soldered to the motherboard and might end up migrating to another laptop later..

When I undock to use the laptop in a different part of the house, nwam brings up the wireless and uses the same client ID with the wireless interface, and the DHCP server gives it the same address.  There's a brief period of about 4 seconds when bits don't move, but no manual intervention (aside from the physical act of plugging/unplugging) is necessary. 

And when I bring the laptop back to my desk and plug it in, the reverse transition is also automatic. 

Very slick!

Comments:

Post a Comment:
Comments are closed for this entry.
About

sommerfeld

Search

Top Tags
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today