LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 09:29 PM   #1
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
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, 03:14 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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, 08:28 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Original Poster
Rep: Reputation: 233Reputation: 233Reputation: 233
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 10:37 PM.
 
  


Reply



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 04:27 PM
question about IP address and subnet mask 2007fld Linux - Networking 4 03-28-2007 11:00 AM
Web address mask dranobob Linux - Newbie 5 08-17-2005 09:48 AM
Get the default gateway / net mask idit Linux - Networking 1 11-21-2004 08:39 AM
Invalid net mask CRTSCTS?? justiceisblind Linux - Newbie 5 03-02-2002 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:31 PM.

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
Open Source Consulting | Domain Registration