From: "César" Date: 2007-11-07T07:01:21+09:00 Subject: Re: change ip and mac ¿¿from source code ruby?? :-| well , if you use un debian distro, from console this are steps 1) #: apt-get install lshw #: lshw | less in this list find (/network ) you can see lines similar *-network description: Ethernet interface product: 88E8053 PCI-E Gigabit Ethernet Controller vendor: Marvell Technology Group Ltd. physical id: 0 bus info: pci@0000:03:00.0 >>>>>>>>logical name: eth0<<<<<<<<<< if is "eth0" your netcard then 2) #: macchanger --mac "00:5D:6E:4D:5W:4B" eth0 where "00:5D:6E:4D:5W:4B" is the new mac address and then 3) you going to edit "/etc/network/interfaces" iface eth0 inet static address "10.1.1.15" ##====> "YOUR NEW IP ADDRESS" netmask "255.255.255.0" network "10.1.1.0" broadcast 10.1.1.255 gateway 192.168.1.2 maybe this question is apropiate for other list of distros linux if you not want do this from source code Ruby. I don't write english very well, sorry!! i hope you understand my explanation. bye _______________________________________________ http://www.sindominio.net/ayuda/preguntas-inteligentes.html http://cronopios.net/Traducciones/trolls.es.html Mi blog: http://enjoyingfreesoftware.wordpress.com/ :-{þ