Menjalankan Mavericks pada 15 "MBP. Saya memiliki BeagleBone Black menjalankan Debian Wheezy. Saya telah menghubungkan keduanya dengan kabel ethernet. Saya memiliki koneksi wifi yang berfungsi dari MBP. Jadi saya mengaktifkan Berbagi Internet untuk" berbagi koneksi saya dari WiFi ke komputer menggunakan ethernet ".
Ketika saya menjalankan ifup eth0
BeagleBone Black, saya melihat output berikut:
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
[ 3916.877981] net eth0: initializing cpsw version 1.12 (0)
[ 3916.886430] net eth0: phy found : id is : 0x7c0f1
[ 3916.891796] libphy: PHY 4a101000.mdio:01 not found
[ 3916.896888] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 3916.906939] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Listening on LPF/eth0/c8:a0:30:ac:1f:f4
Sending on LPF/eth0/c8:a0:30:ac:1f:f4
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[ 3918.891594] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 3918.899032] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Menonton output dari Console
pada MBP saya, saya bisa melihatnya melakukan sesuatu
1/7/14 12:05:00.590 PM bootpd[18547]: DHCP DISCOVER [bridge100]: 1,c8:a0:30:ac:1f:f4 <arm>
1/7/14 12:05:00.590 PM bootpd[18547]: OFFER sent arm 192.168.2.9 pktsize 300
1/7/14 12:05:00.590 PM bootpd[18547]: service time 0.000651 seconds
1/7/14 12:05:00.590 PM bootpd[18547]: service time 0.000005 seconds
1/7/14 12:05:03.873 PM configd[16]: inet_set_autoaddr(en0, 1) failed, Resource busy (16)
1/7/14 12:05:04.137 PM bootpd[18547]: DHCP DISCOVER [bridge100]: 1,c8:a0:30:ac:1f:f4 <arm>
1/7/14 12:05:04.137 PM bootpd[18547]: OFFER sent arm 192.168.2.9 pktsize 300
1/7/14 12:05:04.137 PM bootpd[18547]: service time 0.000519 seconds
1/7/14 12:05:04.137 PM bootpd[18547]: service time 0.000002 seconds
1/7/14 12:05:10.296 PM bootpd[18547]: DHCP DISCOVER [bridge100]: 1,c8:a0:30:ac:1f:f4 <arm>
1/7/14 12:05:10.297 PM bootpd[18547]: OFFER sent arm 192.168.2.9 pktsize 300
1/7/14 12:05:10.297 PM bootpd[18547]: service time 0.001206 seconds
1/7/14 12:05:10.298 PM bootpd[18547]: service time 0.000007 seconds
1/7/14 12:05:24.813 PM bootpd[18547]: DHCP DISCOVER [bridge100]: 1,c8:a0:30:ac:1f:f4 <arm>
1/7/14 12:05:24.814 PM bootpd[18547]: OFFER sent arm 192.168.2.9 pktsize 300
1/7/14 12:05:24.814 PM bootpd[18547]: service time 0.000829 seconds
1/7/14 12:05:24.814 PM bootpd[18547]: service time 0.000004 seconds
1/7/14 12:05:32.405 PM bootpd[18547]: DHCP DISCOVER [bridge100]: 1,c8:a0:30:ac:1f:f4 <arm>
...
Saya tidak tahu harus ke mana dari sini. Saya tahu bahwa jika saya mencolokkan BBB langsung ke router Netgear saya, maka ia berhasil mengambil alamat IP melalui DHCP. Jadi saya tidak tahu apakah masalahnya sepenuhnya di sisi Apple Internet Sharing, tapi itu setidaknya bagian dari masalah, karena BBB, Just Works (tm) sebaliknya.
Console
log Anda , MBP Anda membuat jawaban DHCP yang benar ke arah c8:a0:30:ac:1f:f4
mana BeagleBone @MAC Anda. Hanya untuk melakukan pemeriksaan dasar, dapatkah Anda memasukkan output ps ax | egrep '[ /](PID|Int|boo|nat)
?