LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Mint 10 Julia 2.6.35-28-generic , "No wireless" (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mint-10-julia-2-6-35-28-generic-no-wireless-876681/)

jameson1983 04-23-2011 11:57 AM

Linux Mint 10 Julia 2.6.35-28-generic , "No wireless"
 
No wireless since install. The actual switch is broken but after days and days of pasting god knows what into the terminal i actually got it to work and was online with full signal but after reboot it was gone again. Nothin i do gets it back. All i have in network icon is ethernet until lastnight now i got nothig. just says no networks and cant even get online at all. Also when i do that apt-get update thing it says i need over 800 upgrades and takes hours to finish then it fails. i wish there was some number to call for help. been workin on it for a month and feel like smashing this thing. i just hate windows and im not goin back to that crap. i need to reinstall from scratch but need help setting it up.

EricTRA 04-23-2011 12:04 PM

Hello and Welcome to LinuxQuestions,

First of all: DON'T PANIC! The best thing to do is stay calm and take it step by step. First of all, when asking a question you should provide some information about what distro and version you're using and about the hardware. So, you mentioned apt-get, so I imagine you're using a Debian based distro. Please let us know what distro and version you are using. Next, referring to the wireless NIC, can you tell us what type it is? Open a terminal and type the following:
Code:

lspci
lsusb
iwconfig

Post the output of those three commands here.

I imagine that when you 'pasted God knows what', you loaded a kernel module necessary for your wireless but it didn't get loaded after reboot because you probably didn't configure it to do so.

Kind regards,

Eric

jameson1983 04-23-2011 06:33 PM

3 Attachment(s)
Thank you for your response. as for the "god knows what" i mean i have spent hours and hours a day for almost two months searching and pasting anything i thought might work in the terminal. This is why i said i probaby need to reinstall, again. I hope these help.

==================================================================================================== ===========================================

==================================================================================================== ===========================================
iwconfig

~ lo no wireless extensions.

eth0 no wireless extensions.
==================================================================================================== ===========================================

lspci


00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce Go 6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

==================================================================================================== ===========================================


lsusb


Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 090c:1000 Feiya Technology Corp. Flash Drive
Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
==================================================================================================== ===========================================


This was in a folder i found in my system. Not sure if it helps.

# wl module from Broadcom conflicts with ssb
# We must blacklist the following modules:
blacklist b44
blacklist b43legacy
blacklist b43
blacklist ssb
install wl /sbin/modprobe --ignore-install wl $CMDLINE_OPTS

also i tried to put # infront of the lines to see if that would help but i dont even know if it saved.
==================================================================================================== ===========================================
I believe this is my os info.

Attachment 6806

I just noticed the kernel was not (i686)yesterday so i must have changed it. It was i356 or 86 not really certain.
==================================================================================================== ===========================================
As of now I cant get online with the computer. I have no network icon and cant find any to get it back or get online. The broadband i was using until last night is not showing up. I will wait to reinstall for now because im not sure if that would change the info i just posted about the comp.
Thangs again for your help. I have spent hours and hours and got nowhere.







On the wireless card sticker it reads "CM94311MCGHP1 revP2 WMIB-217G V00-A 4AD7FCD"

Thanks so much.

EricTRA 04-24-2011 01:23 AM

Hello,

Wow, long post, way too much information to go through :) Also if you post output of a command, please use code tags. That'll make it more readable. To use code tags click on the # sign in the icon bar when you're adding your post.

So you have a Broadcom card... Those have given me a headache in the past too but since Broadcom released drivers for Linux I haven't had any problem ever since. Since you don't quite remember exactly what you have done and this is a new installation, I advice you to reinstall. That should at least get your cabled network up and running. After the basic install, connect to the internet using your cable and run either the Update Manager or from a console
Code:

sudo apt-get update
sudo apt-get upgrade

Next for your wireless, open a terminal if you don't have it open yet and execute the following:
Code:

sudo apt-get install module-assistant wireless-tools broadcom-sta-common broadcom-sta-source
m-a a-i broadcom-sta
sudo echo "blacklist brcm80211" >>/etc/modprobe.d/broadcom-sta-common.conf
sudo update-initramfs -u -k $(uname -r)
sudo modprobe -r b44 b43 b43legacy ssb brcm80211
sudo modprobe wl
sudo iwconfig

The first line installs the necessary packages for the broadcom-sta driver and the utilities to compile it for your kernel.
The second one calls the module assitant (m-a) with auto-install (a-i) to compile and install the broadcom-sta driver.
next you need to blacklist some default driver(s) so they don't conflict with your broadcom-sta.
The modprobe -r command removes the malfunctioning drivers for broadcom from your kernel.
Next with modprobe wl you'll load the correct module into the kernel.
And with iwconfig you check if you get wireless extensions on your card.

I'm using Linux Mint Debian Edition with the latest kernel (2.6.38-3) and every time I update my kernel I repeat the above procedure and it never fails me. Just yesterday a friend told me about his problems with Mint and wireless and I passed the same commands to him and his wireless hasn't failed him since.

So give it a try and please let me know if it works for you too.

Kind regards,

Eric

jameson1983 04-24-2011 03:26 PM

when i got to the step "m-a a-i broadcom-sta", it failed with,

┌────────────────┤ module-assistant, error message ├─────────────────┐
│ │
│ You are not root and no replacement directory (the -u option) is
│ specified. Unable to continue.
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ▒
│ ↓

│ <Ok>
│ │
└────────────────────────────────────────────────────────────────────┘


so i did sudo m-a a-i broadcom-sta and got,

┌────────────┤ module-assistant, interactive mode ├─────────────┐
│ Build of the package broadcom-sta-source failed! How do you │
│ wish to proceed? │
│ │
│ VIEW Examine the build log file │
│ CONTINUE Skip and continue with the next operation │
│ STOP Stop processing the build commands

build log file reads,

├────────────────────┐
│ │
│ CC [M] /usr/src/modules/broadcom-sta/i386/src/shared/linux_osl.o
│ CC [M] /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.o
│ /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c: In function
│ ‘_wl_set_multicast_list’:
│ /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1435: error:
│ ‘struct net_device’ has no member named ‘mc_list’
│ /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1435: error:
│ ‘struct net_device’ has no member named ‘mc_count’
│ /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1436: error:
│ dereferencing pointer to incomplete type
│ /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.c:1442: error:
│ dereferencing pointer to incomplete type
│ make[3]: *** [/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_linux.o]
│ Error 1
│ make[2]: *** [_module_/usr/src/modules/broadcom-sta/i386] Error 2

│ <Ok>
│ │
└────────────────────────────────────────────────────────────────────────────┘

TobiSGD 04-24-2011 03:34 PM

It may be just that I am blind, but in your posted output of lspci and lsusb I can't see any wireless device at all. Are you sure that your adapter is plugged in? If so, does/did it work with Windows?
In Mint you don't need to compile drivers most of the time, it has the same driver installer as Ubuntu, I would try to use that first.

jameson1983 04-24-2011 04:24 PM

The chip is in and connected. after iwconfig i get,


lo no wireless extensions.

eth0 no wireless extensions.

ppp0 no wireless extensions.

As for windows I dont know. The system was crashed when I got the computer and I put Linux on first thing. at one point the aditional drivers popped up and broadcom was on it. i selected and installed. It worked and i was online untill rebooted havent seen it since.

I also have a netopia 2300u usb wireless adapter and cant get it working either. I tried the windows wireless drivers installer and when the right inf file was installed it froze the computer.

jameson1983 04-26-2011 11:59 AM

Ok so after few more hours of research its working again. well kinda. when i click on the network manager applet it shows wireless but its not showing the networks that the other computers in the same room show. I only hope hope that the wireless is still there after reboot. ill post back after i find out. I dont wanna mark as solved untill i know for sure. here is the url to the page that i followed. i dont know why it worked but it did.

http://linuxwireless.org/en/users/Dr...e_installation


Now here goes the reboot. wish me luck.

jameson1983 04-26-2011 02:20 PM

so much for that. no wireless again. ima give it a couple more days and see if anybody on here knows what the problem is cause im done wasting so many hours on this. Im going to save myself a lotta trouble unload the entire clip from the 50 cal straight through the monitor. Ill put it on youtube and post a link in this thread and mark as solved. lol.

TobiSGD 04-26-2011 02:23 PM

Would be cheaper to get a wireless adapter that is not using this Broadcom crap.

EricTRA 04-26-2011 03:20 PM

Quote:

Originally Posted by jameson1983 (Post 4337151)
so much for that. no wireless again. ima give it a couple more days and see if anybody on here knows what the problem is cause im done wasting so many hours on this. Im going to save myself a lotta trouble unload the entire clip from the 50 cal straight through the monitor. Ill put it on youtube and post a link in this thread and mark as solved. lol.

Hi,

Can you check if you have the kernel header package installed?
Code:

sudo dpkg -l 'linux-headers*'
and if not install them with:
Code:

sudo apt-get install linux-headers-$(uname -r)
and then try to repeat what I posted before with the broadcom-sta driver. I'm almost sure that missing the header files will be why compiling before failed. I've run this installation with my Broadcom NIC in about 8 different kernels over the last months and it never failed me.

Kind regards,

Eric

jameson1983 04-26-2011 03:33 PM

#linux-headers-2.6.35-22-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

jameson1983 04-26-2011 03:35 PM

Quote:

Originally Posted by TobiSGD (Post 4337154)
Would be cheaper to get a wireless adapter that is not using this Broadcom crap.

i have two. netopia 2300u and cisco. dont know how to get them to work either

EricTRA 04-27-2011 12:34 AM

Quote:

Originally Posted by jameson1983 (Post 4337210)
#linux-headers-2.6.35-22-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Hi,

Found this on the Linux Mint forum. Apparently the Debian way (I use LMDE), doesn't work on other Mint versions (Ubuntu based). Try what's suggested there, believe me, the broadcom-sta is worth it.

Kind regards,

Eric

jameson1983 04-27-2011 09:35 PM

1 Attachment(s)
ok this makes no since, When i put in the live cd for mint 10 it only has wired option im my network manager applet, no wireless option. after i click and start to install linux from cd to my hard drive the aditional drivers pop up and broadcom is on there to install, one says sta source and is a drive the other says b43 and says it is firmware. now once that pops up and before installing anything if i click on the network manager app it now has wireless as an option and says under the word wireless "device not ready, firmware missing". if i install the firmware for the b43 broadcom device my wireless works, but only up untill the point linux is installed. Once install is finished it is gone. Even before reboot as well as after reboot. The only time it is there is at start of instilation. i did lspci while it was working...


lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce Go 6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ppp0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off

sorry but i still dont understand about posting output with # as you said before.Attachment 6866


All times are GMT -5. The time now is 05:26 PM.