How to connect to wifi

Need support for GhostBSD. Ask here if your question does not fit elsewhere.
Post Reply
Csaba
Posts: 12
Joined: Thu May 04, 2017 3:13 pm

How to connect to wifi

Post by Csaba »

The machine does not accept the wifi password. I'm in live mode and bought a supported wifi card. The Wi-Fi connection to the Internet appears in the upper right corner. I select my connection and enter the password, but ghost bsd won't accept it!
It says:
authentication failed.
Why?
User avatar
neville
Developer
Posts: 87
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: How to connect to wifi

Post by neville »

Hi. Can you please take a photo of the output of the command

cat /etc/rc.conf

There should be a couple of lines similar to

wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

Also what is your wireless card?
Csaba
Posts: 12
Joined: Thu May 04, 2017 3:13 pm

Re: How to connect to wifi

Post by Csaba »

Hi!
Unfortunately I could not save to the data partition because it is ntfs and the pendrive as well.
So l typed the command output.
Here it is:

zfs_enable="YES"
kld_list="linux linux64 cuse fusefs/boot/modules/i915kms.ko"
linux_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
dbus_enable="YES"
lightdm_enable="NO"
webcamd_enable="YES"
cups_enable="YES"
avahi_daemon_enable="YES"
avahi_dusconfd_enable="YES"
hostname="livecd"
moused_aneble="YES"
ipfw_enable="YES"
firewall_enable="YES"
ifconfig_em0="DHCP"
wlans_rtawn0="wlan0"
ifconfig_when0="WPA DHCP"

My wifi card is DWA-131 Wireless N Nano USB adapter.
wb7odyfred
Posts: 204
Joined: Sat Nov 12, 2016 5:44 pm

Re: How to connect to wifi

Post by wb7odyfred »

The Rtwn driver for that card based on rtl8188eu realtek chip has that problem of not working in Freebsd / GhostBSD..
What USB IDs do you have for your D-Link DWA-131_Revision E1 2001 3319

Code: Select all

usbconfig list
usbconfig -d ugenX.Y dump_device_desc
TP-link TLWN823N has same problem.
https://usb-ids.gowdy.us/read/UD/2001/3319
https://wikidevi.wi-cat.ru/D-Link_DWA-131_rev_E1
http://en.techinfodepot.shoutwiki.com/w ... 131_rev_E1

https://ghostbsd-arm64.blogspot.com/202 ... le-on.html
http://en.techinfodepot.shoutwiki.com/w ... 131_rev_E1

https://gist.github.com/grahamperrin/0d ... ed442e214c

https://forums.freebsd.org/threads/chea ... ost-552904
Last edited by wb7odyfred on Fri Apr 14, 2023 4:56 pm, edited 2 times in total.
wb7odyfred
Posts: 204
Joined: Sat Nov 12, 2016 5:44 pm

Re: How to connect to wifi

Post by wb7odyfred »

The Rtwn driver for that card based on rtl8188eu realtek chip has that problem of not working in Freebsd / GhostBSD..
TP-link TLWN823N has same problem.
Find a different usb wifi dongle, TLWN725N works.
Most older realtek usb wifi devices work. Some of newer 8821ce devices not supported yet by freebsd. AX200 and ax201 are supported.

Yes, I realize this is for linux and not applicable to the FreeBSD driver. So this might be extraneous knowledge. I have read the freebsd source code driver and read the linux source code driver too.
https://raspberrypi.stackexchange.com/q ... 3165#13165
Csaba
Posts: 12
Joined: Thu May 04, 2017 3:13 pm

Re: How to connect to wifi

Post by Csaba »

User avatar
neville
Developer
Posts: 87
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: How to connect to wifi

Post by neville »

Csaba
Posts: 12
Joined: Thu May 04, 2017 3:13 pm

Re: How to connect to wifi

Post by Csaba »

Thanks for the quick response. I've only tried this in live mode, but I think I should install bsd?
User avatar
neville
Developer
Posts: 87
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: How to connect to wifi

Post by neville »

I've had problems in live mode with GhostBSD and after install everything was fine
Please give GhostBSD a try. Please ask questions here if you get stuck or try our telegram channel.
User avatar
neville
Developer
Posts: 87
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: How to connect to wifi

Post by neville »

https://docs.freebsd.org/en/books/handb ... k-wireless

Scroll down to 33.3 wireless networking
Post Reply