Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RH 8.0 Command prompt text editor & help?

3 views
Skip to first unread message

Ed

unread,
Nov 8, 2002, 3:14:39 PM11/8/02
to
I have just installed RH 8.0 (with gnome graphical interface)and
considering I have never done this before it has gone quite smoothly.
However I do have a few strange things happening...

The mouse does not start to work on its own, but once its booted if i
unplug and plug the mouse back in it wotks. Any ideas?!

Im used to using the 'Joes' Text editor from the command prompt, however
there doesnt seem to be one anymore? Can anyone please tell me what the
new editor is and its command?! :)

Finally when you log in to any user account it says that it cannot
connect to dhccpp1 on the internet, and suggests to add this to
/etc/hosts. so in /etc/hosts i added dhcppc1 and it made no difference!
have I done this wrong?

Thanks for any help.

Ed

Ed

unread,
Nov 10, 2002, 9:58:50 PM11/10/02
to

Anyone care to offer any help?

Ed

Brett E. Dufault

unread,
Nov 11, 2002, 4:17:14 PM11/11/02
to
On Friday 08 November 2002 15:14, Ed wrote:

> I have just installed RH 8.0 (with gnome graphical interface)and
> considering I have never done this before it has gone quite smoothly.
> However I do have a few strange things happening...
>
> The mouse does not start to work on its own, but once its booted if i
> unplug and plug the mouse back in it wotks. Any ideas?!

No idea here. I take it you're using a USB mouse?

> Im used to using the 'Joes' Text editor from the command prompt, however
> there doesnt seem to be one anymore? Can anyone please tell me what the
> new editor is and its command?! :)

There's a number of packages that are included in the RH 8.0 distribution, but
aren't listed in the package manager utility. The 'joe' editor is one of
these packages. If you look on Installation Disc #3 in the RedHat/RPMS/
subdirectory, you should find joe-2.9.7-7.i386.rpm.

> Finally when you log in to any user account it says that it cannot
> connect to dhccpp1 on the internet, and suggests to add this to
> /etc/hosts. so in /etc/hosts i added dhcppc1 and it made no difference!
> have I done this wrong?

Kinda hard to say. :-) Let's go for a little more background info and see if
anyone has any ideas. Could you:

(a) Include the contents of your current /etc/hosts file
(b) Include the contents of your /etc/sysconfig/network
(c) Write down the output from running the 'hostname' command

Also, is your network being configured with DHCP? (That 'dhcppc1' name sure
sounds like this is the case, but just to make sure I'll ask anyways. :-)

Cheers!
--Brett

Ed

unread,
Nov 12, 2002, 11:28:37 PM11/12/02
to
Brett E. Dufault wrote:
> On Friday 08 November 2002 15:14, Ed wrote:
>
>
>>I have just installed RH 8.0 (with gnome graphical interface)and
>>considering I have never done this before it has gone quite smoothly.
>>However I do have a few strange things happening...
>>
>>The mouse does not start to work on its own, but once its booted if i
>>unplug and plug the mouse back in it wotks. Any ideas?!
>
>
> No idea here. I take it you're using a USB mouse?

Nope! Its a 'Microsoft' branded serial mouse.

>>Im used to using the 'Joes' Text editor from the command prompt, however
>>there doesnt seem to be one anymore? Can anyone please tell me what the
>>new editor is and its command?! :)
>
>
> There's a number of packages that are included in the RH 8.0 distribution, but
> aren't listed in the package manager utility. The 'joe' editor is one of
> these packages. If you look on Installation Disc #3 in the RedHat/RPMS/
> subdirectory, you should find joe-2.9.7-7.i386.rpm.

Excellent thanks! I shall have a look.

>>Finally when you log in to any user account it says that it cannot
>>connect to dhccpp1 on the internet, and suggests to add this to
>>/etc/hosts. so in /etc/hosts i added dhcppc1 and it made no difference!
>>have I done this wrong?
>
>
> Kinda hard to say. :-) Let's go for a little more background info and see if
> anyone has any ideas. Could you:
>
> (a) Include the contents of your current /etc/hosts file

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
dhcppc1

