George Georgalis <[EMAIL PROTECTED]> writes:
> Try these... (the default is 'show')
> ip addr
> ip route
> ip link
> ip help
> ip addr help
> etc... I know the help is not easy, but it's all there
> 
> I bring up my interfaces something like this...
> 
> # first bring everything down...
> d=`ip -o link show | cut -d: -f2`
> for i in $d ; do
>         ip addr flush $i
>         ip link set $i down
> done
> 
> # then bring up each interface like so...
> ip link set lo up
> ip link set eth0 up
> ip addr add 127.0.0.1/8         label lo        dev lo
> ip addr add 192.168.0.1/24      label eth0      dev eth0
> ip route add 0/0                via 12.34.56.78         table main # use your GW
> 
> Not sure how to ppp/chat with the ip command.

I don't think you can.  But with PPPoE, at least (and presumably dialup PPP
as well), "ifdown ppp0" will bring down the PPP interface and "ifup ppp0"
will bring up the interface, doing a new PPP login, getting a newly-assigned
IP address, etc.

--
Dan Harkless
[EMAIL PROTECTED]
http://harkless.org/dan/


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to