Have you enabled the kernel module for your network card?

|
drookie 2022-09-29 15:09:17
I’m pretty sure they share the same codebase – open-zfs.org, but the questionable area is kernel-level support. FreeBSD has it, while Linux does not, and this is not subject for changes in a foreseeable future
accelerat0r 2022-09-29 15:10:25
I actually dot care Im too old to see fire against others! I have some gentoo zfs root working perfectly for years now
accelerat0r 2022-09-29 15:11:10
every tool is meant to be for the specific task that need to be
GBReborn_bot 2022-09-29 15:14:27
Hi Fx!
bobber218 2022-09-29 15:51:34
Hi, New fbsd user here.
I made a plasma setup, it is great. But i can’t find a way to make my t430 suspend and resume easily
bobber218 2022-09-29 15:55:35
bobber218 2022-09-29 15:51:34
Hi, New fbsd user here.
I made a plasma setup, it is great. But i can’t find a way to make my t430 suspend and resume easily

freebsd1-32006.jpg
hw.acpi.lid_switch_state=s3
hw.acpi.reset_video=1

this helped in the sleep part, but I cannot wake up the notebook after, I have to hard reboot

n0madcoder 2022-09-29 16:06:44
bobber218 2022-09-29 15:55:35
freebsd1-32006.jpg
hw.acpi.lid_switch_state=s3
hw.acpi.reset_video=1

this helped in the sleep part, but I cannot wake up the notebook after, I have to hard reboot

According to the wiki https://wiki.freebsd.org/Laptops/Thinkpad_T430s, it should do the trick with S3. yours is s3 try capitalizing the S, though I don’t think that’s the issue

try running $ sysctl hw.acpi.supported_sleep_state and check what it prompts. From what I can recall, issues are usually due to nvidia gpus

Laptops/Thinkpad_T430s – FreeBSD Wikiwiki.freebsd.org
Guides on how to install and configure FreeBSD on the Thinkpad T430s.
bobber218 2022-09-29 16:07:47
n0madcoder 2022-09-29 16:06:44
freebsd1-32006.jpg
According to the wiki https://wiki.freebsd.org/Laptops/Thinkpad_T430s, it should do the trick with S3. yours is s3 try capitalizing the S, though I don’t think that’s the issue

try running $ sysctl hw.acpi.supported_sleep_state and check what it prompts. From what I can recall, issues are usually due to nvidia gpus

freebsd1-32008.jpg
and I don’t have nvidia gpu, just intel

n0madcoder 2022-09-29 16:13:03
bobber218 2022-09-29 16:07:47
freebsd1-32008.jpg
and I don’t have nvidia gpu, just intel

Alright, try changing the s to an S and try again. Seems like some people on the same laptop have it working (ex. https://www.reddit.com/r/BSD/comments/5s55ef/comment/dddx8yi/?utm_source=share&utm_medium=web2x&context=3 )

bobber218 2022-09-29 16:19:00
n0madcoder 2022-09-29 16:13:03
freebsd1-32008.jpg
Alright, try changing the s to an S and try again. Seems like some people on the same laptop have it working (ex. https://www.reddit.com/r/BSD/comments/5s55ef/comment/dddx8yi/?utm_source=share&utm_medium=web2x&context=3 )

The same, the note sleep but didn’t woke up

n0madcoder 2022-09-29 16:20:37
bobber218 2022-09-29 16:19:00
freebsd1-32008.jpg
The same, the note sleep but didn’t woke up

Interesting. Let’s see if someone else comes up with some news. I’m on a thinkpad too, but different model. I’ll test the suspend/resume once I arrive home

bobber218 2022-09-29 16:23:32
n0madcoder 2022-09-29 16:20:37
freebsd1-32008.jpg
Interesting. Let’s see if someone else comes up with some news. I’m on a thinkpad too, but different model. I’ll test the suspend/resume once I arrive home

ty

bobber218 2022-09-29 16:33:48
n0madcoder 2022-09-29 16:13:03
freebsd1-32008.jpg
Alright, try changing the s to an S and try again. Seems like some people on the same laptop have it working (ex. https://www.reddit.com/r/BSD/comments/5s55ef/comment/dddx8yi/?utm_source=share&utm_medium=web2x&context=3 )

If I use S5 instead (I think that is better than the OS running or running without locking the screen). In this case, the shutdown processe when I close the lid it is “normal” one or it is abrupt and bad for the system on the long run?

n0madcoder 2022-09-29 17:02:33
bobber218 2022-09-29 16:33:48
freebsd1-32008.jpg
If I use S5 instead (I think that is better than the OS running or running without locking the screen). In this case, the shutdown processe when I close the lid it is “normal” one or it is abrupt and bad for the system on the long run?

S5 is a clean shutdown followed by a poweroff

bobber218 2022-09-29 17:03:16
n0madcoder 2022-09-29 17:02:33
freebsd1-32008.jpg
S5 is a clean shutdown followed by a poweroff

I will use that for now, but I would like to use S3

bobber218 2022-09-29 17:05:48
@n0madcoder I use bios password for the supervisor and for the 3 disks I have, plus cryptography on my fbsd setup, so each boot I put 5 passwords.
Do you think if is there a chance that thus setup is causing the problem with S3?
Lo_zar 2022-10-01 05:30:53
Hi all, I’ve a little problem. I’ve installed networkmgr and it see my wireless SSID but I can’t connect
downhillflyer 2022-10-01 08:42:43
It is possible to edit the /etc/wpa_supplicant file and add your SSID and PASSWORD.

network={
ssid=”SSID”
psk=”PASSWORD”
priority=1
}

GBReborn_bot 2022-10-01 09:07:30
Hi Юрий!
n0madcoder 2022-10-01 14:03:33
bobber218 2022-09-29 16:23:32
freebsd1-32008.jpg
ty

Sorry for the delay. After trying the sleep to ram in my thinkpad, the report is not good. It just hangs, so there must be something missing. I’m on 13.1RELEASE

n0madcoder 2022-10-01 14:04:00
bobber218 2022-09-29 17:05:48
freebsd1-32008.jpg
@n0madcoder I use bios password for the supervisor and for the 3 disks I have, plus cryptography on my fbsd setup, so each boot I put 5 passwords.
Do you think if is there a chance that thus setup is causing the problem with S3?

Could be. The wiki suggests resseting the BIOS to its defaults

Lo_zar 2022-10-01 15:15:50
downhillflyer 2022-10-01 08:42:43
freebsd1-32008.jpg
It is possible to edit the /etc/wpa_supplicant file and add your SSID and PASSWORD.

network={
ssid=”SSID”
psk=”PASSWORD”
priority=1
}

I’ve edited this file, but when I launch dhclient wlan0 I have no link……give up

Learner_DR 2022-10-01 15:18:21
Lo_zar 2022-10-01 15:15:50
freebsd1-32008.jpg
I’ve edited this file, but when I launch dhclient wlan0 I have no link……give up

It would be better if you explain what you did to set up the Wi-Fi.

bobber218 2022-10-01 15:24:02
n0madcoder 2022-10-01 14:04:00
freebsd1-32008.jpg
Could be. The wiki suggests resseting the BIOS to its defaults

I will try that, thanks mate

Lo_zar 2022-10-01 15:24:10
Learner_DR 2022-10-01 15:18:21
freebsd1-32008.jpg
It would be better if you explain what you did to set up the Wi-Fi.

Ok, I had edited rc.conf with wlans_iwlwifi0=”wlan0″
ifconfig_wlan0=”WPA DHCP” after I tried substitute DHCP with SYNCDHCP I edited wpa_supplicant.conf launched service NetID restatt and when Iaunched dhclient wlan0 I have no link

Learner_DR 2022-10-01 15:26:18
Lo_zar 2022-10-01 15:24:10
freebsd1-32008.jpg
Ok, I had edited rc.conf with wlans_iwlwifi0=”wlan0″
ifconfig_wlan0=”WPA DHCP” after I tried substitute DHCP with SYNCDHCP I edited wpa_supplicant.conf launched service NetID restatt and when Iaunched dhclient wlan0 I have no link

Have you enabled the kernel module for your network card?

Lo_zar 2022-10-01 15:28:42
No I’m new on bsd, but ifconfig see wlan0 and when I launch networkmgr I see my SSIDs but I can’t connect
n0madcoder 2022-10-01 15:30:23
Lo_zar 2022-10-01 15:28:42
freebsd1-32008.jpg
No I’m new on bsd, but ifconfig see wlan0 and when I launch networkmgr I see my SSIDs but I can’t connect

Interesting, can you share some logs? ifconfig wlan0 and pciconf -lv

Learner_DR 2022-10-01 15:31:14
Lo_zar 2022-10-01 15:28:42
freebsd1-32008.jpg
No I’m new on bsd, but ifconfig see wlan0 and when I launch networkmgr I see my SSIDs but I can’t connect

https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-wireless-quick-start

Chapter 32. Advanced NetworkingFreeBSD Documentation Portal
Advanced networking in FreeBSD: basics of gateways and routes, CARP, how to configure multiple VLANs on FreeBSD, etc
Lo_zar 2022-10-01 15:43:43
n0madcoder 2022-10-01 15:30:23
freebsd1-32008.jpg
Interesting, can you share some logs? ifconfig wlan0 and pciconf -lv

└[~]> ifconfig wlan0
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether dc:21:48:88:08:0b
groups: wlan
ssid “” channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
scanvalid 60 wme bintval 0
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

https://pastebin.com/rPgpQZZB pciconf

pciconf – Pastebin.comPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Lo_zar 2022-10-01 15:50:50
Learner_DR 2022-10-01 15:31:14
freebsd1-32008.jpg
https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-wireless-quick-start

Exclude kernel’s part I followed it. If I connect via tethering usb with smartphone I have connections

n0madcoder 2022-10-01 16:00:51
Lo_zar 2022-10-01 15:43:43
freebsd1-32008.jpg
└[~]> ifconfig wlan0
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether dc:21:48:88:08:0b
groups: wlan
ssid “” channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
scanvalid 60 wme bintval 0
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

https://pastebin.com/rPgpQZZB pciconf

what happens when you type ifconfig wlan0 up ?

n0madcoder 2022-10-01 16:01:57
the flag UP isn’t present in the log, and status says no carrier. can you share your wpa_config without the password?
Lo_zar 2022-10-01 16:05:11
┌[zar_marco@beastiegram] [/dev/pts/1]
└[~]> wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
pcap_open_live: wlan0: You don’t have permission to capture on that device ((cannot open device) /dev/bpf: Permission denied)
ifname=’wlan0′
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Operation not permitted
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
ioctl[SIOCS80211, op=25, val=0, arg_len=0]: Operation not permitted
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
ioctl[SIOCS80211, op=95, val=208, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=95, val=208, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not permitted
ioctl[SIOCS80211, op=16, val=1, arg_len=0]: Operation not permitted
n0madcoder 2022-10-01 16:05:44
oh, try with sudo or doas before the command, the one you use
|