LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices



Reply
 
Search this Thread
Old 02-23-2008, 04:58 AM   #1
clementis
Member
 
Registered: Feb 2008
Posts: 40

Rep: Reputation: 15
wireless connection problem - Belkin - tried everything - pls help


hi,

Pls help because I was watching for an solution on the web for a lot of hours.

I can't get my wireless card working.

basics:
------------------------------------------
notebook: compaq nx9020
wireless card: Belkin F5D7011
WiFi: WPA-PSK

#lspci -v
03:00.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
Subsystem: Belkin F5D7011 54g+ Wireless Network card
Flags: bus master, fast devsel, latency 64, IRQ 11
Memory at 58000000 (32-bit, non-prefetchable) [size=8K]


#lspci -n
03:00.0 0280: 14e4:4320 (rev 03)

-------------------------------------------


1. I downloaded the windows driver from the belkin.com site.
--> bcmwl.exe

2. #unzip -a bcmwl.exe

3. #ndiswrapper -i bcmwl5.inf

4. #ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4320) present (alternate driver: bcm43xx)

5. #modprobe ndiswrapper

6. #lsmod
Module Size Used by
ndiswrapper 127716 0


7. #iwconfig eth1 essid cbWIFI channel 11

lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:"cbWIFI" Nickname:"Broadcom 4306"
Mode:Managed Frequency=2.462 GHz Access Point: Invalid
RTS thrff Fragment thrff
Encryption keyff
Link Quality=0/100 Signal level=-256 dBm Noise level=-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


8. configure wpa_supplicant - /etc/wpa_supplicant.conf
I use the conf file which worked under Slax 5

9. #wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D ndiswrapper -dd
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A'
Unsupported driver 'ndiswrapper'.

Failed to add interface eth1
Cancelling scan request
Cancelling authentication timeout


9.v1. I tried a different driver: wext
#wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -D wext -dd

Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=6):
63 62 57 49 46 49 cbWIFI
proto: 0x1
key_mgmt: 0x2
group: 0x8
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='cbWIFI'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCSIFFLAGS: No such file or directory
Could not set interface 'eth1' UP
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:11:50:1f:5c:23
wpa_driver_wext_set_wpa
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
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
l2_packet_receive - recvfrom: Network is down
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
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)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSAN]: No such device
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec

-------------------------------------------
-------------------------------------------

#ifconfig
I didn't find eth1 if I execute ifconfig.
Only lo and eth0 (wired connection) are displayed.


why don't I see the eth1??
Do I have the wrong driver?
How do I get my Wlan work?


Please help - I didn't find anything helpful on the web!
If you need any further info, let me know!


Clementis
 
Old 02-23-2008, 05:43 AM   #2
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
first off, running ifconfig with out args just displays interfaces that are up. to see all interfaces use ifconfig -a

From NDISwrapper doc site:
--Quote--
If scan doesn’t see any APs, it is likely the radio in the card is switched off. If there is an LED to indicate the status of radio power, then it is easy to see this. Some computers have a special key for powering up the radio, some have a setting in BIOS and some others will have to be powered up by a program; see Tips for more information.
--End Quote--

If read of a few people with this problem. I've been dealing with a wireless card lately and it can get really frustrating.
Let us know if you get any more info or messages
 
Old 02-23-2008, 06:39 AM   #3
clementis
Member
 
Registered: Feb 2008
Posts: 40

Original Poster
Rep: Reputation: 15
I have no idea!

What does the output of the first command mean?


#ifconfig eth1 up
SIOCSIFFLAGS: Datei oder Verzeichnis nicht gefunden

#ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:11:50:1F:5C:23
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:11 Base address:0x8000


clementis
 
Old 02-23-2008, 08:39 AM   #4
clementis
Member
 
Registered: Feb 2008
Posts: 40

Original Poster
Rep: Reputation: 15
I think the card is now working.
I blacklisted the bcm43xx (/etc/modprobe.d/blacklist)

BUT...

can still not reach the network.


#wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Dwext -B
ioctl[SIOCSIWPMKSA]: Invalid argument

#dhcpcd wlan0

#ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.7 icmp_seq=2 Destination Host Unreachable
From 192.168.2.7 icmp_seq=3 Destination Host Unreachable

#ifconfig
wlan0 Link encap:Ethernet HWaddr 00:11:50:1F:5C:23
inet addr:192.168.2.8 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:350 errors:0 dropped:0 overruns:0 frame:0
TX packets:391 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43121 (42.1 KiB) TX bytes:62252 (60.7 KiB)
Interrupt:11 Memory:58000000-58002000

#iwconfig
wlan0 IEEE 802.11g ESSID:"cbWIFI" Nickname:"zenwalk"
Mode:Managed Frequency:2.462 GHz Access Point: 00:11:50:1F:E8:C1
Bit Rate=54 Mb/s Tx-Power:14 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:6B82-48A9-B4BA-0A02-8B9A-EB54-A655-770C-845C-73DB-5B68-A3FC-A397-A3E3-42DC-0C28 Security mode:restricted
Power Managementff
Link Quality:62/100 Signal level:-56 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


#iwlist wlan0 scanning
wlan0 Scan completed :
Cell 01 - Address: 00:11:50:1F:E8:C1
ESSID:"cbWIFI"
Protocol:IEEE 802.11b
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:65/100 Signal level:-54 dBm Noise level:-96 dBm
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK


file: /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2

