Help - Search - Members - Calendar
Full Version: Broadcom BCM5787M/BCM5784M - A solution
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > LAN and Wireless
Pages: 1, 2, 3, 4
nobb1x
hi, here is the last hexedited version of the AppleBCM kext, this one is specific for BCM5787M 14e4:1693

there is an huge readme included, please read it, it explain everything.

you can have your mac address with this one and i encourage you to set yours

it has been tested on some different configurations and it seem to work, i'm using it to post right now

if it don't work for you,be sure you have a 14e4:1693 device then report here, thanks

good luck

N.B. these kexts are intended for Leopard, up to 10.5.8, Snow Leopard use a different Apple Broadcom kext.
there are currently no working kexts for Snow Leopard and Broadcom series wired network cards.

--EDIT
See this post for BCM5784M - thanks to Boombeng
http://forum.insanelymac.com/index.php?s=&...st&p=963461
quinielascom
Hey, works fine in my laptop Acer Aspire 4320

T H A N K S - Y O U ! ! !

Note: only is necesary execute sudo tcpdump -i en0
edit: with this kext i losses the sleep function.
proosje
It seems to me that this is too much fiddling to get it working.
I use the kext from Rubydream in another thread about the broadcom card.
http://forum.insanelymac.com/index.php?s=&...st&p=903347
This works right away, no installing extra scripts to get it to work for the same BCM5787M 14e4:1693 card.
Also claiming you can have the MAC address but only by hardcoding it in the driver.
I would like to see a driver reading the MAC from the card.
Xdor
It works here on ACER EXTENSA 5220. Very nice!

I don't know how many forums I have read about and now I'm connected with my notebook. Thank you.

PS: The KEXT of Rubydream UNFORTUNALEY does not work for me but I saw a post where people said it does. REGARDS.
achille91
on my acer it say device not configured when i do tcpdump
nobb1x
QUOTE (achille91 @ Sep 25 2008, 12:41 PM) *
on my acer it say device not configured when i do tcpdump



Device not configured is because you are trying to do a tcpdump on an unexistant interface, check the output of ifconfig, does it load for you?
achille91
when i type ifconfig it say :
lo9,fw0 and if i try tcpdump -i lo0 or fw0 it return ipv4 adress non assigned
nobb1x
QUOTE (achille91 @ Sep 25 2008, 08:11 PM) *
when i type ifconfig it say :
lo9,fw0 and if i try tcpdump -i lo0 or fw0 it return ipv4 adress non assigned


Then, it not load at all, you must have a en0 or en1 interface, try the following
unpack the kext into your desktop so you have a folder called "Broadcom5787M"
open a terminal window and type "sudo -s" then type your password (without quotes "")
type "cd Desktop"
type "cd Broadcom5787M"
type "chown -R root:wheel AppleBCM5787MEthernet.kext" (write only the inital letters "Appl" then press TAB it will autocomplete)
type "chmod -R 755 AppleBCM5787MEthernet.kext"
type "kextload AppleBCM5787MEthernet.kext"
if it don't crash type now
"ifconfig"
and look if an en0 interface is there, if there try now "tcpdump -i en0"
fw0 and lo0 are the firewall and local interfaces, not ethernet
If it load try to read again the readme for better instructions.
quinielascom
Your kext works fine but i have some questions:

1.- About mode promisc, exactly what function have it in the driver ?

2.- If i try use the autostart script (Start_Promisc folder) in /Library/StartupItems no start and network no works but if i write in terminal sudo tcpdump -i en0 works, or the script folder go in /System/Library/StartupItems ?

3.- What happen if network cable is not connected and is executed the autostart script ?

Note: I already changed enX to en0 (bcm5787m) in start_promisc file.

Regards & thanks for your help.
nobb1x
Hi, here is the answers
1) the original driver has been patched to remove some of the checks, it has been writed for a 5701, and c++ sources has never been released, the patch affect the transmit/receive data and it only work when forced in promiscuous mode, i'm still looking at it, with bad luck until now.
2) are you sure about file permissions? did you read the readme? are you using the rtc fix as explained in the readme? it must be in /Library/StartupItems
3) nothing happens, maybe the tcpdump running in the background stole you a few cpu cycles

QUOTE (quinielascom @ Sep 26 2008, 01:12 AM) *
Your kext works fine but i have some questions:

1.- About mode promisc, exactly what function have it in the driver ?

2.- If i try use the autostart script (Start_Promisc folder) in /Library/StartupItems no start and network no works but if i write in terminal sudo tcpdump -i en0 works, or the script folder go in /System/Library/StartupItems ?

3.- What happen if network cable is not connected and is executed the autostart script ?

Note: I already changed enX to en0 (bcm5787m) in start_promisc file.

Regards & thanks for your help.
frenewang
Do i need to remove the AppleBCM5701MEthernet.kext from IONetworkingFamily.kext's plulgins folder.

I just installed the driver you attached,and thanks for that.

i do what you said in the readme file,
the network card had recognized correctly with the right mac addresses,
when i copy the Start_Promisc folder to /Library/StartupItems/ and reboot,but macosx crashed.
is that any possible to not copy the Start_Promisc file to that folder?or should i just remove the Start_Promisc from that folder.
i gotta have one more try.

thanks in advance.you did a great job.
frenewang
it works dude,
i finally got my card working ,
thanks man.thanks for you amazing job.
mccar
It's working. Thanks!!!!
quinielascom
Only a feedback:

Sleep in Acer aspire 4320 that before worked after of this driver only go to black screen (system hang) and have that poweroff/restart.

Regards.
CharredPC
Simply works when nothing else would. Didn't think I'd ever get Ethernet working on my Acer Extensa 5620. HUGE thanks! The auto-start script makes this truly seamless smile.gif
givisok
it's WORKING. I'm happy!!!! Thanks!!!!
Api
Works perfectly with the Promisc-Script on an Acer 5220!
I've been waiting for this solution for almost a year...

Thanks you guys!!!! Great work!
brnppprs
QUOTE (CharredPC @ Sep 27 2008, 07:02 PM) *
Simply works when nothing else would. Didn't think I'd ever get Ethernet working on my Acer Extensa 5620. HUGE thanks! The auto-start script makes this truly seamless smile.gif


did it ask you to reset all your devices (router, modem, etc) a lot? It recognizes ethernet on my 5620 now, but i get stuck on that loop, and it still fails to connect in the end
nobb1x
QUOTE (brnppprs @ Sep 28 2008, 08:05 PM) *
did it ask you to reset all your devices (router, modem, etc) a lot? It recognizes ethernet on my 5620 now, but i get stuck on that loop, and it still fails to connect in the end



this driver works only on promiscuous mode, are you sure have you tried to run a tcpdump to force the adapter in promiscuous mode?
dell700m
Great job, man. Thanks a million.
Works perfectly on my ThinkPad R61.

Now i have left is the AD1984 sound card.
CharredPC
QUOTE (brnppprs @ Sep 28 2008, 08:05 PM) *
did it ask you to reset all your devices (router, modem, etc) a lot? It recognizes ethernet on my 5620 now, but i get stuck on that loop, and it still fails to connect in the end


In my circumstance, it appeared to connect, but wouldn't actually transfer any data until I enabled promiscuous mode. I tested it using the first method (leaving the console open), then rebooted and installed the startup script as instructed. I didn't have to edit anything manually at all, as my Ethernet is already en1. Just follow all directions exactly and you should be good! I now don't even have to think about it, it simply works as it should. The 5620 turned out to be excellent for OSX smile.gif
collit99
QUOTE (nobb1x @ Sep 24 2008, 08:46 PM) *
hi, here is the last hexedited version of the AppleBCM kext, this one is specific for BCM5787M 14e4:1693

there is an huge readme included, please read it, it explain everything.

you can have your mac address with this one and i encourage you to set yours

it has been tested on some different configurations and it seem to work, i'm using it to post right now

if it don't work for you,be sure you have a 14e4:1693 device then report here, thanks

good luck



The script on this package works great!

Keep up the good work pal!

Hope we can run this on non-promiscuous mode smile.gif

Thanks again!
achille91
works for me!!!very good job!
anurag
The KEXT and the script just works.. i had almost given up the hope to get my Hackbook online.. Many thanks dear...
bozon42
Hello, hello,

The Solution for BroadcomBCM5787M is cool - and working on Acer Extensa 5220 with 1.73GHz,533MHz FSB.
Thanks so much.
Kind regards,

bozon42
benni134
This driver will not working on my Aspire 5920G.
I have installed the kext but when i type ifconfig i have only lo0, gif0, fw0 and not en0.
I have ideneb v3 installed on my notebook.
Can everybody help me.

Sorry for my bad englisch
bozon42
Hello,

I connected the ethernet cable.
Remove all bcm5701/5751 kexts from /System/Library/Extensions/IONetworkingFamily.kext (rm -rf ....)
first I have chosen in System Preferences --> Network the Ethernet option, set it's IP, netmask, DNS and router, saved it
(locked with the lock button).
Then unzipped and opened the BroadcomBCM5787M on the Desktop, changed the default MAC (BA:AD:FO:OD:BA:AD) in
/Users/<user>/Desktop/Broadcom5787M/AppleBCM5787MEthernet.kext/Contents/MacOS/AppleBCM5787MEthernet
to my values of MAC with hexeditor 0xED.app (changed to owerwrite the values).
Then applied the KextHelper_b7 for this kext and rebooted.
After that opened a Terminal and set again the ip: sudo ifconfig 172.xx.xx.xx netmask 255.255.255.0 up
and then applied the:

sudo tcpdump -i en1 (since en0 was for wifi) and it is working.
Regards,

bozon42
nobb1x
QUOTE (benni134 @ Oct 1 2008, 03:51 PM) *
This driver will not working on my Aspire 5920G.
I have installed the kext but when i type ifconfig i have only lo0, gif0, fw0 and not en0.
I have ideneb v3 installed on my notebook.
Can everybody help me.

Sorry for my bad englisch


try the steps i've suggested to another guy
here..
http://forum.insanelymac.com/index.php?s=&...st&p=906162

and report back if you see errors.

bozon42's suggestion is right,follow it, just be sure to not erase the whole IONetworkingFamily kext!!
benni134
It Work!!!!!
I have installed this
PCCard.10.5.2.Beta2.pkg.zip and then i have installed the driver.
collit99
Hmmm... My laptop can't sleep with this kext, it freezes.

I gonna do more testing and check my configurations.

Be right back.
yahor
The problem does not work acer 5920g tcpdump: BIOCSETIF: en0: Device not configured ifconfig lo9, fw0

type"cd Desktop" type "cd Broadcom5787M" type "chown-R root:wheel AppleBCM5787MEthernet.kext"

type "chmod-R 755 AppleBCM5787MEthernet.kext" type "kextload AppleBCM5787MEthernet.kext" does not work

PCCard.10.5.2.Beta2.pkg.zip  WORKS 5920G THIS DECISION

THANKS CLEVER PEOPLE))!!!
quinielascom
please post terminal ouput and cut & paste only your network devices, with this command:

lspci -nnv

example:

AcerMac:~ user$ lspci -nnv

01:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express [14e4:1693] (rev 02)

if the command is not available install OS X tools or pci tools.
mimmolinox
QUOTE (frenewang @ Sep 26 2008, 08:18 AM) *
Do i need to remove the AppleBCM5701MEthernet.kext from IONetworkingFamily.kext's plulgins folder.

I just installed the driver you attached,and thanks for that.

i do what you said in the readme file,
the network card had recognized correctly with the right mac addresses,
when i copy the Start_Promisc folder to /Library/StartupItems/ and reboot,but macosx crashed.
is that any possible to not copy the Start_Promisc file to that folder?or should i just remove the Start_Promisc from that folder.
i gotta have one more try.

thanks in advance.you did a great job.


THANK YOUUUUUUUUUUU rolleyes.gif
magnat2
QUOTE (nobb1x @ Sep 24 2008, 09:46 PM) *
hi, here is the last hexedited version of the AppleBCM kext, this one is specific for BCM5787M 14e4:1693

there is an huge readme included, please read it, it explain everything.

you can have your mac address with this one and i encourage you to set yours

it has been tested on some different configurations and it seem to work, i'm using it to post right now

if it don't work for you,be sure you have a 14e4:1693 device then report here, thanks

good luck


You are THE MAN!!! Works perfectly! I have made a script to put in the user scripts folder, placed the scripts icon in the top bar and now when i want to connect I simply go to the icon in the top bar and connect, Ill post it so if someone wants to use it, this way you donīt have to go to terminal, or to have the terminal window open... Again, THANK YOU!
heneng
it seem's not working on my acer 4710
i used 3rd way

There is a folder called Start_Promisc within the archive, copy it in /Library/StartupItems then open the file
start_promisc you can find into the folder with TextEdit, changing the two variables at the top INTF and KEXTPATH
(i do
set INTF="en0"
KEXTPATH="/Library/StartupItems/Start_Promisc/AppleBCM5787MEthernet.kext")


and it's appear to my laptop
but can't require IP address. it gets 169.254.63.93


help me~
Cris900
WORKS WITH MY ACER 5920G....
I love you.... wink.gif

Cris900
Detosx
WOW@@

My eyes almost popped out when this finally worked for me. With my Acer 4720z I needed to install PCCard.10.5.2.Beta2.pkg.zip, firstly. benni134, thanks for the pointer. smile.gif

Big thanks to nobb1x for spreading the happiness. Hope you're glowing with the whole good feeling thing biggrin.gif
quinielascom
QUOTE (magnat2 @ Oct 3 2008, 10:46 PM) *
You are THE MAN!!! Works perfectly! I have made a script to put in the user scripts folder, placed the scripts icon in the top bar and now when i want to connect I simply go to the icon in the top bar and connect, Ill post it so if someone wants to use it, this way you donīt have to go to terminal, or to have the terminal window open... Again, THANK YOU!


I have a stupid question, where is the user scripts folder ? how install/execute the script ?

In my case the network card is en0 is necessary edit the script for that works ?

Thanks.
ulin
Ahh finally! It was hard to believe! It works!
Big thank you to the authors

thumbsup_anim.gif
ulin
btw, as a working solution, this deserves a sticky.
magnat2
QUOTE (quinielascom @ Oct 4 2008, 05:38 PM) *
I have a stupid question, where is the user scripts folder ? how install/execute the script ?

In my case the network card is en0 is necessary edit the script for that works ?

Thanks.


In applications you have an application named "Apple Scripts" , there is the user scripts folder and the preferences pane so that you can mark the "Place scripts icon in the top bar" mark, once you have done that you go to the top bar>scripts icon>open user scripts folder and place the script there, once you have done this just plug in the Lan cable and go to scripts icon>Broadcom5787On and you should be able to connect once you write your password, you dont need to edit anything for the script to work..

Good luck:)
collit99
QUOTE (magnat2 @ Oct 7 2008, 09:07 AM) *
In applications you have an application named "Apple Scripts" , there is the user scripts folder and the preferences pane so that you can mark the "Place scripts icon in the top bar" mark, once you have done that you go to the top bar>scripts icon>open user scripts folder and place the script there, once you have done this just plug in the Lan cable and go to scripts icon>Broadcom5787On and you should be able to connect once you write your password, you dont need to edit anything for the script to work..

Good luck:)


How about an App or script that can load/unload a kext? Sleep don't work with this kext.
alain30100
Hi,

Installing on Acer Aspire Notebook 7720z. Device configured, internet working. Thanks a lot..but !

Reboot then crash ! No more boot even with -x, -v, -s (Tiger 10.4.8 version)

What can I do ?

Thanks in advance for help !

Alain.
ulin
QUOTE (alain30100 @ Oct 8 2008, 12:16 PM) *
Hi,

Installing on Acer Aspire Notebook 7720z. Device configured, internet working. Thanks a lot..but !

Reboot then crash ! No more boot even with -x, -v, -s (Tiger 10.4.8 version)

What can I do ?

Thanks in advance for help !

Alain.


Hey i have the sme laptop and everything works fine for me (albeit I have Leopard 10.5.4 installed), maybe upgrading to leo would help?
alain30100
Thanks Ulin, I'm downloading it..slowwwwly

Btw did you manage to make the wifi board working ?!

AR5416 Atheros AR5008 Wireless Network adapter

Thanks !
ulin
Yeah the wifi worked out of the box for me with the Kallyway 10.5.2 install dvd, I'm not even sure which kext it uses smile.gif
In fact, _everything_ works on my lappy now except for the tvout but I think I need to research a bit more on that (nvidia 8400GS 256mb).
quinielascom
Thanks magnat2, your script works without problems, but, to me like that the same script can load/unload the kext, the issue here is that after load the driver kext for 5787M the Sleep function no works (same problem that have collit99).
nobb1x
QUOTE (quinielascom @ Oct 9 2008, 06:12 AM) *
Thanks magnat2, your script works without problems, but, to me like that the same script can load/unload the kext, the issue here is that after load the driver kext for 5787M the Sleep function no works (same problem that have collit99).


Sorry but the kext can't be unloaded, it crash.

Until someone make a proper port of the linux/freebsd driver we have to live with this.
alain30100
Hi

I finally installed Jas 10.5.2 and it's working fine on my Acer 7720z.

Video : ok ( GM965 ) for the intel onboard video (not same board as you Ulin). It uses X3100 driver in fact.

Touchpad and keyboard : ok

Sound : ( Alc 268 ) patched with TarugaACL268Installer5.app then AppleHDA.kext (then repair permissions)

Network : ( Broadcom5787M ) patched with AppleBCM5787MEthernet.kext + script

Upgraded system through online Update everything except Os 10.5.5 update

I'm only missing the wifi board now : AR5416 Atheros AR5008 Wireless Network adapter

Someone got a solution for that ?!

Thank you all ! smile.gif

Alain.
quinielascom
QUOTE (collit99 @ Oct 7 2008, 11:47 PM) *
How about an App or script that can load/unload a kext? Sleep don't work with this kext.


In my laptop always need wireless network but not ethernet, then i modified the script BCM5787 of magnat2 for what load the driver & promisc mode only when i need use the network adapter, i only add 2 lines before that promisc commands are executed:

delay 5

do shell script "sudo kextload /AppleBCM5787MEthernet.kext" password "YourAdminPwd" with administrator privileges

The delay is for wait that driver is full loaded without delay sometimes no work ...

AppleBCM5787MEthernet.kext is in the root folder but i make this invisible with setFile (only a cosmetic fix).

At least only losses the sleep function only when i need wired network.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.