change ip and mac

I

Ilan Berci

Bulhac said:
how can i change my ip and mac address?
tnx

If you are using dhcp, you can simply move to another country and plug
your computer in.. voila .. new ip!

As for changing the mac address, you can always buy a new nic.. (If it
will be hard to acquire it in the new country you move to, make sure to
buy one before you leave)

hth

ilan
 
C

César

=BF=BFfrom 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
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" ##=3D=3D=3D=3D> "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/

:-{=FE
 
B

Bulhac Mihai

no...i don't want to change my card and so on:), i want to change ip and
mac from ruby code if this is possible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,270
Messages
2,571,349
Members
48,035
Latest member
SamuelDieng

Latest Threads

Top