You are not logged in.
Hi All,
I am trying to sort this out and the objective is to be able to use wifi connection for Internet access and wired connection just to connect to another network to configure a network device that is not connected to the Internet.
DHCPCD is set to give a static IP for wired NIC when wifi is still on DHCP. Whenever I connect a wire it loses the Internet connection.
Please advise what I am doing wrong. Don't give a full answer, but just a clue.
Thanks
By the way I have disabled gateway setting in dhcpcd.conf by commenting it out (for wired connection) but (I think) Network Manager regardless of that is still obtaining the gateway from that secondary network.
I promise not to be a vampire.
_..._
.' '.
; __ __;
|/ \ / \ |
|\| -- ' -- |/|
|(| \o| |o/ |)|
_\| > |/_
.-' | ,.___., | '-.
\ ; V'-'V ; /
`\ \ / /`
`\ '-...-' /`
`\ / \ /`
`\\_//`
Last edited by Kardell (2015-10-06 18:17:46)
"Those who don't know history are doomed to repeat it." Edmund Burke
Offline
this might help you out as to why dhcpcd isn't playing nice with nm. it's linked from the wiki, which has all the information you need.
https://projects.archlinux.org/svntogit … 57d17b6cdb
nm and dhcpcd don't play nice together. nm has its own internal dhcp client, and the setup is described in the wiki. you can use netctl and dhcpcd though, and there is an applet for netctl if you don't like using the cli.
Offline
By the way I have disabled gateway setting in dhcpcd.conf by commenting it out (for wired connection) but (I think) Network Manager regardless of that is still obtaining the gateway from that secondary network.
Why would changing dhcpcd.conf influence the way NetworkManager operates? It's not exactly like editing vimrc to configure Emacs, but it's still a little strange.
I thought by now every relevant wiki page had a warning about running multiple network management services. If you like NM, focus on configuring all your interfaces with it and don't start dhcpcd.
Last edited by Raynman (2015-10-06 09:53:25)
Offline
Kardell wrote:By the way I have disabled gateway setting in dhcpcd.conf by commenting it out (for wired connection) but (I think) Network Manager regardless of that is still obtaining the gateway from that secondary network.
Why would changing dhcpcd.conf influence the way NetworkManager operates? It's not exactly like editing vimrc to configure Emacs, but it's still a little strange.
I thought by now every relevant wiki page had a warning about running multiple network management services. If you like NM, focus on configuring all your interfaces with it and don't start dhcpcd.
NM and dhcpcd is installed and when I fix one NIC in dhcpcd.conf to static it stays like that.
According to what you have said I should just disable or get rid of dhcpcd if NM has its own dhcp client.
This would explain why something is still pulling the default gateway even if it's not set in dhcpcd.conf
@c3kay
Thank you for your input I will have a look at it
"Those who don't know history are doomed to repeat it." Edmund Burke
Offline
I have disabled dhcpcd and also followed this http://askubuntu.com/questions/207675/u … a-static-i
as people struggle to set static IP in NetworkManager, I mean Save button is graying out. In my case I leave gateway IP blank and the script gives it 0.0.0.0
In this old thread fukawi2 is right, wired connection is prioritized. https://bbs.archlinux.org/viewtopic.php?id=112130
Thanks
Last edited by Kardell (2015-10-06 18:28:04)
"Those who don't know history are doomed to repeat it." Edmund Burke
Offline