Installing Broadcom Drivers Onto Linux + Getting Binary Source
|
First of all im terribly sorry that i didnt post this in article section. The reason for this is that i have some more questions that go along with it, so please bear with me. I own a Broadcom BCM4400 series 10/100 Mbps Ethernet Network Controller. When my knowledge was fairly basic (i.e i didnt know any shell programming at all) i was easily confused by Ubuntus graphic interface and i (okay, okay IM sorry :p ) thought it would be like windows, with the opening of files, double clicking on icons and so on. But there was one big problem NO internet. I mean NONE. And then i asked for help here in the forums for how to install ndiswrapper. No answer.... Apparently i had to get the .sys file put it on a USB key and install it for Linux. Except there was none. So i went into the .bat file and noticed this... ServiceBinary = %12%\bcm4sbxp.sys. It means the location of your system service's binary code.... GUIDE FOR BROADCOM DRIVERS Table of Contents Introduction Introduction This file describes the Linux driver for the Broadcom BCM4400 Limitations The current version of the driver has been tested on the latest Red Hat The driver has not been ported to other CPU architectures, including the Packaging The driver is released in two packaging formats: source RPM and compressed tar Installing Source RPM Package The following are general guidelines for installing the driver. Refer to 1. Install the source RPM package: rpm -ivh bcm4400-.src.rpm 2. CD to the RPM path and build the binary driver for your kernel: cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..} rpm -bb SPECS/bcm4400.spec or rpmbuild -bb SPECS/bcm4400.spec (for RPM version 4.x.x) Note that the RPM path is different for different Linux distributions. 3. Install the newly built package (driver and man page): rpm -ivh RPMS/i386/bcm4400-.i386.rpm The driver will be installed in the following path: /lib/modules//kernel/drivers/net/ 4. Load the driver: modprobe bcm4400 5. To configure network protocol and address, refer to various Linux Building Driver From TAR File The following are general guidelines for installing the driver. Refer to 1. Create a directory and extract the files: tar xvzf bcm4400-.tar.gz 2. Build the driver as a loadable module for the running kernel: cd src 3. Test the driver by loading it: For 2.4 kernels: Fir 2.6 kernels: 4. Install the driver and man page: make install See RPM instructions above for the location of the installed driver. 5. To configure network protocol and address, refer to various Linux Unloading and Removing Driver To unload the driver, use ifconfig to bring down all eth# interfaces opened rmmod bcm4400 If the driver was installed using rpm, do the following to remove it: rpm -e bcm4400 If the driver was installed using make install from the tar file, the driver Module Parameters Optional parameters for the driver can be supplied as command line arguments =value[,value,...] where the multiple values for the same parameter are for multiple NICs Note that default or other meaningful values will be used when invalid values All the parameters are listed below. line_speed Selects the line speed of the link. This parameter is used together with The valid values are: 0 Autonegotiate for highest speed supported by link partner (default) If line_speed is set to 10, 100, or 1000, the NIC will autonegotiate for auto_speed Enables or disables autonegotiation. The valid values are: 0 Autonegotiation disabled Note that this parameter is ignored and assumed 1 if line_speed is set full_duplex Selects the duplexity of the link. This paramter is used together with The valid values are: 0 half duplex rx_flow_control Enables or disables receiving flow control (pause) frames. This parameter 0 pause receive disabled (default) tx_flow_control Enables or disables transmitting flow control (pause) frames. This parameter 0 pause transmit disabled (default) auto_flow_control Enables or disables autonegotiation of flow control. This parameter is used 0 flow control autonegotiation disabled (default) tx_pkt_desc_cnt Configures the number of transmit descriptors. Default is 64. The rx_pkt_desc_cnt Configures the number of receive descriptors. Default is 64. The enable_wol Enables or disables magic packet Wake-On-LAN when the system is shutdown. 0 magic packet Wake-On-LAN disabled (default) Driver Messages The following are the most common sample messages that may be logged in the file Broadcom 4401 Ethernet Driver bcm4400 ver. 3.0.14 (10/19/05) Driver signon eth#: Broadcom BCM4401 100Base-T found at mem f7ffc000, IRQ 18, node addr NIC detected bcm4400: eth# NIC Link is Up, 100 Mbps full duplex Link up and speed indication bcm4400: eth# NIC Link is Down Link down indication Statistics Detailed statistics and configuration information can be viewed in the file //End of essay Phew that was a handfull ; I hope you all enjoyed that There are many different ways to get binary source. I was just lucky in this instance. I heard (from a mentor a while back) that hed go into the assembly get the wanted info save it in a file formatt and then go from there. That doesnt work for Non-University people, because then you need to learn Assembly, 32 bit Hex and more. But this is my effort so in conclusion...enjoy **UPDATE** This post is being monitered by "Unknown Hacker"
|






Recent comments
3 hours 26 min ago
4 hours 41 min ago
5 hours 24 min ago
5 hours 52 min ago
13 hours 19 min ago
16 hours 48 min ago
19 hours 39 min ago
1 day 14 min ago
1 day 55 min ago
1 day 2 hours ago