View Single Post
Old 05-19-2011, 12:18 AM   #5
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,464
Karma: 25996225
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by codegen View Post
Actually the mac sets up a WAP node. Windows internet sharing uses ad-hoc. The problem is that the kindle aways uses 0 in the "number of seconds since boot" field of the dhcp request packet, and the mac has a filter of 4. So it ignores the DHCP request from the kindle (and the xbox, and the Nintendo). If you change the filter to 0, then the mac happily hands out the addresses. How to do it:

1. start internet sharing
2. cp /etc/bootpd.plist . ## don't forget the "." that means the current directory!!
3. stop internet sharing
4. open bootpd.plist
5. change reply_threshold_seconds to 0
6. sudo cp bootpd.plist /etc
7. start internet sharing

Normally the bootpd.plist is created and destroyed as you start up and stop internet sharing. If the file already exists, it uses the values in it. This can cause problems if, for example you move your laptop to a network that uses the same network values as the plist. So if you do this at work with an ethernet address of a.b.c.x, the bootpd.plist will have addresses of 10.0.2.x. If you go home and have a home router that also uses 10.0.2.x, then the mac will get confused. However, if your home network uses 192.168.0.x, 10.0.1.x, (anything but 10.0.2.x) then you will be ok.
Thanks, that was helpful, and it's working with Kindle now.

Something else got messed up, and my mbp kept giving Airport a 'self assigned IP' (even though the bootpd.plist had 10.0.2.x etc.). So although other devices could connect successfully, they could not get to the internet. I changed the Airport TCP/IP properties to Manual, using 10.0.2.x etc. and it's working again, at least for this session.

At least now I think I can get it to work again if it stops working, which is progress.
tomsem is offline   Reply With Quote