Re: [blfs-support] need to add PATH_PROCNET_DEV in inetutils-1.9.1/ifconfig/system/linux.c for compiling the Inetutils-1.9.1 package with ifconfig support
Hello All, I would like add some information which might help other users . IF you want to compile the Inetutils-1.9.1 package with ifconfig support in order to use a KDE wicd frontend client, you have to add the following lines in inetutils-1.9.1/ifconfig/system/linux.c : // add after this line #include "../ifconfig.h" +#ifndef PATH_PROCNET_DEV + #define PATH_PROCNET_DEV "/proc/net/dev" +#endif + /* ARPHRD stuff. */ otherwise you will get a compile error that PATH_PROCNET_DEV is not defined. Regards, Roy-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: BLFS User Group [Was Re: Inetutils]
On 6/13/06, Randy McMurchy <[EMAIL PROTECTED]> wrote: Where are you considering adding the note? To the "About system users and groups" section in Chapter 3? Yeah. If so, then I think a message can't hurt. However, Bruce wrote that page, so you should probably defer to his judgment. Agreed. Bruce? -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: BLFS User Group [Was Re: Inetutils]
Dan Nicholson wrote these words on 06/13/06 13:29 CST: > If the other BLFS editors agree, I'll add a note saying that creating > a new user will default to group 100, so you should create that. And > maybe I'll say something about putting all your users in a common > group. That should be intuitive to anyone with a decent *nix > background, though. Where are you considering adding the note? To the "About system users and groups" section in Chapter 3? If so, then I think a message can't hurt. However, Bruce wrote that page, so you should probably defer to his judgment. In any other section, I'm not sure it belongs. -- Randy rmlscsi: [bogomips 1003.27] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 13:44:00 up 32 days, 5:44, 1 user, load average: 0.36, 0.30, 0.18 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
BLFS User Group [Was Re: Inetutils]
On 6/13/06, Craig Jackson <[EMAIL PROTECTED]> wrote: Is this something that has come up for in a discussion? I don't mean to start a flame war between the BLFS and LFS teams :) It seems like part of a basic setup to have a "users" group with an ID of 100. If the LFS team does not agree, it could always be part of BLFS's "configuring for adding users" instructions. Probably there could be a note in the BLFS instructions. Unfortunately, groups are a bit of a sticky issue. Some people would not agree that there should be a common users group that all unprivelaged users are a part of. I think it is useful enough that it should be mentioned. On my system, I like to be in a common group with the other users. You can always set your permissions according to your preference. The problem you're having, though, isn't really related to have a "users" group. It's caused because you haven't defined any group. The defaults for shadow from LFS say that any new user will default to group 100 unless the group is specified. There are some switches with useradd that allow the group to be created from useradd, but I can't recall them right now. If the other BLFS editors agree, I'll add a note saying that creating a new user will default to group 100, so you should create that. And maybe I'll say something about putting all your users in a common group. That should be intuitive to anyone with a decent *nix background, though. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
Do you have a valid group for your user? All the bash scripts are just examples. The idea with the umask one is that if the name of -- Dan I have always wondered why the group 100 is not included in LFS when /etc/group is created. When I do configure for useradd in BLFS ch.3 it always ends up complaining that GID 100 does not exist. This isn't really a problem for a skilled administrator, because I usually just run "groupadd users" and it takes care of this. Since LFS itself is basically an incomplete system by design, Is this something that has come up for in a discussion? I don't mean to start a flame war between the BLFS and LFS teams :) It seems like part of a basic setup to have a "users" group with an ID of 100. If the LFS team does not agree, it could always be part of BLFS's "configuring for adding users" instructions. Thanks, Craig -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
On 6/10/06, Henry christenson <[EMAIL PROTECTED]> wrote: Ahh also and I know this caused an agument in the past but I had an unusual issue with umask script in BLFS. When its added to the profile.d i got a message about group 100 has no id. I suspect this is cause i havent set a users group yet. So i just set umask to 022. Is there any real need for the script or is it just there incase a userid and group match. Do you have a valid group for your user? All the bash scripts are just examples. The idea with the umask one is that if the name of your group is the same as your username, then you might want to create group writable files by default. It's kind of inaccurate, but it's just an example. You could adjust it so that all your ordinary users are part of a common group, then make umask 002 if you're in that group. Then you'd be able to more easily share files with other ordinary users. Some people really don't like that, though. It's all your preference, and you can always override any settings in ~/.bash*. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
> Hey do you know what package has ifconfig in it ? Net-tools. Another way you can find installed programs in the blfs book is to go to this page: http://www.linuxfromscratch.org/blfs/view/svn/longindex.html And search for ifconfig. (Watch out, the page is a monster if you have a slow connection.) -- Dan Ahh also and I know this caused an agument in the past but I had an unusual issue with umask script in BLFS. When its added to the profile.d i got a message about group 100 has no id. I suspect this is cause i havent set a users group yet. So i just set umask to 022. Is there any real need for the script or is it just there incase a userid and group match. This build is on a laptop so there wont me many users and ill be controlling all the users created on it and im not silly enough to make the mistake of adding a user with the same name as a group. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
On 6/10/06, Henry christenson <[EMAIL PROTECTED]> wrote: Hey do you know what package has ifconfig in it ? Net-tools. Another way you can find installed programs in the blfs book is to go to this page: http://www.linuxfromscratch.org/blfs/view/svn/longindex.html And search for ifconfig. (Watch out, the page is a monster if you have a slow connection.) -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
> Why does BLFS install Inetutils again ? > > Its installed in the LFS book. Only the clients are installed in LFS. BLFS provides instructions to install the servers as well. -- Randy Ahh yes i see now BLFS doesent pass the --disable-servers option but does mention it in the command explanations so thats why I got confused. Hey do you know what package has ifconfig in it ? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Inetutils
Henry christenson wrote these words on 06/10/06 10:27 CST: > Why does BLFS install Inetutils again ? > > Its installed in the LFS book. Only the clients are installed in LFS. BLFS provides instructions to install the servers as well. -- Randy rmlscsi: [bogomips 1003.27] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 10:34:00 up 29 days, 2:34, 1 user, load average: 0.72, 0.65, 0.51 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Inetutils
I just got a simple question not sure if its sutible for support but here it is. Why does BLFS install Inetutils again ? Its installed in the LFS book. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page