=== cpaelzer_ is now known as cpaelzer | ||
lordievader | Good morning | 08:10 |
---|---|---|
xue | hi | 08:15 |
xue | goodbye | 08:15 |
utkarsh2102 | that was fast :P | 13:57 |
octav1a | Hey, I have some machines I set up on my university network with one hostname, and now I desire to change that hostname. I did the tutorial for hostnamectl, --pretty, and changing the /etc/hosts. However, over the local network I still can not log into these machines using the new hostname. Is it a matter of waiting some time or do I need to do something else? | 14:33 |
oerheks | 2 places, edit /etc/hosts and /etc/hostname | 14:34 |
oerheks | hostnamectl is just for this session, it does not get stored | 14:34 |
patdk-lap | how do you mean login using the new hostname? | 14:36 |
patdk-lap | all those things are local machine only, and don't affect other systems | 14:36 |
patdk-lap | you likely need to update dns | 14:36 |
patdk-lap | unless you are using mdns, in that case I personally dunno what is advertizing mdns | 14:36 |
patdk-lap | did you reboot after your changes? | 14:36 |
octav1a | I don't know how the university DNS works, but when I installed the OS's to begin with, the name i chose was somehow automatically broadcast, and other computers could see it. | 14:38 |
octav1a | I just want to repeat whatever was triggered during the initial installation process. | 14:38 |
octav1a | Is there a way to send a packet: "hey, my dns changed" ? | 14:39 |
oerheks | just edit /etc/hostname too, and you should be fine | 14:39 |
oerheks | nothing to do with dns/mdns.. | 14:39 |
octav1a | oerheks: it is, because I want this name o work when connecting via ssh from other computers on the network. | 14:39 |
octav1a | Changing hat file /etc/hostname seems to have been done automatically by hostnamectl | 14:40 |
patdk-lap | well, there are only two ways dns changes | 14:41 |
patdk-lap | mdns, that is done with broadcasts from your own system | 14:41 |
patdk-lap | or via dhcp dns updates | 14:41 |
patdk-lap | I would think a reboot would *fix* either of those | 14:42 |
oerheks | octav1a, if the name matches, there should be no issue.. | 14:42 |
octav1a | patdk-lap: can these services be restarted / updated without a reboot? | 14:42 |
patdk-lap | yes | 14:42 |
patdk-lap | how? dunno what does mdns, so I dunno | 14:43 |
patdk-lap | dhcp you have to restart networking on that interface | 14:43 |
octav1a | sudo dhclient -r && sudo dhclient | 14:48 |
octav1a | seems to be the solution. | 14:48 |
=== Guest53 is now known as utkarsh | ||
=== softpaw is now known as harmonik | ||
=== harmonik is now known as softpaw | ||
=== DArqueBish0p is now known as DArqueBishop | ||
=== tomreyn_ is now known as tomreyn |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!