Telekom furcsasagok

Ha rossz helyen van a topic, kerem helyezze at a moderator, koszonom!

 

UPC/Vodafone-rol Telekomra valtottam. Eszrevettem, hogy a .Xauthority file-ba "neha" bekerul a telekom szoveg is, illetve, hogy a username@manjaro helyett a username@telekom fogad a terminalban. Ha torlom a relevans file-t, majd restart, tobbnyire megoldodik.

Talalkozott valaki ilyesmivel?

Illetve azota X-be lepes utan siman 10 masodpercre nem reszponziv semmi ( KDE ), korabban ez sem fordult elo

Hozzászólások

Nincs valami olyan mechanizmus beállítva a gépeden, hogy a hostnevet a modem/router, azaz vélhetően a DHCP szerver adja? A másik lehetőség kellemetlenebb, ha felnyomták a gépedet, de én jóhiszeműen az elsőre gondolok.

tr '[:lower:]' '[:upper:]' <<<locsemege
LOCSEMEGE

Static hostname: manjaro
      Icon name: computer-desktop
        Chassis: desktop 
     Machine ID: 601437e5817f474e99f42c1007e1c054
        Boot ID: bb6423a68d494cbd88961b1f3c8ba9dc
Operating System: Manjaro Linux                    
         Kernel: Linux 6.1.1-1-MANJARO
   Architecture: x86-64
Hardware Vendor: ASRock
 Hardware Model: B450 Gaming-ITX/ac
Firmware Version: P4.60

 

U-dash

"Beszivarog" a kulso ipv6-od es a kapott kulso ip alapjan feloldott reverz lesz a hostnev?

Szerkesztve: 2023. 01. 02., h – 14:23

Hasonlót én is észre vettem, de eddig nem nagyon mentem utána. Telenor/Yettel mobil netem van.
Ilyen a promptom jelenleg: [hapika@HP-G5-BUDGIE ~]$ , de van mikor a @ után valami ilyesmi számok vannak: hp-11-55-akármi és ez a formátum volt a gépnév telepítés után. Nem is értem honnan veszi a BUDGIE-t. 
Fedora 36 Gnome/Cinnamon

Az a helyzet, hogy ezt így nem is nagyon értettem. Mármint, hogy miért változik. Túl sokat nem használom ezt a notit, annyi időm meg nem volt, hogy utána járjak. Vagy témát indítsak neki, csak most ebben a témában kezdtem kombinálni. Az viszont tény, hogy ezen a notin régebben volt egy Ubuntu-Budgie a Fedora előtt. A routerem és a szolgáltatóm meg nem változott.

Lejjeb látom a dhcp-client conf-ban, mit kell állítani. Ránézek.

Ezt akkor Win10-es gépekre is elvégzi a routerem? Ott mi a helyzet, ha lehetek off is egy kicsit?

man 5 NetworkManager.conf

       hostname-mode
           Set the management mode of the hostname. This parameter will affect only the transient hostname. If a valid static
           hostname is set, NetworkManager will skip the update of the hostname despite the value of this option. An hostname
           empty or equal to 'localhost', 'localhost6', 'localhost.localdomain' or 'localhost6.localdomain' is considered
           invalid.

           default: NetworkManager will update the hostname with the one provided via DHCP or reverse DNS lookup of the IP
           address on the connection with the default route or on any connection with the property hostname.only-from-default set
           to 'false'. Connections are considered in order of increasing value of the hostname.priority property. In case
           multiple connections have the same priority, connections activated earlier are considered first. If no hostname can be
           determined in such way, the hostname will be updated to the last one set outside NetworkManager or to
           'localhost.localdomain'.

           dhcp: this is similar to 'default', with the difference that after trying to get the DHCP hostname, reverse DNS lookup
           is not done. Note that selecting this option is equivalent to setting the property 'hostname.from-dns-lookup' to
           'false' globally for all connections in NetworkManager.conf.

           none: NetworkManager will not manage the transient hostname and will never set it.
 

sztem itt érdemes körülnézni.

Hét ez elég érdekes. Most már földrajzilag is teljesen máshol és tök más szolgáltatónál csaptam fel a notit.
 

[hapika@fedora ~]$ hostname
fedora
[hapika@fedora ~]$ hostnamectl
   Static hostname: n/a                                  
Transient hostname: fedora
         Icon name: computer-laptop
           Chassis: laptop 💻
        Machine ID: dbe9a99bf8a04e66875d492da6044dfc
           Boot ID: 78ff483cb11a4366b903415aaebf74af
  Operating System: Fedora Linux 36 (Workstation Edition)
       CPE OS Name: cpe:/o:fedoraproject:fedora:36
            Kernel: Linux 6.0.15-200.fc36.x86_64
      Architecture: x86-64
   Hardware Vendor: HP
    Hardware Model: HP 250 G5 Notebook PC
[hapika@fedora ~]$ 
 

Most egyelőre ennyi.

Még annyit, hogy amit ide kinn használok notit, azon MX-Linux van és hostname-nak "hpzbook"-ot dobott a telepítő és itt ennél a router/szolgáltató párosnál sosem változott, pedig a dhclient. conf-ban ott van a "host-name" opció is.

send host-name "hpzbook";
request subnet-mask, broadcast-address, time-offset, routers,
    domain-name, domain-name-servers, domain-search, host-name,
    dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
    netbios-name-servers, netbios-scope, interface-mtu,
    rfc3442-classless-static-routes, ntp-servers;
 

Ha megyek haza következőleg, hazaviszem és kíváncsi vagyok az otthoni DHCP server milyen hostnevet oszt.

Viszont a Fedora-ban nem találok ilyen /etc/dhcp/dhclient.conf fájlt. 

A DHCP szerver tud küldeni hostnevet.

A legtöbb DHCP kliens ezt felhasználja, hacsak ezt explicit ki nem kapcsolod.

Pl. /etc/dhcp/dhclient.conf:

request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,
        netbios-name-servers, netbios-scope, interface-mtu,
        rfc3442-classless-static-routes, ntp-servers;

Ha kivesszük a host-name opciót, marad a lokálisan beállított hostnév.

bar manjaro alatt nem pont igy nez ki, hanem igy:

 

# Request a hostname from the network
#option host_name

 

de mar en kapcsoltam ki. ehhez kepest reboot utan ssdm-bol ctrl+alt+f2-vel az elso elerheto karakteres konzolon belepve username@telekom

ezutan vissza gui-ra, login, KDE-n belul yakuake username@manjaro

ha en ezt ertenem...

U-dash