LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-02-2008, 04:39 PM   #1
MikTheUser
LQ Newbie
 
Registered: Jun 2004
Posts: 26

Rep: Reputation: 15
NetworkManager: Patching "dhcp" package


In a recent flamefest on the topic of getting NetworkManager to work on Slackware 12, and by trying myself, I've found that NetworkManager can be made to work up to the point where it tries to retrieve an interface's address via DHCP.

Apparently, changes need to be made to slackware's "dhcp" package, namely editing some script to do with dhclient. However, I couldn't find out what to put where. I hope someone can enlighten me!
 
Old 02-02-2008, 07:04 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Why not download the relevant Dropline package and see what they are doing? Or a Fedora or Ubuntu package? diff the original and the new ones to come up with an easier to read patch.
 
Old 02-04-2008, 05:16 AM   #3
jazzor
Member
 
Registered: Apr 2007
Posts: 39

Rep: Reputation: 16
I dont have a problem with NetworkManager and the default slackware dhcp.

Steps to make things work:
Install dhcp-3.0.5-i486-2.tgz
Install libnl 1.1
Install NetworkManager TRUNK, removing an invalid declaration in the slackware backend, otherwise it wont compile
Install NetworkManager applet TRUNK.

Enjoy.

Words of warning: dont use dhcp 4.xx cos it doesnt work. 3.10 works and so does the default slackware package, as long as you are using trunk builds of NetworkManager.
 
Old 02-04-2008, 11:33 AM   #4
MikTheUser
LQ Newbie
 
Registered: Jun 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jazzor View Post
Steps to make things work:
Install dhcp-3.0.5-i486-2.tgz
Install libnl 1.1
Install NetworkManager TRUNK, removing an invalid declaration in the slackware backend, otherwise it wont compile
Install NetworkManager applet TRUNK.
So, umm - you don't need dhcdbd? That is one of the packages I had to install which are giving me a headache.
Also, "NetworkManager applet" sounds like you're talking GNOME - you're not on dropline or something? If not, then replacing that with kNetworkManager should work for me, too...
 
Old 02-05-2008, 12:13 AM   #5
jazzor
Member
 
Registered: Apr 2007
Posts: 39

Rep: Reputation: 16
Nope, dhcdbd or whatever its called is no longer used in trunk version of NetworkManager. However, if you want to use the trunk build you must also use networkmanager-applet cos knetworkmanager doesnt compile for trunk builds. I also want to add that you might wish to compile wpa_supplicant with DBUS support if you want to get wireless working automatically, or else you will have to start wpa_supplicant manually at every boot.
 
Old 02-05-2008, 01:04 PM   #6
MikTheUser
LQ Newbie
 
Registered: Jun 2004
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jazzor View Post
Nope, dhcdbd or whatever its called is no longer used in trunk version of NetworkManager.
That is at least one piece of good news

Quote:
Originally Posted by jazzor View Post
However, if you want to use the trunk build you must also use networkmanager-applet cos knetworkmanager doesnt compile for trunk builds.
Being on a stock Slackware 12 (i.e. no GNOME), that is obviously not an option... or is it?
Without a graphical interface, this whole endeavor is pointless, I'm afraid
 
Old 02-05-2008, 03:59 PM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
I tried install knetworkmanager but the page and a half of gnome deps put me off. I mean WHY ON EARTH build a kde app with a ton of gnome deps?! Where's the sense in it?
 
Old 02-06-2008, 06:10 AM   #8
PJBrs
Member
 
Registered: Oct 2006
Distribution: Slackware 12 and -current
Posts: 34

Rep: Reputation: 15
This is just what I was looking for! Yesterday I finally managed to get knetworkmanager going, but I still have some problems. First, however; if you want to use networkmanager 0.6.5, you have to use dhcdbd and patch dhcp. I used the patch from arch-linux, http://www.landofbile.com/crux_ports.../arch-nm.patch . It applied cleanly to dhcp-3.0.5. Hope this helps

Incidentally; I compiled knetworkmanager with vpnc and pptp support, but they're not offered in the networkmanager menu. Does anyone know more about that? And a second issue; networkmanager manages to loose my wpa-key every time I close it, while it should use kwallet to store the key. Anyone know how to change that?

(I hope I'm not jumping your thread too much )
 
  


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
"signal_connect" via package "Gtk2::Window" Rick Hunter Mandriva 5 03-13-2009 07:23 AM
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
perl install error: Can't locate object method "new" via package "Module::Build::Vers powah Linux - Software 0 10-24-2006 01:57 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM


All times are GMT -5. The time now is 02:45 AM.

Main Menu
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