PDA

View Full Version : FC8, Ndiswrapper 1.51,Belkin F5D3003 & et-NO INTERNETc


alphaindia
2008-01-23, 08:53 AM CST
Hello all|

Im still newbie in Fedora. Been trying to get my wireless card in my pc to hook up with linksys WRT54G router. Been 3 days trying to solve it :mad: but to now avail. Hope somebody can help.

1. Belkin card unable to scan or connect to the linksys AP
2. Wlan0 cant be activated with dhcp option, only with static ip.
3. Even when wlan0 is activated, I cant surt the internet.
4. I even tried to connect my eth0 directly to the modem, can ping to internet but still cannot do browsing
5. Tried to activate network manager services, but once started, it will crash my FC8

Below is copy of commands I used during the installation. Really need some help here. Thx and really appreciate any help.
************************************************** ***********************

[root@localhost ~]# /sbin/lspci -v
03:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 19
I/O ports at ac00 [size=256]
Memory at dfefff00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

03:04.0 Ethernet controller: Atheros Communications, Inc. AR5006X 802.11abg NIC (rev 01)
Subsystem: Belkin Unknown device 3000
Flags: bus master, medium devsel, latency 168, IRQ 20
Memory at dfee0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

[root@localhost ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=17 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:3132-7177-3334-6572
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@localhost ~]# iwlist wlan0 scan
wlan0 No scan results
************************************************** ************************************************** ***********
[alphaindia@localhost ~]$ cd Desktop
[alphaindia@localhost Desktop]$ tar -zxvf ndiswrapper-1.51.tar.gz
[alphaindia@localhost Desktop]$ cd ndiswrapper-1.51
[alphaindia@localhost ndiswrapper-1.51]$ make distclean
make -C driver clean
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd compat.h \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C utils clean
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
rm -f *~
rm -fr ndiswrapper-1.51 ndiswrapper-1.51.tar.gz patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd compat.h \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
rm -f *_exports.h .\#* win2lin_stubs.h built-in.o
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C utils distclean
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
rm -f .\#*
[alphaindia@localhost ndiswrapper-1.51]$ make
make -C driver
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C /usr/src/kernels/2.6.23.1-42.fc8-i686 SUBDIRS=/home/alphaindia/Desktop/ndiswrapper-1.51/driver
make[2]: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
LD /home/alphaindia/Desktop/ndiswrapper-1.51/driver/built-in.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/crt.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/hal.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/iw_ndis.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/loader.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ndis.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ntoskernel.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ntoskernel_io.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/pe_linker.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/pnp.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/proc.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/rtl.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/wrapmem.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/wrapndis.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/wrapper.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/usb.o
CC [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/divdi3.o
LD [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ndiswrapper.mod.o
LD [M] /home/alphaindia/Desktop/ndiswrapper-1.51/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'


*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C utils
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
[alphaindia@localhost ndiswrapper-1.51]$ su root
Password:
[root@localhost ndiswrapper-1.51]# make install
make -C driver install
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C /usr/src/kernels/2.6.23.1-42.fc8-i686 SUBDIRS=/home/alphaindia/Desktop/ndiswrapper-1.51/driver
make[2]: Entering directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/kernels/2.6.23.1-42.fc8-i686'


*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


echo /lib/modules/2.6.23.1-42.fc8/misc
/lib/modules/2.6.23.1-42.fc8/misc
mkdir -p /lib/modules/2.6.23.1-42.fc8/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.23.1-42.fc8/misc
/sbin/depmod -a 2.6.23.1-42.fc8 -b /
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/driver'
make -C utils install
make[1]: Entering directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/alphaindia/Desktop/ndiswrapper-1.51/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
install -m 644 loadndisdriver.8 /usr/share/man/man8
[root@localhost ndiswrapper-1.51]# ndiswrapper -i /home/alphaindia/Desktop/Belkin/net5211.inf
bash: ndiswrapper: command not found
[root@localhost ndiswrapper-1.51]# ndiswrapper
bash: ndiswrapper: command not found
[root@localhost ndiswrapper-1.51]# su -

[root@localhost ~]# ndiswrapper -i /home/alphaindia/Dekstop/Belkin/net5211.inf
couldn't open /home/alphaindia/Dekstop/Belkin/net5211.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.
[root@localhost ~]# ndiswrapper -i /home/alphaindia/Desktop/Belkin/net5211.inf
installing net5211 ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64

[root@localhost ~]# ndiswrapper -l
net5211 : driver installed
device (168C:001B) present (alternate driver: ath5k)
[root@localhost ~]# ndiswrapper -m
adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper ...
[root@localhost ~]# iwcongif
-bash: iwcongif: command not found
[root@localhost ~]# iwconfig
lo no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=17 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key: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

eth0 no wireless extensions.

MrHappy
2008-01-23, 09:13 AM CST
Hi alphaindia

Welcome to the forum :)

/sbin/lspci -v
SNIP
03:04.0 Ethernet controller: Atheros Communications, Inc. AR5006X 802.11abg NIC (rev 01)

tells me you have an Atheros chipset in your wireless card.

a /sbin/lspci -n would also be useful, that will give you some numbers to compare things with.

I don't have an atheros wireless card, but these pages may be worth a read.

http://fedoramobile.org/fc-wireless/madwifi-yum-livna
along with
http://www.linuxwireless.org/en/users/Drivers/ath5k
and
http://www.linuxwireless.org/en/users/Drivers/madwifi

hope you get it working.

MrHappy

stoat
2008-01-23, 09:36 AM CST
Hello alphaindia,

I didn't find in your post where you added the ndiswrapper module to the kernel.[root@localhost ~]# modprobe ndiswrapper

It may help to disable (aka "blacklist") the native driver for your card.[root@localhost ~]# echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

After that, either reboot or remove the ath5k module.[root@localhost ~]# modprobe -r ath5k

It also may help to create the alias for wlan0 in /etc/modprobe.conf even though you already have run ndiswrapper -m which created an alias for wlan0 in /etc/modprobe.d/ndiswrapper.

[root@localhost ~]# echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf

These things may allow you to see your card in the Network Configuration utility (system-config-network) and create, configure, and activate a new wireless connection.

P.S.: That chipset (AR5006X) is listed at ndiswrapper.sourceforge.net (http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_o-z/) as one known to work with ndiswrapper (see the Philips SNN6500 card in the list). A quick look on the Internet revealed many people struggling with it (as always), but it also revealed posts where it worked with ndiswrapper.

P.P.S.: This card may also work with madwifi. There are many posts about that, too.

alphaindia
2008-01-23, 10:57 AM CST
Hello alphaindia,

I didn't find in your post where you added the ndiswrapper module to the kernel.[root@localhost ~]# modprobe ndiswrapper

It also may help to disable (aka "blacklist") the native driver for your card.[root@localhost ~]# echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

After that, either reboot or remove the ath5k module.[root@localhost ~]# modprobe -r ath5k

It may also help to create the alias for wlan0 in /etc/modprobe.conf even though you already have run ndiswrapper -m which created an alias for wlan0 in /etc/modprobe.d/ndiswrapper.

[root@localhost ~]# echo "alias wlan0 ndiswrapper" >> /etc/modprobe.conf

These things may allow you to see your card in the Network Configuration utility (system-config-network) and create, configure, and activate a new wireless connection.

P.S.: That chipset (AR5006X) is listed at ndiswrapper.sourceforge.net (http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_o-z/) as one known to work with ndiswrapper (see the Philips SNN6500 card in the list). A quick look on the Internet revealed many people struggling with it (as always), but it also revealed posts where it worked with ndiswrapper.

P.P.S: This card may also work with madwifi. There are many posts about that, too.
Stoat,

I tried to do all all stated in your earlier post. However, whenever i tried to access system-config-network and activated my wlan0, the FC8 freeze. Maybe i did it wrongly. Could yo be kind enough to lay down step by step on what I should do?

One more thing, notice at the driver u mentioned is a PHilips driver whereby my card is Belkin. Correct me if im wrong. Im willing to try i you say it is ok. Thank for the help man.

stoat
2008-01-23, 12:26 PM CST
I think I would move on to madwifi. Do you have some reason not to? You gave ndiswrapper a fair try, and I don't have any more suggestions for you related to it.

FriedChips
2008-01-23, 01:05 PM CST
*** WARNING: This kernel seems to use 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel

Your freeze-up is probably related to this message, all fedora kernels are compiled with 4K stacks by default. Some windows drivers WILL NOT work with this option. Most will. You my friend are unlucky. If you have a serious itch to recompile your kernel today you certainly can, otherwise it would be best to try the native drivers

alphaindia
2008-01-23, 07:14 PM CST
Your freeze-up is probably related to this message, all fedora kernels are compiled with 4K stacks by default. Some windows drivers WILL NOT work with this option. Most will. You my friend are unlucky. If you have a serious itch to recompile your kernel today you certainly can, otherwise it would be best to try the native drivers

Thx for the suggestion FriedChips. How do I do kernel recompilation?Mind giving me few tips on how to do it?Btw, the current configuration posted earlier is based on native driver. Sorry for asking a very basic question

alphaindia
2008-01-23, 07:21 PM CST
I think I would move on to madwifi. Do you have some reason not to? You gave ndiswrapper a fair try, and I don't have any more suggestions for you related to it.
Yup Stoat, I get the same suggestion from Leonard at linuxquestions.org. The only problem now is to remove the current installation of the ndiswrapper. Mind giving me a quick tutorial for that..Here's the link where the madwifi is suggested http://werewolf.freshrpms.net/rpm.html?id=207.Will definitely let u know if it works.

stoat
2008-01-23, 07:48 PM CST
You just need to backtrack and undo a few things: Remove the kernel module with modprobe -r ndiswrapper
Edit /etc/modprobe.conf and remove the ndiswrapper alias for wlan0
Edit /etc/modprobe.d/blacklist and remove the blacklist line for ath5k
You don't really have to uninstall ndiswrapper. It's a tiny program. But if you want to, you can do it by running make uninstall in the source file directory just like you did when you installed it with make install. If you deleted the source file directory, you can download the tarball again and recreate the directory.

alphaindia
2008-01-24, 10:22 AM CST
As suggested, madwifi seems to be working. Thx. Now my network manager and dispatcher can work and detected my router AP.Nevertheless, I still cant connect. AP now has been set to have no security. WHen i access my network option,I can see that my wlan0 interface is still inactive and effort to bring it up failed. i.e determining ip,....failed. Please advise.

************************************************** ******************
[alphaindia@localhost ~]$ su -
Password:
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:80:1E:12:E0:0E
UP 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:19 Base address:0xf00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4276 errors:0 dropped:0 overruns:0 frame:0
TX packets:4276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4270332 (4.0 MiB) TX bytes:4270332 (4.0 MiB)

wifi0 Link encap:UNSPEC HWaddr 00-17-3F-48-D9-AA-08-27-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1273 errors:0 dropped:0 overruns:0 frame:114
TX packets:74 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:115347 (112.6 KiB) TX bytes:7160 (6.9 KiB)
Interrupt:20

wlan0 Link encap:Ethernet HWaddr 00:17:3F:48:D9:AA
inet6 addr: fe80::217:3fff:fe48:d9aa/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1500 (1.4 KiB) TX bytes:4424 (4.3 KiB)

[root@localhost ~]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:17:3F:48:D9:AA
inet6 addr: fe80::217:3fff:fe48:d9aa/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1500 (1.4 KiB) TX bytes:4424 (4.3 KiB)

[root@localhost ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437 GHz Access Point: 00:14:BF:16:85:C8
Bit Rate:0 kb/s Tx-Power:14 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-96 dBm Noise level=-96 dBm
Rx invalid nwid:2073 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@localhost ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.437 GHz Access Point: 00:14:BF:16:85:C8
Bit Rate:0 kb/s Tx-Power:14 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/70 Signal level=-96 dBm Noise level=-96 dBm
Rx invalid nwid:2134 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

FriedChips
2008-01-24, 10:29 AM CST
Thx for the suggestion FriedChips. How do I do kernel recompilation?Mind giving me few tips on how to do it?Btw, the current configuration posted earlier is based on native driver. Sorry for asking a very basic question

That really is not a basic question at all. I have never recompiled a kernel so I would have a hard time suggesting you to do that. Looks like you are having good luck with the native drivers though. Good to see progress.

alphaindia
2008-01-24, 10:38 AM CST
As stated in my earlier post, my network manager seems to be working now, thx to madwifi. I can see that the AP now. BUt still cant connect. Any idea FriedChips?

asim20ch
2008-09-19, 10:34 PM CDT
hi every one i am stuck in middle of installing bcm4309 wifi. :confused:

Problem is i dont have lan card in my dell laptop so cant connect to internet. & after reading many post i downloaded kmod-ndiswrapper-2.6.23.1-42.fc8-1.48-15.lvn8.i686.rpm form internet but installation of this rpm requires active internet connection which i dont have. :(
So i cant install it using yum install ndiswrapper.
Kindly give me some solution what i should do. :cool:
Thanks
M.ASim Mubarik