network={
ssid="cbWIFI"
proto=WPA
key_mgmt=WPA-PSK
group=TKIP
pairwise=TKIP
psk="eN%YtFvaZM(TuSxOLdk1*ZqJI;5iiUk7jaLoFDS03$8AB879t1daZaV3C8*"
}

Last edited by clementis; 02-23-2008 at 04:27 PM.
 
Old 02-23-2008, 04:17 PM   #5
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
could you post the results of just running ifconfig with out args
it looks like your card is working, your associated with your ap an you have an ip address
also using wpa_supplicant you can run

Code:
#wpa_cli status
which will give wpa_supp's view of things. which should be the same
i had a similar problem, it had to do with a conflict with eth0, my wired nic. my system was trying to use eth0 to get to the network not eth1. notice ifconfig says eth1 has ip 192.168.2.8, but when you ping it says

Code:
PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
From 192.168.2.7 icmp_seq=2 Destination Host Unreachable
i think that means its trying to route through eth0. i don't know how to change routing tables, but what i did was just shut down eth0

Code:
#ifconfig eth0 down
and then everything worked. maybe someone else could explain how to change routing tables. because i just disabled eth0 at boot. but i would rather change routes

btw, in wpa conf file "psk" is your network passkey unencrypted for all to see.
 
Old 02-26-2008, 04:55 PM   #6
clementis
Member
 
Registered: Feb 2008
Posts: 40

Original Poster
Rep: Reputation: 15
if "wicd" in zenwalk will be started at startup, I'm - sometimes - able to connect to the network with two commands (wpa_supplicant; dhcpcd).

if "wicd" is not started, I try the following commands with these results. I'm not possible to connect me.

must wicd turned on - or is it possible to connect without starting this process??




# ifconfig eth1 down
eth1: ERROR while getting interface flags: Kein passendes Gerät gefunden

# ifconfig wlan0 up

# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -Dwext -B
ioctl[SIOCSIWPMKSA]: Invalid argument

# wpa_cli status
Selected interface 'wlan0'
bssid=00:11:50:1f:e8:c1
ssid=cbWIFI
id=0
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED

# ping 192.168.2.1
connect: Network is unreachable

# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:11:50:1F:5C:23
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:395 (395.0 b) TX bytes:363 (363.0 b)
Interrupt:11 Memory:58000000-58002000

# iwconfig waln0
wlan0 IEEE 802.11g ESSID:"cbWIFI" Nickname:"zenwalk"
Mode:Managed Frequency:2.462 GHz Access Point: 00:11:50:1F:E8:C1
Bit Rate=54 Mb/s Tx-Power:14 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:7E3F-F6CD-01E4-17BE-83E0-F120-A6E6-C3DE-411D-C89C-E623-545A-874A-20A6-8860-CF6F Security mode:restricted
Power Managementff
Link Quality:59/100 Signal level:-58 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Last edited by clementis; 02-27-2008 at 12:21 PM.
 
Old 02-27-2008, 12:27 PM   #7
clementis
Member
 
Registered: Feb 2008
Posts: 40

Original Poster
Rep: Reputation: 15
I get really angry because the Wlan is not working like I visualized.

Is there anybody out there, who can tell me how the wlan connection is working?
How I can get it work?
Anybody who can help me?

I have one more question:
If you take your notebook and you would like to connect your pc to a foreign wlan i.e. airport, how do you do? Do you have alot of problems?
Is there any automatism?
 
Old 02-27-2008, 02:29 PM   #8
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
Code:
# ifconfig eth1 down
eth1: ERROR while getting interface flags: Kein passendes Gerät gefunden
run ifconfig -a
there is probably no eth1. wired nic is usually eth0 (unless you have more then one, then eth0, eth1,...) wireless usually wlan0.

Code:
# wpa_cli status
Selected interface 'wlan0'
bssid=00:11:50:1f:e8:c1
ssid=cbWIFI
id=0
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
your associated with the AP, you just don't have an IP
is dhcpcd running on the card. you may have to request a new ip address.
...or its possible you queried wpa before an IP had been resolved.

Code:
#dhcpcd wlan0 -kd
to request IP. i think. or it might be -pd, check the man, (the -d is for debug output)
also i have found that the order of things is important.
i noticed in one of your previous post you got it working by loading wpa_sup then dhcp (at least you got a IP address.) at that point,
#ifconfig eth0 down
then try to ping

your card is working. i think its just a conflict somewhere. you can try shutting down all your network cards including rmmod ndiswrapper, then try different senarios
-start eth0, then wlan0
-just start wlan0.
-start wlan0, then eth0
that should give you an idea of where the conflict is coming from.
i've had the exact same problems. my card worked fine as long as eth0 was down. so i just disabled it at boot. (not the best solution, but an ok work around since i don't know how to edit net config files.

as far as roaming and accessing other networks, you can put a catch all section in wpa_supplicant.conf for unsecured networks, read the man for more details. i think there is a example file somewhere too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless and Wired connection on Belkin wireless G F5D7230 not working together ernie79 Linux - Hardware 1 02-10-2008 07:50 AM
Slackware 11 + Belkin USB Wireless Card = No Connection? Sir.Del Linux - Wireless Networking 4 03-01-2007 02:39 AM
Need help for wireless connection, pls spoonpower Linux - Wireless Networking 4 09-22-2006 04:38 PM
Fedora Core 2 - Setting up a Belkin Wireless Connection TKDHokie Linux - Wireless Networking 0 09-27-2004 10:22 PM


All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration