LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Gentoo config issues (https://www.linuxquestions.org/questions/linux-newbie-8/gentoo-config-issues-55620/)

Harpune 04-17-2003 11:47 PM

Gentoo config issues
 
Ok, so I am brand new to Gentoo linux, I just switched over from Redhat 8.0. So far I am loving it, but I still have a lot of things that, even after a lot of research, I can't seem to get resolved. I don't know if this is kosher or not, but this email is going to be a conglomoration of about 5 or 6 issues i've been having with this new distro.

1. How do I start certain services, such as telnetd and samba directly from xinetd and is that the ideal way to do it?

I have looked into some configurations for samba, starting from inetd, etc... but I have seen nothing in specific about xinetd with samba. As far as telnet goes when I try to start it from the command line (in.telnetd) I get the error:

in.telnetd: getpeername: socket operation on non-socket

And when I put the following in my /etc/xinetd.d/telnet:

service telnet

{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
only_from = 0.0.0.0/24
}

all I get when I attempt to connect is:

Trying 127.0.0.1...
Connected to Localhost.
Escape Character is '^]'.
Connection closed by foreign host.

Should I be starting this from Gentoo's init? or is xinetd the best option?

2. How can I configure Gentoo for DHCP without having to type 'dhcpcd eth0' everytime I boot?

I think I may have missed a configuration step at install time and I can't figure out how to fix my error.

3. Blackdown JRE and mozilla aren't playing well with each other. I have a symlink to my java plugin in my mozilla plugins dir, but it isn't showing up or becoming useful in mozilla.

I emerged blackdown after mozilla and it automatically put the symlink in mozilla's plugin directory but I still can't seem to see the plugin under mozilla.

4. I don't konw if anyone else is having this problem, but Linux seems to be locking up on me randomly, and far to often to be acceptable. I have XFree 4.3.0, could that be the cause of this?

If there is anything you can do to help me in one of these ares, I would sure appreciate it.

Thanks

mjgeiger 04-18-2003 12:18 AM

Here you go with a little bit of help:

1) !!!-USE SSHD INSTEAD-!!! it is secure, telnet is not. If you have to use telnet, make sure you have emerged netkit-telnetd in net-misc. You can start it in /etc/init.d by issueing the command

/etc/init.d/telnetd start

You can make it start at boot, by issueing the command

rc-update add telnetd default

This will put it in your default runtime.

2) Edit /etc/conf.d/net and in there you will find a line:

#iface_eth0="dhcp"

Just uncomment this, and add eth0 to your boot

rc-update add net.eth0 default

3) Try this on for size, http://forums.gentoo.org/viewtopic.php?t=22759 it is the same idea with Sun.

4) I actually run X-Free 4.2.1 and am happy with it no problems with TNT2 card under Fluxbox. Just make sure your drivers are correct (xf86config and /etc/X11/XF86Config).

later,
matt

p.s. for more Gentoo related questions, try the gentoo forum at http://forums.gentoo.org LQ is great with the general quesitons :)

Harpune 04-18-2003 06:07 PM

Thanks for you help, I will remember to check there first next time.


All times are GMT -5. The time now is 12:06 AM.