User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Wireless network sharing with OS X works only once

Sun Jan 27, 2013 4:13 pm

I'm connecting my test lab Raspberry Pi to the network by sharing the connection from my MacBook (running Mac OS X 10.7.5). I'm using these steps to do it: Raspberry Pi-ing, MacGyver Style.

It works perfectly the first time I do it after rebooting the MacBook: the file /private/var/db/dhcpd_leases on the Mac contains a valid local IP address, and I can connect successfully via ssh. If I reboot the Raspberry Pi, however, the Mac's dhcpd_leases file contains an invalid IP address, and I can't connect. Rebooting the Mac seems to be the only way I know to fix this.

I realise that this query is more to do with dhcpd on the Mac than on the Raspberry Pi. If anyone knows how to poke dhcpd and tell it rescan/reissue DHCP leases, I'd be extremely grateful, thanks.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 4:55 pm

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 5:24 pm

I'm not sharing over wireless, thanks, I'm using Ethernet.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 6:12 pm

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 6:34 pm

I don't think you noticed the bit where I said that it works — but only once. I can google things, too.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 7:26 pm

scruss wrote:I don't think you noticed the bit where I said that it works — but only once. I can google things, too.

Have you checked use only IPv4 IP addressing ?
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
scruss
Posts: 3212
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Wireless network sharing with OS X works only once

Sun Jan 27, 2013 10:09 pm

That's not actually an option on this Mac. I can Configure IPv4: Using DHCP / Using DHCP with manual address / Using BootP / Manually / Off, but Configure IPv6 can only take Automatically / Manually / Local Link Only.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

Return to “Troubleshooting”