Gentoo Archives: gentoo-user

From: doherty pete <nishizawa23@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] config with wireless
Date: Sat, 15 Jan 2011 11:04:42
Message-Id: AANLkTi=5e_5YxHksiLz09qa8y3V7DLJ4LBnyLdT=j=pD@mail.gmail.com
In Reply to: Re: [gentoo-user] config with wireless by Zhu Sha Zang
1 yeah!it can work,now,this is my configure:
2 /etc/conf.d/net
3
4 config_eth0=("null")
5
6 modules="wpa_supplicant"
7
8 wpa_supplicant_wlan0="-Dwext"
9
10 config_wlan0="192.168.1.99 netmask 255.255.255.0"
11
12 routes_wlan0="default gw 192.168.1.1"
13
14 */etc/wpa_supplicant/wpa_supplicant.conf*
15 *
16 *
17 *
18 ctrl_interface=/var/run/wpa_supplicant
19
20 ctrl_interface_group=0
21
22 ap_scan=1
23
24 network={
25 ssid="huang"
26 proto=WPA2
27 key_mgmt=WPA-PSK
28 pairwise=CCMP TKIP
29 group=CCMP TKIP
30 psk="Xda111524*&^"
31 }
32
33 *
34
35 2011/1/15 Zhu Sha Zang <zhushazang@×××××××××.br>
36
37 > Em 14-01-2011 14:02, Mick escreveu:
38 >
39 > On 14 January 2011 15:24, doherty pete <nishizawa23@×××××.com> <nishizawa23@×××××.com> wrote:
40 >
41 > i donn't known what different form wext and madwifi....
42 > i just known my wireless is bcm4357...
43 >
44 > If there's a driver in the kernel for your wireless hardware, select
45 > it and use -Dwext. The madwifi driver will work with particular
46 > wireless chipsets only (atheros). If there is no wireless driver in
47 > Linux, then use ndiswrapper (you'll need to emerge it) and use the
48 > MSWindows driver with it - it may work.
49 >
50 >
51 > I'm using wpa with openrc:
52 > *
53 > [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf
54 >
55 > ctrl_interface=/var/run/wpa_supplicant
56 > ctrl_interface_group=0
57 > eapol_version=1
58 >
59 > ap_scan=2
60 > fast_reauth=1
61 >
62 > network={
63 > ssid="VALHALLA"
64 > proto=RSN
65 > key_mgmt=WPA-PSK
66 > pairwise=CCMP TKIP
67 > group=CCMP TKIP
68 > psk="****************"
69 > }*
70 >
71 > *[rodolfo@asgard ~]$ cat
72 > /etc/conf.d/net
73 >
74 > modules="wpa_supplicant"
75 >
76 >
77 > wpa_supplicant_wlan0="-Dwext"
78 > wpa_timeout_wlan0=60
79 >
80 > config_wlan0="10.10.10.25 netmask 255.255.255.0"
81 > routes_wlan0="default gw 10.10.10.1"
82 >
83 >
84 > *And works well with /etc/init.d/net.wlan0 start (in boot too)
85 >
86 > Att
87 > *
88 > *
89 >
90
91
92
93 --
94 pete_doherty

Replies

Subject Author
Re: [gentoo-user] config with wireless Valmor de Almeida <val.gentoo@×××××.com>