Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can not configure wirless initerface?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Oct 08, 2014 11:27 am    Post subject: can not configure wirless initerface? Reply with quote

Hi,

I am trying to configure wireless interface in my machine with NetworkManager -
First, I find out that during the configuration, the line: 'nameserver 8.8.8.8' is deleted from /etc/resolv.conf -
if I add it manually, I can connect to internet but after new booting this line deleted again...
I do not know if it is important but - Should I define BSSID or leave it blank?
I am using static IP, but not dhcpcd.
I understand that wired and wireless interfaces can not work simultaneously in the same subnet -
So I want to configure it that when wired int will be disconnected, the wireless will automatically be connected.
Here is ifconfig output:
Code:
ifconfig
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.7  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::8e89:a5ff:fe66:227b  prefixlen 64  scopeid 0x20<link>
        ether 8c:89:a5:66:22:7b  txqueuelen 1000  (Ethernet)
        RX packets 2142  bytes 1598878 (1.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1757  bytes 265517 (259.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 285  bytes 22206 (21.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 285  bytes 22206 (21.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:1d:0f:c6:8b:67  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7550
Location: Goose Creek SC

PostPosted: Thu Oct 09, 2014 4:49 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/NetworkManager
add nameserver 8.8.8.8 to /etc/resolv.conf.tail or /etc/resolv.conf.head
preferably use a gui nmapplet or kde-misc/plasma-nm or kde-misc/networkmanagement, nmcli if no gui --> keeps you organized
did you add firmware if your nic needs it
networkmanager defaults to wired if connected, wireless if wired is not connected if both are configured
Do not have net.enp2s0, net.wlp3s0, wpa_supplicant, or dhcpcd in any run level
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum