LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 01-23-2010, 02:22 PM   #1
moman61
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Rep: Reputation: 0
wireless not working in freebsd 7


I have a belkin wireless card on my dell d600 laptop and it has been detected by freebsd 7. I would like to know how do I assign the wep key to it? On my router I have the mac addresses for wireless configured, so all I have to do is join the network and put in the wepkey.

when I do an ifconfig -a it shows no carrier.
 
Old 01-23-2010, 02:42 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Toronto Canada
Distribution: Slackware 13.37
Posts: 3,987

Rep: Reputation: 274Reputation: 274Reputation: 274
Keys are configured with iwconfig command. See here -->http://linux.die.net/man/8/iwconfig
 
Old 01-23-2010, 06:39 PM   #3
vigol
Member
 
Registered: Feb 2008
Location: Uns Cigano from Vigol
Distribution: FreeBSD 8.0
Posts: 59

Rep: Reputation: 19
Quote:
Originally Posted by camorri View Post
Keys are configured with iwconfig command. See here -->http://linux.die.net/man/8/iwconfig
He talks about FreeBSD, not Linux. There's no iwconfig in the FreeBSD.

First of all you must ensure that wlan_wep_load="YES" exist in loader.conf or compiled in kernel.
Then : Quoted From http://www.freebsd.org/doc/en_US.ISO...-wireless.html, in short:

WEP can be set up with ifconfig:
Code:
# ifconfig ath0 ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \
        inet 192.168.1.100 netmask 255.255.255.0
* The weptxkey means which WEP key will be used in the transmission. Here we used the third key. This must match the setting in the access point. If you do not have any idea of what is the key used by the access point, you should try to use 1 (i.e., the first key) for this value.
* The wepkey means setting the selected WEP key. It should in the format index:key, if the index is not given, key 1 is set. That is to say we need to set the index if we use keys other than the first key

You must replace the 0x3456789012 with the key configured for use
on the access point.


OR

adding the following lines to /etc/wpa_supplicant.conf
Code:
network={
  ssid="my_net"
  key_mgmt=NONE
  wep_key3=3456789012
  wep_tx_keyidx=3
}
>> wep_key3 && wep_tx_keyidx are explained above.
Code:
# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
Useful links:

WEP section in Manual:
http://www.freebsd.org/doc/en_US.ISO...K-WIRELESS-WEP
ifconfig (configure network interface parameters
)
http://www.freebsd.org/cgi/man.cgi?q...nfig&sektion=8
ATH (Atheros IEEE 802.11 wireless network driver)
http://www.freebsd.org/cgi/man.cgi?query=ath&sektion=4
ping(send ICMP ECHO_REQUEST packets to network hosts
)
http://www.freebsd.org/cgi/man.cgi?query=ping&sektion=8
ath_hal (Atheros Hardware Access Layer)
http://www.freebsd.org/cgi/man.cgi?q..._hal&sektion=4
WLAN (generic 802.11 link-layer support)
http://www.freebsd.org/cgi/man.cgi?query=wlan&sektion=4
WLAN_WEP (WEP crypto support for 802.11 devices)
http://www.freebsd.org/cgi/man.cgi?q..._wep&sektion=4
 
Old 01-26-2010, 09:42 PM   #4
moman61
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
RE

How would I know if it has been compiled by the kernel?



Quote:
Originally Posted by vigol View Post
He talks about FreeBSD, not Linux. There's no iwconfig in the FreeBSD.

First of all you must ensure that wlan_wep_load="YES" exist in loader.conf or compiled in kernel.
Then : Quoted From http://www.freebsd.org/doc/en_US.ISO...-wireless.html, in short:

WEP can be set up with ifconfig:
Code:
# ifconfig ath0 ssid my_net wepmode on weptxkey 3 wepkey 3:0x3456789012 \
        inet 192.168.1.100 netmask 255.255.255.0
* The weptxkey means which WEP key will be used in the transmission. Here we used the third key. This must match the setting in the access point. If you do not have any idea of what is the key used by the access point, you should try to use 1 (i.e., the first key) for this value.
* The wepkey means setting the selected WEP key. It should in the format index:key, if the index is not given, key 1 is set. That is to say we need to set the index if we use keys other than the first key

You must replace the 0x3456789012 with the key configured for use
on the access point.


OR

adding the following lines to /etc/wpa_supplicant.conf
Code:
network={
  ssid="my_net"
  key_mgmt=NONE
  wep_key3=3456789012
  wep_tx_keyidx=3
}
>> wep_key3 && wep_tx_keyidx are explained above.
Code:
# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
Useful links:

WEP section in Manual:
http://www.freebsd.org/doc/en_US.ISO...K-WIRELESS-WEP
ifconfig (configure network interface parameters
)
http://www.freebsd.org/cgi/man.cgi?q...nfig&sektion=8
ATH (Atheros IEEE 802.11 wireless network driver)
http://www.freebsd.org/cgi/man.cgi?query=ath&sektion=4
ping(send ICMP ECHO_REQUEST packets to network hosts
)
http://www.freebsd.org/cgi/man.cgi?query=ping&sektion=8
ath_hal (Atheros Hardware Access Layer)
http://www.freebsd.org/cgi/man.cgi?q..._hal&sektion=4
WLAN (generic 802.11 link-layer support)
http://www.freebsd.org/cgi/man.cgi?query=wlan&sektion=4
WLAN_WEP (WEP crypto support for 802.11 devices)
http://www.freebsd.org/cgi/man.cgi?q..._wep&sektion=4
 
Old 01-27-2010, 05:26 PM   #5
vigol
Member
 
Registered: Feb 2008
Location: Uns Cigano from Vigol
Distribution: FreeBSD 8.0
Posts: 59

Rep: Reputation: 19
Quote:
Originally Posted by moman61 View Post
How would I know if it has been compiled by the kernel?
Check if module is loaded or compiled into the kernel
Code:
# kldstat -v | grep wep
 
Old 01-28-2010, 01:37 PM   #6
moman61
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I got 379 wlan_grep

Quote:
Originally Posted by vigol View Post
Check if module is loaded or compiled into the kernel
Code:
# kldstat -v | grep wep
 
Old 01-28-2010, 07:13 PM   #7
vigol
Member
 
Registered: Feb 2008
Location: Uns Cigano from Vigol
Distribution: FreeBSD 8.0
Posts: 59

Rep: Reputation: 19
, and then?
 
Old 02-26-2010, 11:40 AM   #8
roystonlodge
Member
 
Registered: Jun 2008
Posts: 161

Rep: Reputation: 31
I had a DEVIL of a time getting the built-in wireless to work with my Dell d600. I tried different distros (Ubuntu, Debian, Mint, Fedora, etc...), but none gave me any love.

On each distro, I installed bcm43xx-fwcutter and used ndiswrapper to install the WLAN 1450 driver from Dell's website. No luck.

This has gone on for weeks (ok, maybe months).

Then just yesterday, while looking around using gnome-device-manager, I noticed that a "WLAN button" was listed. I looked at the laptop, and could not find an on/off button for the wireless.

Then, I noticed a little blue symbol on the F2 key that looked like an antenna. So I hit FN-F2, and bingo! The wireless kicked in.

All that time fighting with software, and the problem ended up being that I just had to press the proverbial power button. Man, did I feel like a noob!

Now, I can't say that this is the same problem you're having. However, I've been in quite a few message boards where people cannot figure out why they can't get the wireless to work on the d600, even though they're CERTAIN they've installed all the software correctly.

So why not give it a try?
 
Old 03-13-2010, 10:56 AM   #9
moman61
LQ Newbie
 
Registered: Sep 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Dell D600 wireless

Quote:
Originally Posted by roystonlodge View Post
I had a DEVIL of a time getting the built-in wireless to work with my Dell d600. I tried different distros (Ubuntu, Debian, Mint, Fedora, etc...), but none gave me any love.

On each distro, I installed bcm43xx-fwcutter and used ndiswrapper to install the WLAN 1450 driver from Dell's website. No luck.

This has gone on for weeks (ok, maybe months).

Then just yesterday, while looking around using gnome-device-manager, I noticed that a "WLAN button" was listed. I looked at the laptop, and could not find an on/off button for the wireless.

Then, I noticed a little blue symbol on the F2 key that looked like an antenna. So I hit FN-F2, and bingo! The wireless kicked in.

All that time fighting with software, and the problem ended up being that I just had to press the proverbial power button. Man, did I feel like a noob!

Now, I can't say that this is the same problem you're having. However, I've been in quite a few message boards where people cannot figure out why they can't get the wireless to work on the d600, even though they're CERTAIN they've installed all the software correctly.

So why not give it a try?
I finally got the wireless to be found but am now getting message: ipw0 needs multicast update callback. anyone have a fix for that? I have read the man pages and may be missing something?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 6.0(I think) install not working microsoft/linux *BSD 5 04-05-2006 10:19 PM
freebsd and wireless aspren *BSD 1 02-18-2006 01:18 PM
router on FreeBSD (not working) nuke_teh_whales *BSD 7 06-18-2005 10:08 AM
Can't get pppoe working on FreeBSD 5.2.1 Cron *BSD 6 08-18-2004 01:08 PM
freebsd network not working xviddivxoggmp3 *BSD 6 08-08-2004 04:44 PM


All times are GMT -5. The time now is 08:35 AM.

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
Open Source Consulting | Domain Registration