Hi network crowd!
I've just recently installed Mandrake v9.1 (first shot at Linux, I love it), and I've found I have a small conundrum on my hands.
At login/startup, I need to perform an telnet session with fixed parameters. How do set this up to run automatically? I suspect a reasonably simple shell script should do the trick, but I don't (yet) speak shellish. Help!
My eth0 is a (classic) "3Com 90x" connecting to my ISP via ADSL. This works fine and I do get an IP address from them, it's just the tedious manual login I'm looking to avoid. I have a tool to do this on WIndows, so it's gotta
be possible on Linux too -- right?
The telnet session is necessary because I have to sign on with my ISP in order to get the ADSL line up (otherwise I get no connectivity, only the IP). The sign-on is done by telnetting to "signon.telia.dk" on port 259, entering username and password, and then entering "1" to sign on. At this point the telnet session is dropped by the host.
Mandrake allows me to configure my eth0 toward the ISP and my eth1 toward my LAN, and this is working fine; but I can't seem to find a feature to sign on, so this is why I'm asking you guys.
If anybody can point me in the right direction, I'd be very helpful. Is there something in the Mandrake network configuration I've missed? Where in the manpages should I begin looking for scripting telnet?
Bonus cookies are awarded if you can tell me how to avoid rebooting to rerun the script, since the ISP signs me off after a few hours again. (Yeah, great ISP right? But it's cheap and fast.)
I'm looking forward to hearing from you!