LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Trouble configuring wireless card (https://www.linuxquestions.org/questions/linux-wireless-networking-41/trouble-configuring-wireless-card-138202/)

jeeva 01-24-2004 03:16 PM

Trouble configuring wireless card
 
Hi all,

I am trying to configure Linksys wireless adapter card WPC11 (ver 4) on my laptop. But I keep getting some error or other other.

When I do a modprobe i get this message:

[root@localhost root]# modprobe 8139too
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: insmod /lib/modules/2.4.20-8/kernel/drivers/net/8139too.o failed
/lib/modules/2.4.20-8/kernel/drivers/net/8139too.o: insmod 8139too failed


(Note: I have a alias in /etc/modules.conf as 'alias eth0 8139too)

I am not sure what look to look for in demesg, but i here is a snapshot:

PCI: Found IRQ 11 for device 00:03.0
PCI: Sharing IRQ 11 with 00:03.1
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:10.0
PCI: Found IRQ 11 for device 00:03.1
PCI: Sharing IRQ 11 with 00:03.0
PCI: Sharing IRQ 11 with 00:07.2
PCI: Sharing IRQ 11 with 00:10.0
Yenta IRQ list 0698, PCI irq11
Socket status: 30000020
Yenta IRQ list 0698, PCI irq11
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8180
PCI: Enabling device 02:00.0 (0000 -> 0003)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26
8139too Fast Ethernet driver 0.9.26


Following is the info abt my card:

[root@localhost etc]# cardctl info
PRODID_1="Realtek"
PRODID_2="Rtl8139"
PRODID_3=""
PRODID_4=""
MANFID=0000,024c
FUNCID=6
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255

[root@localhost etc]# cardctl status
Socket 0:
3.3V CardBus card
function 0: [ready]
Socket 1:
no card


Any body have any idea what might be wrong...?

Thanks,
Jeeva

beyer42 01-24-2004 06:31 PM

Checkout

http://www.linuxvoodoo.com/resources/howtos/linksysv4/

one of the better howto's I have seen.

jeeva 01-24-2004 06:47 PM

Yeah, I tried that...
But that fails at this step:

make bzImage

that gives some errors...but i am not able to make out what it is..
and I am struck!

beyer42 01-24-2004 07:05 PM

try skipping the make bzimage step, that should be done automatically in make install.

david_ross 01-25-2004 08:33 AM

Moved to Wireless

jeeva 01-25-2004 02:24 PM

When I try to do wlanup, this is eaht i get:
After that if i try to ping or use the browser to access a IP address, the system hangs. Anyone got a clue whats wrong?

[root@localhost rtl8180_1.5]# make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o r8180_pci_init.o r8180_pci_init.c
In file included from r8180_pci_init.c:40:
r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
r8180_pci_init.c:1:1: warning: this is the location of the previous definition
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux-2.4.20-8/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -DRTL8180_DRV_ON_PC -DENABLE_DBG_PRINT -c -o r8180_if.o r8180_if.c
In file included from r8180_if.h:20,
from r8180_if.c:43:
r8180_type.h:62:1: warning: "ENABLE_DBG_PRINT" redefined
r8180_if.c:1:1: warning: this is the location of the previous definition
--- Generate open part open_part.o ---

--- Generate rtl8180 linux driver rtl8180_24x.o on 2.4.20-8 ---

********************************************************************

[root@localhost rtl8180_1.5]# /sbin/insmod rtl8180_24x.o
[root@localhost rtl8180_1.5]# /sbin/iwpriv wlan0 wlan_para ssid=linksys
Invalid command : wlan_para
[root@localhost rtl8180_1.5]# /sbin/iwpriv wlan0 wlan_para networktype=infra
Invalid command : wlan_para
[root@localhost rtl8180_1.5]# /sbin/iwpriv wlan0 wlan_para authtype=opensystem
Invalid command : wlan_para
[root@localhost rtl8180_1.5]# /sbin/iwpriv wlan0 wlan_para channel=6
Invalid command : wlan_para
[root@localhost rtl8180_1.5]# /sbin/iwpriv wlan0 enable
Invalid command : enable
[root@localhost rtl8180_1.5]# echo "$(/sbin/ifconfig wlan0)"
wlan0 Link encap:Ethernet HWaddr 00:0C:41:7A:14:1B
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x4000
[root@localhost rtl8180_1.5]# /sbin/ifconfig wlan0 192.168.1.2 netmask 255.255.255.0
[root@localhost rtl8180_1.5]# echo "$(/sbin/ifconfig wlan0)"
wlan0 Link encap:Ethernet HWaddr 00:0C:41:7A:14:1B
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x4000
[root@localhost rtl8180_1.5]# /sbin/route add -net 0.0.0.0 gw 192.168.1.1
[root@localhost rtl8180_1.5]# echo "$(/sbin/ifconfig wlan0)"
wlan0 Link encap:Ethernet HWaddr 00:0C:41:7A:14:1B
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0x4000


All times are GMT -5. The time now is 08:13 PM.