DHCP interferes with hostname configuration Announcing the arrival of Valued Associate #679:...
Is there hard evidence that the grant peer review system performs significantly better than random?
Using audio cues to encourage good posture
How do I use the new nonlinear finite element in Mathematica 12 for this equation?
How does Python know the values already stored in its memory?
What order were files/directories outputted in dir?
How to write the following sign?
What does it mean that physics no longer uses mechanical models to describe phenomena?
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
What is "gratricide"?
Drawing without replacement: why is the order of draw irrelevant?
What do you call the main part of a joke?
What would you call this weird metallic apparatus that allows you to lift people?
Chinese Seal on silk painting - what does it mean?
How does the math work when buying airline miles?
How does the secondary effect of the Heat Metal spell interact with a creature resistant/immune to fire damage?
Do any jurisdictions seriously consider reclassifying social media websites as publishers?
What initially awakened the Balrog?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Should I use a zero-interest credit card for a large one-time purchase?
What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in Into the Spider-Verse?
How to write this math term? with cases it isn't working
Is it a good idea to use CNN to classify 1D signal?
Question about debouncing - delay of state change
Putting class ranking in CV, but against dept guidelines
DHCP interferes with hostname configuration
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionHow to request a hostname from a DHCP server on Ubuntu?Get client hostnames from DHCPDHCP configuration for iPXEWhat should be the right dhcp configuration for generating a new network over eth0?Spoofing or removing DHCP client hostname in response to DHCP serverGetting DHCP hostnameSet hostname on first boot before network.serviceMachine hostname differs form Network (DHCP) nameDhcp Client: What is the difference between client sending the hostname and requesting the hostname to Dhcp server?How can I ping my dhcp server using hostname?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm running an arch system with KDE4/Plasma, wpa_supplicant, networkmanager, systemd ...
cat /proc/version Linux version 5.0.0-arch1-1-ARCH (builduser@heftig-18825) (gcc version 8.2.1 20181127 (GCC)) #1 SMP
PREEMPT Mon Mar 4 14:11:43 UTC 2019
The content of my /etc/hostname
reads localhost
.
After boot, the shell command hostname
now outputs localhost
. More precisely:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
When I turn on WiFi, networkmanager connects to a WiFi network and then the hostname changes. For instance:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
The shell command hostname
now outputs localhost.localdomain
instead of localhost
.
As a consequence, the KDE lock-screen cannot be unlocked and I cannot start any X applications from the terminal in KDE (or any other desktop). A typical error message is this:
$ gvim
Invalid MIT-MAGIC-COOKIE-1 keyE233: cannot open display
When I issue hostnamectl set-hostname localhost
as root, the behavior resumes to normal.
In some other WiFis, the hostname after connect is not localhost.localdomain
but something even more random (it seems to be a hostname determined by the WiFi provider, mostly in big corporate networks). Why does a WiFi provider have the power to set my hostname?
Can this be changed somehow?
systemd networkmanager dhcp hostname
New contributor
add a comment |
I'm running an arch system with KDE4/Plasma, wpa_supplicant, networkmanager, systemd ...
cat /proc/version Linux version 5.0.0-arch1-1-ARCH (builduser@heftig-18825) (gcc version 8.2.1 20181127 (GCC)) #1 SMP
PREEMPT Mon Mar 4 14:11:43 UTC 2019
The content of my /etc/hostname
reads localhost
.
After boot, the shell command hostname
now outputs localhost
. More precisely:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
When I turn on WiFi, networkmanager connects to a WiFi network and then the hostname changes. For instance:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
The shell command hostname
now outputs localhost.localdomain
instead of localhost
.
As a consequence, the KDE lock-screen cannot be unlocked and I cannot start any X applications from the terminal in KDE (or any other desktop). A typical error message is this:
$ gvim
Invalid MIT-MAGIC-COOKIE-1 keyE233: cannot open display
When I issue hostnamectl set-hostname localhost
as root, the behavior resumes to normal.
In some other WiFis, the hostname after connect is not localhost.localdomain
but something even more random (it seems to be a hostname determined by the WiFi provider, mostly in big corporate networks). Why does a WiFi provider have the power to set my hostname?
Can this be changed somehow?
systemd networkmanager dhcp hostname
New contributor
1
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago
add a comment |
I'm running an arch system with KDE4/Plasma, wpa_supplicant, networkmanager, systemd ...
cat /proc/version Linux version 5.0.0-arch1-1-ARCH (builduser@heftig-18825) (gcc version 8.2.1 20181127 (GCC)) #1 SMP
PREEMPT Mon Mar 4 14:11:43 UTC 2019
The content of my /etc/hostname
reads localhost
.
After boot, the shell command hostname
now outputs localhost
. More precisely:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
When I turn on WiFi, networkmanager connects to a WiFi network and then the hostname changes. For instance:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
The shell command hostname
now outputs localhost.localdomain
instead of localhost
.
As a consequence, the KDE lock-screen cannot be unlocked and I cannot start any X applications from the terminal in KDE (or any other desktop). A typical error message is this:
$ gvim
Invalid MIT-MAGIC-COOKIE-1 keyE233: cannot open display
When I issue hostnamectl set-hostname localhost
as root, the behavior resumes to normal.
In some other WiFis, the hostname after connect is not localhost.localdomain
but something even more random (it seems to be a hostname determined by the WiFi provider, mostly in big corporate networks). Why does a WiFi provider have the power to set my hostname?
Can this be changed somehow?
systemd networkmanager dhcp hostname
New contributor
I'm running an arch system with KDE4/Plasma, wpa_supplicant, networkmanager, systemd ...
cat /proc/version Linux version 5.0.0-arch1-1-ARCH (builduser@heftig-18825) (gcc version 8.2.1 20181127 (GCC)) #1 SMP
PREEMPT Mon Mar 4 14:11:43 UTC 2019
The content of my /etc/hostname
reads localhost
.
After boot, the shell command hostname
now outputs localhost
. More precisely:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
When I turn on WiFi, networkmanager connects to a WiFi network and then the hostname changes. For instance:
# hostnamectl
Static hostname: localhost
Transient hostname: localhost.localdomain
Icon name: computer-laptop
Chassis: laptop
Machine ID: 7e0a101cd2f0406497a6e4354fc9b3b7
Boot ID: a1424a0995da4e84b1e55b7f79df957e
Operating System: Arch Linux
Kernel: Linux 5.0.0-arch1-1-ARCH
Architecture: x86-64
The shell command hostname
now outputs localhost.localdomain
instead of localhost
.
As a consequence, the KDE lock-screen cannot be unlocked and I cannot start any X applications from the terminal in KDE (or any other desktop). A typical error message is this:
$ gvim
Invalid MIT-MAGIC-COOKIE-1 keyE233: cannot open display
When I issue hostnamectl set-hostname localhost
as root, the behavior resumes to normal.
In some other WiFis, the hostname after connect is not localhost.localdomain
but something even more random (it seems to be a hostname determined by the WiFi provider, mostly in big corporate networks). Why does a WiFi provider have the power to set my hostname?
Can this be changed somehow?
systemd networkmanager dhcp hostname
systemd networkmanager dhcp hostname
New contributor
New contributor
edited 5 hours ago
K7AAY
1,1611028
1,1611028
New contributor
asked 13 hours ago
LaTechneuseLaTechneuse
1061
1061
New contributor
New contributor
1
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago
add a comment |
1
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago
1
1
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
LaTechneuse is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513246%2fdhcp-interferes-with-hostname-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
LaTechneuse is a new contributor. Be nice, and check out our Code of Conduct.
LaTechneuse is a new contributor. Be nice, and check out our Code of Conduct.
LaTechneuse is a new contributor. Be nice, and check out our Code of Conduct.
LaTechneuse is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f513246%2fdhcp-interferes-with-hostname-configuration%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
That is a DHCP "feature" and not from Wifi per se. Depending on the DHCP daemon, some of those configurations can be ignored. TDLR It is a feature, not a bug. But it is not supposed to interfere with X.
– Rui F Ribeiro
13 hours ago