This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP not working @home provider

I am new to Astaro and trying to configure my machine for use of a dynamic IP from my provider.
I know I have to add something like 'send host-name ...' to a ipcfg-eth1 file. Problem is I cannot find this were it is supposed to be 'etc/sysconfig/network'.

Can anyone help me were/how to add this?!
Thanks.


This thread was automatically locked due to age.
Parents
  • Who is your ISP?

    Have you already set your EXT interface to Dynamic?

    Barry
  • Yes, I did. It's a known problem when using Linux connected to my provider @Home.
    When using another Linux distribution I have to add mentioned lines manually and then it works.
    Now I don't see those files in the filesystem and cannot use the command dhcpcd even though the package is installed (rpm -q dhcpcd -> positive).
  • The @Home I'm familiar with is long out of business... (in the US).

    Anyways,
    look in /var/chroot-dhcpc/
    maybe the files you need to edit will be found there.
    Astaro doesn't have ifcfg files though.

    Barry
  • Thanks, but every file I change is being overwritten after rebooting.
    There must be some place it finds the information.

    Hope my problem will be solved soon, otherwise I will try another distribution. That would be a shame because of the ease of management will ben gone.
  • Hi is this @home in the netherlands ? with is giving dhcp leases out based on the hostname ?

    if thats the case then i hava a easy fix for u [:)]
  • ok i had to write it but here it is:
    edit the file "dhcp_eth" in the directory "/var/mdw/scripts"
    line 36 is normally looks like this:
    chroot $CHROOT /usr/sbin/dhcpcd -d -c "/usr/sbin/$ITF" -R $ITF &

    now simply add the -h hostname option to this line like this:

    chroot $CHROOT /usr/sbin/dhcpcd -d -c "/usr/sbin/$ITF" -R -h co130508-c $ITF &

    untill now i allway's did this before creating the interface and it works fine.
  • Bert, sorry I did not respond earlier.

    I stopped trying a couple of days before your post. Now tried your solution resulting positive.

    Thanks a lot, now I can try to implment Astaro.
Reply Children