Re: Driver for Intel 82579V

2012-02-09 Thread Gaurang Pandya
Just wanted to inform all that with the help of Mike Tancsa, I was able to fix 
this by installing FreeBSD v8.2.

Thanks Mike once again.

Gaurang.




 From: Gaurang Pandya gaub...@yahoo.com
To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org 
Sent: Tuesday, February 7, 2012 9:48 PM
Subject: Driver for Intel 82579V 
 
Hi ,

I just bought a desktop with this mother board..

http://www.intel.com/content/www/us/en/motherboards/desktop-motherboards/desktop-board-dh67cl.html

But ended up realizing that it has got built in NIC of Intel 82579V GE 
controller, which is not supported in 8 or later versions of FreeBSD, though I 
see intel giving its driver but thats for v7.x when I tried to compile same for 
v8 it failed with following error..

: opt_bdg.h
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
-I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -c if_em.c
cc1: warnings being treated as errors
if_em.c: In function 'em_enable_wakeup':
if_em.c:4769: warning: implicit declaration of function 
'e1000_disable_gig_wol_ich8lan'
if_em.c:4769: warning: nested extern declaration of 
'e1000_disable_gig_wol_ich8lan'
*** Error code 1

Stop in /usr/home/user/a/em-7.2.4/src.

Any info on how to get this NIC working under FreeBSD 8 or later? I am seeing 
/usr/src/sys/dev/e1000/e1000_ich8lan.c of v7 having some reference to this card 
but same is not available on v8 sources.


Gaurang.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD DomU over NetBSD Dom0

2011-01-10 Thread Gaurang Pandya
Hi,

Has anyone managed to get FreeBSD DomU worked over NetBSD Dom0, I am having 
real 

hard time with it. I had created an image as given in 
http://forums.freebsd.org/showthread.php?t=10268 , the same image works well 
under CentOS 5.5 Dom0, but under NetBSD 5.1 with PAE DOM0 kernel (with some 
customizations to allow PF and ALTQ) , and Xen 3.3.2, its showing following 
issues.

1. FreeBSD DOMU fails to boot and ends up with following error message.
   start_init: trying /sbin/init
   g_vfs_done():ad0s1a[READ(offset=263159808, length=2048)]error = 5
   Jan  6 13:56:20 init: can't exec /bin/sh for /etc/rc: Input/output 
error
   Enter full pathname of shell or RETURN for /bin/sh:

2. I am frequently getting following message on console
   [XEN] hypervisor wallclock nudged; nudging TOD.

Now I see a solution for second problem but thats for Linux no where I got info 
to fix it under NetBSD.

Here is content of my DomU config file.

kernel = /virt/freebsd-kernel
memory = 164
name = freebsd
disk = [ 'file:/virt/freebsd-fst-ad0s1a-rc-conf.img,hda1,w' ]
extra = boot_verbose=1
extra += ,vfs.root.mountfrom=ufs:/dev/ad0s1a
extra += ,kern.hz=100

I also get this message during DomU boot up, just in case if it helps..

lo0: bpf attached
xbd0: 250MB Virtual Block Device at device/vbd/769 on xenbus0
xbd0: attaching as ad0
GEOM: new disk ad0
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/ad0s1a

Can any one help me fix these..

Thanks  Regards,

Gaurang.


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD ATH VAP

2010-05-13 Thread Gaurang Pandya
Hi,

I have tplink-wn551G wireless adapter which is ath based, I am successfully 
able to configure two VAPs with that with one being WPA protected and another 
for Guest which is open. 

But I can use any of VAP in my station (laptop) only when both are configured 
in that, and not otherwise. What I mean is If I want guest to use open VAP, 
then I have to configure protected one also in his laptop, only then he will be 
able to use either of VAPs. Not sure If I am missing some thing.  Here are 
snippets from my config.

Do I have to change BSSID, if so, how?  Am not able to do with either of 
wlanbssid or wlanaddr or bssid in either create_args or ifconfig line of 
rc.conf. I have also tried without any BSSID options for both the interfaces, 
which also fails to work.

Initially I have kept them in hidden mode, will un-hide open one when I am sure 
it works as per my requirement.

Any help is much appreciated.

Thanks  Regards,

Gaurang.

 uname -a
FreeBSD mybox 8.0-STABLE FreeBSD 8.0-STABLE #0: Thu May  6 23:43:30 UTC 2010 
r...@mybox:/usr/obj/usr/home/FreeBSD/RELEASE-8/src/src/sys/GENWITHALTQ  i386

 grep wlan /etc/rc.conf
wlans_ath0=wlan0 wlan1
vaps_ath0=wlan0 wlan1
create_args_wlan0=wlanmode ap wlanbssid 00:11:22:33:44:55 ssid Protected 
channel 5
create_args_wlan1=wlanmode ap bssid ssid open channel 6
ifconfig_wlan0=inet 10.1.1.1 netmask 255.255.255.248 hidessid
ifconfig_wlan1=inet 10.1.2.1 netmask 255.255.255.252 hidessid

 ifconfig wlan0

wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 00:27:19:d1:01:6d
inet 10.1.1.1 netmask 0xfff8 broadcast 10.1.1.7
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid Protected channel 6 (2437 MHz 11g) bssid 00:27:19:d1:01:6d
regdomain 32924 country CN indoor ecm authmode WPA privacy MIXED
deftxkey 2 TKIP 2:128-bit txpower 20 scanvalid 60 protmode CTS wme
burst hidessid dtimperiod 1 -dfs
 ifconfig wlan1
wlan1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
ether 06:27:19:d1:01:6d
inet 10.1.2.1 netmask 0xfffc broadcast 10.1.2.3
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
status: running
ssid open channel 6 (2437 MHz 11g) bssid 06:27:19:d1:01:6d
regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF
txpower 20 scanvalid 60 protmode CTS wme burst hidessid dtimperiod 1
-dfs

 dmesg | grep ath
ath0: Atheros 2413 mem 0xed00-0xed00 irq 22 at device 10.0 on pci1
ath0: [ITHREAD]
ath0: AR2413 mac 7.8 RF2413 phy 4.5

 cat /etc/hostapd.conf
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=Protected
wpa=1
wpa_passphrase=Ofcourse-This-is-Not-Key
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP


  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ral vap

2010-01-30 Thread Gaurang Pandya
Hi ,

Just configured my new linksys wmp54G in Freebsd-8 worked like charm, but when 
tried to create yet another wireless interface (wlan1), am getting error 

ral0: only 1 vap supported,

checked man for ral and found 

Only one hostap

Just before selling the wifi card in ebay (as I wanted, it just for multiple 
wireless interfaces), I thought let me post a question in list to check if 
there is any possibilities of getting multiple virtual wlan interfaces 
configured with ral0, both working in ap mode?

Thanks,

Gaurang.



  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org