projects
/
perl-cwmp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
4458482c9ab73cde52e7ae6c14d56db2b18a8e11
[perl-cwmp.git]
/
net.sh
1
2
if [ -z "$1" ] ; then
3
eth=eth0
4
# eth=ath0:0
5
else
6
eth=$1
7
fi
8
9
sudo ifconfig $eth 192.168.1.90 up
10
sudo route add -host 192.168.1.254 dev $eth
11
echo "Setup of $eth to 192.168.1.90 ready"