Re: [gentoo-user] config with wireless

2011-01-16 Thread Valmor de Almeida
On 01/15/2011 06:03 AM, doherty pete wrote:
 yeah!it can work,now,this is my configure:
 /etc/conf.d/net
 
 config_eth0=(null)
 
 modules=wpa_supplicant
 
 wpa_supplicant_wlan0=-Dwext
 
 config_wlan0=192.168.1.99 netmask 255.255.255.0
 
 routes_wlan0=default gw 192.168.1.1
 
 //etc/wpa_supplicant/wpa_supplicant.conf/
 /
 /
 /
 ctrl_interface=/var/run/wpa_supplicant
 
 ctrl_interface_group=0
 
 ap_scan=1
 
 network={
 ssid=huang
 proto=WPA2
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=Xda111524*^
 }
 
 /
 
 2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br
 mailto:zhushaz...@yahoo.com.br
 
 Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 mailto:nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

 I'm using wpa with openrc:
 /
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
 
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1
 
 ap_scan=2
 fast_reauth=1
 
 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }/
 
 /[rodolfo@asgard ~]$ cat
 /etc/conf.d/net   

 
 modules=wpa_supplicant
 
 
 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60
 
 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1
 
 
 /And works well with /etc/init.d/net.wlan0 start (in boot too)
 
 Att
 /
 /
 
 
 
 
 -- 
 pete_doherty

Check the e-mail thread on this list with the subject:

   starting wlan0 only when wireless is turned on


http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html


Just dump all of the network config and use wicd.

--
Valmor





Re: [gentoo-user] config with wireless

2011-01-16 Thread Zhu Sha Zang
Em 16-01-2011 18:29, Valmor de Almeida escreveu:
 On 01/15/2011 06:03 AM, doherty pete wrote:
 yeah!it can work,now,this is my configure:
 /etc/conf.d/net

 config_eth0=(null)

 modules=wpa_supplicant

 wpa_supplicant_wlan0=-Dwext

 config_wlan0=192.168.1.99 netmask 255.255.255.0

 routes_wlan0=default gw 192.168.1.1

 //etc/wpa_supplicant/wpa_supplicant.conf/
 /
 /
 /
 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=Xda111524*^
 }

 /

 2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br
 mailto:zhushaz...@yahoo.com.br

 Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 mailto:nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

 I'm using wpa with openrc:
 /
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1

 ap_scan=2
 fast_reauth=1

 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }/

 /[rodolfo@asgard ~]$ cat
 /etc/conf.d/net  
 

 modules=wpa_supplicant


 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60

 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1


 /And works well with /etc/init.d/net.wlan0 start (in boot too)

 Att
 /
 /




 -- 
 pete_doherty
 Check the e-mail thread on this list with the subject:

starting wlan0 only when wireless is turned on


 http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html


 Just dump all of the network config and use wicd.

 --
 Valmor



I think that this software, wicd, is just to ubuntu's users not to
Gentoo. If work without gui,, why i need a gui?

Att





Re: [gentoo-user] config with wireless

2011-01-16 Thread Willie Wong
On Sun, Jan 16, 2011 at 11:27:27PM -0200, Zhu Sha Zang wrote:
 I think that this software, wicd, is just to ubuntu's users not to
 Gentoo. 

You are in the minority. Many on this list (including me) use wicd for
desktop/laptop use. 

 If work without gui,, why i need a gui?

wicd doesn't require a GUI. It has a CLI interface and a curses one (I
prefer to use the curses interface myself), in addition to the GTK
one. Which you install can be controlled by USE. 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] config with wireless

2011-01-15 Thread doherty pete
yeah!it can work,now,this is my configure:
/etc/conf.d/net

config_eth0=(null)

modules=wpa_supplicant

wpa_supplicant_wlan0=-Dwext

config_wlan0=192.168.1.99 netmask 255.255.255.0

routes_wlan0=default gw 192.168.1.1

*/etc/wpa_supplicant/wpa_supplicant.conf*
*
*
*
ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=1

network={
ssid=huang
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=Xda111524*^
}

*

2011/1/15 Zhu Sha Zang zhushaz...@yahoo.com.br

  Em 14-01-2011 14:02, Mick escreveu:

 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com 
 nishizaw...@gmail.com wrote:

  i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...

  If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.


  I'm using wpa with openrc:
 *
 [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf

 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1

 ap_scan=2
 fast_reauth=1

 network={
 ssid=VALHALLA
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk=
 }*

 *[rodolfo@asgard ~]$ cat
 /etc/conf.d/net

 modules=wpa_supplicant


 wpa_supplicant_wlan0=-Dwext
 wpa_timeout_wlan0=60

 config_wlan0=10.10.10.25 netmask 255.255.255.0
 routes_wlan0=default gw 10.10.10.1


 *And works well with /etc/init.d/net.wlan0 start (in boot too)

 Att
 *
 *




-- 
pete_doherty


[gentoo-user] config with wireless

2011-01-14 Thread doherty pete
when i input iwconfig,display


wlan0 IEEE 802.11bgn  ESSID:off/any
  Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Encryption key:off
  Power Management:off
is information OK?

i emerge net-wireless/wpa_supplicant

edit /etc/conf.d/net


config_eth0=(null)

modules=(wpa_supplicant)

wpa_supplicant_wlan0=-Dmadwifi

ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=1

network={
ssid=huang
proto=WPA2
psk=Xda111524*^
}

but kernel start show that

network config is't correct,
unexpected with }

-- 
pete_doherty


Re: [gentoo-user] config with wireless

2011-01-14 Thread Xavier Parizet
On Fri, 14 Jan 2011 21:41:07 +0800, doherty pete 
nishizaw...@gmail.com wrote:

when i input iwconfig,display

wlan0     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated  
Tx-Power=0 dBm
          Retry  long limit:7   RTS thr:off   Fragment
thr:off
          Encryption key:off
          Power Management:off
is information OK?

i emerge net-wireless/wpa_supplicant

edit /etc/conf.d/net

config_eth0=(null)

modules=(wpa_supplicant)

wpa_supplicant_wlan0=-Dmadwifi


Everything under this line should go in 
/etc/wpa_supplicant/wpa_supplicant.conf.



ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=1

network={
    ssid=huang
    proto=WPA2
    psk=Xda111524*^
}

but kernel start show that

network config ist correct,
unexpected with }


--
Xavier Parizet
http://gentooist.com



Re: [gentoo-user] config with wireless

2011-01-14 Thread Vortex 3


 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 psk=Xda111524*^
 }


This lines don't belog to the /etc/conf.d/net file, but to the
/etc/wpa_supplicant/wpa_supplicant.conf

Take a look here:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=4


Re: [gentoo-user] config with wireless

2011-01-14 Thread doherty pete
i creat the /etc/wpa_supplicant/wpa_supplicant.conf
and i input ifconfig wlan0 up
and
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

that

Failed to read or parse configuration
/etc/wpa_supplicant/wpa_supplicant.conf

2011/1/14 Vortex 3 vort...@gmail.com


 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 psk=Xda111524*^
 }


 This lines don't belog to the /etc/conf.d/net file, but to the
 /etc/wpa_supplicant/wpa_supplicant.conf

 Take a look here:
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=4




-- 
pete_doherty


Re: [gentoo-user] config with wireless

2011-01-14 Thread doherty pete
i think the wireless didn't start because the wireless light is  extinguish

2011/1/14 doherty pete nishizaw...@gmail.com

 i creat the /etc/wpa_supplicant/wpa_supplicant.conf
 and i input ifconfig wlan0 up
 and
 wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

 that

 Failed to read or parse configuration
 /etc/wpa_supplicant/wpa_supplicant.conf

 2011/1/14 Vortex 3 vort...@gmail.com


 ctrl_interface=/var/run/wpa_supplicant

 ctrl_interface_group=0

 ap_scan=1

 network={
 ssid=huang
 proto=WPA2
 psk=Xda111524*^
 }


 This lines don't belog to the /etc/conf.d/net file, but to the
 /etc/wpa_supplicant/wpa_supplicant.conf

 Take a look here:
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4chap=4




 --
 pete_doherty




-- 
pete_doherty


Re: [gentoo-user] config with wireless

2011-01-14 Thread Vortex 3
Pete,


 wpa_supplicant_wlan0=-Dmadwifi


From your previous message, your are using the madwifi driver. However,
you are executing


wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf


Where now you specify the wext driver. Maybe that's the problem (?)


Re: [gentoo-user] config with wireless

2011-01-14 Thread doherty pete
it's my fail
i use  wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
but correct is
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf

and i get


Initializing interface 'wlan0' conf
'/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A'
bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -
'/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
Priority group 0
   id=0 ssid='huang'
