Networking :: Changing The IP Address Remotely
Apr 12, 2011
I'm running Ubuntu server. To change the IP while I'm sitting in front of the computer, I would:
1. edit /etc/network/interfaces
2. ifdown eth0
3. ifup eth0
Remotely, I can do the first two no problem, but the ifup command causes some problems since the ethernet interface is no longer functioning. Is there some kind of script that can be written for this purpose? Maybe something that will check eth0 every so often and make sure it is running and bring it up if it isn't. Or else a script run with nohup?
I do not intend that changing the IP address will be a frequent occurrence, but when it needs to be done, it must be done reliably and without the possibility that the computer will no longer be reachable for more than a couple minutes or so.
View 3 Replies
ADVERTISEMENT
Mar 20, 2011
there is a way to set an ip address on a computer remotely. Here's my issue : Have a debian computer (plug computer) on which, after upgrade, i m not able to log in back anymore. At the moment it seems i have no chanche to connect something like a monitor but i m pretty sure the computer it boots up cause wireless is on and i can see ssid and mac address of the ap.
I ve tried to assign an ip to the mac address (from my laptop) by arp and in the table it shows the link between the mac and ip, but i m unable to ping the ip after that. I was trying to think of maybe set up a dhcp server from my laptop and see if the plugcomputer gets an ip automatically, but i m not sure if it is working and at the moment i have little experience on set up a dhcp server on linux (sabayon). Do you think is it possible to manage the network card of my plug computer by eth/wlan from my laptop?
View 3 Replies
View Related
Sep 3, 2010
Why changing of mac address isn't recommended? The possible reasons that I can find is:
1) it can break firewalls
2) it can break some DHCP implementations ?
Is there any other reasons that I have missed ?
View 3 Replies
View Related
Jan 24, 2011
I have a school project that requries me to bypass MAC filtering by changing my MAC address.I changed my mac address through the following:
Code:
sudo service network-manager stop
sudo ifconfig wlan0 hw ether 00:11:22:33:44:55
[code]....
View 2 Replies
View Related
Sep 30, 2009
Router: Linksys WRT54GS
NIC: D-Link DWA-645 (RangeBooster N 650 NoteBook Adapter)
i have successfully changed my MAC address. By doing:
ifconfig wlan0 down
ifconfig wlan0 hw ether AA:BB:CC:11:22:33
ifconfig wlan0 up
When I do:
ifconfig wlan0, it shows my new MAC address.
After changing, I cannot connect to the Internet. I have already disable mac filtering in my router. What did I miss out?
View 5 Replies
View Related
Mar 1, 2011
in our server, Fedora 10 64 bit in this,IP Address is automatically changing Actually IP Address is 192.168.1.50 it changing frequently.if i try to edit that to normal it is not showing options. net mask is also is changing from 255.255.255.0 to 24 After reboot the system ,through LAN it is accessible .But not through the network.
View 2 Replies
View Related
Jun 24, 2010
I am doing a test on MAC learning and for that ,I need to change my MAC address of linux machine while the interface is UP. To be more clear, consider eth1 in a fedora core 8 machine. And while the interface is UP. I am running a script which changes the MAC address from 10:1:1:1:1:1 to 50:50:50:50:50:50 (i.e 50 times MAC address is changed) . When I try to change the MAC address when the interface it UP, it gives me the following error :
siocsifhwaddr : device or resource busy
I know the way of changing the MAC address by bringing down the interface but I need to know if this can be done while the interface is UP.
View 2 Replies
View Related
Feb 21, 2009
I am using Fedora 10 and when I first installed my machine, I had a DHCP assigned address to my network card. Later on I decided that I wanted to give my machine more of a server role, so I switched to static IP using the system-config-network utility. What happened after that was that I did change the IP address and routing information, but DNS information gets lost at every reboot, so I need to type it back again.
View 5 Replies
View Related
Jun 23, 2011
I've two WLAN AP's with both a different IPv6 subnet. When I change from one AP to the other, my IPv6 Global address stays valid and so is the default IPv6 gateway. After a while I get another Global address from the second AP's subnet and another default IPv6 gateway for the second subnet. Both have the same metric. IPv6 connectivity is broken now. When I disable wireless on the laptop and reenable it, it flushes all IP addresses and receives new ones and connectivity is restored. Does anyone know if this is normal behaviour or should it normaly flush all the addresses when changing network? It's a bit silly to have to disable/enable wireless all the time..
View 4 Replies
View Related
Jun 29, 2011
I'm not terribly new to Linux, but I am new to the forums, so hear me out! I am in the process of creating an electronic mapwall for our meteorology program, and have designed the computing system from scratch. I have two Linux Boxes, each with capabilities for 6 attached monitors...a total of 12 displays driven from two machines. My intention is to have one machine be the master...it has a touchpanel control. The inputs to the touchpanel will then trigger events for the both the master and the slave machine to display. Each of them has a specific IP address (DNS entry), and are not on a subnet.
Now...is there a way to remotely login to the slave machine and have it display on it's OWN monitors? The code is Java and which works on the master machine to animate directories of .gifs for each of the master's attached monitors. I will most likely have Java execute shell commands for the remote login (ssh), but I believe the answer lies somewhere in the X-configuration. Do I have the machines in an adverse configuration (creation of a subnet would be better)? Lots of questions...lots of desire...few answers!
View 2 Replies
View Related
Sep 13, 2010
I'll be dual booting Fedora and Windows 7. I'll be doing a lot of remote work (SSH/VNC). But, I would like to be able to switch between Fedora and Windows remotely.For instance, if my home computer was currently booted up to Fedora, and I was at work using VNC, I would like to be able to tell the computer to restart, but start up to Windows so that I could do remote on Windows (and vice-versa).Is this possible? It seems like it should be, I just don't know the best way to go about it. It seems like maybe a simple program could be written, that when run would just do a quick rewrite of the config file for the bootloader.
View 14 Replies
View Related
Apr 6, 2010
properly set up ssh to only allow one IP address to login remotely
View 2 Replies
View Related
Aug 20, 2010
If I need to adjust my network settings (rc.inet1.conf) on the fly, like if I need to be in the local network of a router I just bought (192.168.1.x), in order to change the subnet to the rest of my network (192.168.0.x), then I need to adjust the ip address of my slackware box. Up till now I have rewritten the rc.inet.conf file and then restarted the computer. I am almost positive that restarting is unneccesary, but I have not been successful in finding any other method. Maybe I am using the tool wrong, but I have tried using wicd to disconnect and then connect again once I change the rc.inet1.conf. I don't think it worked. I think I have also tried issuing a rc.inet1 restart. But I don't think that this changed my ip address either. How do you change your ip address on the quick without restarting your box?
View 7 Replies
View Related
Jul 21, 2011
If I change the primary ip address for DNS, do I need to reboot the server?
View 3 Replies
View Related
Mar 14, 2010
I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:
k-63a5b848c6cb4:~ # ping simba
PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=4 ttl=64 time=0.015 ms
Is the gateway doing something strange?
View 3 Replies
View Related
Dec 8, 2010
My ISP allows only one computer so I have to change the mac address.
On the other computer I use ubuntu and I've changed my mac address with both ifconfig and macchanger. The internet still doesn't work, it doesn't find the connection.
What should I do ?
[URL]
View 2 Replies
View Related
Jun 7, 2010
Is there any way where I can change the "from" address in the maillogs without
changing the envelop sender.
We have email users using smtp-auth with multiple email accounts but authenticating against single user account.So whenever a user sends mails through our server from any one of his multiple mail accounts,I want to be able to change the "From address" to the user he is authenticating against instead of the "from address" which he supplies, in the maillogs.
We have mimedefang running on our system,I tried using things like change_envelope_sender functions,but it only changed the envelope sender and did'nt change anything in the maillogs.
View 1 Replies
View Related
Aug 28, 2009
this seems silly but I am changing ISPs and need to change my notification email address (for here). Under User Menu -> Edit account it shows my email but does not allow me to change my email. Since I am able to post I assume I am logged in correctly. So what did I miss?
View 3 Replies
View Related
Mar 31, 2009
I need to know what the Iptables "code" is to change the outgoing/Incoming IP for port 53 (DNS). I'm running CentOS on a dedicated server. I very familiar with Putty and SSH. So I don't need much details, I just can't figure this out. I asked my server providor but they deleted my ticket and didn't answer me.I tried this but am not sure if this correct of working?
View 5 Replies
View Related
Jan 4, 2011
Does anyone know or recommend some software or a script to remotely power on a PC from standby to on, or even better from completely off?
I guess the completely OFF to ON is much more complicated - would probably require an extra piece of hardware(?)
View 2 Replies
View Related
Feb 24, 2010
Currently my OS is Ubuntu 9.04 Jaunty Jackalope Desktop OS and my web server is Apache2. I have a public address 60.x.y.z and my pc local address is 10.x.y.z. I have a web app in my Apache2 which currently run in localhost(10.x.y.z).
I would like to enable the web app so that it could be browse from outside. I know there maybe some port forwarding process and some commands involved in order to do that. But I have no idea on the steps to do that.
View 5 Replies
View Related
May 12, 2011
I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :
Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....
View 1 Replies
View Related
Apr 24, 2010
Consider the following program:
Code:
#include <stdio.h>
#include <stdint.h>
[code]...
View 2 Replies
View Related
Dec 16, 2010
Version 10.04 LTS. Installed desktop version and network worked but I needed a static IP address and the install configures for a DHCP configured address. I tried changing to static address using the System->Preferences->Network Connections application but was unable to get the system to come up with the network up.
So I manually modified the /etc/network/interfaces and the /etc/resolv.conf files. I restart the system but when I do an ifconfig, I don't see a configured IP address on eth0 (only the loopback address). If I run /sbin/ifup eth0 everything then works fine and ifconfig shows the correct address bound to eth0.
My files are as follows:
View 2 Replies
View Related
Mar 12, 2011
I'm running Ubuntu 10.10 and I'm having problems trying to assign it a static IP address. No matter what I put in the Preferences->Networking area (identifying the interface as Manual)... it still will query DHCP for an address if I run the dhclient command. I'm using to using ubuntu server where I just set the IP in the interfaces config file.
View 1 Replies
View Related
May 7, 2010
I am running my own Postfix mail server. Some time ago I noticed that most email was rejected because of the server's dynamic IP address. So I got a fixed IP address. However then I noticed that some mails got rejected due to failing the reverse DNS check. So my ISP told me to get a range of IP addresses and they could then create a PTR record for one of those addresses. That is now running but it turns out that the IP address used for the PTR record is a ... dynamic IP address. So Spamhaus PBL rejects my emails again.
View 1 Replies
View Related
Jun 7, 2009
I have a few external IP's assigned to me by my ISP. I have IPcop as my router/firewall. I am wondering how to bind 1 of my external ip's to my internal ip address. So I do not have to port forward, etc. For Example, 77.77.77.77 to 192.168.1.123 and on the server it see's the external IP address.
View 2 Replies
View Related
Oct 6, 2010
In my job I use some ethernet embedded devices. They take an ip address from dhcp server or auto ip. I only know mac address.How can I obtain ip from mac address? In other words I need a rarp packet generator.
View 6 Replies
View Related
Oct 28, 2010
I dont know for what reason, since 2 days, I started having this message whenever I try to start httpd.I commented "Listen 443", restarted httpd started correctly. I needed to comment "listen 443" in order to be able to start httpdWhat is strange is when I do
Code:
telnet mylinux 443
it responds
[code]...
View 9 Replies
View Related
May 29, 2011
how to assign a address to my ethernet card all the options available
View 1 Replies
View Related