LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-20-2011, 01:23 AM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Rep: Reputation: 21
BCM43225 802.11b/g/n (rev 01) cannot connect to the internet.


Hi, I am using Debian Squeeze with kde 4 installed. My problem is that I am trying to use wireless without success although I can get the router's name, signal strength and encryption type on the kde network settings application.

Wireless hardware:
04:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)

Network connections --->> Wireless
SSID: known
MODE: infrastructure
BSSID: ??? (what is it?)
Restrict to Interface: Any
MTU: Automatic

Network connections --->> Wireless Security
Security: WPA/WPA2 Personal
Password: known to be correct


Any help will definitely be appreciated.
Thanks
 
Old 11-20-2011, 06:19 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi edbarx, Welcome to LQ. Please post the result of the following.

Code:
$ sudo lsmod | egrep '(wl)|(b43)|(lib)'
$ sudo lspci -vvnn | grep -i net
Good luck. ;-)
 
Old 11-21-2011, 03:07 PM   #3
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Code:
# lsmod | egrep '(wl)|(b43)|(lib)'
lib80211_crypt_tkip     6709  0 
wl                   1937423  0 
lib80211                2870  2 lib80211_crypt_tkip,wl
libata                115869  1 ahci
scsi_mod              104853  4 sg,sr_mod,sd_mod,libata
Code:
# lspci -vvnn | grep -i net
04:00.0 Network controller [0280]: Broadcom Corporation BCM43225 802.11b/g/n [14e4:4357] (rev 01)
05:00.0 Ethernet controller [0200]: Atheros Communications AR8132 Fast Ethernet [1969:1062] (rev c0)
pcilib: sysfs_read_vpd: read failed: Connection timed out
 
Old 11-21-2011, 08:53 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Let's have a look at the ifconfig and iwconfig outputs please.

Code:
$ sudo ifconfig -a
$ sudo iwconfig
Good luck. ;-)
 
Old 11-22-2011, 06:52 AM   #5
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Code:
# ifconfig -a
eth0      Link encap:Ethernet  HWaddr ************  
          inet addr:*.*.*.*  Bcast:*.*.*.*  Mask:*.*.*.0
          inet6 addr: ************/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2462 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1187 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:910035 (888.7 KiB)  TX bytes:197568 (192.9 KiB)
          Interrupt:29 

eth1      Link encap:Ethernet  HWaddr ***********  
          inet6 addr: ****************/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:*.0.0.*  Mask:*.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:120 errors:0 dropped:0 overruns:0 frame:0
          TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7560 (7.3 KiB)  TX bytes:7560 (7.3 KiB)
Code:
# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bgn  ESSID:""  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Bit Rate:16 Mb/s   Tx-Power:24 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Managementmode:All packets received
          Link Quality=5/5  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
Old 11-22-2011, 08:25 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Are you a member of the netdev group?

Code:
$ groups
Good luck. ;-)
 
Old 11-22-2011, 08:28 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
If you're in the netdev group here is a couple of other things to look at.

http://wiki.debian.org/NetworkManage...ger_in_Squeeze

Good luck. ;-)
 
Old 11-23-2011, 12:13 AM   #8
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Code:
$ groups
edbarx cdrom floppy audio dip video plugdev
It seems I am not a member of netdev.
 
Old 11-23-2011, 07:33 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Let's add you to that group and see if that solves your problem.

Code:
# usermod -a -G netdev username
Replace username with your actual users name.

Good luck. ;-)

Last edited by Peacedog; 11-24-2011 at 08:23 AM. Reason: Corrected typo in commnad
 
Old 11-24-2011, 06:55 AM   #10
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Could you please tell me what is the purpose of user groups and how they affect an OS's security on the network including the internet? I beg your pardon for asking this question, but I am concerned that if I do something wrong I might unwittingly expose my data.
 
Old 11-24-2011, 08:24 AM   #11
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Permissions and groups is a very broad topic, but I'll try to give you a short version as it pertains to your situation. Having a netdev group allows any user in that group to access devices and files for network configuration that are normally reserved for root. It's a safer alternative than running as root to access the devices/files you need. The group along with root has access which limits what certain users on the system have access to.

There is also a typo in my above post which I have corrected.

Good luck. ;-)
 
Old 11-24-2011, 03:28 PM   #12
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
So, effectively, you are telling me that the system is refusing to use the wifi because some network configuration files are not accessible for my user name.

Do you have an idea which files are these? I should think, if as a normal user with my limited account, I can view these files with a text editor, then it should mean, the problem is caused by something else.

Please, excuse my concern for being very cautious: I migrated from MS Windows to use GNU/Linux for security reasons primarily and then for free software.
 
Old 11-24-2011, 03:51 PM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I am saying it could be the problem, not that it is the problem. I understand your concern, but becoming a member of the group is safer than running as root. Groups are a safe way to allow users access to devices/files as well as restricting access to those same devices/files.

It is no different than being a member of the audio, cdrom, or plugdev groups. Without membership to those groups you wouldn't be able to use sound devices, cd/dvd devices, or pluggable devices. i.e. flash drives.

Good luck.;-)

Last edited by Peacedog; 11-24-2011 at 06:40 PM. Reason: Mobile device double posted!
 
Old 11-25-2011, 06:11 AM   #14
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
I will try your solution and report back. In case it doesn't solve my issue, how do I undo the effects of the command:
Code:
# usermod -a -G netdev username
 
Old 11-25-2011, 07:30 AM   #15
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Adding your user account to the netdev group is listed as a step in the wiki:

http://wiki.debian.org/WiFi/HowToUse#KDE

Quote:
KDE

1. Ensure your user account is a member of the netdev group.
If you still have concerns and would like to remove your user from that group, just issue usermod again with the groups you prefer to stay a member of.

Code:
# usermod -G edbarx, cdrom, floppy, audio, dip, video, plugdev, yourusername
That will keep you in all of the groups you are already a member of and remove the netdev group.

Good luck. ;-)
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Broadcom Corporation BCM4313 802.11b/g LP-PHY (rev 01) f14 on dell laptop navets Fedora 5 05-16-2011 04:17 AM
wifi networks not visible thru Broadcom BCM43225 802.11b/g/n on Acer 5745G mithuns Linux - Wireless Networking 3 12-12-2010 08:11 PM
Intel 4965 AGN - can't connect to wireless 802.11b router, can connect to 11g siodine Linux - Wireless Networking 3 12-01-2007 07:36 AM
ipw2100 on Sony Vaio TR2AP (Rev 04 802.11b Intel 2100) Problems Cabe24 Linux - Laptop and Netbook 1 02-05-2006 11:46 AM
How to connect to internet using the internal 802.11b/g wireless LAN in laptop bin75 Linux - Wireless Networking 1 04-21-2005 09:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:42 AM.

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