Jump to content

[SOLVED] can't get wlan0 to work


Recommended Posts

I've decided to install Ubuntu..version 8.04.1

 

My problem, I have to get my wireless working in order for it to be online...duh

I'm reading a tutorial on how to setup my wireless to work, but the only problem is that most of the functions they call for are things like

apt-get, apt-update, etc, etc, a bunch of online repository functions.

 

This would be fine and dandy if I have an ethernet cable going to the router, but unfortunately the router isn't mine...I'm currently a Wifi leech so I have a desktop and laptop(which I"m installing ubuntu) with wireless.

 

Now I can download all these extractables they ask me to, but I have no clue how to update apt ...and update the linux header kernels and such while offline.....Anyone have a clue?

 

This is the tutorial I'm reading.

http://ubuntuforums.org/archive/index.php/t-516871.html

Link to comment
https://forums.phpfreaks.com/topic/143517-solved-cant-get-wlan0-to-work/
Share on other sites

So I'm assuming I have ndiswrapper installed...I hope

 

I can type sudo ndiswrapper and it doesn't tell me that it's not installed so that's good

What isn't good is that I've installed a driver with it and apparently it's not working

 

I installed a driver called bcmwl5.inf using the command

ndiswrapper -i bcmwl5.inf

 

do I'm trying to delete it, but everytime I do I get the error

Inappropriate ioctl for device

 

I'm using the command

ndiswrapper -e  bcmwl5

 

What's goin on?!

Ok, it would appear you may indeed need to go down that road.

 

My next question is what media did you install from? If you have a large dvd media it may very well have all the packages you require. I'll let you get back to me with that before I go into it any further.

Jesus chirst...

 

what does this mean

Reading package lists...

Building dependency tree...

Reading state information...

Correcting dependencies... failed.

The following packages have unmet dependencies:

  libperl5.8: Depends: perl-base (= 5.8.8-12) but 5.8.8-12ubuntu0.4 is installed

  perl: Depends: perl-base (= 5.8.8-12) but 5.8.8-12ubuntu0.4 is installed

 

They both depend on the same package, but if I try to install perl-base with apt-get it tells me the newest one is installed already.. If I use dpkg -i to install it, it runs it's course and I'm just back to square one.!

 

Also it tells me that libperl and perl are installed with the newest version as well.

Well I fixed the perl issue....just a matter of getting all the dependencies

 

Now I'm really confused though

At one point I was able to type

 

ifconfig or iwconfig

 

and it would actually show my wlan0 card

It would even appear in the nm-applet as Wireless Connection.

 

Now I have done a fresh install, installed all the dependencies, installed ndiswrapper (yes, I have to use it) and my wireless card fails to appear in nm-applet, ifconfig, or iwconfig.

 

If I run ndiswrapper -l

It tells me that the driver is installed and the device (14E4-4311) is present...with alternate driver: ssb.

 

This is my card

Broadcom BCM94311MCG WLAN MINI PCI

 

Any idea why the card isn't showing up?  It was before and I didn't do ANYTHING different from what this tutorial told me.

http://ubuntuforums.org/archive/index.php/t-640890.html

Besides the fact that I had to download everything manually, put it on a flash drive and use dpkg -i to install it all.

 

Ok, so I've done yet another clean re-install of Ubuntu....Hardy Heron

 

Only this time, I did it at school with an ethernet cable hooked up to the internet.  And low and behold....I come closer and closer to getting it to work.

 

As of now.  My wireless light is actually ON.  This is the first time it's came on since I installed Ubuntu for the first time ever.  So I have done something right.

 

Now my problem is this

 

I can't see any networks to connect to.  The laptop is directly beside me, I'm using a desktop as I speak with wireless...so don't tell me there isn't a network to connect to.  I'm on it....in windows

 

Any ideas why

sudo iwlist wlan0 scan

would constantly tell me

no scan results

 

Ok, I've found something important now

 

I logged myself into the wireless router I'm getting signal from, turned off the WEP-64bit encryption and then when I run

 

sudo iwlist wlan0 scan

 

it actually shows results.....Now I have no clue how to connect to them.

 

I don't a Network Manager that I know of....ideas?

 

Of course once I figure this out, I still have to figure out how to connect using a WEP key since this router isn't mine....I have to put the key back.  Hopefully I'll figure it out when I figure out how to connect

Should be something like....

 

auto wlan0
iface wlan0 inet dhcp
    # use if static
    # address 192.168.10.2
    # netmask 255.0.0.0
    # network 192.168.10.255
    # gateway 192.168.10.1
    wireless-mode managed
    wireless-essid NAMEOFCONNECTION
    wireless-key YOURKEY
    dns-nameservers 192.168.10.100

 

You know, I didn't even add that at all..and I have no clue what I did

 

I re-enabled the WEP key.... I scanned again....it still worked.

and then miraculously my network monitor began to show the available networks

I clicked the one I wanted and poof...it asks me for the WEP key.

 

No clue what I did...I just waited....and it fixed itself.

I'm flabbergasted.

 

EDIT.. btw my /etc/network/interfaces looks like this now

auto lo

iface lo inet loopback

 

auto wlan0

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.