[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MintNet + dynamic IP.



>2) How can i get (free)mint + mintnet + dip to work with dynamic IP ? I 
>tried to set $rmtip, $remote and $locip after logging in manually (with 
>'term') and 'route add default <remote ip>' after seting DIP 'mode SLIP'. 
>The only thing that happend was my keyboard was not passing through 
>everything i typed, somehow... I tried 'slattach -p cslip -r <remoteip> -l 
><locip>' but nada. I used ttya as my modemport, which is renamed in 
>/c/mint/mint.cnf.

Your SLIP server prints your assigned IP number on the screen after you
log in, right?  Well, dip can snag it right off the line.  For instance,
my service prints the line:

    Your remote IP # is nn.nn.nn.nn, your local IP # is nn.nn.nn.nn

which my dip script grabs as follows:

  wait is 20
  if $errlvl != 0 goto error
  get $rmtip remote
  wait is 20
  if $errlvl != 0 goto error
  get $locip remote

>3) What files are automaticly started up by TCSH 6.03 ? With 6.00.2 it 
>was /etc/csh.cshrc or /etc/csh.rc, and I put loads of stuff in it. With 
>the newer version i cannot find the right file. I've tried .cshrc, .rc, 
>rc, rc.local, tcsh.rc .tcshrc, ~/.rcshrc, ~/.login, nothing works...

I have .tcshrc symlinked to tcshrc.csh and .login symlinked to
login.csh.  I'm not sure which ones it's picking up, but it does get one
out of each pair.