LinuxQuestions.org
Help answer threads with 0 replies.
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 12-03-2014, 08:12 AM   #1
coldbeer
Member
 
Registered: May 2006
Location: Orion–Cygnus Arm, MWG
Distribution: Slackware, Ubuntu
Posts: 249

Rep: Reputation: 130Reputation: 130
Is there a way to boot slackware without networking


I have a Slackware VM setup with a static IP address . I needed to use this static IP on another VM so I turned off the first VM and configured the second VM with the static IP.

Now I want to reconfigure the first VM to use DHCP but if I boot it, it will collide with the other VM and I don't want to do that.

Is there a boot param I can use to have Slackware skip the networking?
 
Old 12-03-2014, 08:18 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Try running netconfig and have it use static addressing.
 
Old 12-03-2014, 08:31 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
If I understand well, if the static address is already in use the server dhcpd won't propose it.

Else, you can probably mark that address as reserved in some way in dhcpd.conf.
 
Old 12-03-2014, 09:28 AM   #4
coldbeer
Member
 
Registered: May 2006
Location: Orion–Cygnus Arm, MWG
Distribution: Slackware, Ubuntu
Posts: 249

Original Poster
Rep: Reputation: 130Reputation: 130
Well I deleted the network card in the VM and added a new one with a different MAC address. I was not sure if our DNS system people where assigning real static IPs or using DHCP reservation. Anyways I booted the VM and it did get the clashing IP address. I shutdown /etc/rc.d/inetd and inet1 and ran netconfig and changed it to dhcp. I then restarted inetd and inet1. I was surprised that it again came up with the same IP. So I rebooted and it then used DHCP and go a new IP.


I just thought there might be some boot parameter to tell the OS to not connect to the network at all.

Last edited by coldbeer; 12-03-2014 at 09:30 AM.
 
Old 12-03-2014, 09:32 AM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
you can also boot in init 1 (the name of your kernel followed by " init 1" at the lilo prompt), change what you have to change in the network config, then go in init 3.
 
3 members found this post helpful.
Old 12-03-2014, 11:22 AM   #6
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by coldbeer View Post
I just thought there might be some boot parameter to tell the OS to not connect to the network at all.
I couldn't find which VM you are running or if you're using wireless, but in the version of VirtualBox I'm running in the GUI interface there is a "Cable Connected" box which can be unchecked. This isn't a boot parameter however.
 
1 members found this post helpful.
Old 12-03-2014, 11:32 AM   #7
coldbeer
Member
 
Registered: May 2006
Location: Orion–Cygnus Arm, MWG
Distribution: Slackware, Ubuntu
Posts: 249

Original Poster
Rep: Reputation: 130Reputation: 130
Quote:
Originally Posted by ponce View Post
you can also boot in init 1 (the name of your kernel followed by " init 1" at the lilo prompt), change what you have to change in the network config, then go in init 3.
That's what I was looking for. Thanks.


Quote:
Originally Posted by TracyTiger View Post
I couldn't find which VM you are running or if you're using wireless, but in the version of VirtualBox I'm running in the GUI interface there is a "Cable Connected" box which can be unchecked. This isn't a boot parameter however.

Oh crap! Dooooh! You're right. I could have just turned off the network card in the VM settings!

Thanks.

Last edited by coldbeer; 12-03-2014 at 11:33 AM.
 
  


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
networking - xp and slackware 10.1 elf Linux - Networking 14 03-07-2005 11:08 PM
networking w/ slackware 9.1 xviddivxoggmp3 Slackware 6 02-27-2004 05:09 PM
slackware 8 NETWORKING xcobra Linux - General 8 06-10-2002 10:09 AM

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

All times are GMT -5. The time now is 11:55 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
Open Source Consulting | Domain Registration