Page 1 of 1

How to connect to wifi

Posted: Sun Apr 09, 2023 8:02 pm
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?

Re: How to connect to wifi

Posted: Mon Apr 10, 2023 7:31 am
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?

Re: How to connect to wifi

Posted: Mon Apr 10, 2023 8:28 am
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.

Re: How to connect to wifi

Posted: Mon Apr 10, 2023 9:55 am
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

Re: How to connect to wifi

Posted: Mon Apr 10, 2023 9:56 am
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

Re: How to connect to wifi

Posted: Mon Apr 10, 2023 11:31 am
by Csaba

Re: How to connect to wifi

Posted: Tue Apr 11, 2023 10:15 pm
by neville

Re: How to connect to wifi

Posted: Wed Apr 12, 2023 1:23 pm
by Csaba
Thanks for the quick response. I've only tried this in live mode, but I think I should install bsd?

Re: How to connect to wifi

Posted: Thu Apr 13, 2023 7:52 am
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.

Re: How to connect to wifi

Posted: Thu Apr 13, 2023 7:54 am
by neville
https://docs.freebsd.org/en/books/handb ... k-wireless

Scroll down to 33.3 wireless networking