LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-02-2010, 07:18 PM   #1
Christopher1968
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
wireless


Ok I have tried doing this on my own and am asking for help.
My connection manager shows wired connections and shows wireless as being disabled.
here is some terminal info any help getting wireless going?


Here is a bunch of things I have tried and the results.
nixon@nixon-desktop:~$ sudo ifup wlan0
Ignoring unknown interface wlan0=wlan0.
nixon@nixon-desktop:~$ sudo ifdown wlan0
ifdown: interface wlan0 not configured
nixon@nixon-desktop:~$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132
nixon@nixon-desktop:~$ iwlist wlan0 scanning
wlan0 Failed to read scan data : Network is down

nixon@nixon-desktop:~$ sudo iwconfig wlan0 essid ACCESSPOINT
nixon@nixon-desktop:~$ sudo iwconfig wlan0 key PASSPHRASE
Error for wireless request "Set Encode" (8B2A) :
invalid argument "PASSPHRASE".
nixon@nixon-desktop:~$ sudo dhclient
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFFLAGS: Unknown error 132
SIOCSIFFLAGS: Unknown error 132
Listening on LPF/wlan0/00:06:25:1c:78:41
Sending on LPF/wlan0/00:06:25:1c:78:41
Listening on LPF/eth0/00:11:11:45:d8:43
Sending on LPF/eth0/00:11:11:45:d8:43
Listening on LPF/eth1/00:20:e0:22:71:b1
Sending on LPF/eth1/00:20:e0:22:71:b1
Sending on Socket/fallback
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.0.6 from 192.168.0.1
DHCPREQUEST of 192.168.0.6 on eth1 to 255.255.255.255 port 67
DHCPACK of 192.168.0.6 from 192.168.0.1
bound to 192.168.0.6 -- renewal in 40238 seconds.
nixon@nixon-desktop:~$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132
nixon@nixon-desktop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wlan0 IEEE 802.11b ESSID:"ACCESSPOINT"
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thrff Fragment thrff
Power Managementff

nixon@nixon-desktop:~$ iwconfig essid driveon: Sets the ESSID/SSID
iwconfig: unknown command "driveon:"
nixon@nixon-desktop:~$ iwconfig essid driveon
iwconfig: unknown command "driveon"
nixon@nixon-desktop:~$ iwconfig channel 7
iwconfig: unknown command "7"
nixon@nixon-desktop:~$ ifconfig wlan0 up
SIOCSIFFLAGS: Permission denied
nixon@nixon-desktop:~$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132
nixon@nixon-desktop:~$ sudo lspci
[sudo] password for nixon:
00:00.0 Host bridge: Intel Corporation 82925X/XE Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82925X/XE PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
04:01.0 Network controller: Broadcom Corporation BCM4303 802.11b Wireless LAN Controller (rev 02)
04:02.0 Modem: Intel Corporation FA82537EP 56K V.92 Data/Fax Modem PCI (rev 04)
nixon@nixon-desktop:~$

Last edited by Christopher1968; 05-03-2010 at 12:55 AM.
 
Old 05-03-2010, 12:24 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,830

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
The BCM4303 is supported with the bcm43xx module. Have you got it loaded? In a console as root, run the command 'lsmod' and look for the module. If it is not loaded, you will need to use modprobe to load it. Then you can configure the card.

If it is loaded, there is some other issue. Post the results of 'ifconfig' and 'iwcinfig'. All commnads without the quotes.
 
Old 05-03-2010, 06:36 PM   #3
Christopher1968
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
ok here is lsmod

Module Size Used by
binfmt_misc 6587 1
rfcomm 33421 4
sco 7885 2
fbcon 35102 71
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
vga16fb 11385 0
vgastate 8961 1 vga16fb
snd_intel8x0 25588 2
snd_ac97_codec 100646 1 snd_intel8x0
ac97_bus 1002 1 snd_ac97_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70662 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
bridge 45582 0
stp 1655 1 bridge
snd_seq_dummy 1338 0
snd_seq_oss 26726 0
bnep 9436 2
snd_seq_midi 4557 0
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
arc4 1153 2
l2cap 30624 16 rfcomm,bnep
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
radeon 674135 3
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rndis_wlan 20617 0
ttm 49943 1 radeon
b43legacy 115152 0
btusb 10925 2
drm_kms_helper 29297 1 radeon
rndis_host 5756 1 rndis_wlan
ppdev 5259 0
cdc_ether 3541 1 rndis_host
dell_wmi 1793 0
mac80211 204922 1 b43legacy
snd 54148 14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_ti mer,snd_seq_device
drm 162471 5 radeon,ttm,drm_kms_helper
bluetooth 49892 9 rfcomm,sco,bnep,l2cap,btusb
dcdbas 5422 0
parport_pc 25962 1
usbnet 14943 3 rndis_wlan,rndis_host,cdc_ether
cfg80211 126485 3 rndis_wlan,b43legacy,mac80211
lp 7028 0
psmouse 63245 0
serio_raw 3978 0
agpgart 31724 2 ttm,drm
i2c_algo_bit 5028 1 radeon
led_class 2864 1 b43legacy
soundcore 6620 1 snd
snd_page_alloc 7076 2 snd_intel8x0,snd_pcm
parport 32635 3 ppdev,parport_pc,lp
b44 25542 0
mii 4381 2 usbnet,b44
ssb 37336 2 b43legacy,b44
tg3 109292 0
nixon@nixon-desktop:~$

ifconfig

ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:11:45:d8:43
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:16

eth1 Link encap:Ethernet HWaddr 00:20:e0:22:71:b1
inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::220:e0ff:fe22:71b1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1253 errors:0 dropped:0 overruns:0 frame:0
TX packets:1235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:977674 (977.6 KB) TX bytes:251249 (251.2 KB)

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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:480 (480.0 B) TX bytes:480 (480.0 B)


and iwconfig
iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wlan0 IEEE 802.11b ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thrff Fragment thrff
Power Managementff

pan0 no wireless extensions.


Thanks for helping me work on this. A few weeks ago I had issue with a USB wireless and got that working but I am not sure by what means I did so. I then came across a free wifi card from a friends dead pc and installed that. now nothing wireless is working on this pc.
 
Old 05-04-2010, 08:57 AM   #4
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,830

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
The module bcm43xx is not loaded. The card will not work until it is installed, and loaded.

You can try as root to 'modprobe bcm43xx' and see what happens. If it reports 'module not found' ( probably will ) you will have to look in Synaptic for the package that contains it. Once installed, you should be able to modprobe it then.

When you use modprobe, no news is good news. If it loads, then run lsmod again, anc confirm it is there. Then you can start configuring the card.
 
Old 05-05-2010, 05:32 PM   #5
Christopher1968
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I really thank you for your help and I did get the Module not found. Is there a place i can get a step by step for doing this and info on how to configure the card.?
I am going to keep playing. Last time I got this working I just wish i knew what i did. but none the less not going back to Windows anytime soon!
 
Old 05-06-2010, 09:33 AM   #6
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,830

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
Quote:
Is there a place i can get a step by step for doing this and info on how to configure the card.?
I would suggest looking in the Ubuntu wiki, here -->https://wiki.ubuntu.com/

I have not looked for your card in particular, they do have some excellent documentation. Look for a wifi HowTo.
 
Old 05-07-2010, 01:08 AM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The b43 legacy module is what the system selected for your device. The bcm43xx driver is for even older kernels.
You need to cut out the firmware from a Windows driver. Look for a package with a name such as b43-fwcutter to do this. I haven't seen this device with 'legacy' in its name before, but I think that for more recent broadcom devices a staging driver is used.
Posting your kernel version and the manufactures code for your device (from `lspci -n') may help.
 
Old 05-08-2010, 01:15 AM   #8
Christopher1968
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
$ lspci -n
00:00.0 0600: 8086:2584 (rev 04)
00:01.0 0604: 8086:2585 (rev 04)
00:1c.0 0604: 8086:2660 (rev 03)
00:1c.1 0604: 8086:2662 (rev 03)
00:1d.0 0c03: 8086:2658 (rev 03)
00:1d.1 0c03: 8086:2659 (rev 03)
00:1d.2 0c03: 8086:265a (rev 03)
00:1d.3 0c03: 8086:265b (rev 03)
00:1d.7 0c03: 8086:265c (rev 03)
00:1e.0 0604: 8086:244e (rev d3)
00:1e.2 0401: 8086:266e (rev 03)
00:1f.0 0601: 8086:2640 (rev 03)
00:1f.1 0101: 8086:266f (rev 03)
00:1f.2 0106: 8086:2652 (rev 03)
00:1f.3 0c05: 8086:266a (rev 03)
01:00.0 0300: 1002:5b60
01:00.1 0380: 1002:5b70
02:00.0 0200: 14e4:1677 (rev 01)
04:01.0 0280: 14e4:4301 (rev 02)
04:02.0 0703: 8086:1080 (rev 04)
 
Old 05-10-2010, 06:29 AM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I didn't notice that your device was just a wireless b device. so it is old hence the legacy.
Quote:
Originally Posted by from main.c of bcm43legacy source
The following table supports BCM4301, BCM4303 and BCM4306/2 devices. */
This page lists your device and has instructions on installing the firmware. http://wireless.kernel.org/en/users/Drivers/b43
Bcm43legacy is the correct kernel module. You need to install bcm-fwcutter (if it isn't), download the driver with the firmware and install it.

After this is done, modprobe the b43legacy module and then run "sudo /usr/sbin/iwlist scan". That will tell you if the wireless device is working. If it is, the next step is configuring the device and wep or wpa.

Good Luck!
 
Old 12-12-2010, 11:24 PM   #10
pasbanrule
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
I also have a "you are no supposed to be here" redirection page for any directory that I don't want people have FTP-like HTTP access... once, I accidentally discovered a friend's resume/CV in one of his sub-directories. I think any directory without index.html or index.php automatically have get an FTP-like html interface (if you know what I'm talking about)... like /images/ directories, which I believe most websites will have. A bit of a side-question... is there a technically correct or easier way of preventing such "unauthorized" access to these directories? I can't quite figure out a way with permissions, since for most of those directories, you'll need to set it readable by public for them to access the contents (e.g. images, javascript, etc).
 
  


Reply

Tags
wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cannot get wireless to work on Toshiba Satellite L350-170 (Wireless card: RTL8187B) TiggerTiggerTigger Linux - Laptop and Netbook 5 01-07-2009 06:33 PM
"Linux supported wireless card driver for Linksys wireless-g adaptor? northcoastrat Linux - Desktop 4 07-18-2008 06:33 PM
Intel Wireless 3945ABG Wireless NIC card not working after 8.04 clean install creature124 Linux - Hardware 4 05-03-2008 11:58 AM
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 12:48 PM


All times are GMT -5. The time now is 11:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration