Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to set up a wireless card in gentoo
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Wed Apr 11, 2007 3:16 pm    Post subject: How to set up a wireless card in gentoo Reply with quote

I have a Dell Inspiron E1505 and i want to set up the intergrated wireless. I have the Eth0 set up to my nic but I want a wireless also. Im new and i want to know how to set it up. Thank you very much
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Wed Apr 11, 2007 4:01 pm    Post subject: Reply with quote

Start here: HOWTO Wiireless Configuration and Startup

Welcome, and please get in the habit of searching before posting. A search for "wireless howto" in the Networking & Security forum turns up several useful threads, all of which also reference that Wiki HOWTO.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Wed Apr 11, 2007 7:36 pm    Post subject: Reply with quote

But i want to set my wireless upto eth1 or something i cant have it being eth0 thats my wired. How would I do that.
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
Suicidal
l33t
l33t


Joined: 30 Jul 2003
Posts: 959
Location: /dev/null

PostPosted: Wed Apr 11, 2007 8:29 pm    Post subject: Reply with quote

udev should automagically detect it and assign it a device name.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Wed Apr 11, 2007 9:57 pm    Post subject: Reply with quote

Its not for me i got eth0 thats it. Is there a way to specify it?
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Thu Apr 12, 2007 1:27 am    Post subject: Reply with quote

Besides eth1, did you look for other common wireless interface device names, like ath0 or wlan0 or ... (other names escape me)? You need the device first...it's easier to configure the interface if it actually exists. :wink:

Did you compile your kernel with support for your wireless hardware? If you did and it's compiled as a module, is the module loaded at boot (check the appropriate file in /etc/modules.autoload.d)?
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Thu Apr 12, 2007 4:50 pm    Post subject: Reply with quote

No it doesnt there is onle lo loop back and eth0
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Thu Apr 12, 2007 9:22 pm    Post subject: Reply with quote

anyone
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Thu Apr 12, 2007 9:52 pm    Post subject: Reply with quote

First, a friendly bit of advice: good etiquette (and at least one administrator) suggests a 24hr lapse before bumping a thread.

Please post the output of these two commands (you must be root for the second one):
Code:
ls -l /sys/class/net/*/device
lspci
If you don't have lspci, emerge -av sys-apps/pciutils to install it. This should identify your wireless adapter and show us whether the kernel has recognized it.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Fri Apr 13, 2007 2:56 pm    Post subject: Reply with quote

Network Controller: Broadcom corperation known device 4311

would that be my wireless?


(sorry for not waiting im used to other fourms thanks for the advice and time time bandit)
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Apr 13, 2007 6:22 pm    Post subject: Reply with quote

RedSamurai wrote:
Network Controller: Broadcom corperation known device 4311

would that be my wireless?

Probably, but the commands I suggested provide additional information that will help in configuring your kernel properly. Please post the complete output, thanks.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Fri Apr 13, 2007 7:05 pm    Post subject: Reply with quote

Code:
localhost ~ # ls -l /sys/class/net/*/device
lrwxrwxrwx 1 root root 0 Apr 13 07:53 /sys/class/net/eth0/device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:03:00.0



Code:
localhost ~ # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [ATI Mobility Radeon X1300]
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
03:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
03:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
0b:00.0 Network controller: Broadcom Corporation Unknown device 4311 (rev 01)





Heres everything
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Apr 13, 2007 7:56 pm    Post subject: Reply with quote

Thanks. Yes, that's definitely your wireless adapter. I wanted to see the full listings for two reasons: 1) only one interface device in /sys/class/net confirms your kernel hasn't recognized your wireless adapter, and 2) matching the PCI ID of eth0 (00:1e.0/03:00.0) with the PCI device list serves as a double-check (by elimination) to identify the wireless device.

You will need to reconfigure your kernel, then rebuild and reinstall modules to get the driver. Once it's loaded you'll have the wireless interface and you can proceed to configure it per the HOWTO. Unfortunately I can't get to a kernel config right now to locate the correct options for you--I'll post back later tonight (tomorrow at worst) with more info, if no one else has chimed in before then.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Fri Apr 13, 2007 7:58 pm    Post subject: Reply with quote

Thank you time bandit. You are the best :P
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Fri Apr 13, 2007 8:41 pm    Post subject: Reply with quote

No problem! :)
FYI, your PCI ID database is apparently a little stale: your "Broadcom Corporation Unknown device 4311" is actually a "Dell Wireless 1390 WLAN Mini-PCI Card." You should run update-pciids as root to download the latest list, after which lspci should identify the device by its correct name. AFAIK there's no harm in having an outdated ID list, though an edition complete enough to include all your hardware is obviously helpful.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Sat Apr 14, 2007 1:54 pm    Post subject: Reply with quote

RedSamurai, I did some research and discovered I am now in over my head. :( Configuring wireless devices can be tricky and I'm going to step aside to let those with experience help you. I assumed this would be like most other kernel device setup but there are complicating factors and I'd largely be guessing from this point.

I'll offer one last suggestion: if you have a 2.6.20 kernel, fire up make menuconfig, enable support for wireless drivers:
Code:
Device Drivers  --->
  Network device support  --->
    Wireless LAN (non-hamradio)  --->
      [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions
and look for a "Broadcom 43xx" driver or similar in the list. That's the driver you need. Enable it as a module, rebuild/reinstall your kernel and proceed from there.

These two threads deal specifically with your hardware:You may also need to search/ask for help with "ndiswrapper," which is used (with the Windows driver) when a Linux-native driver for a wireless adapter doesn't exist or doesn't work.

If all that doesn't get you going, I'm sure there are plenty of people who can help you over the last hurdles. Good luck! :)
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Sun Apr 15, 2007 11:12 pm    Post subject: Reply with quote

Ok thank you very much time bandit
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Tue Apr 17, 2007 11:11 pm    Post subject: Reply with quote

I tryed to do the

Code:

cd /usr/src/linux
make menuconfig


Then I enabled all the wireless drivers in the list but I still cant see the wireless device the loobback address and eth0 but i dont see anything that hast to do with a wireless lan. I went to the two other threds and seen the patch but i dont know how to apply it and nidswrapper wouldent emerge does anyone think they can help me.
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Mon Apr 23, 2007 6:32 pm    Post subject: Reply with quote

anyone?
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Tue Apr 24, 2007 5:00 pm    Post subject: Reply with quote

Larry The Cow provided me with an excellent howto on this card:

Code:
emerge -a ndiswrapper
mkdir wifidrivers
cd wifidrivers
wget http://ftp.us.dell.com/network/R140747.EXE
unzip R140747.EXE
cd DRIVER
ndiswrapper -i bcmwl5.inf
ndiswrapper -l # Check if the driver installed ok; should say bcmwl5 : driver installed \n\t device (14E4:4311) present
### Make sure wifi switch is on! ###
modprobe ndiswrapper
iwconfig # Check if it worked
/etc/init.d/net.eth0 stop
iwconfig wlan0 key open wifikey
iwconfig wlan0 essid essid
dhcpcd wlan0
ping www.gentoo.org

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Wed May 02, 2007 8:54 pm    Post subject: Reply with quote

this is what get when i try that.

Code:
localhost ~ # emerge -a ndiswrapper

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-wireless/ndiswrapper-1.33  USE="-debug -usb"

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) net-wireless/ndiswrapper-1.33 to /
 * ndiswrapper-1.33.tar.gz RMD160 ;-) ...                                 [ ok ] * ndiswrapper-1.33.tar.gz SHA1 ;-) ...                                   [ ok ] * ndiswrapper-1.33.tar.gz SHA256 ;-) ...                                 [ ok ] * ndiswrapper-1.33.tar.gz size ;-) ...                                   [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking ndiswrapper-1.33.tar.gz ;-) ...                               [ ok ] * See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it..
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it..
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.
/usr/portage/eclass/linux-info.eclass: line 196: [: too many arguments
 * Checking for suitable kernel configuration options...                  [ ok ] * These sources have not yet been prepared.
 * We cannot build against an unprepared tree.
 * To resolve this, please type the following:
 *
 * # cd /usr/src/linux
 * # make oldconfig
 * # make modules_prepare
 *
 * Then please try merging this module again.

!!! ERROR: net-wireless/ndiswrapper-1.33 failed.
Call stack:
  ebuild.sh, line 1630:   Called dyn_setup
  ebuild.sh, line 702:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  ndiswrapper-1.33.ebuild, line 32:   Called linux-mod_pkg_setup
  linux-mod.eclass, line 465:   Called check_kernel_built
  linux-info.eclass, line 368:   Called die

!!! Kernel sources need compiling first
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/ndiswrapper-1.33/temp/build.log'.


thank you
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Wed May 02, 2007 9:07 pm    Post subject: Reply with quote

RedSamurai wrote:
this is what get when i try that.

Code:
localhost ~ # emerge -a ndiswrapper

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-wireless/ndiswrapper-1.33  USE="-debug -usb"

Would you like to merge these packages? [Yes/No] yes

>>> Emerging (1 of 1) net-wireless/ndiswrapper-1.33 to /
 * ndiswrapper-1.33.tar.gz RMD160 ;-) ...                                 [ ok ] * ndiswrapper-1.33.tar.gz SHA1 ;-) ...                                   [ ok ] * ndiswrapper-1.33.tar.gz SHA256 ;-) ...                                 [ ok ] * ndiswrapper-1.33.tar.gz size ;-) ...                                   [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking ndiswrapper-1.33.tar.gz ;-) ...                               [ ok ] * See http://www.gentoo.org/doc/en/gentoo-kernel.xml for a list of supported kernels.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it..
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it..
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.
  ERROR: Kernel configuration is invalid.
         include/linux/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.
/usr/portage/eclass/linux-info.eclass: line 196: [: too many arguments
 * Checking for suitable kernel configuration options...                  [ ok ] * These sources have not yet been prepared.
 * We cannot build against an unprepared tree.
 * To resolve this, please type the following:
 *
 * # cd /usr/src/linux
 * # make oldconfig
 * # make modules_prepare
 *
 * Then please try merging this module again.

!!! ERROR: net-wireless/ndiswrapper-1.33 failed.
Call stack:
  ebuild.sh, line 1630:   Called dyn_setup
  ebuild.sh, line 702:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  ndiswrapper-1.33.ebuild, line 32:   Called linux-mod_pkg_setup
  linux-mod.eclass, line 465:   Called check_kernel_built
  linux-info.eclass, line 368:   Called die

!!! Kernel sources need compiling first
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/ndiswrapper-1.33/temp/build.log'.


thank you


I think it's self explaining :wink:
Quote:

* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*

* Then please try merging this module again.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Thu May 03, 2007 5:29 pm    Post subject: Reply with quote

Code:
localhost DRIVER # ndiswrapper -i bcmw15.inf
installing bcmw15 ...
couldn't open bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper line 172.


This is my new error lol :P thanks
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
Kasumi_Ninja
Veteran
Veteran


Joined: 18 Feb 2006
Posts: 1825
Location: The Netherlands

PostPosted: Thu May 03, 2007 6:08 pm    Post subject: Reply with quote

RedSamurai wrote:
Code:
localhost DRIVER # ndiswrapper -i bcmw15.inf
installing bcmw15 ...
couldn't open bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper line 172.


This is my new error lol :P thanks


Please follow the instructions carefully $ means as normal user, # means root.

Code:
$ mkdir wifidrivers
$ cd wifidrivers
$ wget http://ftp.us.dell.com/network/R140747.EXE
$ unzip R140747.EXE
$ su


Code:

# ndiswrapper -i bcmwl5.inf
# ndiswrapper -l
# modprobe ndiswrapper
# iwconfig
# /etc/init.d/net.eth0 stop
# iwconfig wlan0 key open wifikey
# iwconfig wlan0 essid essid
# dhcpcd wlan0
# ping www.gentoo.org

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Back to top
View user's profile Send private message
RedSamurai
n00b
n00b


Joined: 24 Jul 2006
Posts: 36
Location: Stockton

PostPosted: Fri May 04, 2007 1:24 pm    Post subject: Reply with quote

Its not working like when i do the ndiswrapper -l command it just
bcmw 15 : invalid driver!
bcmw15.ini : Invalid Driver!
bcmw15 : INvalid driver!

and the iwconfig command says
lo No wireless extensions

eth0 no wireless extensions
_________________
Thank you
RedSamurai ^_^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum