Author Topic: No internet connection any more  (Read 6229 times)

0 Members and 3 Guests are viewing this topic.

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #30 on: March 13, 2016, 08:44:26 pm »
OK tried it Mark.

Still no joy. Assuming I can find the Ubuntu 14.04 disk, will I be able to reinstall without internet access? I can't remember.

All I know is this is now p***ing me off to an unprecedented degree. GRRRR!

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #31 on: March 13, 2016, 10:31:27 pm »
Yes .. you don't need an internet connection to install Ubuntu .. but if the internet works from the LiveCD, you'll be able to connect during the install anyway.

That said I'm seriously wondering if you have a hardware problem .. I can't understand why your network adapter is advertising 2 MAC addresses (hardware addresses).

Have you got an add-in ethernet card you could try ?

or even a wireless card/USB ?
« Last Edit: March 13, 2016, 10:34:04 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #32 on: March 14, 2016, 12:03:33 am »
Aren't the 2 MAC addresses just the 2 ethernet ports on the motherboard? As I recall, there's always been eth01 and eth02..

And Ubuntu had no problems until recently. I assumed I'd broken it, fiddling around with wireless settings.

Also, XP is soldiering on. Which suggests that hardware isn't the problem...

Mint gets online too, from a LiveCD.

I'm convinced this is a Ubuntu problem or a router settings problem, caused by me messing with wi-fi which was always hitherto switched off.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #33 on: March 14, 2016, 02:33:04 am »
Oh Okay, I didn't realise you had 2 .. I thought you'd said you didn't  :-[

I can't actually see any odd settings then .. what exactly were you doing with Wireless ?

I take it you've tried booting an earlier kernel ?

[EDIT]

What's the output from:
Code: [Select]
cat /etc/resolvconf/resolv.conf.d/head
and
Code: [Select]
cat /etc/resolv.conf
and
Code: [Select]
cat /etc/nsswitch.conf
« Last Edit: March 14, 2016, 02:49:55 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #34 on: March 14, 2016, 10:02:49 pm »
Err, how would I boot an earlier kernel? And why?

I was just trying to switch wireless on and get the router not to broadcast our SSID. For some reason it insisted on broadcasting it regardless.

I'll post the outputs once I've been back into Ubuntu and tried them.

Thanks Mark, I really appreciate your input..
« Last Edit: March 14, 2016, 10:10:22 pm by mikep »

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #35 on: March 14, 2016, 10:37:41 pm »
Outputs follow...


mike@mike-abit:~$ cat /etc/resolvconf/resolv.conf.d/head
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
mike@mike-abit:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
mike@mike-abit:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
mike@mike-abit:~$

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #36 on: March 15, 2016, 01:21:01 am »
Run:
sudo gedit /etc/nsswitch.conf
and change the line:
Code: [Select]
hosts:          files mdns4_minimal [NOTFOUND=return] dns
to
Code: [Select]
hosts:          files myhostname mdns4_minimal [NOTFOUND=return] dns
SAVE the file.

Log off/on

Now post the output from:
Code: [Select]
cat /etc/resolv.conf

can you also post the contents of:
Code: [Select]
gedit /etc/dhcp/dhclient.conf
and
Code: [Select]
gedit /etc/hosts
« Last Edit: March 15, 2016, 01:23:00 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #37 on: March 15, 2016, 08:43:44 pm »
Here are the outputs Mark - by the way, I assume you know that when I run most of these commands, the results appear in a new tab in the text editor, rather than in the terminal? (I'm using the text editor to move things from XP (which is online) to Ubuntu (which is offline). Beats me why.... I lost the plot ages ago.

mike@mike-abit:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
mike@mike-abit:~$# Configuration file for /sbin/dhclient, which is included in Debian's
#   dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
#   man page for more information about the syntax of this file
#   and a more comprehensive list of the parameters understood by
#   dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
#   not leave anything out (like the domain name, for example), then
#   few changes must be made to this file, if any.
#

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;

#send host-name "andare.fugue.com";
send host-name = gethostname();
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
   domain-name, domain-name-servers, domain-search, host-name,
   dhcp6.name-servers, dhcp6.domain-search,
   netbios-name-servers, netbios-scope, interface-mtu,
   rfc3442-classless-static-routes, ntp-servers,
   dhcp6.fqdn, dhcp6.sntp-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhcp3/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "eth0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}

#lease {
#  interface "eth0";
#  fixed-address 192.33.137.200;
#  medium "link0 link1";
#  option host-name "andare.swiftmedia.com";
#  option subnet-mask 255.255.255.0;
#  option broadcast-address 192.33.137.255;
#  option routers 192.33.137.250;
#  option domain-name-servers 127.0.0.1;
#  renew 2 2000/1/12 00:00:01;
#  rebind 2 2000/1/12 00:00:01;
#  expire 2 2000/1/12 00:00:01;
#}
mike@mike-abit:~$ gedit /etc/hosts
127.0.0.1   localhost
127.0.1.1   mike-abit

# 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
mike@mike-abit:~$

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #38 on: March 15, 2016, 09:14:46 pm »
Okay mike if you're suffering other weirdness as well, I'm (at this point) going to suggest you just reinstall.

We can carry on trying to figure out the problem, but you seem to be missing lines in your dhclient config files that I have and so far I can't figure out why.

If it were just networking I might suggest carrying on, but with the terminal weirdness too.....
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #39 on: March 15, 2016, 09:48:18 pm »
I assumed you expected the output to appear in the text editor.. just an afterthought to mention it really.

I'll search for the disk and aim to reinstall over the weekend. I'll also reinstate the router's factory settings. Is there any way I can carry over my customisations (desktop colour etc)? Maybe a file I could copy to another drive, then reinstate after the reinstall?

Thanks for all your time, Mark. Much appreciated.

Shall I mark this thread solved, or not?
« Last Edit: March 15, 2016, 09:52:51 pm by mikep »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #40 on: March 15, 2016, 11:14:21 pm »
No, don't mark as solved .. it wasn't :(

Copying across customisations .. customisations to what ?

I don't know what you mean by "desktop colour" .. do you mean wallpaper ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #41 on: March 16, 2016, 03:30:00 am »
Sorry, yes - wallpaper. And shortcuts etc. Basically the look of the desktop..

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #42 on: March 16, 2016, 12:45:08 pm »
Well the wallpaper, you'll just have to copy whatever image you're using at the moment to the new installation, then reapply it.

Desktop "shortcuts" .. if you mean those in the Unity panel I'm sorry but I have no idea .. that said it shouldn't be too difficult to add any customisations to the Unity panel back.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline mikep

  • Full Member
  • ***
  • Posts: 205
  • Karma: 1
  • Gender: Male
  • Me again!
    • View Profile
    • Awards
Re: No internet connection any more
« Reply #43 on: March 16, 2016, 09:34:49 pm »
Thanks Mark,

I know I can do it - just thought there might be some sort of configuration file containing those types of change, which I could just copy.

I've found the Ubuntu 14.04 disk, so I'll reinstall at the weekend.

Thanks for all your help.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16889
  • Karma: 424
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: No internet connection any more
« Reply #44 on: March 17, 2016, 12:08:08 am »
No worries Mike, sorry we didn't get to the bottom of it, but I reckon it's time to just reinstall and be done with it ;)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal