My Internet provider controls legitimate access through checking of hardware 
MAC address of network card. I would like to use alternatively also second 
computer - portable notebook - with another hardware MAC address. Internet 
provider assigns constant (nat?!) IP address, not a DHCP one. Linux/Fedora has 
simple straightforward provision for such MAC address cloning. I have prepared 
for OpenSolaris two scripts supposedly doing this trick. Listing of both is 
included below. However I cannot got the network connection. Any 
help/suggestions?

The scripts follow:

 #!/bin/bash
#wired-up script
sudo svcadm disable network/physical:nwam
cd /etc
sudo cp -p OK_hostname.rtls0 hostname.rtls0
sudo cp -p OK_defaultrouter defaultrouter
sudo cp -p OK_resolv.conf resolv.conf
cd inet
sudo cp -p OK_netmasks netmasks
sudo ifconfig rtls0 ether 00:19:D1:FE:C4:B4
sudo ifconfig rtls0 netmask 255.255.255.0
sudo svcadm enable network/physical:default

#!/bin/bash
# wired-down script
sudo svcadm disable network/physical:default
sudo svcadm enable network/physical:nwam  

Thx for any help

MMST
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to