1 |
On Monday 18 September 2006 14:17, Neil Bothwick wrote: |
2 |
> On Mon, 18 Sep 2006 13:47:03 +0100, Mick wrote: |
3 |
> > When I logon I can see in the console: |
4 |
> > |
5 |
> > "This is lappy.(none) (Linux i686 2.6.7-gentoo-r8) 13.31.51" |
6 |
> > |
7 |
> > Where is this "(none)" being read from? As in which files and which |
8 |
> > particular entry in that file? |
9 |
> |
10 |
> /etc/issue sets the login output. A \o in there is replaced by the NIS |
11 |
> domain, \O by the DNS domain. |
12 |
|
13 |
# cat /etc/issue |
14 |
This is \n.\O (\s \m \r) \t |
15 |
|
16 |
So, it should read my DNS domain name. But it doesn't. |
17 |
|
18 |
> > Unlike Alex's earlier example I do not need to set up DNS servers |
19 |
> > addresses, or other IP addresses as these are picked up by the dhcpcd |
20 |
> > server from my hardware router. |
21 |
|
22 |
i.e. as far as my laptop is concerned the router (192.168.0.1) is the dns |
23 |
server. |
24 |
|
25 |
> Does your router set the domain correctly? What does "hostname -d" give? |
26 |
|
27 |
I'm afraid it gives nothing! |
28 |
|
29 |
# hostname -d |
30 |
# |
31 |
-- |
32 |
Regards, |
33 |
Mick |