LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   RedHat 9.0, Kernel 2.4.21, Linux-Wlan-Ng-0.2.1, Compiles and Runs. But Cant Connect. (https://www.linuxquestions.org/questions/linux-wireless-networking-41/redhat-9-0-kernel-2-4-21-linux-wlan-ng-0-2-1-compiles-and-runs-but-cant-connect-135877/)

AndrewBalmos 01-17-2004 08:26 PM

RedHat 9.0, Kernel 2.4.21, Linux-Wlan-Ng-0.2.1, Compiles and Runs. But Cant Connect.
 
Hello,

I am running:

Red Hat Linux 9.0
Kernel 2.4.21
Linux-Wlan-ng-0.2.1
Microsoft USB MN-510 Wireless Network Adapter

I download and configured and compile the kernel and did the same with wlan with the newly compiled kernel.

I ran Make install to have wlan install its self and than I ran this:

chkconfig --add wlan
chkconfig wlan on

than I made a file at '/etc/sysconfig/network-scripts/' called ifcfg_wlan0

In this file I added:
DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp

and I add the rc.wlan into the '/etc/init.d/' with the name wlan and created the symlinks in the correct rc folders.

When I reboot Linux I get a

Starting wlan [ OK ]
Bringing Up Interface wlan0 [ FAILED ]

And a error about not getting a IP

I used the HOWTO files located at: http://www.fuw.edu.pl/~pliszka/hints/prism2.html

Any ideas one way Wlan wont bring up its interface?

Thanks,
Andrew

jtshaw 01-18-2004 03:49 PM

Ok, so wlan is started, when you do a cat /proc/interrupts do you see wlan0 on there anywhere? Do you see any information about wlan when you run dmesg? When you do a lsmod what drivers are loaded?

jtshaw 01-18-2004 04:10 PM

Also, I have been suggesting this to a lot of people using prism2 chipsets. If RedHat has packages for a 2.6.1 kernel install that. It helps kernel coders get some feedback and it gets you a kernel better suited for a desktop machine. It also has the added kernel support for Prism2/2.5/GT chipsets for USB, PCMCIA, and PCI adapters. So you wouldn't need wlan-ng anymore.

AndrewBalmos 01-18-2004 04:34 PM

O Ok... I all ways get kernel configures wornge will an 2.4.21 saved configer file configer the kernel?

And this is what I get:

1. cat /proc/interrupts
timer
Keyboard
Cusced
rtc
usb-uhci
PS/2 Mouse
ied0
ide1

2. dmesg
Prisim2_init: prism2_usb.o: 0.2.1-pre164 Loaded
Prisim2_init: dev_info is: prism2_usb
usb.c: registered new driver prism2_usb
driverf allocating divert_blk for wlan0
Prism2 car SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
prism2sta_mlmereguest: failed to read wlan0 statistics: error=-5

3. lsmod
parport_pc
lp
parport
autofs
sq
sr_mod
ide-scsi
scsi-mod
ide-cd
cdrom
Printer
prism2_usb
p80211
Keyboard
mousedey
hid
input
usb_unci
usbcore
ext3
jbd

I will also look in kernel 2.6.1

Thanks for the reply....

Andrew

jtshaw 01-18-2004 05:21 PM

This is your problem:

Prism2 car SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
prism2sta_mlmereguest: failed to read wlan0 statistics: error=-5

You might try to download the newest wlan-ng package from www.linux-wlan.org to see if they have a fix for the problem. (if you used a redhat package)

AndrewBalmos 01-18-2004 06:18 PM

Nope I installed Linux-wlan myself and I used the lasted version. My card Microsoft MN-510 Is also supported...

I saw that too and was looking around to see if I could find what error code -5 means....

Know where I can? Also I am going to install kernel 2.6.1...

Andrew


All times are GMT -5. The time now is 07:27 PM.