Re: building a driver/mod for a wireless nic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ok...


here's a basic solution for the issue I faced with the dell/broadcom
wireless card/nic.

unning
lspci -nn | grep AR8162
lspci -nn | grep RTL8188EE

or
lspci -n grep '01:00.0'
01:00.0 0200: 1969:1090 (rev 10)

lspci -n grep '02:00.0'
02:00.0 0280: 10ec:8179 (rev 01)

unning
lspci -nn | grep BCM4313
lspci -nn | grep AR8152

or
lspci -n grep '03:00.0'
01:00.0 0200: 1969:1090 (rev 10)

lspci -n grep '04:00.0'
02:00.0 0280: 10ec:8179 (rev 01)

broadcom - BCM4313
14e4:4727

atheros - AR8152 :: eth
1969:2060
pci     1969:2060       kmod-atl1e
atl1e.ko


------from google/search
http://elrepo.org/tiki/wl-kmod


http://elrepo.org/linux/elrepo/el6/x86_64/RPMS/kmod-atl1e-1.0.1.14-1.el6.elrepo.x86_64.rpm

however, for the broadcom, it appears need to build from src..


yum groupinstall 'Development Tools'
yum install redhat-lsb  <<< this didn't result in any file being downloaded
yum install kernel-devel-$(uname -r)

yum reinstall gcc --downloadonly --downloaddir=/dell

yum groupinstall 'Development Tools' --downloadonly --downloaddir=/dell

for the groupinstall.. had to do a bunch of yum reinstall steps
create tmp dir, with all the rpm files..

$mkdir -p ~/rpmbuild/{BUILD,RPMS,SPECS,SOURCES,SRPMS}
$echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release -s
-r|cut -d"." -f1).local" >> ~/.rpmmacros


from:   http://www.broadcom.com/support/802.11/linux_sta.php (external link)
to:      ~/rpmbuild/SOURCES/

wget http://elrepo.org/linux/elrepo/el6/SRPMS/wl-kmod-6_30_223_141-2.el6.elrepo.nosrc.rpm
-O



$ rpmbuild --rebuild --target=`uname -m` --define 'packager
<your-name>' /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm
  ...
 Wrote: /home/<user>/rpmbuild/RPMS/x86_64/kmod-wl-<version>.x86_64.rpm
  ...
 + exit 0

(Note: The rpmbuild option --target=`uname -m` is only required for
EL5 32-bit builds.)

#
# ok - for the above build step, you need to make sure you copy the
# tar file from the broadcom site for the 32/64 bit system
#
# the build process uses the complete tar file, so it doesn't have to be
# extracted
#

once you build the process, you get an actual rpm in the RPMS dir of
the rpmbuild tree that you can use/install, to actually have the
kmod-wl driver for the broadcom nic.

 # modprobe -r b43 b43legacy ssb wl lib80211
 # modprobe -r bcma (Note: needed for EL 6.4 and later)
 # modprobe lib80211_crypt_tkip
 # modprobe wl




eth0 issue::
ok - to get the p5p1 to be seen as the eth0
did a  system-config-network-tui from the term/cmdline
selected the p5p1 and changed the name to eth0, added the rest of the
 required fields
saved the data
-this seemed to generate the /etc/udev/rules.d/70-persistent-net.rules file
-did a reboot and the system now shows via ifconfig -a eth0 instead
 of p5p1 as the eth device...



On Mon, Feb 10, 2014 at 6:16 PM, Jack Craig <jack.craig.aptos@xxxxxxxxx> wrote:
> i suggest untar it...
>
>
> On Mon, Feb 10, 2014 at 3:10 PM, bruce <badouglas@xxxxxxxxx> wrote:
>>
>> Hi.
>>
>> I know this is a "centos" issue, but I've searched, can't find an
>> answer, and thought the answer might be helpful to others. Feel free
>> to flame away if I stepped on your toes!
>>
>> I'm following the steps to build the driver/module as describe in the url
>>
>>        http://elrepo.org/tiki/wl-kmod
>>
>> The step I'm confused on is the step 4)
>>
>> 4) Download the Broadcom driver matching your architecture (i.e.,
>> 32-bit vs 64-bit):
>>
>>    from:   http://www.broadcom.com/support/802.11/linux_sta.php
>>    to:      ~/rpmbuild/SOURCES/
>>
>>
>> The tar.gz file for the driver is listed on the page, but I'm not sure
>> if I'm supposed to place the entire tar.gz file in the "SOURCES" dir
>> (doubtful) or if i'm supposed to untar it, which will then have the
>> underlying dirs from the tar file in the SOURCES dir...
>>
>> Or, if I'm supposed to follow the readme listed on the broadcom page,
>> and build the wl.ko.
>>
>> Once I get this resolved, the rest should work ok...
>>
>> Thanks for any pointers/feedback.
>>
>> 'ppreciate it
>> --
>> users mailing list
>> users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>> Have a question? Ask away: http://ask.fedoraproject.org
>
>
>
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux