My HowTo connect an Atheros PCI AR9565 to a T-Mobile Hot Spot from the cell phone with WPA encryption.
This is my manual setup issuing commands. I don't know how GhostBSD in the Live Session has NetworkMgr setup to help with a Wi-Fi access point connection. Maybe NetworkMgr is doing some heavy lifting in the background that I have not a clue about. I don't see the normal NetworkMgr Icon in Blue in the upper right hand control panel. So Eric and other GhostBSD 11.1 Live Session users help us out with testing and comments.
Open a ROOT Terminal MENU --> Applications --> Accessories --> Root Terminal
Edit file /etc/wpa_supplicant.conf using your favorite text editor ee, nano, or vi
vi /etc/wpa_supplicant.conf
Code: Select all
network={
ssid="ES_32439"
psk="42600000"
}
root@ghostbsd:~ # cat /etc/wpa_supplicant.conf
network={
ssid="ES_32439"
psk="42600000"
}
Code: Select all
ifconfig wlan0 up scan
ifconfig wlan0 down
ifconfig wlan0 channel 8 ssid ES_32439
ifconfig wlan0 up
wpa_supplicant -d -K -iwlan0 -c/etc/wpa_supplicant.conf
Code: Select all
wpa_supplicant -s -B -iwlan0 -c/etc/wpa_supplicant.conf
issue a ping command to check connectivity
Code: Select all
ping -c 3 8.8.4.4
ping -c 3 he.net
ping -c 3 ghostbsd.org
Code: Select all
netstat -4r
sockstat -4
Code: Select all
dhclient wlan0
Code: Select all
killall dhclient
dhclient wlan0
or use a "Service netif restart" commandroot@ghostbsd:~ # ifconfig wlan0 up scan
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
ES_32439 5c:af:06:4f:bc:83 8 54M -83:-96 100 EPS WPA HTCAP WME
root@ghostbsd:~ # ifconfig wlan0 down
root@ghostbsd:~ # ifconfig wlan0 channel 8 ssid ES_32439
root@ghostbsd:~ # ifconfig wlan0 up
root@ghostbsd:~ # ifconfig wlan0
wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ec:0e:c4:1f:ea:73
hwaddr ec:0e:c4:1f:ea:73
inet 192.168.43.114 netmask 0xffffff00 broadcast 192.168.43.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid ES_32439 channel 8 (2447 MHz 11g)
regdomain 108 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7
scanvalid 60 protmode CTS wme burst
groups: wlan
root@ghostbsd:~ #
Code: Select all
service netif restart
service routing restart
Other checks to performroot@ghostbsd:/home/ghostbsd # service netif restart
wpa_supplicant not running? (check /var/run/wpa_supplicant/wlan0.pid).
dhclient not running? (check /var/run/dhclient.wlan0.pid).
Stopping Network: lo0 wlan0.
lo0: flags=8048<LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
wlan0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ec:0e:c4:1f:ea:73
hwaddr ec:0e:c4:1f:ea:73
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid ES_32439 channel 8 (2447 MHz 11g ht/20)
regdomain 108 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7
scanvalid 60 protmode CTS ampdulimit 8k ampdudensity 8 shortgi
-stbctx stbcrx wme burst
groups: wlan
Destroyed wlan(4) interfaces: wlan0.
Created wlan(4) interfaces: wlan0.
wpa_supplicant already running? (pid=2368).
Starting Network: lo0 wlan0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ec:0e:c4:1f:ea:73
hwaddr ec:0e:c4:1f:ea:73
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 5 (2432 MHz 11g)
regdomain 108 indoor ecm authmode WPA1+WPA2/802.11i privacy MIXED
deftxkey UNDEF txpower 20 bmiss 7 scanvalid 60 protmode CTS wme burst
roaming MANUAL bintval 0
groups: wlan
root@ghostbsd:/home/ghostbsd # ps ax | grep wlan
2368 - Ss 0:00.01 /usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_sup
2452 - Ss 0:00.00 dhclient: wlan0 [priv] (dhclient)
2510 - Ss 0:00.00 dhclient: wlan0 (dhclient)
2513 5 S+ 0:00.01 grep wlan
root@ghostbsd:/home/ghostbsd #
Code: Select all
ps ax | grep wlan
root@ghostbsd:/home/ghostbsd # ps ax | grep wlan
1696 - Is 0:00.01 dhclient: wlan0 [priv] (dhclient)
1754 - Is 0:00.00 dhclient: wlan0 (dhclient)
1686 2 S+ 0:00.14 wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
1988 5 S+ 0:00.00 grep wlan
Code: Select all
ps ax | grep net
Searching for NetworkMgr setuproot@ghostbsd:/home/ghostbsd # ps ax | grep net
931 - I 0:00.37 /usr/local/bin/python2.7 /usr/local/bin/networkmgr
1860 - S 0:09.43 /usr/local/bin/hexchat --url=irc://irc.freenode.net:666
1990 5 S+ 0:00.00 grep net
Github where you can clone it and install the Python 3.6 and GTK3 version
https://github.com/GhostBSD/networkmgr
EricBSD call for testers
viewtopic.php?f=98&t=943&p=5318&hilit=networkmgr#p5318
Phishfry setup for an earlier version
https://forums.freebsd.org/threads/61746/
My question does networkmgr work out of the box in the Live Session GhostBSD 11.1 booting from a USB Flash Drive? What setup was I missing? How do you do it for a Live Session GhostBSD? I showed you my manual setup above that seems to work ok.
I assume if I install GhostBSD 11.1 to some hard drive and then update per the github clone description that I will have an operational NetworkMgr with icons and wireless scan information. Is this true?