I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / MailStation
linux talking ppp to mailstation
Getting linux to talk ppp to mailstation

New Messagelinux talking ppp to mailstation (modified 0 times) benjisimon
Profile
First the good news:
I was able to get the mailstation to
handshake with my linux box over a direct
connection between two modems. This means
that I should be able to use the mailstation
without having to dial up to any machine,
I can just plug it in and "sync" it with
my linux box. Here's how I did it:

SETUP:
Linux box:
- went into minicom

mailstation:
- Main Menu >> Extras >> Settings
- "Ignore dial tone when dialing" = Yes

hardware:
- plugged in a phone line from the
Linux box's modem "Line" port to the
mailstation "Line" port.

Now to get them talking PPP I just hit
the "Get Email" button on the mailstation,
and type "ATA" in the minicom terminal.
It takes a bit of practice, but eventually
they do connect and the mail station
goes from "connecting" to "logging in".
On the minicom side, it starts spitting
out PPP output. I "quit minicom without
hanging up" and can now type "pppd" to
initiate a ppp connection between the
two machines.

I don't have all the settings quite right
yet so the process doesn't complete. But
at this point, they are physically talking,
it should be just a matter of settings
before the ppp connection is working.

So this is cool, and gets me closer
to writing email on my mailstation
and sync'ing it with my linux box. Without
actually dialing up anywhere.

Now the bad news:
When I turned on my new mailstation it
asked me for some settings of stuff.
I took a guess at some of them but
wasn't completely happy with them
(things like user name, smtp server,
etc.). When I try to edit the user
info it only lets me change the name,
dial-up number and the reply-to. ARGH.
In a desperate attempt to get back
to empty values, I did a "reset all data",
which made things even worse!

Now I have one user, "New User", and a bunch
of random settings for mailstation which
are totally useless.

Any ideas on how to reset these values???
Do I need to buy a new mailstation --
I didn't realize these were one-use disposable items .

Thanks,
Ben

12-19-2001 06:06:17

New MessageRE:linux talking ppp to mailstation (modified 0 times) benjisimon
Profile
I've made more progess if anyone
cares.

(1) I managed to reset my mailstation
so that I could re-enter in my defaults.
If anyone is interested in how I did this,
please e-mail me at "ben at amazingmedia.com".

(2) I've got PPP working correctly,
my linux box and mailstation can now
connect.

Here's my pppd options file that
I've been using on Linux:

----ppp-options--------------
passive
debug
/dev/modem
auth
proxyarp
mail-station-ip:linux-box-ip
-----------------------------

I also added an entry to
/etc/ppp/pap-secrets as suggested
by the pppd password.

So all comes up well -- my only issue
now is that when the mailstation attempts
to resolve my pop server name it doesn't
ever get a reply. I can see the DNS
requests via tcpdump, though I haven't figured out
why it doesn't work.

Though I think I am pretty close to having a
MailStation that can work without a real
phone.

12-19-2001 13:13:00

New MessageRE:linux talking ppp to mailstation (modified 0 times) wildcard
Profile
Neat stuff.

If I'd seen the request for how to reset your machine, before you solved the problem yourself, I have suggested the Function, Shift-T, while powering on method revealed in the justdeals thread.

12-21-2001 21:53:03

New MessageRE:linux talking ppp to mailstation (modified 0 times) ZooT_aLLures
Profile
When trying to resolve the nameserver issue, do you have the linux box running bind?
Or possibly use the IP number you've allocated as the "local" end of the serial connection?
If not could you simply use the IP number of your linux boxen rather than a FQDN?
IP numbers require no resolution at least as far as linux is concerned.
You might be able to get the IP resolution running using "netcat" listening on the bind port, and only on the serial port(modem) and dumping the needed info via the included "dist.sh" script, or any script operated web server for that matter.
I'd prefer the netcat script though as it really doesn't matter nor does it listen to what it receives, it just dumps whatever you've told it to, after a definable "wait" period....in this case a hard coded "bogus DNS resolution" packet.
I'll look more and see if a perl or bash script could accomplish the same thing...
01-06-2002 00:01:56

New MessageRE:linux talking ppp to mailstation (modified 0 times) yikesman
Profile
http://www.newsforge.com/article.pl?sid=02/02/05/171219&mode=thread

This newsforge.org article mentions the board here, but sort of glosses over how to hook up the hardware. Anyone have any more details on it?

02-05-2002 13:53:24

New MessageRE:linux talking ppp to mailstation (modified 0 times) Recap
Profile
>This newsforge.org article mentions the board here, but sort of glosses over how to hook up the hardware. Anyone have any more details on it?

What exactly do you need to hook up? There's a modem attached to the Linux (or NetBSD) box. I used a hardware handshake. When I did it on my NetBSD laptop, I just slapped in a PCMCIA modem and used the settings in the article. What else do you need to know?

Note that I use modems and phonelines to communicate. I'm not doing a direct connection like some other folks have talked about here.

02-06-2002 08:05:20

New MessageRE:linux talking ppp to mailstation (modified 0 times) yikesman
Profile
Well the article mentions setting up multiple mailstations for an organization. So, I wasn't sure if you'd have all the mailstations somehow connected or switched to one modem, or if you'd need a separate modem in your mailserver pc for each mailstation you want to have.
02-06-2002 13:50:23

New MessageRE:linux talking ppp to mailstation (modified 0 times) Recap
Profile
The way the Mailstation works, it connects only for mail upload and download. Under most circumstances, this is a period of time under 2 minutes (often under 1 minute). It does have automatic redial capability on busy signals.

As such, a single inbound phone line on the server end can probably comfortably handle a few dozen light-duty users, as long as they don't all try to connect at the exact same time everyday. Obviously, adding additional lines may be necessary if the usage volume goes high enough. But, you'd need a very significant number of users to max out a single line, in my estimation.

02-06-2002 14:49:54

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3