LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 06-27-2012, 10:29 PM   #1
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
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
 
Old 06-28-2012, 04:14 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,395

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

Eric
 
Old 06-28-2012, 09:28 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by Alien Bob View Post
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.

Last edited by guanx; 06-28-2012 at 11:37 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network Address subnet mask kapilbajpai88 Linux - Newbie 4 04-28-2009 05:27 PM
question about IP address and subnet mask 2007fld Linux - Networking 4 03-28-2007 12:00 PM
Web address mask dranobob Linux - Newbie 5 08-17-2005 10:48 AM
Get the default gateway / net mask idit Linux - Networking 1 11-21-2004 09:39 AM
Invalid net mask CRTSCTS?? justiceisblind Linux - Newbie 5 03-02-2002 02:06 PM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration