Unable to create wireless device

Hi

Facing issues trying to create wireless device: ifconfig wlan0 create wlandev iwm0.
Code:
ifconfig: SIOCIFCREATE2 (wlan0): Device not configured
.

How to proceed?

Thanks
rraj
 
Hi

The issue happened after a major version release from 14.3 to 15.0 did not complete. I then rolled back the upgrade. After a subsequent restart facing this issue.

I do not have switch working for wi-fi, from ever since i purchased the laptop.

Thanks
rraj
 
Which interface is the wifi device connected to on your machine?

USB, then: usbconfig

PCIe, then: pciconf -lv | grep -B3 network
 
First time I see such an error massage from pciconf(8). Was the command executed as user or "root"?


What does freebsd-version -kru show?
Hi

The command pciconf -lv was executed as root. Now even multiuser boot option boots in single user mode.

The freebsd version is 14.3.

Thanks
rraj
 
Is this still the case or is the system booting in multi-user mode?


What exactly does freebsd-verison -kru show (-k : installed kernel, -r : running kernel, -u : installed userland).
Hi T-Daemon

Multiuser boot still acts as single user boot!

freebsd-version is 14.3 release p3 for k & r, whereas 14.3 release p4 for u.

Thanks
rraj
 
Post the error (there's a reason why it drops back to single user mode).
Hi SirDice

Sorry for being cryptic but multiuser boots in as root by default, similar to what is in single user mode! Since network is not there can’t post the error.

Anything else that i may try.

P.S-Working in command line mode, GUI not working.

Thanks
rraj
 
Sorry for being cryptic but multiuser boots in as root by default, similar to what is in single user mode!
If it correctly boots to multiuser mode you will eventually get a "Login:" prompt. If there's an error (bad fstab, syntax error in rc.conf) it will break off the boot process, and you get a question "Enter full pathname or RETURN for /bin/sh:". Pressing ENTER will drop you in single user mode at a root prompt. Is that what you're seeing? Just above that question there's an error telling you what went wrong.

Edit: I normally hate pictures of text, but if you can take a picture with your phone that'll be good.
 
If it correctly boots to multiuser mode you will eventually get a "Login:" prompt. If there's an error (bad fstab, syntax error in rc.conf) it will break off the boot process, and you get a question "Enter full pathname or RETURN for /bin/sh:". Pressing ENTER will drop you in single user mode at a root prompt. Is that what you're seeing? Just above that question there's an error telling you what went wrong.

Edit: I normally hate pictures of text, but if you can take a picture with your phone that'll be good.
Hi SirDice

Sorry for delay in reply. Yes i am getting the question, asking press enter to drop at root prompt.

Attaching picture of error screen.

Tried fsck -y,
mount -u /
mount -a -t ufs
swapon -a, no luck.

Thanks
rraj
 

Attachments

  • IMG_0645.jpg
    IMG_0645.jpg
    471.9 KB · Views: 34
You have an error in your /etc/fstab, that's what's causing it to drop to user mode.

Remove those /compat/linux mounts.
 
You have an error in your /etc/fstab, that's what's causing it to drop to user mode.

Remove those /compat/linux mounts.
Hi SirDice

It worked now i am able to do multiuser login, but still face issues with respect network as originally i.e unable to create wireless device.

pciconf -lv yields
Code:
pciconf: ioctl(PCIOCGETCONF): Operation not permitted
.

Thanks
rraj
 
Back
Top