Linksys conflict

19 views
Skip to first unread message

MarkFromCanada1

unread,
Jan 17, 2011, 6:54:07 AM1/17/11
to The London Ontario Linux User's Group (LOLUG)
Now that my Server is almost happy, I can ask for advice about my
loose issues. My old Linksys worked perfectly fine until it melted.
I'm running E1000-CA and hard wired - no wireless.

[1] At boot I now get "cannot find HostDomainName". When I used my
direct IP 192.168.1.100 in rc.conf and Apache was happy. As all I
have changed, I am guessing the Linksys?

[2] SendMail is not happpy using the direct IP instead of my
HostName. It runs but I get an error in the log. I suspect I have to
resolce the problem and change rc.conf back to where it was. Again,
the only change was the new linksys.

====

For those who want a challange -

[A] I cannot send nor receive messages to my own server. Nothing in
the mail log to say I was even there. My rogers account mails arrive
and put in the queue, but I cannot retrieve anything from my own mail
server. It does not even see me and I do not get any errors.

[B] None of my accounts using valid non-roger.com domains ever leave
to the world [no error of course]. The Roger's e-mail account works
though. Same linksys server - Rogers works and 3rd party return
addresses have stopped. I looked & there are still there &
registered.

[C] Never trust Rogers when they say things will be seamless and you
tripple check to make sure. They owe me a three day credit and if I
can prove they F! my 3rd party e-mails as well as the rogers email
address, then every day that credit goes to the one here who can prove
them wrong. I need someone to use one of my e-mail accounts on a
stable system to prove it is not related to my configureation for
outgoing e-mail using Roger's mail server.

HUMOUR = I paid Linksys for a support package. They could not find
any record of it going thru and so they will issue my account a credit
for money they cannot find. If they cannot find a record, how can
they issue the creidt? Long week.

John Van Ostrand

unread,
Jan 17, 2011, 9:52:00 AM1/17/11
to lo...@googlegroups.com
----- Original Message -----
> Now that my Server is almost happy, I can ask for advice about my
> loose issues. My old Linksys worked perfectly fine until it melted.
> I'm running E1000-CA and hard wired - no wireless.
>
> [1] At boot I now get "cannot find HostDomainName". When I used my
> direct IP 192.168.1.100 in rc.conf and Apache was happy. As all I
> have changed, I am guessing the Linksys?

Easy question: Did you reserve the .100 IP address on the router. You can block it off, or hard-code it to the MAC address of your system's NIC. Just remember to change it if/when you change network cards or systems.



> [2] SendMail is not happpy using the direct IP instead of my
> HostName. It runs but I get an error in the log. I suspect I have to
> resolce the problem and change rc.conf back to where it was. Again,
> the only change was the new linksys.

Starting simply: Did you restart sendmail? Posting your sendmail.mc and submit.mc file would help.

Submit gets used for mail coming in port 587 as well as command-line mail submission. Sendmail.mc is used for mail coming in port 25

> ====
>
> For those who want a challange -
>
> [A] I cannot send nor receive messages to my own server. Nothing in
> the mail log to say I was even there. My rogers account mails arrive
> and put in the queue, but I cannot retrieve anything from my own mail
> server. It does not even see me and I do not get any errors.

Post your sendmail.mc and submit.mc files (usually in /etc/mail.)

> [B] None of my accounts using valid non-roger.com domains ever leave
> to the world [no error of course]. The Roger's e-mail account works
> though. Same linksys server - Rogers works and 3rd party return
> addresses have stopped. I looked & there are still there &
> registered.

Is Roger's one of the ISPs that require you to register your domain with them before they send outgoing email? As you likely already know, they require authentication, perhaps that broken.

> [C] Never trust Rogers when they say things will be seamless and you
> tripple check to make sure. They owe me a three day credit and if I
> can prove they F! my 3rd party e-mails as well as the rogers email
> address, then every day that credit goes to the one here who can prove
> them wrong. I need someone to use one of my e-mail accounts on a
> stable system to prove it is not related to my configureation for
> outgoing e-mail using Roger's mail server.

That's too much work and responsibility for me.
--
John Van Ostrand
CTO, co-CEO
Net Direct Inc.
564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6
Ph: 866-883-1172 x5102
Fx: 519-883-8533

Linux Solutions / IBM Hardware

MarkFromCanada1

unread,
Jan 17, 2011, 1:52:35 PM1/17/11
to The London Ontario Linux User's Group (LOLUG)
Thank you John,

> Easy question: Did you reserve the .100 IP address on the router. You can block it off, or hard-code
> it to the MAC address of your system's NIC. Just remember to change it if/when you change
> network cards or systems.

While I am running BSD, it is close enough to Linux. The rc.conf file
only allows access if I hard code the .100 port. I verified that
Apache & sendmail will not start with the previous hostname. Hard
coded, well I get warnings in the logs but both start. Both maill and
my web server. This starts both with thwehost name hardwired.


# ***********************************
#hostname="************.com"
hostname="192.168.1.100"
# **********************************

ifconfig_rl0="inet 192.168.1.100 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
kern_securelevel_enable="NO"
linux_enable="YES"

My linksys has both the host and domain name set to
"************.com" (actual domain is not needed for this example). A
whois shows the correct IP for "************.com" and my personal
computer can access "************.com" as well. This perplexes me.

> Is Roger's one of the ISPs that require you to register your domain with them before the
> send outgoing email? As you likely already know, they require authentication, perhaps that broken.

I thought of that and verified them. That same thought came to me.
Still, it is inconsistent in that mail to Rogers using their server
hits the world and mail from my 3rd party account to the world using
their server vanishes. I'm going to carry my computer next door to
try it from the neighbour's connection. This is an inconsistency. MY
frustration is all the inconsistences that do not add up.

===

Right now, I suspect that when I do a send/receive, the mail server
sharing the linksys with me is causing the problem. From my mail
logs, a send to my own mail server is entered and goes into the
queue. A send to the world vanishes. No errors are generated when I
try to send to the outside world. No errors are generated when I do a
receive [Outlook Express]. Either on Outlook or my server mail logs.

All this worked fine on my ancient Linksys. This was is modern.
Linksys E1000-CA.. The only change is now the hostname for sendmail
has been changed to the IP address.

[] Is it possible all the sendmail attempts to send my mail to me are
getting bounced back to it?
[] Is it possible that using the IP address for the hostname instead
of my sendmail server name is the problem for not being able to
receive my mail?


I'll post the other mail files in a separate reply. BSD is close
enough to Linux that glaring mistakes in both languages are just as
obvious. I'm just too close to the situation.

I had a good night's sleep once Apache started. For now, I can
survive with lost e-mails. Painful, as many are business, but at
least the name server is running. I've re-configed to leave them on my
server until I get access again. As near as I can tell they were sent
to me and vanished (or bounced back to the server).

Thank you for your ideas. (Thanks Frank as well for your ideas that
got my web server up). Two heads are better then one. Three and more
are even quicker. While there are no such things as "dumb questions",
downtime in business is painful. At least the name servers & websites
are running. Mail is next. A "clean boot" is last [unless it is
related].

John Van Ostrand

unread,
Jan 17, 2011, 2:17:43 PM1/17/11
to lo...@googlegroups.com
It's good that this email works.

You should verify that the ip address/hostname configuration in /etc/hosts is correct. This could screw you up if you changed Ip addresses or hostnames but didn't update this file.

> --
> You received this message because you are subscribed to the Google
> Groups "The London Ontario Linux User's Group (LOLUG)" group.
> To post to this group, send email to lo...@googlegroups.com.
> To unsubscribe from this group, send email to
> lolug+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/lolug?hl=en.

MarkFromCanada1

unread,
Jan 18, 2011, 9:05:08 AM1/18/11
to The London Ontario Linux User's Group (LOLUG)
Good morning.

Right now I am calling a paid mayday for an onsite reconfiguration of
my linksys. After spending over 18hrs on the phone with various tech
support groups, I do require on-site work. This is probably not on
the BSD side as my system worked pefectly on my old linksys. Namedb
is speaking to the outside world so all IP issues have been resolved.

Rermaining, is a hostname issue [not present with the same settings
before] and probable incorrect port settings on the newer Linksys.

If there is anyone in London who considers themself a networking
expert I am required to bite the bullet and arrange a paid service
call.

BSD is close enough to linux and I know my bsd system well. Linksys,
well it is just another router requiring it to be set up to handle an
e-mail/dns/webserver.

Bottom line is I need my mail server being able to speak yto me while
I am on the linksys router. It speaks to the outside world, but not
me.

mhar...@rogers.com

John Van Ostrand

unread,
Jan 18, 2011, 9:16:17 AM1/18/11
to lo...@googlegroups.com
Hi Mark,

This is generally something that is handled remotely. We SSH into your server and make the appropriate changes. My company does this exact service.

MarkFromCanada1

unread,
Jan 18, 2011, 4:43:31 PM1/18/11
to The London Ontario Linux User's Group (LOLUG)
John,

> This is generally something that is handled remotely. We SSH into your server and make the appropriate changes. My company does this exact service.

Yes, this is what I usually do. However, as I am certain the linksys
has part of the problems I'm trying first for on-site access. My
system worked perfectly on the old linksys unit for 5 days under the
new Rogers modem.

I've got a call in to a business contact doing tech support for a
local Free BSD server company he owns. He should get back to me
tonight.

If he declines, you have first dibs. Whomever gets it will get paid.
This is a mayday situation for me. I cannot run a business without
business e-mail.

===
I've ftp'd most of the relevant system directories to my hard drive so
I can do searches for text. Nothing relevant showed up.

One thing I noticed is that my /mail/access file had my old linksys IP
address [static at .102]. I'm tempted to set my pc to the fixed port
of .103 and modify the access file accordingly. Is it possible things
could be this easy? I had forgotten all about that file. It could
explain why the Rogers server works and my own does not ???

===
I've still no idea aboutthe rc.conf rror in the host name. That can
be researched remotely. On the phone I can verify my linksys host
name and other settings. To the best of my knowledge they match.

Unfortunately, I had to set it to 192.168.1.100 in order to get apache
and sendmail to start. Sledgehammer approach. Still, I need my
apache first and have it.

e-mail me at mha...@rogers.com


MarkFromCanada1

unread,
Jan 19, 2011, 5:24:11 AM1/19/11
to The London Ontario Linux User's Group (LOLUG)
I IDENTIFIED MY SENDMAIL PROBLEMS
Now all I need to identify is the cause.

All e-mails bounce as their IP address cannot be resolved. Even valid
ones. This explains why I cannot retrieve any new e-mail - the new e-
mail is not being accepted.

Then I tried to do a dig of various domains and the outside world
cannot be seen. Then I found that nslookup just times out. This
explains why the rc.conf file cannot find the host name given to it.
The /etc/hosts file looks correct..

Rogers confirmed my SMC modem is in bridge mode and so there is no
firewall.

On the Linksys side, I am now in DMZ mode and on the web hosting side,
that works perfectly. Apache sees the outside world without problems
as long as rc.conf manually tells it where to look.

John Van Ostrand

unread,
Jan 19, 2011, 10:58:10 AM1/19/11
to lo...@googlegroups.com
I helped Mark out. The issues was his nameserver in /etc/resolv.conf was incorrect. It pointed to another Rogers customer, perhaps this was Mark's server's IP address before the router change?

We also took the opportunity to clean up some of the host name/host/named set up and put a more standard configuration in place.

With the detailed email of the changes I wrote for his records, it took just less than one hour to complete and I think Mark is a very happy system administrator right now.

Reply all
Reply to author
Forward
0 new messages