You are not logged in.
Pages: 1
Great! Glad the question made sense after all. Thanks for the help. This community is so good.
In spite of the the "permission denied" and the "no such file" messages, my wifi is now working after inputting these commands. Whether it's stable or not is a question for another day, but it works now. I don't know what I did, though. Here's my question:
What file or files should I look in see the status of my working wifi? Does this question even make sense? I mean, how do I see what the now working code looks like so that I can replicate it in the future?
And thanks for all your help. Like t0ast, I've learned a lot.
@machinebacon
So I thought I'd look into this:
Create that file if you don't have it.
sudo echo "options b43 pio=1 qos=0" > /etc/modprobe.d/b43.conf
but when I tried I got a "permission denied"
If I sudo cat /etc/modprobe.d it shows as a directory, but if I sudo cat .../b43.conf I get "no such file or directory." Obviously, without a file I cannot edit it to add "options b43 pio=1 qos=0", but that's what the echo command does, right? It adds the file "options...qos=0" into the /etc/modprobe.d directory.
Or do I have that wrong?
If
sudo modinfo wlthen
filename: /lib/modules/2.6.32-5-686/kernel/drivers/net/wireless/wl.ko
license: MIXED/Proprietary
alias: pci:v000014E4d00004727sv*sd*bc*sc*i*
alias: pci:v000014E4d00004357sv*sd*bc*sc*i*
alias: pci:v000014E4d00004353sv*sd*bc*sc*i*
alias: pci:v000014E4d0000432Dsv*sd*bc*sc*i*
alias: pci:v000014E4d0000432Csv*sd*bc*sc*i*
alias: pci:v000014E4d0000432Bsv*sd*bc*sc*i*
alias: pci:v000014E4d0000432Asv*sd*bc*sc*i*
alias: pci:v000014E4d00004329sv*sd*bc*sc*i*
alias: pci:v000014E4d00004328sv*sd*bc*sc*i*
alias: pci:v000014E4d00004315sv*sd*bc*sc*i*
alias: pci:v000014E4d00004313sv*sd*bc*sc*i*
alias: pci:v000014E4d00004312sv*sd*bc*sc*i*
alias: pci:v000014E4d00004311sv*sd*bc*sc*i*
depends: lib80211
vermagic: 2.6.32-5-686 SMP mod_unload modversions 686
parm: oneonly:int
parm: piomode:int
parm: instance_base:int
parm: nompc:int
parm: name:stringAre the bad modules blacklisted (as of Point 6 in the Debian Wiki entry)?
echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf
As far as I know. I ran through the Debian wiki code once yesterday when I did the reinstall and the command wouldn't work. I don't remember exactly what the error was, but I gave up for the day at that point.
Today I tried again using tranche's directions here: http://crunchbanglinux.org/forums/post/110823/#p110823
I ran the code, as root:
aptitude update
aptitude install module-assistant wireless-tools
m-a a-i broadcom-sta
echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf
update-initramfs -u -k $(uname -r)
modprobe -r b44 b43 b43legacy ssb brcm80211
modprobe wl
iwconfigAnd received no error messages. When I did modprobe -r... the terminal just went to the next command line (there was no output). I don't know if there was supposed to be.
As for turning off the power:
lappy:~$ iwconfig eth1 power off
Error for wireless request "Set Power Management" (8B2C) :
SET failed on device eth1 ; Operation not permitted.
lappy:~$ sudo iwlist eth1 power off
[sudo] password for aaron:
iwlist: command `power' needs fewer arguments (max 0)Both versions give grim results
lappy:~$ iwlist eth1 scan
eth1 Interface doesn't support scanning.
lappy:~$ iwlist wlan0 scan
wlan0 Interface doesn't support scanning.But it DOES change the terminal if I Fn + something else...
If fn doesn't react, the key is not mapped right.
Then it isn't mapped right. With the window open, pressing just the fn key does nothing in the terminal. Of course, the terminal goes crazy if the mouse moves over it. In usage it works with some things: Fn9 dims the screen and fn0 brightens it. Fna operates the F1 key (I'm using a gen1 Dell mini9, btw). Those are the things I used, so i never noticed. Do I remap? Is there a way in the terminal to see if the wifi is on?
Now comes a very stupid question: is wifi actually enabled in BIOS? Is there a kind of switch/button on the computer?
It's a fair question. As far as I can tell, it is on. There is no physical switch. When I first got in late 2008 it was running Dellbuntu and switched off and on via fn 2. And of course there is the right mouse "enable wireless." I have ever only turned wifi off when I was on Dellbuntu, I migrated to Mint Xfce in late 2009 and have never turned it off using fn 2 since. I have only occasionally used right button "wireless disabled."
After finishing my dissertation last month I decided to play with other distros (tired of Mint Xfce). Since then I have briefly installed #! Statler, #! 9.04, lubuntu 11, and Ali puppy remix. I have never turned off wifi during that time but have had similar problems in puppy as in Statler but wifi worked fine under 9.04 and lubuntu.
TMI? ANyway, not a dumb question. I actually wondered if I had somehow turned it off during the installs. I don't know if fn2 even works anymore and right mouse shows "wireless enabled."
THe thing that kills me is that this seems to be a regular problem but I'm the only one who cannot get it resolved. Yargh.
sudo iwconfig eth1 essid anyThere's no output. I'm assuming iwcofig did it's job, but nothing's changed. I mean, there's still no usable wifi connection.
Thanks for the help machinebacon.
sudo ifconfig eth1renders
eth1 Link encap:Ethernet HWaddr 00:23:08:1e:4e:21
inet6 addr: fe80::223:8ff:fe1e:4e21/64 Scope:Link
UP 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17 Entire output is
eth0 Link encap:Ethernet HWaddr 00:21:70:ca:29:e4
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::221:70ff:feca:29e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1968 errors:0 dropped:0 overruns:0 frame:0
TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:556208 (543.1 KiB) TX bytes:14193 (13.8 KiB)
Interrupt:27 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:23:08:1e:4e:21
inet6 addr: fe80::223:8ff:fe1e:4e21/64 Scope:Link
UP 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:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
pan0 Link encap:Ethernet HWaddr 12:c7:f0:56:5e:3b
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)but I'm guessing you just needed lo? And I'm newbier than frenchtOast. What's the -a do versus the -k?
I must get in on this: I have the same problem, have been having the same problem, and I cannot resolve it so far using any of this traditional fixes. Just so ya'll know I'm not lazy, the following are the pages to which I have referred and tried:
http://crunchbanglinux.org/forums/topic … er-alpha1/ (the broadcom how-to)
http://wiki.debian.org/wl#Squeeze
http://crunchbanglinux.org/forums/topic … confusion/ (my original query)
http://crunchbanglinux.org/forums/post/110823/#p110823 (tranche's first epic assist)
http://crunchbanglinux.org/forums/topic … onnecting/ (and his second)
First time out I didn't have root privileges so I couldn't update anything or use synaptic as root. I reinstalled using a WinDiskImager USB instead of Unetbootin. I do have root now and even see that the updated synaptic includes the b43-fwcutter and b43 driver, so I started there. Even though they show install it doesn't work.
Going through the Debian Wiki first time I couldn't get past the blacklist of drivers, but that's resolved itself.
I'm using a broadcom BCM4312 802.11b/g LP-PHY. If I
lspci -k the broadcom stanza shows that I'm already using the wl driver, eg.
Network controller: Broadcom Corporation BCM4312802.11b/g LP-PHY (rev 01)
Subsystem: Broadcom Corporation Device 04b5
Kernel driver in use: wl Finally, and this is probably it, if I
sudo ifconfig wlan0 I get a device not found error.
I was able to get this driver to work in Mint. I like #!. I'd rather not enter the distro lottery again. Any more suggestions?
Thanks to everybody who gave input. The situation was resolved with sudoers, though to be honest I am not quite sure how. I tried everything you all suggested and did end up with root privileges using the 'su root' command. I still was not able to access the /etc/sudoers file, however. I did a reinstall and tried everything again, still to no avail.
Ali stepped in with a pm and quickly showed me the content of /etc/sudoers using the cat command (which nobody had suggested, mind you all
) and then edited the file using gedit. Honestly, I have no idea what he did differently than me, but the file is edited to add username ALL=(ALL:ALL) ALL.
I just ran through the entire process again to be certain I understood it and it all makes a sort of sense now. Now I have a new problem, but that's for a different post.
Thanks, all. This is a great community.
This is driving me absolutely nuts!
I reinstalled, connected via ethernet this time, and had the same issue with setting up the network, as expected. But this time several different things have happened:
1. During the network setup, even though I knew it wouldn't connect because of the b43 issue, I input the network name and WP Key and SSID, etc. When I unplugged the ethernet cable it showed my network, AND THEN CONNECTED showing 100% signal. But when I tried to connect to the web (super w) the screen came up "no connection"
2. following earlier instructions, I was able to get into root by typing
su
[password]
visudo
which gave me
visudo: /etc/visudoers.tmp unchanged
So I typed
sudo nano /mount-point/etc/sudoers
which opened an empty editing window in nano with the file name "/mount-point/etc/sudoers"
I had hoped there would be some code there, but added the line
username ALL=(ALL:ALL) ALL
anyway and tried to save using cmd X, which gave me
Save modified buffer? (Y)
File name to write: /mount-point/etc/sudoers [enter]
Error writing /mount-point/etc/sudoers: No such file or directory
For what it's worth, this feels like progress. I got a wireless connection, though not really, and I got further in the terminal than I have before.
And another thing: on a lark I opened synaptic and did a search for b43 and both firmware-b43-installer and b43-fwcutter appear as installed, Thinking that maybe Corenominal included I thought I'd try installing it that way, but I cannot enter synaptic as root: if I input usename password it opens but says without root permissions I cannot change the system and if I input root password the entire screen blinks once and I'm back where I started.
As I keep pounding away at this, any more suggestions? Why do I not have an /etc/sudoers file? Or is it the /etc/sudoers.d file that appears in thunar? Can I write one?
Seriously, what the eff?
having no /etc/sudoers file is a bad thing
Haha...so I gather. I will try a reinstall this afternoon, but that said I have seen somewhere that there is a way to include the Broadcom wifi driver into the install. I've not had any luck finding the fix on linuxquestions, debianwiki, or here, but could it be as simple as including the driver on the usb installer and having the install search for it there? That seems stupid, but what else have I proven to be so far.
Any tips for the reinstall? Is there some choice I might have made the bollocksed the whole thing from the start?
And thanks for all the help, too. I had the same problem with the broadcom card when I installed Mint Xfce, but that one was much easier to resolve.
your problem (as far as i understand) is that your user is not a sudoer, therefor you insert the live cd and try to edit the installation's /etc/sudoers in order to become a sudoer
the live cd's user (crunchbang) IS a sudoer, therefor it can "sudo" anything, including editing the installation's /etc/sudoers
Yes! That's the problem. I installed from a USB, and when I insert that I of course get a thunar window with all the files. None of these are /etc/sudoers. (And does it matter that my folder name on the SSD is actually /etc/sudoers.d?)
When I try to reboot from the usb - thinking I could go into recovery mode - the system automatically goes into install. There is no other option available. Am I misunderstanding the way usb install work (e.g. they really aren't live cds as such)?
In the meantime what I tried to do follow the Debian wiki instructions for installing lenny. Starting from the top, when I aptitude install I get:
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386 LIVE/INSTALL Binary 20110207-09:05] squeeze Release.gpg
Media Change: Please insert the disc labeled 'Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot i386 LIVE/INSTALL Binary 20110207-09:05' in the drive '/media/cdrom/' and press [Enter].
If I then move to "aptitude install build-essential debhelper module-assistant quilt wireless-tools"
I get dependency issues between broadcom-sta-source and both debhelper and quilt and am given options to resolve the issue, but once I do that it says that, for example, debhelper package cannot be found.
So I downloaded the debhelper and quilt packages myself using but now don't know what to do with them.
Sorry to be so thick, but by the gods I am trying.
you have to sudo leafpad (or geany, or gedit) the /mount-point/etc/sudoers file
That's clear enough, except there's the rub. If I
sudo gedit /mount-point/etc/sudoers
Then I get the same message (username is not in the sudoers file).
If I simply
gedit /moint-point/etc/sudoers
then gedit opens a file called "sudoers (mount-point/etc) - gedit", or rather you understand that that is what sits atop the gedit window. But once I try to save I get the gedit message "Could not find the file /mount-point/etc/sudoers.
I guess this makes sense. If there is no such file then there would also be no sudo permissions therein. But it seems like the kind of thing that should have been made during install, and as it was not I have no idea how to begin.
Sorry to be so thick, but to the end of what file?
I came across the same solution at linuxquestions.org: basically go to terminal, type visudo to open the sudoers file, then add username ALL=(ALL:ALL) ALL though there the code is simply usename ALL=(ALL) ALL
But when I do that I get {visudo: /etc/sudoers: permission denied}
Presumably because username is not already in sudoers as having the right permissions.
Somehow through all this I managed to download Skype and install it through synaptic (which required a root password), but I cannot even get into synaptic as root now.
I'm trying to install the b43 work around to get my Broadcom wireless card to work on a new #! install. When in type in the command "sudo apt-get install b43-fwcutter" (I think that's what I need) I of course get the prompt for my username password. When I put it in I get the message "usename in not in the sudoers file. This incident will be reported."
Why is my username NOT in the sudoers file when I just installed #! yesterday and haven't done anything to mess it up yet, and how do I add my username in? I looked through the forums and think that maybe this thread is the most apt:
http://crunchbanglinux.org/forums/topic … ers-issue/
If so, I'd reboot with my live CD (usb in my case) and open a terminal to run the command
sudo mount /dev/sda1 ~/tmp
then edit the ~/tmp/etc/sudoers file
All well and good, but edit it to what?
Or am I going down the wrong path? Could I fix it more simply with a reinstall?
I've been playing around with linux ever since I loaded Gentoo on an old Dell D800 in '05. As a total newb I started playing with Ubuntu with Dapper Drake and then got my union office to migrate to Heron. I stuck with ubuntu when I went into the field for research - I needed stability and had only limited net access, so I had Dellbuntu (Gnome) on a gen-1 mini9 for the duration of 2009. Oh, the problems! And I never really felt like I learned how to properly use linux because I coudln't afford to bork my os.
I left for Mint early last year and played with both the LXDE and XFCE versions. Loved xfce, but the mini9 in SMALL, and over time it still felt too bloated. I'd been reading about fluxbox and openbox, but I never made a move. Now I'm ready for a change.
So I've been playing with different distros on a thumb drive: Puppy, SliTaz, Arch, Salix, PCLOS, and #!. I started with Puppy because I wanted something small/portable that I could use to introduce linux to my friends and family (my wife is dedicated to MS but has NO END of problems with it). But it's so cluttered on the front end, and I couldn't get sound or wifi to work easily (I managed to cobble it together using 5.2.5). SliTaz and Salix I still find a bit daunting. Sure, I've been experimenting with linux for more than 5 years, but my years in the field (stability, unreliable internet) froze me at the NEWB LEVEL.
Then I started playing with #! because it looked like it offered a light-weight, quick, fully functional os with all the basic packages I needed. It also seemed to be a few steps further from newb-friendly. In other words, if I use it I'm going to have to get my hands dirty and finally learn how to use the terminal properly; I might actually learn how to really use linux. I looked at both openbox and xfce, but the latter just seemed to layer functions I was used to over the cleaner layout of openbox. I like it, but I'm still running it off a thumb drive.
Here's the thing: I have over two years of field notes and pieces of my dissertation on my currently Mint flavored netbook. Sure, everything is saved and backed-up in various media in various places (2 thumbs, dvd, external drive, and the home desktop), but as the parenthetical suggests, I am crazy paranoid about accidentally losing this part of my life.
I like #!, but it's still a bit laggy - I'm assuming because it isn't installed on my SSD. I've read through many of the forums and looked through the tips and code and advice offered. I really like the community, but I find many of the fixes daunting (oh noes, code!).
So, that's my story. My diss is submitted and saved in at least 4 different places. I'm ready to get my hands dirty.
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.