DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th October 2015
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default connect to wifi networks without GUI

Before hoping in the unknown,
I would like to know a sure way, to access a crypted wifi network in command line. Do the tools ifconfig, iwlist, and iwconfig work also on netbds ? I think the first has an equivalent, but I can't see the two others.
Can I connect to a wifi network without GUI ? Or maybe there's already a standar desktop environnement on NBSD 7 ?

Mehdi
Reply With Quote
  #2   (View Single Post)  
Old 24th October 2015
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 103
Default

Its easy like on other systems. Configure wpa_supplicant(wpa_supplicant.conf), start the deamon and connect dhclient with the right interface.
Reply With Quote
  #3   (View Single Post)  
Old 24th October 2015
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 756
Default

Other useful tools in the base are ifconfig(8) and wlanctl(8).

For example, if the wireless interface is athn0,

# ifconfig athn0 up
# ifconfig athn0 list scan

will show local wifi networks.
Reply With Quote
  #4   (View Single Post)  
Old 24th October 2015
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,039
Default

NetBSD - How to use wpa_supplicant

You can also save some typing by generating your /etc/wpa_supplicant.conf by redirecting the output of wpa_passphrase(8) into /etc/wpa_supplicant.conf

# wpa_passphrase YourSSID Your PassPhrase >> /etc/wpa_supplicant.conf
Reply With Quote
  #5   (View Single Post)  
Old 26th October 2015
spermwhale_warrior spermwhale_warrior is offline
Fdisk Soldier
 
Join Date: May 2013
Posts: 59
Default

thanks. I'll try right away, after i'm also sure I know how to partition a pre-existing windows installed disk. That promised to somewhat more insecure.
Reply With Quote
  #6   (View Single Post)  
Old 26th October 2015
pygope pygope is offline
Port Guard
 
Join Date: Apr 2015
Posts: 32
Default

As GUI you can test dhcpd-gtk, but you will need to change permsissions for /etc/wpa_supplicant.conf and /etc/dhcpcd.conf in order the program can write in them.
Reply With Quote
  #7   (View Single Post)  
Old 24th November 2015
darktrym's Avatar
darktrym darktrym is offline
standard-bearer
 
Join Date: Feb 2011
Location: Düsseldorf
Posts: 103
Default

Maybe too late but if you configured wpa_supplicant correct you can also use wpa_cli.
Reply With Quote
Reply

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
Traffic between two vpn networks bertj FreeBSD Security 4 31st January 2013 02:44 PM
Introduction to TCP/IP networks jggimi Guides 18 7th September 2012 12:37 PM
Google Street View logs WiFi networks, Mac addresses J65nko News 1 22nd April 2010 09:52 PM
Securing wifi networks with ipsec/ssh and openbsd Oko OpenBSD Security 4 16th April 2009 07:32 AM
DMZ for two networks users... maurobottone OpenBSD Security 6 2nd June 2008 02:57 PM


All times are GMT. The time now is 03:59 PM.


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