1 |
On 7/7/06, Colleen Beamer <colleen.beamer@×××××.com> wrote: |
2 |
> |
3 |
> |
4 |
> |
5 |
> On 7/5/06, A. R. <feoymalo@×××××.com> wrote: |
6 |
> > > So, my question is, once I install ndiswrapper and the driver, do I then |
7 |
> > > follow the wiki for either wireless-tools or (preferred) |
8 |
> > > wpa-supplicant? Is there anything else I have to do or install? |
9 |
> > > |
10 |
> > > Regards, |
11 |
> > > |
12 |
> > > Colleen |
13 |
> > > |
14 |
> > |
15 |
> > Hello, |
16 |
> > |
17 |
> > May I suggest that you try first with wireless-tools? |
18 |
> > |
19 |
> > |
20 |
> > Things you need to know: |
21 |
> > 1. The interface id of the wireless card (eth0, eth1, wlan0 etc...) |
22 |
> > 2. The "essid" of the wireless access point you are connecting to. |
23 |
> > 3. The encryption key (if any) for wireless access (WEP) |
24 |
> > |
25 |
> > Once you have those you can run the following commands (after you have |
26 |
> > emerged wireless-tools) Using eth1 as the interface for example: |
27 |
> > |
28 |
> > iwconfig eth1 essid <the essid of the access point> |
29 |
> > iwconfig eth1 key <the encryption key> |
30 |
> > dhcpcd eth1 |
31 |
> |
32 |
> |
33 |
> Okay, I emerged ndiswrapper which also emerged wireless-tools. I haven't |
34 |
> yet created any configuration files. However, if I run iwconfig, this is |
35 |
> what I get: |
36 |
> |
37 |
> localhost ~ # iwconfig |
38 |
> lo no wireless extensions. |
39 |
> |
40 |
> eth0 no wireless extensions. |
41 |
> |
42 |
> wlan0 IEEE 802.11g ESSID:"beam26wireless" |
43 |
> Mode:Managed Frequency:2.437 GHz Access Point: 00:13:10:99:9C:BF |
44 |
> Bit Rate:54 Mb/s Tx-Power:25 dBm |
45 |
> RTS thr:2347 B Fragment thr:2346 B |
46 |
> Encryption key:off |
47 |
> Power Management:off |
48 |
> Link Quality:100/100 Signal level:-60 dBm Noise level:-256 dBm |
49 |
> Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 |
50 |
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0 |
51 |
> |
52 |
> So, I assume that eth1 would be replaced by wlan0 in the commands above, |
53 |
> correct? |
54 |
> |
55 |
> |
56 |
> |
57 |
> > If this works, then depending on how you want to configure your box |
58 |
> > you may want to set all this configuration in the file |
59 |
> > /etc/conf.d/wireless (BTW, please take a look at the file |
60 |
> > /etc/conf.d/wireless.example, it does have very good comments that |
61 |
> > would make this very understandable), or you may want to go for |
62 |
> > wpa_supplicant. |
63 |
> |
64 |
> |
65 |
> |
66 |
> Well, I already have wireless-tools on my laptop because it was installed |
67 |
> with ndiswrapper. As you note, my access point (a wireless cable/DSL |
68 |
> router) is recognized and I realize that there isn't an encryption key set. |
69 |
> |
70 |
> The thing is, I *have* looked at /etc/conf.d/wireless.example and it may as |
71 |
> well be hieroglyphics. I don't know which section to alter. Right now, if |
72 |
> I'm on my laptop, I want to be able to connect to the access point in my |
73 |
> apartment. However, if I'm at someplace that has wireless access, I want to |
74 |
> be able to scan for an available network. So, I don't know what section to |
75 |
> changed. |
76 |
|
77 |
|
78 |
Hi Colleen, |
79 |
|
80 |
I would really recommend you use wpa_supplicant as IMO it is far |
81 |
easier to configure and supports more access methods than iwconfig. |
82 |
Since your wireless card is clearly detected it should be trivial to |
83 |
setup. Check out this article in the wiki (which you may have already |
84 |
looked at): http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup#Configuration_using_wpa_supplicant |
85 |
|
86 |
-Mike |
87 |
|
88 |
|
89 |
-- |
90 |
________________________________ |
91 |
Michael E. Crute |
92 |
http://mike.crute.org |
93 |
|
94 |
I may not have gone where I intended to go, but I think I have ended |
95 |
up where I intended to be. --Douglas Adams |
96 |
-- |
97 |
gentoo-user@g.o mailing list |