kanotix.com

Networking - I have a problem with my Belkin PCI wifi card,please help Me

marioddr - 16.06.2006, 23:42 Uhr
Titel: I have a problem with my Belkin PCI wifi card,please help Me
I m a new kanotix/linus user.
I have installed kanotix 2006 easter rc4 and i can't use the network with PCI WiFi card, a belkin f5d7001 rev 03, with chip broadcom BCM4306 rev03.
I have tried to use any kind of drive with ndiswrapper, the only drive that i wrap with succes is one called BCMWL5A.inf.
if I use the GUI of ndiswrapper that is in kanotix i have an error:
"The ndiswrapper module has been loaded but there is no new device. Perhaps Ndiswrapper is not working woth your driver files ", i have tried all the drives that i have find on internet, also many that work at ather user.
If i use the command line,
ndiswrapper -i ----------> all ok
ndiswrapper -l ----------> bcmwl5a driver installed hardware present
ndiswrapper -m ---------> some error (say me that: module configuration contains directive install pci:v00001260d00003890sv00001113sd0000EE03bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete thatmodprobe config already contains alias directive )
modprobe ndiswrapper -------------> nothing error

But when i go to config the card, there isn't any netwotk card.

In etc/network/interface there isn't wlan0, there isn't eth0
if i use kanotix GUI, it say me that there isn't any network card

Please help me
spiralnebelverdreher - 18.06.2006, 10:18 Uhr
Titel: RE: I have a problem with my Belkin PCI wifi card,please hel
Try to to de-install linux-wlan-ng and linux-wlan-ng-modules-2.6.11.kanotix-11 (or a newer version of it) as both are written for PRISM chipsets and may interfer with ndiswrapper module. Check for other "alias" lines which load another module than ndiswrapper for wlan0.
See also http://kanotix.com/index.php?module=pnW ... dcom1450en
marioddr - 18.06.2006, 18:13 Uhr
Titel:
I partially resolve the problem, insteed of ndiswarapper -m, I used Update-modules -f and Ndiswrapper -da

Now ndiswrapper -l give me
BCMWL5 drive installed Hardware present

Now in etc/network/interface there is wlan0, and iwconfig give me wlan0.

Bue now there is e new problem.
During netcardconfig i have a error.
The wifi config ok, iwrite the ESSID, THE CHANNEL, MANGED MODE, and ENCRIPTION KEY, but during dhcp i have an error:
wlanctl-ng operation nor supported (or something such as this) and the card don't recieve any IP, the can't connect to the router.
I try the wep encriptio and the wpa encription.
spiralnebelverdreher - 18.06.2006, 20:21 Uhr
Titel:
You probably are near to a working wlan card.

Some users (myself included) had problems to configure broadcom wlan cards with netcardconfig.
The first thing I recommend is to do the wlan-configuration manually by editing /etc/network/interfaces (see example in the wiki). The second thing is to check which modules get loaded when "wlan0" is used - maybe there are still other reasons why wlanctl-ng is used in the interface-up process.
What is the result of
>> dpkg -l | grep wlan
on your computer?
marioddr - 19.06.2006, 09:07 Uhr
Titel:
this is the result:
root@KanotixBox:~/Desktop/drivers# dpkg -l | grep wlan
ii dwl520e1-firmware 1.0.2 Firmware for DWL-520+ based wlan cards
ii ipw2100-firmware 1.3.0 firmware for ipw2100 wlan chipsets
ii ipw2100-firmware-1.3 1.0-1 firmware for ipw2100 wlan chipsets
ii ipw2200-firmware 3.0 firmware for ipw2200/2195 wlan chipsets
ii ipw2200-firmware-2.2 1.0-1 firmware for ipw2200/2195 wlan chipsets
ii ipw2200-firmware-2.4 1.0-1 firmware for ipw2200/2195 wlan chipsets
ii ipw2200-firmware-3.0 1.0-1 firmware for ipw2200/2195 wlan chipsets
ii linux-wlan-ng 0.2.4+svn20060414-3 utilities for wireless prism2 cards
ii linux-wlan-ng-modules-2.6.16.16-kanotix-1 0.2.4+svn20060414-3 drivers for wireless prism2 cards
ii zd1201-firmware 0.14-3 firmware for zd1201 based wlan chipsets
marioddr - 19.06.2006, 11:30 Uhr
Titel:
spiralnebelverdreher hat folgendes geschrieben::


Try to to de-install linux-wlan-ng and linux-wlan-ng-modules-2.6.11.kanotix-11 (or a newer version of it) as both are written for PRISM chipsets and may interfer with ndiswrapper module. Check for other "alias" lines which load another module than ndiswrapper for wlan0



how can I de-install thi module ? i don't know the command
spiralnebelverdreher - 19.06.2006, 12:42 Uhr
Titel:
Do (as root) to de-install packages:

>>apt-get remove linux-wlan-ng
>>apt-get remove linux-wlan-ng-modules-2.6.16.16-kanotix-1

The result for dpkg -l | grep wlan will afterwards show these packages with an "rc" tag instead of "ii".


Note: Another possibility to avoid all this ndiswrapper stuff is to use a very new kernel (2.6.17) with support for some (all ?) broadcom wlan chips. But as I have no experience with this new kernel, I can't give any suggestions for this way to get the problem solved.
marioddr - 19.06.2006, 19:52 Uhr
Titel:
nothing, sameprobelme, i removed al the module in the precedent topic, but nothing... i don't know wath can i do
spiralnebelverdreher - 19.06.2006, 21:39 Uhr
Titel:
Ok, lets have a deeper look onto the problem.
Could you please post completly the results of the follwing commands:

>>ifconfig
>>iwconfig
>>ndiswrapper -l
>>modprobe -l | grep ndis
>>modprobe -l | grep prism
>>ifup wlan0

and further on the content of your file /etc/network/interfaces .
Is there at the same time another network (LAN) interface active?
marioddr - 19.06.2006, 23:10 Uhr
Titel:
i disable the nf4 lan and also firewire.
Soon as possible post the result, now i m not at home
thank very much for availablity
marioddr - 20.06.2006, 19:01 Uhr
Titel:
>>root@KanotixBox:~/Desktop/drivers# ifconfig
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:11:50:1E:BF:94
UP BROADCAST RUNNING 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:209 Memory:eb010000-eb012000




>>root@KanotixBox:~/Desktop/drivers# iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.422 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



>>root@KanotixBox:~/Desktop/drivers# ndiswrapper -l
Installed drivers:
2802w driver installed
bcmwl5 driver installed, hardware present
fwlan driver installed




>>root@KanotixBox:~/Desktop/drivers# modprobe -l | grep ndis
/lib/modules/2.6.16.16-kanotix-1/kernel/drivers/usb/net/rndis_host.ko
/lib/modules/2.6.16.16-kanotix-1/misc/ndiswrapper.ko




>>root@KanotixBox:~/Desktop/drivers# modprobe -l | grep prism
/lib/modules/2.6.16.16-kanotix-1/kernel/drivers/net/wireless/prism54/prism54.ko



>>root@KanotixBox:~/Desktop/drivers# ifup wlan0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/wlan0/00:11:50:1e:bf:94
Sending on LPF/wlan0/00:11:50:1e:bf:94
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.


No working leases in persistent database.

Exiting.

Failed to bring up wlan0.






INTERFACES
# /etc/network/interfaces -- configuration file for ifup(Cool, ifdown(Cool

# The loopback interface
# automatically added when upgrading
auto lo wlan0


iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0



iface wlan0 inet dhcp
wireless-mode auto
wireless-channel 3
wireless-essid BELKIN
pre-up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B



THIS IS ALL
spiralnebelverdreher - 20.06.2006, 21:13 Uhr
Titel:
Ok, the result of "ifup" shows, that your PC tries to get an IP address from the router (and doesn't get it).

The "modprobe" results show, that a ndiswrapper is loaded (good!) and that also a prism module is loaded (at least not necessary, in the worst case an indicator for a problem).
I assume that the former problems with wrong modules ("wlanctl-ng operation not supported") do not exist any more, as "ifup" issues DHCP-requests. (And also this "prism" module is just a waste of memory without causing a problem, could be temporarly resolved by "modprobe -r prism54").

Your /etc/network/interfaces shows, that you're trying to run WPA encryption, which is a really good thing for your privacy. For getting started and learning step by step it's not the easiest way.

The first question is, if your router is able to answer DHCP requests (many routers do so, just to be sure have a look into the manual and the configuration of your router).

The second question is this "pre-up" line in /etc/network/interfaces. The option "-Dwext" commands wpa_supplicant to use a wext driver. I think, this is wrong, you should use instead "-Dndiswrapper"

The third question is, if parameters like "essid" are posted at the right place. I have written them all into this wpa_supplicant configuration file - maybe your method works also.

The fourth question is, if your parameters for your WLAN card fit all to the characteristics of your WLAN access point.

To deal with my questions 2 and 3, you could just write all these defintions in /etc/network/interfaces and /etc/wpa_supplicant.conf along to my example in the wiki http://kanotix.com/index.php?module=pnWikka&tag=Broadcom1450en

The fourth question is the most difficult one, as the right configuration depends on your WLAN card AND your access point. Maybe you don't have think about this, after fixing the above mentionend issues.

If problems persist, could you please post your acces point model name and the /etc/wpa_supplicant.conf file (don't forget to blank out your private "psk") to give you further advices.
marioddr - 20.06.2006, 22:04 Uhr
Titel:
now i try your indication.
I don't know if this is important but in windows my router is able to answer DHCP requests, the router is A Belkin F5D7231-4 with last firmware.
Tanhk you very much, I hope to resolve this problem soon.
schnorrer - 20.06.2006, 23:18 Uhr
Titel:
when win is geting an IP via dhcp, linux should know, from which dhcp-server
/etc/dhcpc/resolv.conf looks like

search
nameserver 192.168.2.1 # your router IP

without this dhcp does not know, where and how to search
marioddr - 20.06.2006, 23:40 Uhr
Titel:
yes nameserver 192.168.2.1 and it is my router ip
but it is in etc/resolv.conf.
I try the point 1, 2 and 3 (copy the line from url) after give "ifup wlan0" and the problem is the same, now i can to disable wpa
marioddr - 20.06.2006, 23:54 Uhr
Titel:
I try also wep security, copying form the url, but nothing Dhcp didn't give ip, the same problem.
spiralnebelverdreher - 23.06.2006, 17:46 Uhr
Titel:
Could you please post the /etc/network/interfaces file used for your trial with WEP encryption?
spiralnebelverdreher - 25.06.2006, 21:59 Uhr
Titel:
@schnorrer

Zitat:
when win is geting an IP via dhcp, linux should know, from which dhcp-server
/etc/dhcpc/resolv.conf looks like

search
nameserver 192.168.2.1 # your router IP

without this dhcp does not know, where and how to search


I doubt this. Doesn't the DHCP client get his DHCP server by an broadcast call to 255.255.255.255 ?? I think the nameserver entry in the mentionend file has another meaning ...
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007