Vu+
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hosts file not updating IP & Hostname

Discussion in 'Vu+ Ultimo4K Black Hole Images' started by beka2, Mar 21, 2020.

  1. beka2

    beka2 Vu+ Newbie

    Messages:
    26
    I noticed that "/etc/hosts" is not updating with the LAN ip and hostname.
    Any tips on how to fix this ?

    root@vuultimo4k:/etc# cat hostname
    vuultimo4k
    root@vuultimo4k:/etc# cat hosts
    127.0.0.1 localhost.localdomain localhost
    root@vuultimo4k:/etc# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:1D:EC:------
    inet addr:192.168.0.5 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:40961 errors:0 dropped:1974 overruns:0 frame:0
    TX packets:29215 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:8096288 (7.7 MiB) TX bytes:11910768 (11.3 MiB)


    Also, how does one install nano ?
     
  2. beka2

    beka2 Vu+ Newbie

    Messages:
    26
    In the meantine I read about this and it seems there is no issue with the hosts file.
    Although, I noticed the DHCP option 12 (hostname) is not being broadcast.
    What dhcp client does the system use? And how can I check why the hostname isn't being broadcast ?

    Also still curious how to install nano ?
     
  3. beka2

    beka2 Vu+ Newbie

    Messages:
    26
    Sorry for double-posting but I found out how to fix the hostname. So if anyone ever needs...
    I was blind and didn't see "/etc/networks/interfaces" was missing the line "hostname vuultimo4k".

    Now only nano missing.
     
  4. Alexwilmac

    Alexwilmac Vip

    Messages:
    4,664
    Not possible, AFAIK: use vi. But, are you sure you need a text editor INSIDE the image? I need only such a thing for a script I wrote. Otherwise is much easier to directly edit files by FTP.
     

Share This Page