LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wireless Access Point (https://www.linuxquestions.org/questions/slackware-14/wireless-access-point-394661/)

securitybreach 12-19-2005 05:57 PM

Wireless Access Point
 
Well I finally got ndiswrapper working in Slackware 10.2. Now my problem is I do not know how to connect to an access point. Under windows, my wireless card automatically connects to the router "linksys". I had linux connecting once but cannot seem to make it happen again. Here is what I have ran and the output:

Code:

# ndiswrapper -l
Installed drivers:bcmwl5 driver present, hardware present

# ifconfig wlan0 up
# dhcpcd wlan0
# ifconfig -a

eth0          Link encap:Ethernet 
                  HWaddr 00:12:3F:F5:69:51
                  BROADCAST MULTICAST  MTU:1500  Metric:1                 
                  RX packets:0 errors:0 dropped:0 overruns:0 frame:0                 
                  TX packets:1 errors:0 dropped:0 overruns:0 carrier:0                 
                  collisions:0 txqueuelen:1000                 
                  RX bytes:0 (0.0 b)  TX bytes:590 (590.0 b)
                  Interrupt:4 Base address:0xdf40 Memory:dfdfd000-dfdfd038

lo                Link encap:Local Loopback 
                  inet addr:127.0.0.1  Mask:255.0.0.0 UP                 
                  LOOPBACK RUNNING  MTU:16436  Metric:1
                  RX packets:4 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:0
                  RX bytes:200 (200.0 b)  TX bytes:200 (200.0 b)

wlan0                  Link encap:Ethernet  HWaddr 00:14:A5:30:F1:C3 
                  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:5 Memory:dfdfe000-dfe00000

# iwlist wlan0 scan
wlan0        Scan completed :
                 
                                  Cell 01 - Address: 00:09:5B:36:CA:F0                                       
                  ESSID:"Wireless                                 
                  Protocol:IEEE 802.11b
                  Mode:Managed
                  Frequency:2.462 GHz (Channel 11)
                  Quality:0/100  Signal level:-93 dBm  Noise level:-256 dBm
                  Encryption key:off
                  Bit Rate:1 Mb/s                                       
                  Bit Rate:2 Mb/s                                       
                  Bit Rate:5.5 Mb/s                                       
                  Bit Rate:11 Mb/s                               
                  Extra:bcn_int=100                                       
                  Extra:atim=0                 
                 
                  Cell 02 - Address: 00:13:10:81:70:83
                  ESSID:"linksys"                                 
                  Protocol:IEEE 802.11g                                 
                  Mode:Managed                                 
                  Frequency:2.437 GHz (Channel 6)
                  Quality:0/100  Signal level:-93 dBm  Noise level:-256 dBm
                  Encryption key:off
                  Bit Rate:1 Mb/s
                  Bit Rate:2 Mb/s
                  Bit Rate:5.5 Mb/s                                       
                  Bit Rate:11 Mb/s
                  Bit Rate:18 Mb/s                                       
                  Bit Rate:24 Mb/s                                 
                  Bit Rate:36 Mb/s
                  Bit Rate:54 Mb/s
                  Bit Rate:6 Mb/s                                       
                  Bit Rate:9 Mb/s                                       
                  Bit Rate:12 Mb/s
                  Bit Rate:48 Mb/s
                  Extra:bcn_int=100
                  Extra:atim=0

# iwconfig wlan0 ESSID linksys
(with no output)

I know the speed is crappy but right now I have to "piggyback" the connection from my neighbor till Tuesday. One of the problems is I do not know how to connect to a wireless network or hotspot under Linux. If anyone could point me in the right direction for connecting to wireless networks under Linux, it would be greatly appreciated. BTW, I am connecting under the "linksys" under windows right now so I know it works.


Also, I tried:

# ifconfig wlan0 up
# dhclient wlan0
# dhcpcd wlan0

with no connectivity.

Thanx

kaon 12-19-2005 07:28 PM

A checklist that may help you.
Have you modprobe your ndiswrapper module?
Have you used any encryption methods, like WPA?
Have you upgrade the wireless script to version 18?

Cheers.

slacksource 12-19-2005 08:27 PM

wirelss config
 
Try

iwconfig eth0 <myessid>

Same for key, thats how I get mine to work.

securitybreach 12-20-2005 08:35 AM

Have you modprobe your ndiswrapper module?

Yes it is loaded on boot, thats how I can scan using iwlis

Have you used any encryption methods, like WPA?

The encryption on the connection to linksys is unencrypted, so why should I use WPA?

Have you upgrade the wireless script to version 18?

What do you mean by upgrading the wireless script?


Thanks


All times are GMT -5. The time now is 03:44 AM.