PDA

View Full Version : wireless is hopeless?



tommyboy845
18th January 2008, 02:05 AM
so ive searched all over these forums, ive googled my brain out. ive installed madwifi, i config, reconfigured, reinstalled, tinkerd and toyed with everything i can, and i cant get my wireless to work...

any ideas or pointers would be sooo grateful!

Brian1
18th January 2008, 02:09 AM
Post info on the nic from the command ' /sbin/lspci -v '
uname -r
rpm -qa | grep kernel
rpm -qa | grep madwifi

Brian

tommyboy845
18th January 2008, 02:15 AM
/sbin/lspci-v

[tommyboy@localhost ~]$ /sbin/lspci -v
00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00009000-00009fff
Memory behind bridge: c0100000-c01fffff
Prefetchable memory behind bridge: d0000000-dfffffff
Capabilities: <access denied>

00:12.0 IDE interface: ATI Technologies Inc 4379 Serial ATA Controller (rev 80) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
I/O ports at 8440 [size=8]
I/O ports at 8430 [size=4]
I/O ports at 8420 [size=8]
I/O ports at 8410 [size=4]
I/O ports at 8400 [size=16]
Memory at c0004000 (32-bit, non-prefetchable) [size=512]
[virtual] Expansion ROM at 20000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: sata_sil
Kernel modules: sata_sil

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at c0005000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80) (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at c0006000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80) (prog-if 20 [EHCI])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at c0007000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 81)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: 66MHz, medium devsel
I/O ports at 8450 [size=16]
Memory at c0004400 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: piix4_smbus
Kernel modules: i2c-piix4

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller (rev 80) (prog-if 8a [Master SecP PriP])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
I/O ports at 01f0 [size=8]
I/O ports at 03f4 [size=1]
I/O ports at 0170 [size=8]
I/O ports at 0374 [size=1]
I/O ports at 8460 [size=16]
Capabilities: <access denied>
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp

00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, slow devsel, latency 64, IRQ 19
Memory at c0000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80) (prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=02, subordinate=04, sec-latency=64
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: c0200000-c02fffff

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M] (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 22
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 9000 [size=256]
Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at c0120000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel modules: fglrx

02:04.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7094
Flags: bus master, medium devsel, latency 168, IRQ 20
Memory at c0200000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath_pci
Kernel modules: ath_pci, ath5k

02:06.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 168, IRQ 16
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=03, sec-latency=176
Memory window 0: 24000000-27fff000 (prefetchable)
Memory window 1: 28000000-2bfff000
I/O window 0: 0000a400-0000a4ff
I/O window 1: 0000a800-0000a8ff
16-bit legacy interface ports at 0001
Kernel driver in use: yenta_cardbus

02:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Toshiba America Info Systems Unknown device ff10
Flags: bus master, medium devsel, latency 64, IRQ 20
I/O ports at a000 [size=256]
Memory at c0211000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: 8139too
Kernel modules: 8139cp, 8139too



uname -r

[tommyboy@localhost ~]$ uname -r
2.6.23.9-85.fc8


rpm -qa | grep kernel


[tommyboy@localhost ~]$ rpm -qa | grep kernel
kernel-headers-2.6.23.9-85.fc8
kernel-2.6.23.9-85.fc8
kernel-2.6.23.1-42.fc8


rpm -qa | grep madwifi

[tommyboy@localhost ~]$ rpm -qa | grep madwifi
kmod-madwifi-0.9.3.3-12.lvn8
madwifi-0.9.3.3-1.lvn8
kmod-madwifi-2.6.23.9-85.fc8-0.9.3.3-12.lvn8
madwifi-devel-0.9.3.3-1.lvn8

Brian1
18th January 2008, 02:34 AM
OK do the following.
What does the command ' /sbin/modprobe ath_pci ' show. Must be done as root.
If it loads with no issues lets setup the nic interface.
Copy the contents to /etc/sysconfig/network-scripts/ifcfg-ath0. This is plain dhcp with no security. Set the ESSID info same case as routers setting.


ONBOOT=yes
DEVICE=ath0
MODE=Managed
WIRELESS=yes
BOOTPROTO=dhcp
ESSID=set router essid here
RATE=auto

With the above setup set the router with no security like WEP, WPA, WPA2, mac or ip filtering. Then enable dhcp on lan side on router if not already.

Next since there is a wired nic and also you are more than likely have NetworkManager service running do the following as root.
/sbin/service NetworkManager stop
/sbin/ifdown eth0
/sbin/ifdown ath0
/sbin/ifup ath0

See if it gets an IP from the /sbin/ifconfig -a command.
If so ping the routers lan ip. ping -c2 xxx.xxx.xxx.xxx
If good the ping google. ping -c2 www.google.com
If good there and wish to always start as wireless like so then will help from there.
If needing to enable security will try to help there as well.

Brian

tommyboy845
18th January 2008, 03:18 AM
thanks Brian1.

i did everything you said, except i left the initial essid empty, i rebooted and got an error, once i got to my desktop i clicked to view my wired connection to connect and i had a list of wireless routers around.

not sure what exactly did it, but its all good to go now. thanks a lot for the help!

Brian1
19th January 2008, 08:32 PM
Sounds good. You have a wired nic and more than likely it is set to start on boot as well. One can only have one nic active with an assigned gateway. So if you wish to stay wireless now then edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change ONBOOT=yes to ONBOOT=no. And then for ifcfg-ath0 one use ONBOOT=yes.

Also if NetworkManager is a pain then to disable do the service command and to disable on reboot issue this command.
/sbin/chkconfig --level 345 NetworkManager off

Brian