LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-27-2007, 09:18 AM   #1
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Rep: Reputation: 15
Broadcom network adaptor won't work???


I have a Broadcom BCM94318MPG wireless minipci card on my Acer Aspire 5100 and I am running Knoppix 5.1. I save all my data on my USB drive so I can save my config. My card is detected by Knoppix but i can't use i don't get any signal. I am a new to Linux itself and don't know how to do any of the setup, so can someone please give me step by step instuction on how to install my wireless card so I can use Knoppix to its full potential.

Thanks
 
Old 02-27-2007, 09:58 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Let me see if I can give you some help.

I see you think your card is detected. There are some things to find out. If the card is detected, Knoppix should have loaded a driver for the card. It is a good idea if you know what dirver is loaded. There are some commands you can use to help find out.

First of all, the hardware. Run the command 'lspci -vv' ( all commands without quotes ) from a command prompt. This will list many lines of information about all the devices connected to your PCI bus. Look for the ethernet card. Cut and paste the lines back to this thread.

Second, run the command 'lsmod' and look for things like wlan or ath_pci. This would indicate you do have a driver loaded. If you think you know which item is the driver, you can find out more about the driver by typing on a command prompt 'modinfo name_of_file'

Loading the driver is only part of the exercise. You will need to configure the wireless adapter. Knoppix does supply some GUI tools to help out. They are found either on the Penguin and the bottom left beside the K icon or click the K, then KNOPPIX, then Network/Internet.

If your card has a linux driver ( this is the best but not all cards have a linux driver ) then click on Wavelan configuration. This tool will ask you some questions, all of the information is specific to your network. You can find the information in your wireless access point, ( your router or Hub ). You will need to know things like ESSID, channel number, WEP keys etc.

You fill in the information, and it runs the commands to configure your card.

Now, once configured, you may need to activate the interface, and things will work when the configuration is correct.

If there is not a linux driver, the other way to get a wireless card running is by using the windoze drivers, and a piece of code called Ndiswrapper. There are some how-tos on how to make that work. We won't go there until we know if we have to. For now, I'm going to assume there is a linux driver for this card.

Post how far you can get, and we'll go from there...
 
Old 02-27-2007, 01:49 PM   #3
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
Code:
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Acer Incorporated [ALI] Unknown device 009f
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at a000 [size=256]
        Region 1: Memory at c0202000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
Code:
Module                  Size  Used by
ipv6                  279616  10
sworks_agp             13472  0
nvidia_agp             12316  0
efficeon_agp           12192  0
amd_k7_agp             12812  0
af_packet              29960  0
dm_mod                 60440  0
snd_hda_intel          23960  1
snd_hda_codec         161152  1 snd_hda_intel
sdhci                  22540  0
mmc_core               28676  1 sdhci
8139too                31104  0
mii                     9728  1 8139too
bcm43xx               429856  0
ieee80211softmac       33792  1 bcm43xx
ieee80211              37320  2 bcm43xx,ieee80211softmac
ieee80211_crypt        10368  1 ieee80211
snd_pcm_oss            45728  0
snd_mixer_oss          20224  1 snd_pcm_oss
snd_pcm                80004  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              26500  1 snd_pcm
snd                    55396  8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
k8temp                  9728  0
hwmon                   7556  1 k8temp
serio_raw              11012  0
soundcore              12512  1 snd
snd_page_alloc         13960  2 snd_hda_intel,snd_pcm
i2c_piix4              12684  0
shpchp                 41380  0
pci_hotplug            36424  1 shpchp
agpgart                36044  4 sworks_agp,nvidia_agp,efficeon_agp,amd_k7_agp
tsdev                  11840  0
joydev                 13760  0
evdev                  14208  1
pcmcia                 41132  2
firmware_class         14208  2 bcm43xx,pcmcia
yenta_socket           30220  2
rsrc_nonstatic         17408  1 yenta_socket
pcmcia_core            43800  3 pcmcia,yenta_socket,rsrc_nonstatic
cpufreq_ondemand       12300  1
powernow_k8            18848  0
speedstep_lib           8836  0
freq_table              9088  2 cpufreq_ondemand,powernow_k8
video                  19460  0
thermal                17928  0
sbs                    18856  0
processor              36200  2 powernow_k8,thermal
i2c_ec                  9216  1 sbs
i2c_core               25984  2 i2c_piix4,i2c_ec
fan                     8836  0
container               8576  0
button                 10768  0
battery                14084  0
ac                      9348  0
aufs                   88244  1
cloop                  18208  2
sbp2                   28292  0
ohci1394               38960  0
ieee1394              300760  2 sbp2,ohci1394
usb_storage            73408  1
usbhid                 56928  0
ff_memless              9992  1 usbhid
libusual               20624  1 usb_storage
ohci_hcd               24580  0
uhci_hcd               27788  0
ehci_hcd               35848  0
usbcore               135812  7 usb_storage,usbhid,libusual,ohci_hcd,uhci_hcd,ehci_hcd
This is what I got, I I have a broadcom so i think the driver is the IEEE one at the top of the list. I tried the lan setup but it didn't work.

Thanks for you help.

----------------------------------------------------

Sorry but I needed to add something because I was in a hurry. Let me clear everything up for you all.

Ok, I couldn't find the right module that you were talking about, but I I think what you might be talking about and the one that makes the most sense for me is the module that includes the bcm43xx. I know that because I have a broadcom driver.

Next thing, I tried the wavelan to see if it will configure my modem, but the thing is that I wish to use my laptop for at public access points because I currently go to school. And I am not really sure about the channel that the wlan is on so i would prefer a search.

Last but not least, I did try the Ndiswrapper with the BCMWL5.sys and BCMWL5.inf. I'm not sure if the inf file is correct because I had to download it from a website that I found it is more of a generic driver that works for my card. And none of these methods worked for me.

As you can see, I am trying very hard to get this to work because I would like to explore the true potential of Knoppix.

Thanks for all of your help

Last edited by rp1226; 02-27-2007 at 05:20 PM.
 
Old 02-27-2007, 05:21 PM   #4
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
I just updated my last message, this is just to get the attention for the thread, Thanks
 
Old 02-28-2007, 09:05 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
From what I can see, you are in good shape. Yes, I believe the BCM43xx is a linux driver, and that means you do not need to try and use ndiswrapper. The card has a Realtek chip set installed. I have used those cards, so I know they will work. At this point this is just nice to know information.

So, now you need to configure the card so you can connect. Two commands will help you out. The command 'iwconfig' will allow you to configure an display the wireless information, and 'ifconfig' will display and configure the TCP/IP information.

Quote:
Next thing, I tried the wavelan to see if it will configure my modem, but the thing is that I wish to use my laptop for at public access points because I currently go to school. And I am not really sure about the channel that the wlan is on so i would prefer a search.
Wavelan doesn't configure a modem, it configures your wireless ethernet adapter with things like ESSID, channel etc.

Most 'public' access points do not use any encryption, WEP keys etc. If this is for school, the ones I have set up usually will tell you the settings you need for windoze. With a little translation, these are the same for linux. The only thing that is different is where you enter the information. Do you have a windoze system installed on the laptop? If yes, can you connect with windows? If yes, you can use windows to find out what you need to know to configure linux. If not, there is most likely an administrator you can talk to to get the information.

The channel, you can set up the wireless card to 'scan' with the 'auto' setting. In order for you to get see how, open up Konqueror, in the location where you enter URL's, clear teh line, and type 'man:/iwconfig' and press enter. You will get a man page for iwconfig that you can read through. In the channel section, it explains the ways you can select specific channel numbers, or allow the card to scan.

Public sites usually use DHCP to assign IP addresses. If this is the case, after you run Wavelan, try the command 'pump -i ath0' and see if will connect. The ath0 is the name Knoppix calls yoru wireless card, it may be different that ath0, could be ath1 or wlan0. Use the one Knoppix calls your card. There is a Wireless lan manager also on Knoppix you can bring it up to see what networks can 'see'. I have not used the version on 5.1.1. You can give it a go and see what you can see.
 
Old 02-28-2007, 05:03 PM   #6
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
Sorry about the modem thing, I really meant to say adapter.

For the setting, I used iwconfig to setup the adapter. First I went to the manual to take at the look on how to set the iwconfig myself. First I used Wavelan again to check the setting but i didn't get is configured. Then I used the iwconfig to the set the channel to auto so I could scan channels. This is what I got

Code:
root@Knoppix:/# iwconfig
lo        no wireless extensions.

eth0      IEEE 802.11b/g  ESSID:""  Nickname:"Broadcom 4318"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Invalid
          Bit Rate=1 Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=0/100  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth1      no wireless extensions.

root@Knoppix:/# iwconfig eth0 channel auto
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device eth0 ; Invalid argument.
root@Knoppix:/#
As you can see I couldn't change the channel.

I can see that the adapter is installed so I thought I would try KWifiManager to see if would pick something up. When I tried this previously, I got the message that the the adapter was not connected. But this time it said that the signal was zero, so what I'm trying to say is that the network adapter worked but I just couldn't get it connected.

I don't know what to do to get this thing to work But I am willing to try. But as a last consideration I would like to change my distro and go to a more perminif there is no hope.

But I do have hope.
 
Old 03-01-2007, 06:49 AM   #7
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
anyone else wanna try to help me out.
 
Old 03-01-2007, 09:36 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
I tried the "auto" frequency setting on my card, it is invalid for this card also. In the man page it states not all settings will work for all cards, it depends on the card what will work.

So, where does that leave you? You should be able to try each channel until you can connect. I would also suggest you set the 'ESSID" to a value of any. try this sequence of commands as root.

1. iwconfig eth0 essid any channel 1 mode managed ( enter ) There shoudl be no error messages. If there are, the command didn't work.

2. iwconfig ( enter ) This just displays the current settings.

3. ifconfig ( enter ) This shows the status of the interfaces. If eth0 doesn't show up, it is down. Try 'pump -i eth0' ( enter ) This does a dhcp request and tries to activate the interface. Do another ifconfig to see if the interface is up.

4. If the channel is wrong, you do not 'see' the access point, then if the interface is up, down it with the command 'ifconfig eth0 down'.

5.Go to step 1 and try the next channel. Note this is a clossed loop, there is no I give up instruction...

Use the arrow keys to retrieve your old typing to make the whole thing less painful...
 
Old 03-01-2007, 12:03 PM   #9
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
Ok, i started trying that again and I started with channel 1 and I also used the essid that my school provides so that way I know that I have connect to that. (I also tried it with the essid set to any). I was able to change the channel. But when i checked the ifconfig I didn't get the adapter on there. So then I tried the use the pump command

pump -i eth1 (This time my wifi adapter was eth1 instead of eth2)

I get an error that the operation failed.

So then i took a look at man of ifconfig to see if can get the adapter up and running. But nothing worked.

So this is where I stand.
 
Old 03-02-2007, 08:15 AM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,209

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
I would suggest you talk to the people at your school to see if you have all the information you need to connect. You can activate the adapter now, and that is a step forward. One more command to help you out. 'iwlist eth1 scan'.

This command will scan for wireless access points in reach, it will show you if you can get a signal from what ever access points are there. It will only work if ifconfig shows you adapter as active.

Pump may not get you an IP address if there is no DHCP server at your school. You may have to assign an IP address. This is why you need to talk to the people who maintain the network.

Hope this helps.
 
Old 03-02-2007, 08:23 AM   #11
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
Alright thanks for all of your help. I still have to try this last method but I feel a lot more confertable working with linux.

Thanks again.
 
Old 03-02-2007, 07:08 PM   #12
rp1226
Member
 
Registered: Feb 2007
Distribution: Knoppix 5.1
Posts: 53

Original Poster
Rep: Reputation: 15
I have concluded that I need a different driver for this to work. It seems that my adapter won't activate so I think what may fix the problem is download the new drivers but I don't know which ones, and I am considering going to Ubuntu on my desktop.
 
  


Reply


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
Broadcom NetXtreme 57xx Gigabit Controller through integrated ethernet adaptor ubuntu liom Linux - Networking 5 01-06-2010 06:20 AM
problem getting broadcom wireless network card to work thebugslayer Linux - Wireless Networking 1 01-22-2005 06:27 PM
which network adaptor? AVD_ZM Linux - Wireless Networking 2 12-21-2004 05:45 AM
Can't get USB PCI adaptor to work Chantler2 Linux - Hardware 1 06-06-2004 03:38 PM
getting usb wireless adaptor to work linuxvent Linux - Wireless Networking 4 03-24-2004 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:15 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