How do I change my IP via terminal?


 
Thread Tools Search this Thread
Special Forums IP Networking How do I change my IP via terminal?
# 1  
Old 12-20-2012
How do I change my IP via terminal?

Hi, guys, I was using an online utility to check wheather or not an email existed, and they gave me three tries. I thought clearing temp and cookies would work, but it looks like they grabbed a hold of my IP. Smilie Now, I'd like to make a shell script that changes my IP. Not bad...yet. I'm using Wlan on a tablet PC that has no network jack. Thanks in advance for the help.

---------- Post updated at 12:39 PM ---------- Previous update was at 12:34 PM ----------

BTW, I'm using Fedora, so the script will have to be compatible with RedHat. Also, I've tried disconnecting and reconnecting with a 30 second pause between, and my IP still hasn't changed.
# 2  
Old 12-20-2012
Not clear. Pls show your setup, applications involved, and error messages on top of explaining what you have tried so far.
# 3  
Old 12-20-2012
I'm sorry if I wasn't clear enough. Basically all I want is the combination to get my router to give me a new IP.
# 4  
Old 12-20-2012
Internal IP ? use dhcp. External IP? Disconnect and reconnect, provider will give you a new IP.
# 5  
Old 12-20-2012
Provider...you mean ISP?

---------- Post updated at 01:21 PM ---------- Previous update was at 01:18 PM ----------

Code:
bash: dhcp: command not found


Last edited by Ihatewindows; 12-20-2012 at 02:27 PM..
# 6  
Old 12-20-2012
Yes, Provider = ISP

c.f. $ man dhclient
# 7  
Old 01-02-2013
*

Use a proxy, or a VPN, to obfuscate your IP address.

yourPC ==> proxy ==> targetSystem
your_IP --> proxy_IP --> targetSystem sees the proxy_IP instead of your_IP
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to change colours in Linux Terminal Xfce?

Hi all - just started using Linux Mint 17 and I need to change the Foreground & Background Colours for the Terminal, my eyesight is not what it used to be many years ago, so any help would be much appreciated. Regards Malcolm (6 Replies)
Discussion started by: electrocad
6 Replies

2. UNIX for Dummies Questions & Answers

Change default terminal compiler - Centos

I'm working on a centos 5.10 64bit desktop machine. I want to change the default terminal compiler to bash instead of csh/sh without root permissions. Thanks in advance (4 Replies)
Discussion started by: aelhosiny
4 Replies

3. Shell Programming and Scripting

How to change the title bar of the terminal screen

Hi, How to change the value after the symbol '@' ? $ i.e. @mac1 I want to change it to @prod2 Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies

4. Shell Programming and Scripting

Change color on another terminal

i already have a running and working script for remote connection. is there a way to change the terminal color everytime I ssh remotely to another server? this is to avoid confusion since I will be using only one server to remotely access around 50 servers (solaris, linux,. etc) (2 Replies)
Discussion started by: lhareigh890
2 Replies

5. Solaris

How to change folder color in terminal ?

Hi all, I am really new to UNIX ..and can any1 help me on change the yellow color to blur color (folder) ? Please refer to the attached pictures .. Your help is really appreciated .. :) Have a nice day ! (5 Replies)
Discussion started by: sauronlord
5 Replies

6. OS X (Apple)

Change Long User Name THrough The Terminal

Hello, I was wondering how to change a user's Long Name through the terminal. I am writing a shell script to change some settings back to the default, and could not find how to do this (or even if you can do this). I do not want to use applescript. (2 Replies)
Discussion started by: The Reepr
2 Replies

7. Programming

terminal Width/height change

Hi, i am very new to unix/linux programming. for one of the application i have to change the Terminal width and height. i did try this if (ioctl (fd, TIOCGWINSZ, &win)) return; if (y && y >24) win.ws_row = y; else win.ws_row = 24; if (x && x>80)... (2 Replies)
Discussion started by: bgsunny
2 Replies

8. Solaris

How to change the system prompt and BG of terminal?

Hi all, I was wondering how to change the PS1 to my liking? I tried changing it using PS1='my choice' it worked but the subsequent terminals i open will not have it as the default PS1 ,how do i change it? also i am running as super user, and i need to exec bash, to get the bash environment...... (4 Replies)
Discussion started by: wrapster
4 Replies

9. UNIX for Dummies Questions & Answers

How can I change the behavior of the mouse in Terminal?

Hi, I hope I'm posting in the correct forum, so here goes. I would like for the mouse right/left click to work in Terminal (OSX) as it does in Putty. For instance, when I double click 'log' in file.log.gz, only the log part is highlighted (in Terminal), while in Putty the entire file name is... (0 Replies)
Discussion started by: TheChemist
0 Replies

10. Solaris

Change Terminal Title

Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window. I was looking for similar functionality for terminal windows. Thanks. (8 Replies)
Discussion started by: here2learn
8 Replies
Login or Register to Ask a Question