Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-02-2008, 04:39 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Posts: 26
Rep:
|
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!
|
|
|
02-02-2008, 07:04 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914
Rep:
|
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.
|
|
|
02-04-2008, 05:16 AM
|
#3
|
Member
Registered: Apr 2007
Posts: 41
Rep:
|
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.
|
|
|
02-04-2008, 11:33 AM
|
#4
|
LQ Newbie
Registered: Jun 2004
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by jazzor
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...
|
|
|
02-05-2008, 12:13 AM
|
#5
|
Member
Registered: Apr 2007
Posts: 41
Rep:
|
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.
|
|
|
02-05-2008, 01:04 PM
|
#6
|
LQ Newbie
Registered: Jun 2004
Posts: 26
Original Poster
Rep:
|
Quote:
Originally Posted by jazzor
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
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
|
|
|
02-05-2008, 03:59 PM
|
#7
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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?
|
|
|
02-06-2008, 06:10 AM
|
#8
|
Member
Registered: Oct 2006
Distribution: Slackware 14.2 / -current
Posts: 76
Rep:
|
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 )
|
|
|
All times are GMT -5. The time now is 06:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|