Forums indicate that something is wrong with the name of the PC ?
Where can i Check the registered name ?
>Ubuntu 8.04 Hardy heron
>When installing a driver for a Netgear wifi adapter (ndiswrapper ) the
>terminal answers
>"Unable to resolve "EON16" host"
Not enough details - if this is the answer, what was the question?
>Forums indicate that something is wrong with the name of the PC ?
>Where can i Check the registered name ?
Not enough details. How does the system get it's name? DHCP?
Static? In Debian and clones such as Ubuntu, the hostname is set
from the file /etc/hostname. The hostname should have two parts,
separated by dots. Thus, "EON16" is not a name, but "EON16,example.fr"
would be OK. The name and IP address should be in /etc/hosts, OR
resolvable by DNS.
So, what does "echo $HOSTNAME" say? That should tell you the name
that the kernel thinks is used. If you 'ping EON16" (or what-ever
the name is), does it tell you it is trying to ping some IP
address?
"alt.comp.os.linux" is a VERY inactive newsgroup. Try one of the
main groups like 'comp.os.linux.setup' or the French groups
fr.comp.os.linux or alt.fr.os.distributions.linux. There is also
an English language group 'alt.os.linux.ubuntu' that may be on your
server, but it has a lot of noise.
Old guy
In the first place, i didn't want to invest too much time in this message.
I am new to this newsgroup.
The system gets his name from Static . It 's a name given to the computer
when installing Ubuntu
I use Static IP address (at least for the present provisory Ethernet
connection)
and the DNS of the ISP
Echo $HOSTNAME gives "EON16"
ping EON16 gives "unknown host EON16"
I have got "Unable to resolve Host name" when trying to install the Netgear
wireless adapter WG111v3 using a Windows driver.
Now I want to start over with this installation.
If you are willing to indicate a means, i'll appreciate;
Otherwise I will follow your advice going to the groups you indicated.
Thanks
Another old guy.
I propose to start
Sounds like you are proposing to take apart and reassemble the engine
when you discover that your tires are a little bit flat.
Try putting the line
111.222.333.444 EON16
where those numbers are your static IP address into /etc/hosts
Your DNS server has no idea about who the hostname EON16 is (not
surprizing as it is a name which you gave the machine apparently)
>In the first place, i didn't want to invest too much time in this
>message. I am new to this newsgroup.
This newsgroup gets around 3 articles a week, and the total over the
life of the ground is about what the comp.os.linux.* groups see in a
single month.
>The system gets his name from Static . It 's a name given to the
>computer when installing Ubuntu
>I use Static IP address (at least for the present provisory Ethernet
>connection)
The _hostname_ is set by the name that is in the file /etc/hostname.
The IP address is set by the contents of /etc/network/interfaces.
Name and IP address should be in /etc/hosts
[foo.example.com ~]$ cat /etc/hostname
foo.example.com
[foo.example.com ~]$
iface eth0 inet static
address 192.168.1.15
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
mtu 1492
[foo.example.com ~]$ cat /etc/hosts
192.168.1.15 foo.example.com foo
127.0.0.1 localhost
[foo.example.com ~]$
>and the DNS of the ISP
OK - the ISP does not know the name or address of your computer, so
this information has to be in the /etc/hosts file. If you have more
than one computer, each hostname/address must be in ALL /etc/hosts
files.
Old guy
I checked etc/hostname. it contains "EON16"
> The IP address is set by the contents of /etc/network/interfaces.
etc/network/interfaces contains
"auto lo
iface lo inet loopback
?iface eth0 inet static
address 192.168.1.28
netmask 255.255.255.0
gateway 192.168.1.254
auto eth0"
> Name and IP address should be in /etc/hosts
>
etc/hosts shows
"# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
192.168.1.254 FreeBox40408"
> [foo.example.com ~]$ cat /etc/hostname
> foo.example.com
> [foo.example.com ~]$
>
> iface eth0 inet static
> address 192.168.1.15
> netmask 255.255.255.0
> network 192.168.1.0
> broadcast 192.168.1.255
> mtu 1492
>
> [foo.example.com ~]$ cat /etc/hosts
> 192.168.1.15 foo.example.com foo
> 127.0.0.1 localhost
> [foo.example.com ~]$
>
For Unruh's attention
I could not add 192.168.1.28 EON16 in hosts file. System says I have no
permissions.
I'll post my request for instructions to install wireless in
comp.os.linux.setup.
thanks a lot
> I checked etc/hostname. it contains "EON16"
That is not a valid hostname. The hostname must contain at least
one period. eon16.invalid would be considered a valid hostname
while eon16 by itself, is not.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
>"Moe Trin" <ibup...@painkiller.example.tld> a �crit dans le message de
>news: slrnh83icv.9...@compton.phx.az.us...
>> The _hostname_ is set by the name that is in the file /etc/hostname.
>
>I checked etc/hostname. it contains "EON16"
You should have the full hostname there.
>> The IP address is set by the contents of /etc/network/interfaces.
>etc/network/interfaces contains
Good!
>> Name and IP address should be in /etc/hosts
>etc/hosts shows
>"# The following lines are desirable for IPv6 capable hosts
>::1 ip6-localhost ip6-loopback
>fe00::0 ip6-localnet
>ff00::0 ip6-mcastprefix
>ff02::1 ip6-allnodes
>ff02::2 ip6-allrouters
>ff02::3 ip6-allhosts
Those are not very useful, but are not hurting things.
>192.168.1.254 FreeBox40408"
But where is the entry for 192.168.1.28?
>For Unruh's attention
>I could not add 192.168.1.28 EON16 in hosts file. System says I have no
>permissions.
Yes, you need to use 'sudo' to change that file. It is a 'system file'
and is owned by root. There is also a 'helper' program unique to
Ubuntu that will allow you to add the line, but again, you must be
the root or administrative user.
>thanks a lot
You are welcome!
Old guy
> On Wed, 12 Aug 2009 05:19:52 -0400, Sydney <kay...@free.fr> wrote:
>
>> I checked etc/hostname. it contains "EON16"
>
> That is not a valid hostname. The hostname must contain at least one
> period. eon16.invalid would be considered a valid hostname while eon16
> by itself, is not.
>
> Regards, Dave Hodgins
ROFL.
--
Great advances in Debian Linux; post a bug report and get spam in three
days.
--
Great advances in Debian Linux; post a bug report and get spam in three
days.
What should i use after eon16 ?
>
> What should i use after eon16 ?
You need nothing.
It seems all you need to do is add a line like this to /etc/hosts
192.168.x.y eon16.some.domain.if.needed eon16
or minially
192.168.x.y eon16
then try pinging it.
ping eon16 <- should return
64 bytes from eon16 (192.168.x.y) and some times in msec.
Note, 192.168.x.y means you insert the appropriate lan and host numbers
for eon16.
> "David W. Hodgins" <dwho...@nomail.afraid.org> a écrit dans le message de
> news: op.uyj3vqc...@hodgins.homeip.net...
>> That is not a valid hostname. The hostname must contain at least
>> one period. eon16.invalid would be considered a valid hostname
>> while eon16 by itself, is not.
> What should i use after eon16 ?
That's covered in http://tools.ietf.org/html/rfc2606
eon16.invalid would be ok, according to the standards, but there
are some programs, such as leafnode, that require a real hostname
that can be validated using dns lookups.
Best option, in my opinion, is to register a hostname at one of
the free services, such as http://www.dyndns.com/, and use that.
> Using sudo means using the terminal !
> How do i edit hosts with sudo & with what text editor (gedit ? }
In the terminal, run "su -" and then the root password, to become
root. Then run "gedit /etc/hosts". After editing the file, type
in exit to go back to your regular loginid in the terminal.
You can also run the command from the gui by pressing alt+f2, and
entering the command as follows:
For Gnome, "gksu gedit /etc/hosts". On my Mandriva system, these
are in separate packages, gksu and gedit.
For KDE 3, "kdesu kwrite /etc/hosts". Both commands are part of
the kdebase.
Back to the group again !
I opened the terminal then "cd .." to go to home directory and obtain
cohen@EON16:/home$
1 Then the command su - [mypassword] gave the help description hereafter
Options :
-c, --command COMMANDE passer la commande COMMANDE à
l'interpréteur de commande appelé ;
-h, --help afficher ce message d'aide et quitter ;
-, -l, --login utiliser un interpréteur de commandes
initial (« login shell ») ;
-m, -p,
--preserve-environment ne pas réinitialiser les variables
d'environnement et conserver le même
interpréteur de commandes ;
-s, --shell SHELL utiliser SHELL comme interpréteur de
commandes à la place de celui défini
par défaut dans le fichier passwd.
2 the command "su - and return" gave a request to type in the password
at the next line. there the terminal won't take any typing.
I am stuck
For your info The password is the same as the one to enter system/
administration. I have no other one.
3 I created kayzen.homeip.net
4 I don't know if I am with KDE or Gnome (I use ubuntu 8.04 )
> 2 the command "su - and return" gave a request to type in the password
> at the next line. there the terminal won't take any typing.
Type in "su -" (without the quotes), and press enter. The su command
will then ask you for the password. Type in the password, and then
press enter. As you type in the password, nothing will be displayed,
but the keystrokes are being entered. Password entry is done this way
to avoid someone looking over your shoulder learning how long the
password is.
> 4 I don't know if I am with KDE or Gnome (I use ubuntu 8.04 )
That would default to the Gnome window manager. Kubuntu is the kde
version.