LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2008, 09:38 AM   #1
alphaindia
LQ Newbie
 
Registered: Jan 2008
Location: Kuala Lumpur,Malaysia
Distribution: Fedora Core 8
Posts: 7

Rep: Reputation: 0
Angry FC8, Ndiswrapper 1.51,Belkin F5D3003 & etc


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 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 ~]# /sbin/lsmod
Module Size Used by
fuse 38485 2
rfcomm 36825 0
l2cap 25537 9 rfcomm
bluetooth 49316 4 rfcomm,l2cap
autofs4 20421 2
sunrpc 140765 1
loop 16581 0
dm_multipath 18249 0
ipv6 245989 12
snd_intel8x0 30429 2
snd_ac97_codec 92389 1 snd_intel8x0
ac97_bus 6081 1 snd_ac97_codec
snd_seq_dummy 6725 0
arc4 5953 2
snd_seq_oss 29889 0
ecb 6721 2
blkcipher 9029 1 ecb
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 37569 0
rc80211_simple 7361 1
snd_mixer_oss 16705 3 snd_pcm_oss
snd_mpu401 11241 1
snd_mpu401_uart 10177 1 snd_mpu401
8139cp 21697 0
snd_pcm 63685 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
ath5k 85197 0
snd_rawmidi 21185 1 snd_mpu401_uart
parport_pc 26981 0
8139too 24513 0
mac80211 131409 2 rc80211_simple,ath5k
ns558 8001 0
snd_seq_device 10061 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
parport 32393 1 parport_pc
snd_timer 20549 2 snd_seq,snd_pcm
mii 8385 2 8139cp,8139too
cfg80211 10441 1 mac80211
gameport 14665 2 ns558
button 10321 0
iTCO_wdt 13797 0
snd 43461 14 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_mpu401,snd_mpu401_uart ,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer
floppy 53125 0
usblp 14913 0
i2c_i801 12113 0
iTCO_vendor_support 7109 1 iTCO_wdt
soundcore 9633 3 snd
i2c_core 21825 1 i2c_i801
snd_page_alloc 11337 2 snd_intel8x0,snd_pcm
sr_mod 17509 0
sg 31965 0
cdrom 33889 1 sr_mod
dm_snapshot 17765 0
dm_zero 5825 0
dm_mirror 21569 0
dm_mod 46209 9 dm_multipath,dm_snapshot,dm_zero,dm_mirror
ata_generic 8901 0
ata_piix 16709 3
libata 99633 2 ata_generic,ata_piix
sd_mod 27329 5
scsi_mod 119757 4 sr_mod,sg,libata,sd_mod
ext3 110665 2
jbd 52457 1 ext3
mbcache 10177 1 ext3
uhci_hcd 23633 0
ohci_hcd 21445 0
ehci_hcd 31693 0
[root@localhost ~]#

[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 thrff 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]$ ls -a
. .. Belkin ndiswrapper-1.51 ndiswrapper-1.51.tar.gz
[alphaindia@localhost Desktop]$ tar -zxvf ndiswrapper-1.51.tar.gz
ndiswrapper-1.51/
ndiswrapper-1.51/AUTHORS
ndiswrapper-1.51/ChangeLog
ndiswrapper-1.51/INSTALL
ndiswrapper-1.51/Makefile
ndiswrapper-1.51/README
ndiswrapper-1.51/ndiswrapper.spec
ndiswrapper-1.51/ndiswrapper.8
ndiswrapper-1.51/loadndisdriver.8
ndiswrapper-1.51/utils/
ndiswrapper-1.51/utils/Makefile
ndiswrapper-1.51/utils/ndiswrapper
ndiswrapper-1.51/utils/loadndisdriver.c
ndiswrapper-1.51/utils/ndiswrapper-buginfo
ndiswrapper-1.51/driver/
ndiswrapper-1.51/driver/divdi3.c
ndiswrapper-1.51/driver/hal.c
ndiswrapper-1.51/driver/iw_ndis.c
ndiswrapper-1.51/driver/iw_ndis.h
ndiswrapper-1.51/driver/loader.c
ndiswrapper-1.51/driver/loader.h
ndiswrapper-1.51/driver/longlong.h
ndiswrapper-1.51/driver/Makefile
ndiswrapper-1.51/driver/crt.c
ndiswrapper-1.51/driver/ndis.c
ndiswrapper-1.51/driver/ndis.h
ndiswrapper-1.51/driver/ndiswrapper.h
ndiswrapper-1.51/driver/ntoskernel.c
ndiswrapper-1.51/driver/ntoskernel.h
ndiswrapper-1.51/driver/ntoskernel_io.c
ndiswrapper-1.51/driver/pe_linker.c
ndiswrapper-1.51/driver/pe_linker.h
ndiswrapper-1.51/driver/pnp.c
ndiswrapper-1.51/driver/pnp.h
ndiswrapper-1.51/driver/proc.c
ndiswrapper-1.51/driver/rtl.c
ndiswrapper-1.51/driver/usb.c
ndiswrapper-1.51/driver/usb.h
ndiswrapper-1.51/driver/winnt_types.h
ndiswrapper-1.51/driver/workqueue.c
ndiswrapper-1.51/driver/wrapmem.h
ndiswrapper-1.51/driver/wrapmem.c
ndiswrapper-1.51/driver/wrapper.c
ndiswrapper-1.51/driver/wrapndis.h
ndiswrapper-1.51/driver/wrapndis.c
ndiswrapper-1.51/driver/lin2win.h
ndiswrapper-1.51/driver/win2lin_stubs.S
[alphaindia@localhost Desktop]$ ls -a
. .. Belkin ndiswrapper-1.51 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
install/manage Windows drivers for ndiswrapper

usage: ndiswrapper OPTION
-i inffile install driver described by 'inffile'
-a devid driver use installed 'driver' for 'devid' (dangerous)
-r driver remove 'driver'
-l list installed drivers
-m write configuration for modprobe
-ma write module alias configuration for all devices
-mi write module install configuration for all devices
-v report version information

where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card
[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 -i /home/alphaindia/Desktop/Belkin/ar5211.sys
install argument must be .inf file
[root@localhost ~]# ndiswrapper -i /home/alphaindia/Desktop/Belkin/ar5211.inf
couldn't open /home/alphaindia/Desktop/Belkin/ar5211.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.
[root@localhost ~]# ndiswrapper -i /home/alphaindia/Desktop/Belkin/ar5211.sys
install argument must be .inf file
[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 thrff Fragment thr=2346 B
Encryption keyff
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.

[root@localhost ~]# iwconfig wlan0 scan
iwconfig: unknown command "scan"
[root@localhost ~]# iwconfig wlan0 linksys
iwconfig: unknown command "linksys"
[root@localhost ~]# iwconfig wlan0 linksys
iwconfig: unknown command "linksys"
[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 thrff Fragment thr=2346 B
Encryption keyff
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.

[root@localhost ~]# iwlist wlan0 scan
wlan0 No scan results

[root@localhost ~]# iwconfig wlan0 mode Managed
[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 thrff Fragment thr=2346 B
Encryption keyff
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.

[root@localhost ~]# iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
[interface] frequency
[interface] channel
[interface] bitrate
[interface] rate
[interface] encryption
[interface] keys
[interface] power
[interface] txpower
[interface] retry
[interface] ap
[interface] accesspoints
[interface] peers
[interface] event
[interface] auth
[interface] wpakeys
[interface] genie
[interface] modulation
[root@localhost ~]# iwlist wlan0 wpakeys 12qw34er
iwlist: command `wpakeys' needs fewer arguments (max 0)
[root@localhost ~]# iwlist wlan0 wpakeys 12qw34er
iwlist: command `wpakeys' needs fewer arguments (max 0)
[root@localhost ~]# iwlist wlan0 scanning
wlan0 No scan results

[root@localhost ~]#
 
Old 01-24-2008, 01:49 AM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
I'm not entirely sure what you are doing, but I did notice one thing, you are trying to install ndiswrapper while ath5k is already loaded for your card, that is asking for trouble. You must unload and blacklist ath5k before ndiswrapper will work.
 
  


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
FC8 + ndiswrapper disco192 Fedora 1 11-09-2007 08:18 AM
Belkin F5D7000 v7000au ndiswrapper gonzo71 Linux - Wireless Networking 1 10-11-2007 09:29 AM
Suse 10.1 & Belkin F5D7051 & ndiswrapper NogungHo Linux - Wireless Networking 7 10-25-2006 02:22 PM
ndiswrapper belkin f5d7000 gsp8181 Linux - Wireless Networking 1 04-13-2006 07:28 PM
Belkin F5D7050 + ndiswrapper 1.8 harvey_r01 Linux - Wireless Networking 5 03-09-2006 06:08 AM


All times are GMT -5. The time now is 10:33 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration