Email no longer working

Status
Not open for further replies.

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Should I reset the factory defaults (option #8) -- what exactly does that reset?
No, don't want to do option #8. So you ran through #1 "Configure Network Inferfaces" and set it to DHCP? What is the output of "ifconfig"?
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
No, don't want to do option #8. So you ran through #1 "Configure Network Inferfaces" and set it to DHCP? What is the output of "ifconfig"?
I just delete and then reset the config.

But anyway, I just went in set it to DHCP and it's still throwing that same error.

Code:
[root@freenas ~]# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:25:90:d8:5e:b3
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
ether 00:25:90:d8:5e:b2
inet 192.168.20.15 netmask 0xffffff00 broadcast 192.168.20.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8800<SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
[root@freenas ~]#
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Did you try following my suggestions for trouble shooting? What was the output?
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Did you try following my suggestions for trouble shooting? What was the output?
Code:
[root@freenas ~]# ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1): 56 data bytes
64 bytes from 192.168.20.1: icmp_seq=0 ttl=64 time=0.221 ms
64 bytes from 192.168.20.1: icmp_seq=1 ttl=64 time=0.180 ms
64 bytes from 192.168.20.1: icmp_seq=2 ttl=64 time=0.396 ms
^Z
[1]+ Stopped ping 192.168.20.1
[root@freenas ~]# ping google.com
PING google.com (167.206.145.49): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
^Z
[2]+ Stopped ping google.com
[root@freenas ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
^Z
[3]+ Stopped ping 8.8.8.8
[root@freenas ~]#
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Can any computer on your network access the internet?

Also don't use ctrl+z to stop processes. Use ctrl+c it will actually kill them.
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
What's the output of netstat -rn?
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Can any computer on your network access the internet?

Also don't use ctrl+z to stop processes. Use ctrl+c it will actually kill them.
Yes.

Force-ive habit
What's the output of netstat -rn?
Code:
[root@freenas ~]# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
127.0.0.1 link#6 UH 0 11148 lo0
192.168.20.0/24 link#3 U 0 2516 em1
192.168.20.15 link#3 UHS 0 150 lo0

Internet6:
Destination Gateway Flags Netif
Expire
::/96 ::1 UGRS lo0
::1 link#6 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
fe80::/10 ::1 UGRS lo0
fe80::%lo0/64 link#6 U lo0
fe80::1%lo0 link#6 UHS lo0
ff01::%lo0/32 ::1 U lo0
ff02::/16 ::1 UGRS lo0
ff02::%lo0/32 ::1 U lo0
[root@freenas ~]#
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
You don't have a default route. So either your dhcp server isn't giving it out, or your install is messed up. You can try adding one via the GUI (or the CLI menu).
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
You don't have a default route. So either your dhcp server isn't giving it out, or your install is messed up. You can try adding one via the GUI (or the CLI menu).

I added it:
Code:
[root@freenas ~]# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.20.1 UGS 0 5 em1
127.0.0.1 link#6 UH 0 16390 lo0
192.168.20.0/24 link#3 U 0 3382 em1
192.168.20.15 link#3 UHS 0 150 lo0

Internet6:
Destination Gateway Flags Netif
Expire
::/96 ::1 UGRS lo0
::1 link#6 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
fe80::/10 ::1 UGRS lo0
fe80::%lo0/64 link#6 U lo0
fe80::1%lo0 link#6 UHS lo0
ff01::%lo0/32 ::1 U lo0
ff02::/16 ::1 UGRS lo0
ff02::%lo0/32 ::1 U lo0
[root@freenas ~]#
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
And retest the pings....
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
And retest the pings....
All normal. But sending a test email still throws an error.
Code:
[root@freenas ~]# ping 192.168.20.1
PING 192.168.20.1 (192.168.20.1): 56 data bytes
64 bytes from 192.168.20.1: icmp_seq=0 ttl=64 time=0.201 ms
64 bytes from 192.168.20.1: icmp_seq=1 ttl=64 time=0.239 ms
64 bytes from 192.168.20.1: icmp_seq=2 ttl=64 time=0.270 ms
^C
--- 192.168.20.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.201/0.237/0.270/0.028 ms
[root@freenas ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=15.021 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=12.889 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=12.104 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 12.104/13.338/15.021/1.232 ms
[root@freenas ~]# ping google.com
PING google.com (167.206.145.25): 56 data bytes
64 bytes from 167.206.145.25: icmp_seq=0 ttl=59 time=12.129 ms
64 bytes from 167.206.145.25: icmp_seq=1 ttl=59 time=11.470 ms
64 bytes from 167.206.145.25: icmp_seq=2 ttl=59 time=11.083 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.083/11.561/12.129/0.432 ms
[root@freenas ~]#
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Now try it with name resolution:
ping smtp.gmail.com

Or try to resolve the name:
nslookup smtp.gmail.com
Code:
[root@freenas ~]# ping smtp.gmail.com
PING gmail-smtp-msa.l.google.com (173.194.207.108): 56 data bytes
64 bytes from 173.194.207.108: icmp_seq=0 ttl=44 time=28.189 ms
64 bytes from 173.194.207.108: icmp_seq=1 ttl=44 time=29.497 ms
64 bytes from 173.194.207.108: icmp_seq=2 ttl=44 time=25.354 ms
^C
--- gmail-smtp-msa.l.google.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 25.354/27.680/29.497/1.729 ms
[root@freenas ~]#
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
Are you using two factor authentication with gmail? If so, search the forum for instructions to configure it. There have been a couple of threads in the past 30 days.


Sent from my phone
 

djdwosk97

Patron
Joined
Jun 12, 2015
Messages
382
Are you using two factor authentication with gmail? If so, search the forum for instructions to configure it. There have been a couple of threads in the past 30 days.


Sent from my phone
You just have to create an app password. (and that was the first thing I did)

I am able to get the email to go through sometimes.
 
Status
Not open for further replies.
Top