Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Mar 2000 20:27:31 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        alandreou@yahoo.com
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   resolv.conf, minicom, hellenic fonts & keymaps (was: newby strikes backj)
Message-ID:  <20000313202731.C11429@hades.hell.gr>
In-Reply-To: <20000313101112.A598@charon.otenet.gr>; from t00r@charon.otenet.gr on Mon, Mar 13, 2000 at 10:11:12AM %2B0200
References:  <20000313101112.A598@charon.otenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 13, 2000 at 10:11:12AM +0200, t00r wrote:
>
> And, yes!
>
> I have a PnP modem working.

I'm glad to hear that you eventually got your modem working Alexandros.

> Now, more problems to come:
>
> [1] In FreeBSD 3.4 there is no resolv.conf file for inetd. Where am I
>     supposed to declare the nameservers?

You can manually create one.  Use your favorite text editor and create
a new /etc/resolv.conf file containing the proper lines.  Now, I'm
running a local caching named, which makes it possible for me to write:

	% cat /etc/resolv.conf
	domain hell.gr
	nameserver 127.0.0.1

But you might want to change this to your ISP's domain/name-servers.

	% cat /etc/resolv.conf
	domain otenet.gr
	nameserver 195.170.0.2
	nameserver 195.170.2.1

Note that having your /etc/host.conf file include `bind' somewhere is
also a good idea.

	% cat /etc/host.conf
	hosts
	bind

This says in which order to check for a name.  First an attempt is made
to find the name/IP-address in /etc/hosts, and if that fails, the name
servers listed in /etc/resolv.conf are contacted.

> [2] In FreeBSD 3.4 there is no minicom! Damn! Do I have to use chat or
>     wvdial? Where the heck can I find wvdial AND minicom? (I think
>     in WC's 3.1 there was a minicom package - maybe I'll get it from
>     there).

You can do one of two things to solve this "problem".

Either use the cu(1) program and a proper shell script to `communicate'
over your serial port(s), something like:

	% cat cisco.sh
	#!/bin/sh
	case $1 in
	/dev/*) PORT=$1 ;;
	*) PORT=/dev/"$1" ;;
	esac
	cu -o -e -p "${PORT}" -s 9600

or, if you find cu(1) much too inconvenient and really like the ease of
minicom, you can install minicom from the ports.  This is usually (if
you have the ports tree installed), as easy as:

	# cd /usr/ports/comms/minicom
	# make install

> [3] Can you tell me where to find greek/hellenic iso8859-7 fonts for
>     the console?

You can use the same fonts as those packaged with greek-console, the
Linux package for greek support.  Copy the font `grfixed' from your
consolefonts/ directory into /usr/share/syscons/fonts and then you can
use the font as easily as:

	% vidcontrol -f 8x16 grfixed

If you want a keyboard map that will let you write greek on your console
too, then you can easily find one my sending a mail message to
`jackal@hack.gr' who told me a few days ago he was trying to finish his
keyboard map for doing exactly this; i.e. writing in Greek.

> [4] How can I make my own fonts and keymaps? :)

You got me there.  I had copied much of `grfixed' from my Trident VGA's
memory, and hacked the few bits that I didn't like with a hex editor.
I haven't researched much the topic after that.

Ciao.

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public PGP key: finger keramida@diogenis.ceid.upatras.gr
PGP fingerprint, phone and address in the headers of this message.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000313202731.C11429>