FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 08-04-2008, 10:14 AM
John
 
Default Laptop does not always recognise server

Hi,

I'm having problems with my new laptop (Dell, Ubuntu 8.04)in getting it
to recognise my server. My old laptop (Ubuntu 6.06) does recognise the
server in all aspects.

To be specific (on the 8.04 system):

From a terminal window: ping server by ip address - works fine
From a terminal window: ping server by name - works fine
(seems to suggest that DNS is recognising my server to resolve the
addresses)

In Firefox: try to access my local home page by IP address - works fine
In Firefox: try to access my local home page by name - Address not found
error
In Firefox: try to access my local home page by name but with my
external URL (.co.uk instead of forcing the local intranet domain,
.local) - works fine
In Firefox: try to address my server's CUPS pages by IP address -
requests authentication so OK
In Firefox: try to address my server's CUPS pages by name - Address not
found error

In OpenOffice.org: try to access a postgresql database on the server by
name - can not resolve name


Given that all of the above tests work fine in U6.06, what do I need to
configure on the new 8.04 laptop to achieve the same result?

Thanks in advance

John

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-06-2008, 01:24 AM
"Brian McKee"
 
Default Laptop does not always recognise server

On Mon, Aug 4, 2008 at 6:14 AM, John <John@dmj-consultancy.co.uk> wrote:
> In Firefox: try to access my local home page by name but with my
> external URL (.co.uk instead of forcing the local intranet domain,
> .local) - works fine

Your local domain is .local? Are you using Zeroconf or is it
possible your laptop has avahi running and it's conflicting with the
existing domain setup? I haven't spent any time on avahi so I know
little about it, but the coincidence seemed like a good place to
start.

Brian

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-06-2008, 08:38 AM
John
 
Default Laptop does not always recognise server

Brian McKee wrote:
> On Mon, Aug 4, 2008 at 6:14 AM, John <John@dmj-consultancy.co.uk> wrote:
>
>> In Firefox: try to access my local home page by name but with my
>> external URL (.co.uk instead of forcing the local intranet domain,
>> .local) - works fine
>>
>
> Your local domain is .local? Are you using Zeroconf or is it
> possible your laptop has avahi running and it's conflicting with the
> existing domain setup? I haven't spent any time on avahi so I know
> little about it, but the coincidence seemed like a good place to
> start.
>
Yes, by using .local, it seems to ensure that it does not get out to the big wide world!

just checking in Synaptic package manager, avahi does seem to be
installed but there's no reference to zeroconf. I have no idea what
either of these do!

John

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-06-2008, 03:13 PM
Derek Broughton
 
Default Laptop does not always recognise server

John wrote:

> I'm having problems with my new laptop (Dell, Ubuntu 8.04)in getting it
> to recognise my server. My old laptop (Ubuntu 6.06) does recognise the
> server in all aspects.
>
> To be specific (on the 8.04 system):
>
> From a terminal window: ping server by ip address - works fine
> From a terminal window: ping server by name - works fine
> (seems to suggest that DNS is recognising my server to resolve the
> addresses)

DNS? Where is the domain name server? That is, do you have a router with
built in DNS, or are you just using the hosts file?

Also, what do you mean by "by name"? Host name or FQDN?

Please post the contents of /etc/hosts, and "hostname -f"
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-08-2008, 04:23 PM
John
 
Default Laptop does not always recognise server

John wrote:
> Brian McKee wrote:
>
>> On Mon, Aug 4, 2008 at 6:14 AM, John <John@dmj-consultancy.co.uk> wrote:
>>
>>
>>> In Firefox: try to access my local home page by name but with my
>>> external URL (.co.uk instead of forcing the local intranet domain,
>>> .local) - works fine
>>>
>>>
>> Your local domain is .local? Are you using Zeroconf or is it
>> possible your laptop has avahi running and it's conflicting with the
>> existing domain setup? I haven't spent any time on avahi so I know
>> little about it, but the coincidence seemed like a good place to
>> start.
>>
>>
> Yes, by using .local, it seems to ensure that it does not get out to the big wide world!
>
> just checking in Synaptic package manager, avahi does seem to be
> installed but there's no reference to zeroconf. I have no idea what
> either of these do!
>
> John
>
>
Having googled avahi, and also found that avahi-autoipd was running on
my 8.04 laptop but not my older one, I have used SPN to remove
avahi-autoipd. Even after a reboot, it makes on difference. I also still
seem to have a reference to 169.x.x.x in my network settings.

How do I progress from here, please?

TIA

J

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-08-2008, 05:26 PM
Derek Broughton
 
Default Laptop does not always recognise server

John wrote:

> Having googled avahi, and also found that avahi-autoipd was running on
> my 8.04 laptop but not my older one, I have used SPN to remove
> avahi-autoipd. Even after a reboot, it makes on difference. I also still
> seem to have a reference to 169.x.x.x in my network settings.
>
> How do I progress from here, please?

By giving us the information we've asked for...
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-08-2008, 10:51 PM
John
 
Default Laptop does not always recognise server

<snip>
> By giving us the information we've asked for...
>

Sorry, Derek, I'd missed your post and have just looked it up on the
archive.

I have a SuSE 10.0 server on my LAN which is the server for both my
laptops. By name, I mean FQDN i.e. "Server.DMJ-Consultancy.local". This
works from U6.06 but not from U8.04 on the same LAN although both
machines are getting their IP addresses from the DHCP server also
running on the same server. This server also provides my DNS for the
.local domain and I have not configured the hosts file on either machine
to achieve the above results.

You asked for /etc/hosts and hostname -f; the information for each
laptop follows:

From the U8.04 machine:
john@Train1:~$ hostname -f
Train1

/etc/hosts:
127.0.0.1 localhost
127.0.1.1 Train1

# 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




From the U6.06 machine:
john@Slave:~$ hostname -f
Slave

/etc/hosts:
127.0.0.1 localhost
127.0.1.1 Slave

# 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


As you can see, the two sets of information are identical in all but
computer name. I have also checked the dhcp and dns configuration files
on the server; they make no reference to either machine.

What do you advise as the next step, please?

TIA

John



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-09-2008, 02:24 AM
Derek Broughton
 
Default Laptop does not always recognise server

John wrote:

> I have a SuSE 10.0 server on my LAN which is the server for both my
> laptops. By name, I mean FQDN i.e. "Server.DMJ-Consultancy.local". This
> works from U6.06 but not from U8.04 on the same LAN although both
> machines are getting their IP addresses from the DHCP server also
> running on the same server.

OK, this is what I wanted. Because if you have a local DNS it makes quite a
difference.

> This server also provides my DNS for the
> .local domain and I have not configured the hosts file on either machine
> to achieve the above results.
>
> You asked for /etc/hosts and hostname -f; the information for each
> laptop follows:
>
> From the U8.04 machine:
> john@Train1:~$ hostname -f
> Train1

So, you're not actually getting a DNS resolution. It _should_ be
Train1.DMJ-Consultancy.local or at least Train1.local

Does your /etc/dhcp3/dhclient.conf contain:

send host-name "<hostname>";

?

What's in /etc/resolv.conf?

--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-09-2008, 06:18 AM
John
 
Default Laptop does not always recognise server

Derek Broughton wrote:
> John wrote:
>
> <snip>
>
> So, you're not actually getting a DNS resolution. It _should_ be
> Train1.DMJ-Consultancy.local or at least Train1.local
>
> Does your /etc/dhcp3/dhclient.conf contain:
>
> send host-name "<hostname>";
>
On U6.06 - no
on U8.04 - Yes

First difference found! (Although adding the line to the U6.06 machine
and rebooting to force all config files to be reloaded did not seem to
stop it resolving the server name!)
> ?
>
> What's in /etc/resolv.conf?
>
>
On both machines, resolv.conf contains:

search DMJ-Consultancy.local
nameserver 192.168.74.31

John


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 08-10-2008, 02:51 PM
Derek Broughton
 
Default Laptop does not always recognise server

John wrote:

> Derek Broughton wrote:
>> John wrote:
>>
>> <snip>
>>
>> So, you're not actually getting a DNS resolution. It _should_ be
>> Train1.DMJ-Consultancy.local or at least Train1.local
>>
>> Does your /etc/dhcp3/dhclient.conf contain:
>>
>> send host-name "<hostname>";
>>
> On U6.06 - no
> on U8.04 - Yes
>
> First difference found! (Although adding the line to the U6.06 machine
> and rebooting to force all config files to be reloaded did not seem to
> stop it resolving the server name!)

No, it's required. At 6.06, you probably had an actual hostname in there,
but since then it's been modified to grab the hostname.
>>
> On both machines, resolv.conf contains:
>
> search DMJ-Consultancy.local
> nameserver 192.168.74.31

Is that address correct for "Server".

So, from Train1, what do "nslookup Server" and "nslookup
Server.DMJ-consultancy.local" return?

The only thing that's jumping out at me right now is that strictly "-" is
not allowed in a domain name.
--
derek


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org