Re: A few more newbie questions
From: Marten Kemp (martendespamkemp_at_thisplanet-link.net)
Date: 09/10/05
- Next message: CptDondo: "Re: mdadm help"
- Previous message: Philip Washington: "Re: files won't delete"
- In reply to: Dances With Crows: "Re: A few more newbie questions"
- Next in thread: John Hasler: "Re: A few more newbie questions"
- Reply: John Hasler: "Re: A few more newbie questions"
- Reply: John-Paul Stewart: "Re: A few more newbie questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 10 Sep 2005 20:57:45 GMT
Dances With Crows wrote:
> On Sat, 10 Sep 2005 15:36:57 GMT, Marten Kemp staggered into the Black
> Sun and said:
>
>>I tried using "make menuconfig" and got the following:
>>make -C scripts/lxdialog all
>>/usr/bin/ld: cannot find -lncurses
>>
>>>>Unable to find the Ncurses libraries. You must have Ncurses
>>>>installed in order to use 'make menuconfig'
>>
>>What am I doing wrong? I used "find / | grep ncurses | less"
>
> I Think You Meant "find / -name \*ncurses\* -print | less". The man
> page for find is comprehensive, but it may be a little much for a newbie
> to digest. The -name or -iname options are usually what you want to
> use. Make sure to escape the *s, otherwise the shell may expand them.
> Also, if you haven't disabled the cron job that runs updatedb at
> 0-dark-thirty, then locate is *much* faster than find.
Aha. My mainframe background is showing. I'm used to typing
[delimeter][string][delimeter], where [delimiter] is a keyboard
character that doesn't appear in [string].
>
>>/lib/libncurses.so.5.4
>>/lib/libncurses.so.5
>
> No /lib/libncurses.so ? That file is usually a symlink to
> libncurses.so.X.Y . Also, to compile programs that use ncurses, you
> have to have the libncurses-devel package installed on RPM-based
> systems. That package contains the header files for ncurses.
Yep. aptitude showed me that the -devel package wasn't loaded.
I loaded it and menuconfig works. Gee, I thought that the apm-type
processing looked for dependencies <grin>.
>>The reason I was dinking around with regenerating the kernel is that
>>I'm convinced that I told the dialogue that I didn't want any
>>Appletalk stuff the last time I built the kernel, but I keep getting
>>messages about Appletalk things at startup.
>
> And these messages are...? It's entirely possible that Appletalk
> protocol support is disabled in the kernel, but atalkd is being started
> by the init scripts. You can disable atalkd with sysvinit or chkconfig
> or hand-editing the symlink farms in /etc/rc.d/rcX.d/ where X is your
> standard runlevel.
>
>>I'm running on an internal network behind a NAT/DHCP router and I
>>don't want to get involved with a DNS server right now. What's the
>>procedure for assigning a static IP address that I can stick in the
>>various hosts files?
>
> This question is kind of ill-formed. There's a file called /etc/hosts
> that contains name<->IP mappings for use on your machine. You can add
> things to it, like:
>
> 127.0.0.1 servedby.advertising.com
> 192.168.1.4 paganini.crow202.dyndns.org paganini
>
> ...so the evil ad server resolves to localhost, and "paganini" resolves
> to 192.168.1.4 on this machine.
>
> If you want the other machines on your LAN to recognize that
> "examplemachine" has IP 192.168.4.5 , then you either have to edit each
> other machine's /etc/hosts or LMHOSTS file, or set up a DNS server. The
> first approach doesn't scale beyond 4 or 5 machines.
Right now I want to assign addresses 192.168.2.200 and -201 to my
NFS/Samba and backup servers and put those addresses in the hosts
files. From reading man interfaces it looks as if the
/etc/network/interfaces file is the place to set this up.
All I have are the two Linux boxen, a Win 98 box and a Win 2k,
so the task isn't going to be too hard (now that I've found
pico and friends <grin>.) The major usefulness at the moment
is to provide static (and easier-to-type) targets for putty
instead of having to look up the IP address after each reboot
in case the DHCP part of the router gave me a new one.
>>If anyone has a link to how to set up a DNS server in this
>>environment, I'd appreciate it. Every time I look through some how-to
>>I get bogged down in stuff that's more applicable to running a major
>>website.
>
> A DNS server is a DNS server. http://tldp.org/ and look for the
> DNS-and-BIND-HOWTO. Since you're new at this, read it all and pay close
> attention to the examples. It's highly probable that you can use one of
> the example configs (the one for a small private LAN) without much
> fiddling.
By following the examples I can probably set up a simple caching
DNS server. I can probably set up my own DHCP server, too. One
thing I'm not clear about is how DHCP and DNS play together. Does
the DHCP client announce its hostname and IP address so the
DN server can pick it up?
>
>>This attempt at getting into Linux is going much better than the last
>>ones. Do you think the anti-depressants have anything to do with it
>><grin>?
>
> Maybe. I think perseverance has more to do with it, myself!
>
-- -- Marten Kemp (Fix name and ISP to reply)
- Next message: CptDondo: "Re: mdadm help"
- Previous message: Philip Washington: "Re: files won't delete"
- In reply to: Dances With Crows: "Re: A few more newbie questions"
- Next in thread: John Hasler: "Re: A few more newbie questions"
- Reply: John Hasler: "Re: A few more newbie questions"
- Reply: John-Paul Stewart: "Re: A few more newbie questions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|