WEXT: cfg80211-based driver detected
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
Own MAC address: f0:7b:cb:16:52:ec
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 10 usec
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=0
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
Trying to get current scan results first without requesting a new scan to
speed up initial association
Received 0 bytes of scan results (0 BSSes)
BSS: Start scan result update 1
Cached scan results are empty - not posting
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable network found
Setting scan request: 0 sec 0 usec
State: DISCONNECTED - SCANNING
Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=8
Received 2504 bytes of scan results (6 BSSes)
BSS: Start scan result update 2
BSS: Add new id 0 BSSID d8:5d:4c:30:7b:82 SSID 'TP-LINK_8G'
BSS: Add new id 1 BSSID 00:22:3f:a5:ab:f4 SSID 'huang'
BSS: Add new id 2 BSSID 74:ea:3a:69:97:fa SSID 'CHINACRC'
BSS: Add new id 3 BSSID d8:5d:4c:41:5d:04 SSID 'TP-LINK_12-A'
BSS: Add new id 4 BSSID 00:16:01:f6:fe:53 SSID 'AOSS-2663879CE43'
BSS: Add new id 5 BSSID 00:0a:eb:89:56:67 SSID 'Suen wireless'
New scan results available
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: d8:5d:4c:30:7b:82 ssid='TP-LINK_8G' wpa_ie_len=22 rsn_ie_len=20 caps=0x11
   skip - SSID mismatch
1: 00:22:3f:a5:ab:f4 ssid='huang' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
   selected based on RSN IE
   selected WPA AP 00:22:3f:a5:ab:f4 ssid='huang'
Trying to associate with 00:22:3f:a5:ab:f4 (SSID='huang' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2
WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02
00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac
04 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00
00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
State: SCANNING - ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0-0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_psk
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=Auto
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

Re: [gentoo-user] config with wireless

2011-01-14 Thread Adam Carter
On Sat, Jan 15, 2011 at 1:53 AM, doherty pete nishizaw...@gmail.com wrote:

 i think the wireless didn't start because the wireless light is  extinguish


You probably haven't built the correct driver (module). Does ifconfig -a
show the device?

Does lshw (you might need to emerge it) show the device?


Re: [gentoo-user] config with wireless

2011-01-14 Thread doherty pete
i donn't known what different form wext and madwifi
i just known my wireless is bcm4357...

2011/1/14 Vortex 3 vort...@gmail.com

 Pete,


 wpa_supplicant_wlan0=-Dmadwifi


 From your previous message, your are using the madwifi driver. However,
 you are executing


 wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf


 Where now you specify the wext driver. Maybe that's the problem (?)




-- 
pete_doherty


Re: [gentoo-user] config with wireless

2011-01-14 Thread doherty pete
ifconfig -a is

eth0  Link encap:Ethernet  HWaddr 00:26:2d:97:8b:85
  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
  Interrupt:16

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0  Link encap:IPv6-in-IPv4
  NOARP  MTU:1480  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet  HWaddr f0:7b:cb:16:52:ec
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf 
ifconfig wlan0 192.168.1.99

and can ping 192.168.1.1
but cann't ping www.g.cn
Network is unreachable(101)

i have edit /etc/resolv.conf
nameserver 192.168.1.1

2011/1/14 doherty pete nishizaw...@gmail.com


 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...

 2011/1/14 Vortex 3 vort...@gmail.com

 Pete,


 wpa_supplicant_wlan0=-Dmadwifi


 From your previous message, your are using the madwifi driver. However,
 you are executing


 wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf


 Where now you specify the wext driver. Maybe that's the problem (?)




 --
 pete_doherty




-- 
pete_doherty


Re: [gentoo-user] config with wireless

2011-01-14 Thread Mick
On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com wrote:

 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...

If there's a driver in the kernel for your wireless hardware, select
it and use -Dwext.  The madwifi driver will work with particular
wireless chipsets only (atheros).  If there is no wireless driver in
Linux, then use ndiswrapper (you'll need to emerge it) and use the
MSWindows driver with it - it may work.

-- 
Regards,
Mick



Re: [gentoo-user] config with wireless

2011-01-14 Thread Zhu Sha Zang
Em 14-01-2011 14:02, Mick escreveu:
 On 14 January 2011 15:24, doherty pete nishizaw...@gmail.com wrote:
 i donn't known what different form wext and madwifi
 i just known my wireless is bcm4357...
 If there's a driver in the kernel for your wireless hardware, select
 it and use -Dwext.  The madwifi driver will work with particular
 wireless chipsets only (atheros).  If there is no wireless driver in
 Linux, then use ndiswrapper (you'll need to emerge it) and use the
 MSWindows driver with it - it may work.

I'm using wpa with openrc:
/
[rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1

ap_scan=2
fast_reauth=1

network={
ssid=VALHALLA
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=
}/

/[rodolfo@asgard ~]$ cat
/etc/conf.d/net 
 

modules=wpa_supplicant


wpa_supplicant_wlan0=-Dwext
wpa_timeout_wlan0=60

config_wlan0=10.10.10.25 netmask 255.255.255.0
routes_wlan0=default gw 10.10.10.1


/And works well with /etc/init.d/net.wlan0 start (in boot too)

Att
/
/