LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SeTnet script bug? IP address / net mask not optional for DHCP (https://www.linuxquestions.org/questions/slackware-14/setnet-script-bug-ip-address-net-mask-not-optional-for-dhcp-4175413753/)

guanx 06-27-2012 09:29 PM

SeTnet script bug? IP address / net mask not optional for DHCP
 
I just wanted to make a headless install of slackware{,64}-current and found that even if I specify dhcp for nic in the kernel command line, I still have to fill in an arbitrary IP address / net mask. Otherwise SeTnet pops up a dialog to let me set IP and mask.

My pxelinux config is:
Code:

default autonet.s
prompt 1
timeout 100
display linux-x86_64/message.txt
F1 linux-x86_64/message.txt
F2 linux-x86_64/f2.txt
label autonet.s
  kernel linux-x86_64/kernels/huge.s/bzImage
  append initrd=linux-x86_64/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s kbd=us nic=e1000e:eth0:dhcp:0.0.0.0:255.255.255.255
label huge.s
  kernel linux-x86_64/kernels/huge.s/bzImage
  append initrd=linux-x86_64/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s


Alien Bob 06-28-2012 03:14 AM

The SeTnet script will ask you for an IP address if it was unable to contact a DHCP server on the LAN.

Eric

guanx 06-28-2012 08:28 AM

Quote:

Originally Posted by Alien Bob (Post 4713919)
The SeTnet script will ask you for an IP address if it was unable to contact a DHCP server on the LAN.

Eric

But I don't think it ever tried to contact.
The computer booted from the DHCP/TFTP server. The DHCP server must be reachable.
And if I add some arbitraty IPaddr/mask the SeTnet does DHCP promptly, as described above.

If you are sure I will look at it again later.


All times are GMT -5. The time now is 05:55 PM.