1388b SMCWPCI-G2 Wireless Card - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2010, 18:34
arupsarkar arupsarkar is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default SMCWPCI-G2 Wireless Card

Hi,

Yesterday I installed freeBSD 8.0 in my desktop replacing windows XP, everything is working as expected, except my wireless (PCI card SMCWPCI-G2). The reason being I do not have the drivers installed. I got the linux driver downloaded from smc website. My question is which one do I install? I see the following directories.

I cannot attach the file, since it is pretty big, but the URL is the following for the driver.

http://www.smc.com/index.cfm?event=d...er=&docId=6170


NOTE: It has been few hours that I installed this OS for the first time and I am already a fan, because of it's speed and security, it is gift to my 7 year old daughter.

Regards
Arup
Reply With Quote
  #2  
Old May 21st, 2010, 18:55
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by arupsarkar View Post
Hi,

Yesterday I installed freeBSD 8.0 in my desktop replacing windows XP, everything is working as expected, except my wireless (PCI card SMCWPCI-G2). The reason being I do not have the drivers installed. I got the linux driver downloaded from smc website.
FreeBSD is not Linux, so Linux drivers will not work.

Some web searching indicates that the SMCWPCI-G2 has an Atheros chipset, so the ath driver is the one to use. The ath driver is part of the GENERIC kernel, so it should already be present. Typically, all you have to do to get it working is add entries to /etc/rc.conf:
Code:
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"
Then create /etc/wpa_supplicant.conf with your ssid and psk:
Code:
network={
  ssid="myssid"
  psk="mypsk"
}
See http://www.freebsd.org/doc/en_US.ISO...-wireless.html for more detail.
Reply With Quote
  #3  
Old May 21st, 2010, 19:12
arupsarkar arupsarkar is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks wblock, I exactly did what you suggested last night. But it is not working. I also added in /boot/loader.conf the following entries.

Code:
if_ath_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
When I am running the command
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
I get DRIVER not installed, I will attach the output of both netif,wpa_supplicant and dhclient in this thread.

Regards,
Arup

Last edited by DutchDaemon; May 25th, 2010 at 13:01. Reason: proper formatting
Reply With Quote
  #4  
Old May 25th, 2010, 05:37
arupsarkar arupsarkar is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi, The following are the output of /etc/rc.conf

Code:
# -- sysinstall generated deltas -- # Sat May 22 07:21:50 2010
# Created: Sat May 22 07:21:50 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.1.1"
hostname="home.freebsd.com"
network_interfaces="dc0 lo0 ath0"
ifconfig_lo0="inet 127.0.0.1"
#ifconfig_dc0="inet 192.168.1.9 netmask 255.255.255.0"
ifconfig_dc0="DHCP"
gnome_enable="YES"
if_ath_load="YES"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

gdm_enable="YES"
dbus_enable="YES"
hald_enable="YES"

# Start PPP at start-up
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="VERIZONFIOS"
ppp_nat="NO"

output of /boot/loader.conf

Code:
if_ath_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
nvidia_load="YES"
ifconfig wlan0 create wlandev ath0

Code:
ifconfig: SIOCIFCREATE2: Device not configured
Code:
home# /etc/rc.d/netif start
ifconfig: SIOCIFCREATE2: Device not configured
Starting wpa_supplicant.
/etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
Starting Network: dc0 lo0.
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:08:a1:14:89:9d
	inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000
Code:
home# pciconf -vl | more
hostb0@pci0:0:0:0:      class=0x060000 card=0x1a308086 chip=0x1a308086 rev=0x11 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Host-Hub Interface Bridge (82845G[GL/GV/GE/PE])'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x11 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82845/E/MP/MZ Brookdale CPU to AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x01321028 chip=0x24c28086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *1'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x01321028 chip=0x24c48086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *2'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x01321028 chip=0x24c78086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *3'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x01321028 chip=0x24cd8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x81 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x01321028 chip=0x24cb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller'
    class      = mass storage
    subclass   = ATA
none0@pci0:0:31:3:      class=0x0c0500 card=0x01321028 chip=0x24c38086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
none1@pci0:0:31:5:      class=0x040100 card=0x01321028 chip=0x24c58086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Realtek AC97 Audio  (82801DBM SoundMAXController (ICH4-M B0 step))'
    class      = multimedia
    subclass   = audio
vgapci0@pci0:1:0:0:     class=0x030000 card=0x015a10de chip=0x017210de rev=0xa3 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'GeForce4 MX 420 [NV17.3]'
    class      = display
    subclass   = VGA
--More--(byte 2917)
none2@pci0:2:0:0:       class=0x040100 card=0x80641102 chip=0x00021102 rev=0x07 hdr=0x00
    vendor     = 'Creative Technology LTD.'
    device     = 'Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780 (CT5880DCQ)'
    class      = multimedia
    subclass   = audio
none3@pci0:2:0:1:       class=0x098000 card=0x00201102 chip=0x70021102 rev=0x07 hdr=0x00
    vendor     = 'Creative Technology LTD.'
    device     = 'GamePort (EMU10000)'
    class      = input device
none4@pci0:2:1:0:       class=0x070300 card=0x00011028 chip=0x421214e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = '56k Modem (BCM V.90)'
    class      = simple comms
    subclass   = generic modem
dc0@pci0:2:2:0: class=0x020000 card=0x434e4554 chip=0x91021282 rev=0x31 hdr=0x00
    vendor     = 'Davicom Semiconductor Inc.'
    device     = '10/100 Mbps Fast Ethernet Controller (DM9102/A/AF)'
    class      = network
    subclass   = ethernet
none5@pci0:2:12:0:      class=0x020000 card=0xabb213d1 chip=0x818510ec rev=0x20 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'IEEE 802.11a/b/g Wireless LAN Controller (rev 20) (RTL-8185)'
    class      = network
    subclass   = ethernet

Last edited by DutchDaemon; May 25th, 2010 at 13:01. Reason: proper formatting
Reply With Quote
  #5  
Old May 25th, 2010, 13:00
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,825
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

Format your posts correctly, please: Posting and Editing in the FreeBSD Forums
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #6  
Old May 25th, 2010, 14:57
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by arupsarkar View Post
Code:
none5@pci0:2:12:0:      class=0x020000 card=0xabb213d1 chip=0x818510ec rev=0x20 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'IEEE 802.11a/b/g Wireless LAN Controller (rev 20) (RTL-8185)'
    class      = network
    subclass   = ethernet
There's the problem--it's not an Atheros chipset, but a Realtek. Vendors sometimes change chipsets without notice. Unfortunately, that Realtek looks to be unsupported by FreeBSD. A possibility is ndis(4) and ndisgen(8).
Reply With Quote
  #7  
Old May 25th, 2010, 15:23
arupsarkar arupsarkar is offline
Junior Member
 
Join Date: May 2010
Posts: 11
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi,

I have formatted the output for better clarity, apologize did not do it the first time, my wireless card is recognized by OS, which I have pasted at the very end.

The following are the output of file /etc/rc.conf
Code:
# -- sysinstall generated deltas -- # Sat May 22 07:21:50 2010
# Created: Sat May 22 07:21:50 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="192.168.1.1"
hostname="home.freebsd.com"
network_interfaces="dc0 lo0 ath0"
ifconfig_lo0="inet 127.0.0.1"
#ifconfig_dc0="inet 192.168.1.9 netmask 255.255.255.0"
ifconfig_dc0="DHCP"
gnome_enable="YES"
if_ath_load="YES"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

gdm_enable="YES"
dbus_enable="YES"
hald_enable="YES"

# Start PPP at start-up
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="VERIZONFIOS"
ppp_nat="NO"
output of file /boot/loader.conf

Code:
if_ath_load="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
nvidia_load="YES"
#
ifconfig wlan0 create wlandev ath0


output of the above command
Code:
ifconfig: SIOCIFCREATE2: Device not configured
#
/etc/rc.d/netif start

output of the above command

Code:
ifconfig: SIOCIFCREATE2: Device not configured
Starting wpa_supplicant.
/etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant
Starting Network: dc0 lo0.
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8<VLAN_MTU>
	ether 00:08:a1:14:89:9d
	inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
	inet6 ::1 prefixlen 128 
	inet 127.0.0.1 netmask 0xff000000
#
pciconf -vl | more


The above do recognize my card which is listed at the very end of the following output.

Code:
hostb0@pci0:0:0:0:      class=0x060000 card=0x1a308086 chip=0x1a308086 rev=0x11 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Host-Hub Interface Bridge (82845G[GL/GV/GE/PE])'
    class      = bridge
    subclass   = HOST-PCI
pcib1@pci0:0:1:0:       class=0x060400 card=0x00000000 chip=0x1a318086 rev=0x11 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82845/E/MP/MZ Brookdale CPU to AGP Bridge'
    class      = bridge
    subclass   = PCI-PCI
uhci0@pci0:0:29:0:      class=0x0c0300 card=0x01321028 chip=0x24c28086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *1'
    class      = serial bus
    subclass   = USB
uhci1@pci0:0:29:1:      class=0x0c0300 card=0x01321028 chip=0x24c48086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *2'
    class      = serial bus
    subclass   = USB
uhci2@pci0:0:29:2:      class=0x0c0300 card=0x01321028 chip=0x24c78086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller *3'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:29:7:      class=0x0c0320 card=0x01321028 chip=0x24cd8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller'
    class      = serial bus
    subclass   = USB
pcib2@pci0:0:30:0:      class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x81 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
isab0@pci0:0:31:0:      class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge'
    class      = bridge
    subclass   = PCI-ISA
atapci0@pci0:0:31:1:    class=0x01018a card=0x01321028 chip=0x24cb8086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL (ICH4/ICH4-L) UltraATA/100 EIDE Controller'
    class      = mass storage
    subclass   = ATA
none0@pci0:0:31:3:      class=0x0c0500 card=0x01321028 chip=0x24c38086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller'
    class      = serial bus
    subclass   = SMBus
none1@pci0:0:31:5:      class=0x040100 card=0x01321028 chip=0x24c58086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Realtek AC97 Audio  (82801DBM SoundMAXController (ICH4-M B0 step))'
    class      = multimedia
    subclass   = audio
vgapci0@pci0:1:0:0:     class=0x030000 card=0x015a10de chip=0x017210de rev=0xa3 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'GeForce4 MX 420 [NV17.3]'
    class      = display
    subclass   = VGA
--More--(byte 2917)
none2@pci0:2:0:0:       class=0x040100 card=0x80641102 chip=0x00021102 rev=0x07 hdr=0x00
    vendor     = 'Creative Technology LTD.'
    device     = 'Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780 (CT5880DCQ)'
    class      = multimedia
    subclass   = audio
none3@pci0:2:0:1:       class=0x098000 card=0x00201102 chip=0x70021102 rev=0x07 hdr=0x00
    vendor     = 'Creative Technology LTD.'
    device     = 'GamePort (EMU10000)'
    class      = input device
none4@pci0:2:1:0:       class=0x070300 card=0x00011028 chip=0x421214e4 rev=0x02 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = '56k Modem (BCM V.90)'
    class      = simple comms
    subclass   = generic modem
dc0@pci0:2:2:0: class=0x020000 card=0x434e4554 chip=0x91021282 rev=0x31 hdr=0x00
    vendor     = 'Davicom Semiconductor Inc.'
    device     = '10/100 Mbps Fast Ethernet Controller (DM9102/A/AF)'
    class      = network
    subclass   = ethernet
none5@pci0:2:12:0:      class=0x020000 card=0xabb213d1 chip=0x818510ec rev=0x20 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'IEEE 802.11a/b/g Wireless LAN Controller (rev 20) (RTL-8185)'
    class      = network
    subclass   = ethernet
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PROBLEMS Setting up Wireless with DWLg510 wireless card and driver MRV8K51 emiliec15 Networking 18 April 3rd, 2010 13:07
Recommended PCI wireless card parrot System Hardware 4 February 23rd, 2010 21:06
Wireless Card nikobordx System Hardware 20 September 13th, 2009 10:12
need help with my wireless card somewhat new to bsd vigilant Networking 1 February 9th, 2009 21:13
wireless card net-install DemoDoG Installing & Upgrading 2 December 2nd, 2008 21:34


All times are GMT +1. The time now is 17:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0