On Wednesday 22 January 2003 14:39, David Robertson wrote:

>
> I have to admit that I have always had problems with this. At home I
> have adsl and at work a small, fixed-IP mixed lan, with dial-up internet
> connection.Every time I move my laptop from one location to the other, I
> have to set up the network connection from scratch.And even then I have
> great difficulty in dialling out: it seems to connect OK according to
> the log in kppp but nothing happens and my browser, for example, can't
> access its home page.If I reconfigure the modem 2-3 times from scratch,
> eventually it is OK, though the settings are always the same. Setting up
> two profiles makes no difference. So at work I just set up the lan
> manually then use wvdial for dialling out.
>
> David

Well if you dont't want keep on reconfiguring the lan and don't want to keep 
on remembering the (CM)Lines to configure the lans you could just put 'm in a 
text file and run that. that way you can keep different confs and change 'm 
on the fly.
 
It would work thus:
Make a normal textfile and use your favoutrite editor to put the 3 nescessary 
commands in there. Each command it's own line, and call it something like 
worklan.txt  and homelan.txt or whatever you want.

To run it just type (as su/root in this case) on the CML:"source 
/path-to/worklan.txt" without the quotes at work and you're done.
That way you can keep your dial out (needs loopback) configured i.e. don't 
have to reconfigure it all the time.

Good Luck,
HarM



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

Reply via email to