LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ifconfig wlan0 up ERROR (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ifconfig-wlan0-up-error-564162/)

GantMan 06-24-2007 12:02 PM

ifconfig wlan0 up ERROR
 
<fluff>
Hi all, I'm one of those fair weather Linux folks. I learn some Linux, maybe even install it and then when things get busy I drop back to using it as little as possible.

I still support it whole, but I can't seem to get through an issue after 1 day, then I never resolve it. I'm hoping to finally fight an issue through day 2, here.

I have an old Inspiron XPS laptop from Dell. It was bogged by Wind0ze so I dedicated it to Fedora Core 7. I figure this will help get my girlfriend and I, into Linux.
</fluff>

<exposition>
I have a Wireless Mini PCI 1350 by Intel. I have downloaded the appropriate drivers and NDIS Wrapper.
ndiswrapper reveals:
Code:

#ndiswrapper -l
bcmwl5a : driver installed
device (14E4:4320) present (alternate driver: bcm43xx-mac80211)

if I iwconfig I can see it in wlan0
</exposition>

<issue>
If I type ifconfig wlan0 up I will get the error:
Code:

SIOCSIFFLAGS: No such file or directory
I'm told this is an IRQ issue from what I've looked up, but I can't seem to figure out how to resolve it. I have only 1 mini pci slot, and the BIOS won't let me mess with IRQ. Not to mention I have no idea if that's the real issue.

Please help
</issue>

Thank you

Lenard 06-24-2007 12:41 PM

This error "SIOCSIFFLAGS: No such file or directory" can also mean that your using the wrong driver for the wireless device.

Dell has a number of these wireless devices, which one is it???
Hint: lspci -v

You might want to use the native driver (bcm43xx-mac80211) and the firmware as per:

http://www.redhat.com/archives/fedor.../msg01009.html

But if not then may I suggest trying the drivers from here instead(in either case):
ftp://ftp.support.acer-euro.com/note...te_2480/driver

This file: Wireless Lan Driver 802bg Broadcom Ver.4.100.15.5V4.0.zip

GregLee 06-24-2007 02:45 PM

When ndiswrapper -l tells you there's an alternate driver, that's a potential problem. If that other driver is actually in use, it will prevent the ndiswrapper driver from working properly. So, if the other driver is a module, it may help to remove it with modprobe -r.

GantMan 06-24-2007 03:13 PM

First thing I tried was to get the drivers you suggested.
Quote:

But if not then may I suggest trying the drivers from here instead(in either case):
ftp://ftp.support.acer-euro.com/note...te_2480/driver
I uninstalled the old and installed the new. Same error

Then I ran lspci - v (which I am very happy to learn thank you!)
which gave me this:
Code:

00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
        Subsystem: Dell Unknown device 017c
        Flags: bus master, fast devsel, latency 0
        Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [e4] Vendor Specific Information
        Capabilities: [a0] AGP version 3.0

00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, fast devsel, latency 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: fc000000-fdffffff
        Prefetchable memory behind bridge: f0000000-f7ffffff

00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at bf80 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at bf60 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at bf40 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 17
        I/O ports at bf20 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 19
        Memory at f8fffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=06, sec-latency=32
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fa000000-fbffffff
        Prefetchable memory behind bridge: 50000000-55ffffff

00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 17
        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 bfa0 [size=16]
        Memory at 56000000 (32-bit, non-prefetchable) [size=1K]

00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at d800 [size=256]
        I/O ports at dc40 [size=64]
        Memory at f8fff800 (32-bit, non-prefetchable) [size=512]
        Memory at f8fff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] (prog-if 00 [VGA])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 32, IRQ 17
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at c000 [size=256]
        Memory at fcff0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at fc000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 3.0
        Capabilities: [50] Power Management version 2

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 01)
        Subsystem: Dell Latitude D400
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
        Memory at faff0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at 54000000 [disabled] [size=64K]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Vital Product Data
        Capabilities: [58] Message Signalled Interrupts: Mask- 64bit+ Queue=0/3 Enable-

02:01.0 CardBus bridge: Texas Instruments PCI4510 PC card Cardbus Controller (rev 02)
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 168, IRQ 16
        Memory at fa000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: 50000000-53fff000 (prefetchable)
        Memory window 1: 58000000-5bfff000
        I/O window 0: 0000e000-0000e0ff
        I/O window 1: 0000e400-0000e4ff
        16-bit legacy interface ports at 0001

02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (prog-if 10 [OHCI])
        Subsystem: Dell Unknown device 017c
        Flags: bus master, medium devsel, latency 32, IRQ 16
        Memory at fafef800 (32-bit, non-prefetchable) [size=2K]
        Memory at fafe8000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

02:03.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
        Subsystem: Dell Wireless 1350 WLAN Mini-PCI Card
        Flags: bus master, fast devsel, latency 32, IRQ 20
        Memory at fafec000 (32-bit, non-prefetchable) [size=8K]

So I see I DLed the wrong driver from DELL, and went and got the right one.
Installed it, and NO go :( Same error.


Lastly I tried your other link
Quote:

You might want to use the native driver (bcm43xx-mac80211) and the firmware as per:

http://www.redhat.com/archives/fedor.../msg01009.html
Downloaded the stuff, unpacked it but I don't have bcm43xx-fwcutter so
the step
bcm43xx-fwcutter -w /lib/firmware/ broadcom-wl-4.80.53.0/kmod/wl_apsta.o

can't happen. Or am I dumb?

LASTLY, for good measure is is my
iwconfig wlan0:
Code:

wlan0    IEEE 802.11g  ESSID:"" 
          Mode:Managed  Channel:0  Access Point: Not-Associated 
          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


GantMan 06-24-2007 04:26 PM

Quote:

Originally Posted by GregLee
When ndiswrapper -l tells you there's an alternate driver, that's a potential problem. If that other driver is actually in use, it will prevent the ndiswrapper driver from working properly. So, if the other driver is a module, it may help to remove it with modprobe -r.


I did modprobe -r bcm43xx
which ran successfully, but when I do ndiswrapper -l I still see it.

even did modprobe -r bcm43xx-mac80211

and now ifconfig seems to work! THANKS! I'll continue messing with this and update you all.

GantMan 06-24-2007 07:23 PM

k, now it shows me connected... but.......Firefox isn't working.

I've got it all entered in perfect :( whats going on?

Ping reveals no DNS capabilities. :(

GantMan 06-24-2007 08:09 PM

I'm so frustrated, what am I missing here?


All times are GMT -5. The time now is 09:34 AM.