DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th February 2013
illiterate illiterate is offline
More illiterate than you.
 
Join Date: Jan 2009
Location: @ lounge.
Posts: 8
Default No link....... sleeping

And it's really frustrating, I can't work out why, what am I missing?
(I can connect to WEP networks just fine, I can scan and find the WPA2 network, every other device in my home can connect to the WPA2 network.)

I am using the wpi firmware that I downloaded from the wpi man page (I can't post links). It works fine for WEP, but I can't get it to work for WPA2 - it is supported according to the man page
Quote:
The wpi driver can be configured to use Wired Equivalent Privacy (WEP) or Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).
.

I use
Quote:
#ifconfig wpi0 nwid AWESOME wpakey AWESOMEST up //I just changed to the BSSID value that ifconfig scan gives me when trying to connect to my homenetwork (end result is the same though).
#dhclient wpi0
to try and connect to the WPA network, and I get no errors except that 'no link..... sleeping' message. I can see the network when doing a 'ifconfig wpi0 scan'

'dmesg' gives
Quote:
wpi0 at pci12 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: msi, MoW2, address 00:19:d2:75:cf:98
and when running 'ifconfig wpi0' I get

Quote:
wpi0: flags=<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:19:d2:75:cf:98
priority: 4
groups: wlan
media: IEEE802.11 autoselect
status: no network
ieee80211: nwid""
btw, ifconfig wpi0 scan gives
Quote:
nwid BLA<1221> chan 1 bssid NUMBERS 42db 54M privacy, short slottime
After trying to connect with the above mentioned I get

Quote:
wpi0: flags=<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:19:d2:75:cf:98
priority: 4
groups: wlan
media: IEEE802.11 autoselect (autoselect mode 11a)
status: no network
ieee80211: nwid NUMBERS wpakey SHITTHATWASALOTOFNUMBERS wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp wpagroupcipher tkip
What am I missing, doing wrong?
Reply With Quote
  #2   (View Single Post)  
Old 26th February 2013
illiterate illiterate is offline
More illiterate than you.
 
Join Date: Jan 2009
Location: @ lounge.
Posts: 8
Default

Aaaaaaaaaand as soon as I posted here I got it working on another WPA2 network, which gives me two things

#1, when I wrote it "nwid AWESOME" I was actually using an incorrect network id >.<
#2, trying to connect now does the following
- If I use "nwid 00:0a:0a:0a:0a:0a" I get the same as previously - Why? If I could connect to other WPA networks I should be able to connect to this one...
- If I use "nwid CORRECTAWESOME" - I get ksh: cannot open 1212: No such file or directory - The networks name is BLA<1212> - I for some idiotic reason thought it was just 1212... Now, how do I add '<' to a network name?
Reply With Quote
  #3   (View Single Post)  
Old 26th February 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Your nwid contains the special shell characters < and >. You must either escape them with the \ character, e.g.: BLA\<1221\> or put the nwid in quotes, e.g.: "BLA<1221>".
Reply With Quote
  #4   (View Single Post)  
Old 26th February 2013
illiterate illiterate is offline
More illiterate than you.
 
Join Date: Jan 2009
Location: @ lounge.
Posts: 8
Default

I would thank you, but the forum wont let me.
That fixed it.


Still can't figure out why I can't use the BSSID though. What am I missing there?
Reply With Quote
  #5   (View Single Post)  
Old 26th February 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

The nwid field is the network's SSID. The BSSID is a MAC address.

http://en.wikipedia.org/wiki/Service...on_.28BSSID.29
Reply With Quote
  #6   (View Single Post)  
Old 26th February 2013
illiterate illiterate is offline
More illiterate than you.
 
Join Date: Jan 2009
Location: @ lounge.
Posts: 8
Default

I must've misunderstood something when I was reading about this then.


Again, thanks for the help.
Reply With Quote
  #7   (View Single Post)  
Old 26th February 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by illiterate View Post
I can't post links
Since you have posted eight messages thus far, your account has already been automatically enabled to post links (The threshold is five...). One can either use the icons displayed when composing a message to convert highlighted text to links or simply manually use [url] & [/url] tags to do the very same thing.

We restrict new members from posting links to thwart potential spam. After the first five posts have been approved of any new member, link restrictions are automatically removed.
Reply With Quote
Reply

Tags
ifconfig, not working, openbsd, wpi

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetBSD on D-Link DIR-100/300/320 Lexus45 NetBSD General 3 1st February 2011 12:24 PM
dhclient -> urtw0: no link ....... sleeping rma OpenBSD Installation and Upgrading 10 20th August 2010 03:25 AM
zyd0: no link ........... sleeping kallistoteles OpenBSD Installation and Upgrading 3 25th June 2010 02:38 PM
D-link (DI-524) router c0mrade General software and network 3 26th January 2009 08:14 AM
kde .desktop file link doesn't act like a link when opening files caesius FreeBSD Ports and Packages 3 14th October 2008 07:35 AM


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick