I have no internet... Solved!

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

I have no internet... Solved!

Post by bmike1 »

The wireless card is happily blinking but no internet. It was working until I tried to reseat the video card (I say try because I couldn't get it out). I never touched the network card.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

Post results from terminal for

Code: Select all

lspci -nnk | grep -iA3 net; lshw -c net
WharfRat

Re: I have no internet.

Post by WharfRat »

JeremyB wrote:Post results from terminal for

Code: Select all

lspci -nnk | grep -iAe net; lshw -c net
The Ae grep options don't look right to me :?

Maybe it should be lspci -nnk | grep -i net; lshw -c net :?:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

Thanks WharfRat, fixed
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

$ sudo lspci -nnk|grep -i net;sudo lshw -c net
[sudo] password for bmike1:
Sorry, try again.
[sudo] password for bmike1:
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
03:06.0 Network controller [0280]: Ralink corp. RT5362 PCI 802.11n Wireless Network Adapter [1814:5362]
Subsystem: Ralink corp. RT5362 PCI 802.11n Wireless Network Adapter [1814:5362]
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 02
serial: 6c:f0:49:02:01:01
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:26 ioport:de00(size=256) memory:fdbff000-fdbfffff memory:fdbe0000-fdbeffff memory:fde00000-fde0ffff
*-network
description: Wireless interface
product: RT5362 PCI 802.11n Wireless Network Adapter
vendor: Ralink corp.
physical id: 6
bus info: pci@0000:03:06.0
logical name: wlp3s6
version: 00
serial: e4:be:ed:04:95:ca
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.4.0-53-generic firmware=0.34 ip=192.168.0.9 latency=32 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
resources: irq:20 memory:fdde0000-fddeffff
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

I would try

Code: Select all

sudo sed -i 's/wifi.powersave = .*/wifi.powersave = 3/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
Reboot as the results indicate the wireless has an IP address, this will see if it is caused by wifi power management being enabled
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

nope... didn't help.
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

See the wireless script link in my signature and post results.
Also check

Code: Select all

ping -c3 8.8.8.8

Code: Select all

ping -c3 google.com
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

$ sudo lspci -nnk|grep -iAe net; sudo lshw -c netgrep: e: invalid context length argument
[sudo] password for bmike1:
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 02
serial: 6c:f0:49:02:01:01
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:26 ioport:de00(size=256) memory:fdbff000-fdbfffff memory:fdbe0000-fdbeffff memory:fde00000-fde0ffff
*-network
description: Wireless interface
product: RT5362 PCI 802.11n Wireless Network Adapter
vendor: Ralink corp.
physical id: 6
bus info: pci@0000:03:06.0
logical name: wlp3s6
version: 00
serial: e4:be:ed:04:95:ca
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=4.4.0-53-generic firmware=0.34 ip=192.168.0.9 latency=32 link=yes maxlatency=4 mingnt=2 multicast=yes wireless=IEEE 802.11bgn
resources: irq:20 memory:fdde0000-fddeffff
:)~Mikey~(:
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

Code: Select all

########## wireless info START ##########

Report from: 06 Nov 2017 18:27 EST -0500

Booted last: 06 Nov 2017 00:00 EST -0500

Script from: 25 Mar 2017 07:04 UTC +0000

##### release ###########################

Distributor ID:	LinuxMint
Description:	Linux Mint 18.2 Sonya
Release:	18.2
Codename:	sonya

##### kernel ############################

Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, crashkernel=384M-:128M, vt.handoff=7

##### desktop ###########################

Cinnamon

##### lspci #############################


02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
	Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
	Kernel driver in use: r8169

03:06.0 Network controller [0280]: Ralink corp. RT5362 PCI 802.11n Wireless Network Adapter [1814:5362]
	Subsystem: Ralink corp. RT5362 PCI 802.11n Wireless Network Adapter [1814:5362]
	Kernel driver in use: rt2800pci

##### lsusb #############################

Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 0930:6544 Toshiba Corp. TransMemory-Mini / Kingston DataTraveler 2.0 Stick (2GB)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 004: ID 03f0:d911 Hewlett-Packard 
Bus 001 Device 002: ID 046d:0826 Logitech, Inc. HD Webcam C525
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 413c:2011 Dell Computer Corp. Multimedia Pro Keyboard
Bus 004 Device 003: ID 413c:1005 Dell Computer Corp. Multimedia Pro Keyboard Hub
Bus 004 Device 002: ID 0765:6003 X-Rite, Inc. ColorMunki Smile
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0461:4d81 Primax Electronics, Ltd Dell N889 Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################


##### rfkill ############################

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

##### lsmod #############################

rt2800pci              16384  0
rt2800mmio             20480  1 rt2800pci
rt2800lib              94208  2 rt2800pci,rt2800mmio
rt2x00pci              16384  1 rt2800pci
rt2x00mmio             16384  2 rt2800pci,rt2800mmio
rt2x00lib              57344  5 rt2x00pci,rt2800lib,rt2800pci,rt2800mmio,rt2x00mmio
mac80211              737280  3 rt2x00lib,rt2x00pci,rt2800lib
cfg80211              565248  2 mac80211,rt2x00lib
eeprom_93cx6           16384  1 rt2800pci
crc_ccitt              16384  1 rt2800lib
wmi                    20480  0

##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

enp2s0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 6c:f0:49:02:01:01  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 8114  bytes 629042 (629.0 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8114  bytes 629042 (629.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.9  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::2372:3ac4:279c:f220  prefixlen 64  scopeid 0x20<link>
        inet6 2600:8807:c007:d200:39b7:9792:f36e:935d  prefixlen 64  scopeid 0x0<global>
        inet6 2600:8807:c007:d200:55ae:7d36:a651:52a8  prefixlen 64  scopeid 0x0<global>
        ether e4:be:ed:04:95:ca  txqueuelen 1000  (Ethernet)
        RX packets 153  bytes 63724 (63.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 293  bytes 46068 (46.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

##### iwconfig ##########################

enp2s0    no wireless extensions.

lo        no wireless extensions.

wlp3s6    IEEE 802.11bgn  ESSID:"JUABAFE GUEST 24"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: B2:7F:B9:AF:F1:DF   
          Bit Rate=130 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=59/70  Signal level=-51 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:35  Invalid misc:209   Missed beacon:0


##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlp3s6
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp3s6
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp3s6

##### resolv.conf #######################



##### network managers ##################

Installed:

	NetworkManager

Running:

root      1038     1  0 18:11 ?        00:00:01 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         wlp3s6
GENERAL.TYPE:                           wifi
GENERAL.NM-TYPE:                        NMDeviceWifi
GENERAL.VENDOR:                         Ralink corp.
GENERAL.PRODUCT:                        RT5362 PCI 802.11n Wireless Network Adapter
GENERAL.DRIVER:                         rt2800pci
GENERAL.DRIVER-VERSION:                 4.4.0-53-generic
GENERAL.FIRMWARE-VERSION:               N/A
GENERAL.HWADDR:                         E4:BE:ED:04:95:CA
GENERAL.MTU:                            0
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:14.4/0000:03:06.0/net/wlp3s6
GENERAL.IP-IFACE:                       wlp3s6
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Auto JUABAFE GUEST 24
GENERAL.CON-UUID:                       4432aa10-1397-4504-9ce6-68dfaf843c7b
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/0
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     130 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     yes
WIFI-PROPERTIES.ADHOC:                  yes
WIFI-PROPERTIES.2GHZ:                   yes
WIFI-PROPERTIES.5GHZ:                   no
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3,6}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   4432aa10-1397-4504-9ce6-68dfaf843c7b | Auto JUABAFE GUEST 24
CONNECTIONS.AVAILABLE-CONNECTIONS[2]:   a56258d3-577a-4f67-9771-1ce1e3e47f01 | Auto Juabafe 24
IP4.ADDRESS[1]:                         192.168.0.9/24
IP4.GATEWAY:                            192.168.0.1
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             68.105.28.11
IP4.DNS[2]:                             68.105.29.11
IP4.DNS[3]:                             68.105.28.12
DHCP4.OPTION[1]:                        requested_routers = 1
DHCP4.OPTION[2]:                        requested_domain_search = 1
DHCP4.OPTION[3]:                        requested_time_offset = 1
DHCP4.OPTION[4]:                        requested_domain_name = 1
DHCP4.OPTION[5]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[6]:                        requested_broadcast_address = 1
DHCP4.OPTION[7]:                        requested_wpad = 1
DHCP4.OPTION[8]:                        requested_netbios_scope = 1
DHCP4.OPTION[9]:                        next_server = 192.168.0.1
DHCP4.OPTION[10]:                       expiry = 1510013496
DHCP4.OPTION[11]:                       requested_interface_mtu = 1
DHCP4.OPTION[12]:                       requested_subnet_mask = 1
DHCP4.OPTION[13]:                       dhcp_lease_time = 3600
DHCP4.OPTION[14]:                       dhcp_message_type = 5
DHCP4.OPTION[15]:                       ip_address = 192.168.0.9
DHCP4.OPTION[16]:                       requested_static_routes = 1
DHCP4.OPTION[17]:                       requested_domain_name_servers = 1
DHCP4.OPTION[18]:                       dhcp_renewal_time = 1800
DHCP4.OPTION[19]:                       routers = 192.168.0.1
DHCP4.OPTION[20]:                       broadcast_address = 192.168.0.255
DHCP4.OPTION[21]:                       domain_name_servers = 68.105.28.11 68.105.29.11 68.105.28.12
DHCP4.OPTION[22]:                       requested_ntp_servers = 1
DHCP4.OPTION[23]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[24]:                       dhcp_rebinding_time = 3150
DHCP4.OPTION[25]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[26]:                       subnet_mask = 255.255.255.0
DHCP4.OPTION[27]:                       network_number = 192.168.0.0
DHCP4.OPTION[28]:                       requested_host_name = 1
DHCP4.OPTION[29]:                       dhcp_server_identifier = 192.168.0.1
IP6.ADDRESS[1]:                         2600:8807:c007:d200:55ae:7d36:a651:52a8/64
IP6.ADDRESS[2]:                         2600:8807:c007:d200:39b7:9792:f36e:935d/64
IP6.ADDRESS[3]:                         fe80::2372:3ac4:279c:f220/64
IP6.GATEWAY:                            fe80::b27f:b9ff:feaf:f1db
IP6.ROUTE[1]:                           dst = 2600:8807:c007:d200::/56, nh = fe80::b27f:b9ff:feaf:f1db, mt = 600
IP6.ROUTE[2]:                           dst = 2600:8807:c007:d200::/64, nh = ::, mt = 600
IP6.DNS[1]:                             2001:578:3f::30
IP6.DNS[2]:                             2001:578:3f:1::30
DHCP6.OPTION[1]:                        requested_dhcp6_domain_search = 1
DHCP6.OPTION[2]:                        dhcp6_name_servers = 2001:578:3f::30 2001:578:3f:1::30
DHCP6.OPTION[3]:                        dhcp6_server_id = 0:3:0:1:b0:7f:b9:af:f1:db
DHCP6.OPTION[4]:                        requested_dhcp6_client_id = 1
DHCP6.OPTION[5]:                        requested_dhcp6_name_servers = 1
DHCP6.OPTION[6]:                        dhcp6_client_id = 0:4:29:88:b6:f7:9a:12:d6:83:99:55:90:1:96:71:49:4c

GENERAL.DEVICE:                         enp2s0
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (Motherboard)
GENERAL.DRIVER:                         r8169
GENERAL.DRIVER-VERSION:                 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:               
GENERAL.HWADDR:                         6C:F0:49:02:01:01
GENERAL.MTU:                            1500
GENERAL.STATE:                          10 (unmanaged)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /virtual/device/placeholder/1
GENERAL.IP-IFACE:                       enp2s0
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     no
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
GENERAL.METERED:                        unknown
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: 
IP4.GATEWAY:                            
IP6.GATEWAY:                            


SSID                         BSSID              MODE   CHAN  FREQ      RATE       SIGNAL  BARS  SECURITY   ACTIVE  * 
DIRECT-49-HP OfficeJet 4650  B0:5A:DA:63:B7:4B  Infra  6     2437 MHz  54 Mbit/s  100     ▂▄▆█  WPA2       no        
Juabafe 24                   B0:7F:B9:AF:F1:DE  Infra  11    2462 MHz  54 Mbit/s  85      ▂▄▆█  WPA1 WPA2  no        
DIRECT-B1-HP OfficeJet 6960  40:B0:34:83:F6:B2  Infra  11    2462 MHz  54 Mbit/s  79      ▂▄▆_  WPA2       no        
JUABAFE GUEST 24             B2:7F:B9:AF:F1:DF  Infra  11    2462 MHz  54 Mbit/s  69      ▂▄▆_  WPA1 WPA2  yes     * 

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

##### NetworkManager profiles ###########
:)~Mikey~(:
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

ping returned hits on the ip address but when I attempted ping google.com the response was
Temporary failure in name resolution
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

Try

Code: Select all

sudo dpkg-reconfigure resolvconf
Answer y to enable dynamic updates and reboot
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

nope.... didn't help
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

Edit your connection in Network Manager to add 8.8.8.8 for an additional DNS, then reboot
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

I can't find the Network Manager. Found an area to isert additional dns server addresses under system settings->network->selectnetwork->ipv4 but putting it in didn't help any.
Last edited by bmike1 on Mon Nov 06, 2017 8:25 pm, edited 1 time in total.
:)~Mikey~(:
JeremyB
Level 21
Level 21
Posts: 13724
Joined: Fri Feb 21, 2014 8:17 am

Re: I have no internet.

Post by JeremyB »

Try

Code: Select all

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf

Code: Select all

systemctl restart network-manager.service
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

yeehaaaaaa!!!! That did it. I am so grateful that you guys helped me out. Thanks.
:)~Mikey~(:
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

what makes me wonder is how it got messed up?
:)~Mikey~(:
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

how did my servers get messed up? any ideas?
:)~Mikey~(:
bmike1
Level 6
Level 6
Posts: 1067
Joined: Mon Nov 28, 2011 1:13 am

Re: I have no internet.

Post by bmike1 »

there is a small problem.... the DNS setting does not survive a reboot.
Should I put:
echo "nameserver 8.8.8.8"|sudo tee /etc/resolv.conf;sudo systemctl restart network-manager.service
in:
/etc/rc.local
or is there a better file to put it in?
:)~Mikey~(:
Locked

Return to “Networking”