Jump to content

Recommended Posts

Posted

 

Hi, all, sorry to bother you again.

 

 

I still cannot make wifi on my OPi Plus2 work. The following are the results of ifonfig and iwlist scan .

 

iwlistnothing.thumb.jpg.39e813485c073633d7d1e0651bddd3be.jpg

 

and my /etc/network/interfaces is as follows:

 

etcnetworkinterfaces.thumb.jpg.38948ea9614ed000faffe8390dd1a963.jpg

 

 

What's in file /etc/wpa_supplicant/wpa_supplicant.conf :

network={
        ssid="xxxxx"
        psk="yyyyy"
        }

and I'm sure the SSID and password are correct.

 

 

 

 

I used to posted a mesage about WIRED connection, which is solved by setting hwaddress ether .

 

However, for wireless connection, can anybody give me hand please?

 

 

Thank you very much

Pei

 

Posted

Result of nmtui-connect :

 

nmtui-connect.thumb.jpg.ca45a9ff1d2b90965efbe4028681bb60.jpg

 

It seems WIFI connections are NOT listed. However, iwlist scan works now.... So weird...

 

And the result of nmtui-connect myssid is Segmentation fault:

 

nmtui-connectshaw.thumb.jpg.950703677cb363dd9eb58e2a5a9e397b.jpg

Posted

 

12 hours ago, jiapei100 said:

It seems WIFI connections are NOT listed. However, iwlist scan works now.... So weird...


Nothing is weird. If you have wlan used by ifup ( /etc/network/interfaces) than network manager can't use them and vice versa. Remove /etc/network/interfaces, reboot and nmtui-conenect will work.

Posted
16 hours ago, Igor said:

 


Nothing is weird. If you have wlan used by ifup ( /etc/network/interfaces) than network manager can't use them and vice versa. Remove /etc/network/interfaces, reboot and nmtui-conenect will work.

 

Hi, Igor, I made some progress after removing /etc/network/interfaces, however, I still Could not activate connection: Activation failed

 

nmtui-connect2.thumb.jpg.79fa89d3320dfa9b90d5dbd7bab13ddd.jpg

Posted
7 hours ago, jiapei100 said:

 

Hi, Igor, I made some progress after removing /etc/network/interfaces, however, I still Could not activate connection: Activation failed

 

 

before reboot /etc/network/interfaces will be active.
Configure via nmtui and set it active at boot, then save and reboot  - this wil activate the connection

Posted
41 minutes ago, guidol said:

before reboot /etc/network/interfaces will be active.
Configure via nmtui and set it active at boot, then save and reboot  - this wil activate the connection

 

Hi, guidol:

 

Now, it's working... 

I just leave ONLY 2 lines in /etc/network/interfaces as:

auto lo
iface lo inet loopback

and set nmtui ... Wifi is NOW working...

Still, I think it's more or less a bit unexplainable. I prefere modifying /etc/network/interfaces, but have NO idea how to figure that out.

Anyway, NOW, wifi is working !!!

 

Thanks

Pei

 

Posted
1 hour ago, jiapei100 said:

 

Hi, guidol:

 

Now, it's working... 

I just leave ONLY 2 lines in /etc/network/interfaces as:


auto lo
iface lo inet loopback

 

 

if you want to setup wlan0 from the /etc/network/interfaces, then you can delete the connection in nmtui and ADD something like the following line (with the IP-Numbers and data of your WiFi-Connection):
 

auto wlan0
iface wlan0 inet static
       address 192.168.8.16
       netmask 255.255.255.0
       gateway 192.168.8.1
       dns-nameservers 8.8.8.8 8.8.4.4
       wpa-ssid "your_wifi_ssid"
       wpa-psk "your_wifi_pre-shared-key"

you have to check if your wifi-device is named wlan0 or has a name which does include some part of your MAC-address

e.g. like wlx3f4e2a1b0d

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines