Greeting, everyone.

I've got a problem that I'm hoping someone here can help me with. I've 
tried asking this on another list, but have yet to see anything. I need to 
get a linux machine set up to answer incoming calls from a Palm-based 
handheld unit, start pppd, and run an ftp session to another Unix server on 
our network. (Since this is at my work, I'm using RH 7.1, but if Mdk 8.1 
would handle this better, I'll give it a shot)

What I've done so far:

I found several helpful HOW-TO's on getting the linux machine to answer the 
phone. mgetty+sendfax is working perfectly in this respect. After a great 
deal of searching, I finally found a Palm specific howto at 
http://www.brisse.dk/palm/ppphowto/index.htm that *seems* to work fine. I 
can now dial in, using PAP and the pap-secrets file, and pppd shows to be 
running on ttyS2. However, the ftp session never connects. I can ping the 
ipaddress of the Palm from the dialin server and I can ping the address of 
the Unix server from the dialin server. I can even su to the dialup user 
and ftp to the Unix box.

Here's the crux of my dilema, though. I need a way of executing a shell 
script on the remote unix server after the ftp session is over, to 
automatically upload the transmitted data into our system. Since using PAP 
apparently doesn't actually log in to the point of sourcing any of the 
dotfiles (.bash_profile, .profile, etc) I don't see a way to do this 
automatic upload. Also, trying to use login instead of pap in my 
/etc/ppp/options file seems to allow the Palm units to log in, but pppd 
never starts.

If these same units dial in to a Win2K server, everything works properly, 
except the auto-update thing. Obviously, I want to use Linux instead of 
Win2k, but my boss is pushing me to get this done quickly. (He's not the 
most linux friendly person in the world)

Short of staying on Win2k, saying to hell with the auto-upload-on-logout, 
and just setting up a cron job on the Unix box, does anyone have any ideas?

Thanks,

Wayne



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to