Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Look for WiFi networks under FreeBSD?

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  searchin for ports crashes - freebsd 4.11  
Author Message
John R. Levine

External


Since: Sep 21, 2005
Posts: 5



(Msg. 1) Posted: Fri Oct 28, 2005 11:25 pm
Post subject: Look for WiFi networks under FreeBSD?
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Following the advice in the FreeBSD handbook, to get the WiFi chip in my
Centrino laptop going, I found the Windows driver for it on Intel's
website, wrapped the Project Evil ndis driver around it, and whaddaya
know, it came right up.

Is there any way to tell it to look for available WiFi networks? The
Windows driver must be able to do so, since it does so under Windows,
but there's no way I can see under FreeBSD even to ask it to look.

R's,
John

 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
Ted Nolan <tednolan>

External


Since: Oct 29, 2005
Posts: 1



(Msg. 2) Posted: Sat Oct 29, 2005 3:54 am
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , John R. Levine wrote:
>
>
>Following the advice in the FreeBSD handbook, to get the WiFi chip in my
>Centrino laptop going, I found the Windows driver for it on Intel's
>website, wrapped the Project Evil ndis driver around it, and whaddaya
>know, it came right up.
>
>Is there any way to tell it to look for available WiFi networks? The
>Windows driver must be able to do so, since it does so under Windows,
>but there's no way I can see under FreeBSD even to ask it to look.
>
>R's,
>John

Well, if you're talking about a real scan, there's wistumbler in ports,
but I don't think it'll work with ndis.

If you just want to join the local open network, then

dhclient ndis0


Ted

 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
Chronos

External


Since: Oct 29, 2005
Posts: 2



(Msg. 3) Posted: Sat Oct 29, 2005 6:30 am
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

Back to top
Login to vote
Michel Talon

External


Since: Sep 05, 2003
Posts: 76



(Msg. 4) Posted: Sat Oct 29, 2005 9:53 am
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John R. Levine wrote:
> Following the advice in the FreeBSD handbook, to get the WiFi chip in my
> Centrino laptop going, I found the Windows driver for it on Intel's
> website, wrapped the Project Evil ndis driver around it, and whaddaya
> know, it came right up.
>

By the way since you have a centrino laptop, there is a *native* driver
for the wifi chip, due to Damien Bargamini, directly in the base system
for FreeBSD-6.0 due to be released next week!
It is ipw.ko or iwi.ko according to the model.

> Is there any way to tell it to look for available WiFi networks? The
> Windows driver must be able to do so, since it does so under Windows,
> but there's no way I can see under FreeBSD even to ask it to look.
>

Look at the ssid subcommand of ifconfig.

> R's,
> John

--

Michel TALON
 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
John R. Levine

External


Since: Sep 21, 2005
Posts: 5



(Msg. 5) Posted: Sat Oct 29, 2005 1:18 pm
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>As root, try "ifconfig ndis0 up scan"


# ifconfig ndis0 up scan
ifconfig: scan: bad value

# man 8 ifconfig | grep -i scan
#


Ok, I did that. Any more suggestions?

R's,
John

PS: Running 5.4, if it matters.
 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
John R. Levine

External


Since: Sep 21, 2005
Posts: 5



(Msg. 6) Posted: Sat Oct 29, 2005 1:20 pm
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>By the way since you have a centrino laptop, there is a *native* driver
>for the wifi chip, due to Damien Bargamini, directly in the base system
>for FreeBSD-6.0 due to be released next week!

Great, I'll give it a try.

>Look at the ssid subcommand of ifconfig.

In 5.4 it lets me set the ssid, which is essential, but it doesn't
have any way to ask what ssids it can see.

R's,
John
 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
Chronos

External


Since: Oct 29, 2005
Posts: 2



(Msg. 7) Posted: Sat Oct 29, 2005 6:50 pm
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

After replacing John R. Levine with a small shell script on Saturday 29
Oct 2005 18:18, the following appeared on stdout:

> PS: Running 5.4, if it matters.

It does, and I apologise for the tone of the first reply. This makes the
problem no trivial. Wicontrol is the command you need in that case, but
I'm not sure that it works with the ndisulator. Kismet won't, I think, as
it relies on radiotap.

wicontrol -i ndis0 -L

YMMV as I've never used this with an ndis interface. The manpage,
admittedly on 6.0, seems to state it works only with the natively
supported cards.

man 8 wicontrol

If that doesn't work, your options are find the AP settings from the AP
admin or upgrade to 6.0. Support for wireless networking has been
*vastly* improved in 6.0, and upgrading from 5.4 is quite painless. 6.0
also has native support for the Intel Centrino.
--
Chronos
 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
John R. Levine

External


Since: Sep 21, 2005
Posts: 5



(Msg. 8) Posted: Sat Oct 29, 2005 8:52 pm
Post subject: Re: Look for WiFi networks under FreeBSD? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>wicontrol -i ndis0 -L

Reads info from the driver but doesn't do anything else. Bummer.

>If that doesn't work, your options are find the AP settings from the AP
>admin or upgrade to 6.0. Support for wireless networking has been
>*vastly* improved in 6.0, and upgrading from 5.4 is quite painless. 6.0
>also has native support for the Intel Centrino.

I think I'll wait a little while for 6.0 to shake out, then upgrade.
Until then, in the relatively few cases that I don't know what SSIDs
are available I can reboot into Windows for a minute to find out.

Thanks!
 >> Stay informed about: Look for WiFi networks under FreeBSD? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Netgear MA111 wifi card with Project Evil - Hi, I'm trying to use my Netgear MA111 wireless USB card in FreeBSD. As I understand, FreeBSD's wi module does not support it (OpenBSD's does). Therefore, I decided to check out NDISulator ("Project Evil"). I followed the instructions in the...

[FreeBSD-Announce] FreeBSD 5.3-RELEASE Announcement - This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig59305AECC7EFDF2CAA9A02BA Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit It is my great pleasure and privilege to announce the..

FreeBSD From Scratch (ie. My Own Custom FreeBSD) -

FreeBSD weakness. - On Mon, 21 Jun 2004 00:59:58 -0600 Lloyd Hayes <wyoming_antelope@yahoo.com> wrote: > >Linux is for people who hate Micro$oft. > >BSD is for people who love Unix. > > Under these conditions, I guess that I need to go for Linux......

Reference to freeBSD 5.3 - In the FreeBSD Handbook, < http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html > there is a reference to freeBSD 5.3. Is this a misprint, wishfull thinking, or perhaps a glimpse of what is to come? Thanks Gerard Seibert..
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]