LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2015, 11:21 AM   #1
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Rep: Reputation: Disabled
Question Trouble configuring BCM4312 wireless card on Debian 3.2.60


Hi,

I'm running Debian on a Dell Inspiron Mini 9, with no GUI. Command uname -a gives Linux vostroa90 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u1 i686 GNU/Linux. I want to set this up as a server of sorts that I can SSH from another computer, which is why it has no GUI. But the wireless card is not configured and, being entirely new to Linux, knowing only like ls and cd, I don't even know where to begin. Could someone walk me through?
 
Old 01-25-2015, 11:32 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Go here and do the stuff it says.

http://wireless.kernel.org/en/users/Drivers/b43

That's as good a walk through as you will find anywhere.
 
1 members found this post helpful.
Old 01-25-2015, 12:01 PM   #3
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Hi,

thanks. I think I've seen this before. My problem was I couldn't configure an ethernet cable, either, by which to get internet and download the firmware. Even after adding in an instruction to autoconfig the ethernet, with dhcp (a Linux pro walked me through, scratching his head), it still wouldn't work, so I couldn't get on to download the firmware.
 
Old 01-25-2015, 12:20 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Edit the file at /etc/network/interfaces
Code:
auto eth0
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
    wpa-ssid <SSID>
    wpa-psk <password>
Bring up the interface using:
Code:
# ifup <interface>
 
Old 01-25-2015, 12:45 PM   #5
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
If I type in the second thing to bring up the file, it doesn't work. I'm supposed to get an editing window, right? I recognize the eth0 configuration; I know that part looks like that, though I can't find the file now. But I hadn't paid attention to the wireless card before,
 
Old 01-25-2015, 12:47 PM   #6
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
if I type in # ifup <interface>, nothing happens. If I type it in w/ sudo, it brings up stuff about usage. Whereis gives 'interface' as not existing. 'interfaces' is in usr/share/man/man5/ interfaces.5.gz
 
Old 01-25-2015, 12:57 PM   #7
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Does it matter that when I shut down it deconfigures network information?
 
Old 01-25-2015, 02:24 PM   #8
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
The first code block is the stuff you need to add to the text file located at /etc/network/interfaces

The second code block is a command that you must run as root (this is what the "#" symbol means).

After adding the contents of the first code block to the text file, save the file -- you must edit it as root to do this, use this command:
Code:
sudo nano /etc/network/interfaces
Use <Ctrl>+x and press "y" and return to save the file when you have added the stanzas I have posted.

Then open a terminal and type:
Code:
sudo ifup eth0
When you have the wireless working, the stanzas will bring this up automatically on boot.

EDIT: Sorry, I should have been much more explicit in my first post -- I was using an Ubuntu live disk and I wanted it all to stop...

Last edited by Head_on_a_Stick; 01-25-2015 at 02:29 PM.
 
Old 01-25-2015, 02:40 PM   #9
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Okay, so I have that in the text file, but here's a question. If I do iconfig, the ethernet thing that pops up is eth1, not eth0. So should I have it as eth1 in the text file? iconfig doesn't show any eth0.

---------- Post added 01-25-15 at 03:40 PM ----------

Thanks for being so patient, by the way. Especially with someone who has no idea what he's doing.
 
Old 01-25-2015, 02:44 PM   #10
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
If I 'ifup' eth0, it can't find it. If I ifup eth1, it says 'Ignoring unknown interface eth1=eth1.'
 
Old 01-25-2015, 02:46 PM   #11
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
'wlan1' is listed as 'Link encap:Ethernet HWaddr'. Is one of the Link encaps supposed to be like a wireless card?
 
Old 01-25-2015, 02:50 PM   #12
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
Okay, changed the name to 'eth1' to experiment. It said it was 'Listening' to and then 'Sending' and then many lines of 'DHCPDDISCOVER on eth1 to [255. four times] port 67 interval [3, 5, 10, 13, 9, 20, 1]'
No DHCPOFFERS recieved, but does that mean it looked? If I now plugged in the ethernet, would it find it?
Last line: 'No working leases in persistent database - sleeping.'
 
Old 01-25-2015, 02:55 PM   #13
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
I rebooted, logged in as root, and checked eth1: 'interface already configured.' Let's try downloading 'build-essentials'…
 
Old 01-25-2015, 02:56 PM   #14
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Yes you will need to change the interface names to the ones that actually exist in your system, both in the text file and in the commands passed

EDIT: this command will show you all the network interfaces on your system:
Code:
ifconfig

Last edited by Head_on_a_Stick; 01-25-2015 at 02:57 PM.
 
Old 01-25-2015, 02:59 PM   #15
clydeBruckman
LQ Newbie
 
Registered: Jan 2015
Posts: 14

Original Poster
Rep: Reputation: Disabled
I ping 8.8.8.8'd, which someone told me to do to check connection once, and it won't stop… What's going on?

---------- Post added 01-25-15 at 03:59 PM ----------

Oh. I got it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom BCM4312 wireless card in a Dell lmanwarren Linux - Networking 1 04-30-2012 06:34 AM
Trouble configuring / installing wireless card Tresmius Linux - Wireless Networking 2 03-11-2007 06:20 PM
trouble configuring wireless card on suse 9.3 B33FST3W Linux - Newbie 1 12-09-2005 12:12 PM
trouble configuring ipw2200 wireless network card slack---line Slackware 5 01-10-2005 09:55 AM
Trouble configuring wireless card jeeva Linux - Wireless Networking 5 01-25-2004 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration