LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-31-2014, 03:31 PM   #1
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Slackware
Posts: 36

Rep: Reputation: Disabled
Switching from Network Manager to dhcp problems


I was trying to switch the network configuration to use the dhcpd instead of NetworkManager. The problem is that it fails to get an ip address. I did the following:

1) open terminal window
2) use su to log in as root
3) use pkgtool to use the netconfig script
4) changed settings
5) exit pkgtool
6) exit su
7) Disable NM start-up in xfce
8) reboot
9) bang head on desk
10) reverse settings
 
Old 07-31-2014, 03:35 PM   #2
notKlaatu
Member
 
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware
Posts: 474

Rep: Reputation: 127Reputation: 127
Are the rc.inet scripts set to start upon boot? And did you chmod -x /etc/rc.d/rc.NetworkManager ?
 
Old 07-31-2014, 03:48 PM   #3
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Slackware
Posts: 36

Original Poster
Rep: Reputation: Disabled
the inet script is set to start up. I can't say I did anything with the network manager script but it doesn't start up anyways.

EDIT: do I need to do something to the inet script?

EDIT2: I managed to get a a search on inet config and now I go this to work.

Last edited by pcninja; 07-31-2014 at 04:17 PM.
 
Old 07-31-2014, 10:40 PM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: FreeBSD 11.0-Current Slackware64-Current
Posts: 4,962
Blog Entries: 15

Rep: Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473Reputation: 1473
netconfig should write inet configuration file.

If you use NetworkManager and switch back, run, as stated above:

Code:
chmod -x /etc/rc.d/rc.networkmanager
And then re-run netconfig and select dhcpcd as your networking daemon. You'll need to fill in all the required information for it though.
 
Old 08-01-2014, 05:04 AM   #5
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 199

Rep: Reputation: 56
I can be mistaken but

Code:
 # netconfig
do alter the mod of the relevant services e.g NM and dhcpd in this case.

Well this tool did it for me on 14.0 and 14.1
 
Old 08-01-2014, 06:22 AM   #6
pcninja
Member
 
Registered: Oct 2013
Location: SE Wisconsin, USA
Distribution: Slackware
Posts: 36

Original Poster
Rep: Reputation: Disabled
actually after running netconfig, I had to modify the inet1.conf file, but I think I just needed to modify some line and now it works.
 
  


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 manager does not set hostname received from DHCP server Pemek Linux - Networking 1 01-30-2012 06:44 AM
Debian-Gnome: Cannot have Network Manager switching between Wire and Wireless Windows Or Linux Linux - Newbie 3 01-17-2012 09:54 PM
cannot ping outside network after switching from dhcp to static ip robogymnast Linux - Server 4 06-24-2009 03:21 PM
switching from DSL to Cable Modem Network Problems ivycomputer Linux - Networking 3 04-11-2007 02:30 PM
mac osx problems with linux samba after switching network interfaces cruiserparts Linux - Networking 2 01-22-2006 07:41 PM


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