> (b) Include the contents of your /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=localhost.localdomain

> (c) Write down the output from running the 'hostname' command

$ hostname
dhcppc1
$

> Also, is your network being configured with DHCP? (That 'dhcppc1' name sure
> sounds like this is the case, but just to make sure I'll ask anyways. :-)

Yes I think so. I have a router that assigns out IP etc, so I set it to
DCHP is this a problem?

> Cheers!
> --Brett
>

Thanks for the help!

Regards,

Ed

innocent_lamb

unread,
Nov 13, 2002, 4:14:06 AM11/13/02
to
On Wed, 13 Nov 2002 04:28:37 +0000, Ed wrote:

>>>The mouse does not start to work on its own, but once its booted if i
>>>unplug and plug the mouse back in it wotks. Any ideas?!
>>
>>
>> No idea here. I take it you're using a USB mouse?
>
> Nope! Its a 'Microsoft' branded serial mouse.

Plugging a device into a live serial port sounds like a good way to toast
your motherboard one of these days.

Brett E. Dufault

unread,
Nov 13, 2002, 2:27:15 PM11/13/02
to
On Tuesday 12 November 2002 23:28, Ed wrote:

> Brett E. Dufault wrote:
>> On Friday 08 November 2002 15:14, Ed wrote:
>>
>>
>>>The mouse does not start to work on its own, but once its booted if i
>>>unplug and plug the mouse back in it wotks. Any ideas?!
>>
>>
>> No idea here. I take it you're using a USB mouse?
>
> Nope! Its a 'Microsoft' branded serial mouse.

I'm still drawing a blank on this one, but I'm real rusty on serial mice.

...snipping joe editor info...

>>>Finally when you log in to any user account it says that it cannot
>>>connect to dhccpp1 on the internet, and suggests to add this to
>>>/etc/hosts. so in /etc/hosts i added dhcppc1 and it made no difference!
>>>have I done this wrong?
>>
>>
>> Kinda hard to say. :-) Let's go for a little more background info and see
>> if anyone has any ideas. Could you:
>>
>> (a) Include the contents of your current /etc/hosts file
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> dhcppc1

Is 'dhcppc1' on its own line? That's what it looked like in my newsreader,
but might've been line-wrapped.

If 'dhcppc1' is on its own line, that wouldn't be correct -- the /etc/hosts
format has each line starting with an IP address (ex: 127.0.0.1) followed by
one or more hostnames associated with that IP address.

On a system with a static (i.e., non-DHCP) address, you might fix the Gnome
login error by adding the IP address and hostname to /etc/hosts like so:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost

1.2.3.4 dhcppc1

That's assuming that 1.2.3.4 was your machine's IP address. But you're using
DHCP, so you might need a slightly different solution. A little more
trouble-shooting assessment down below...

>> (b) Include the contents of your /etc/sysconfig/network
>
> NETWORKING=yes
> HOSTNAME=localhost.localdomain
>
>> (c) Write down the output from running the 'hostname' command
>
> $ hostname
> dhcppc1
> $
>
>> Also, is your network being configured with DHCP? (That 'dhcppc1' name
>> sure sounds like this is the case, but just to make sure I'll ask anyways.
>> :-)
>
> Yes I think so. I have a router that assigns out IP etc, so I set it to
> DCHP is this a problem?

DHCP *can* work fine with RH 8.0, as long as the DHCP server also provides DNS
support for the hostnames it hands out. I.e., if the router's DHCP software
tells you that your hostname is 'dhcppc1', then you should be able to turn
around and ask the router "okay, then what's the IP address for dhcppc1", and
the router should respond with your IP address.

It sounds like that DNS lookup isn't working in your case, but let's
double-check that just to be sure. Try running the following:

host "$(hostname)"

Does it come back with something like:

dhcppc1 has address 192.168.1.2

(which would indicate that the DNS is working fine), or does it come back with
something like:

Host dhcppc1 not found: 3(NXDOMAIN)

(which would indicate that DNS lookups aren't working for your DHCP-supplied
hostname). I suspect that you'll get the "host not found" message, since
that'd be consistent with everything else you're seeing, and would cause
Gnome to give you that message about "can't find host 'foo', maybe add it to
/etc/hosts". But even if that turns out to be the problem, it's not a big
deal -- there's a simple workaround you can use in that case. So run that
test, and let's see what you get back.

Cheers!
--Brett

Ed

unread,
Nov 13, 2002, 5:45:49 PM11/13/02
to
Brett E. Dufault wrote:

>>Nope! Its a 'Microsoft' branded serial mouse.
>
> I'm still drawing a blank on this one, but I'm real rusty on serial mice.

Right.. well ill put up with unplugging it for now!

>># Do not remove the following line, or various programs
>># that require network functionality will fail.
>>127.0.0.1 localhost.localdomain localhost
>>dhcppc1
>
> Is 'dhcppc1' on its own line? That's what it looked like in my newsreader,
> but might've been line-wrapped.
>
> If 'dhcppc1' is on its own line, that wouldn't be correct -- the /etc/hosts
> format has each line starting with an IP address (ex: 127.0.0.1) followed by
> one or more hostnames associated with that IP address.
>
> On a system with a static (i.e., non-DHCP) address, you might fix the Gnome
> login error by adding the IP address and hostname to /etc/hosts like so:
>
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
> 1.2.3.4 dhcppc1
>
> That's assuming that 1.2.3.4 was your machine's IP address. But you're using
> DHCP, so you might need a slightly different solution. A little more
> trouble-shooting assessment down below...

Just for an experiment I tried this:
192.168.0.2 dhcppc1

Like you said.. and...... RESULT!!! Amazing! It works! :)

> (which would indicate that the DNS is working fine), or does it come back with
> something like:
>
> Host dhcppc1 not found: 3(NXDOMAIN)

This is Exactly what it did! Im so pleased!

>
> (which would indicate that DNS lookups aren't working for your DHCP-supplied
> hostname). I suspect that you'll get the "host not found" message, since
> that'd be consistent with everything else you're seeing, and would cause
> Gnome to give you that message about "can't find host 'foo', maybe add it to
> /etc/hosts". But even if that turns out to be the problem, it's not a big
> deal -- there's a simple workaround you can use in that case. So run that
> test, and let's see what you get back.
>
> Cheers!
> --Brett

Excellent! So what I'll do now is set the router to keep that ip static,
and them manually set the network settings!

Im so pleased :) Apache instantly started working. As has everything
else its brilliant!!!!

All I need to do now is install / set up Mysql, (any comments welcome!)
create a cgi-bin and make sure thats all ok (not as simple as just
making a folder is it?)
And I expect there are a few other things, but ill deal with them as
they come, Excellent!! Thanks :)

Ed

Brett E. Dufault

unread,
Nov 13, 2002, 6:06:31 PM11/13/02
to
On Wednesday 13 November 2002 17:45, Ed wrote:

> Im so pleased :) Apache instantly started working. As has everything
> else its brilliant!!!!

Happy happy, joy joy! :-) Congrats Ed!

> All I need to do now is install / set up Mysql, (any comments welcome!)
> create a cgi-bin and make sure thats all ok (not as simple as just
> making a folder is it?)

The Apache/httpd package should create a /var/www/cgi-bin for your CGI-ing
pleasure. I'll have to toss you to the tender mercies of the other geeks in
the group as far as RH 8.0's mysql goes -- my main web server's still on a RH
7.2 box using postgresql.

> And I expect there are a few other things, but ill deal with them as
> they come, Excellent!! Thanks :)

Quite welcome!
--Brett

0 new messages