Changing ip adress, SOLVED

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Changing ip adress, SOLVED

Postby Vertigo500 » Wed Apr 06, 2011 8:44 pm

I have a HDA with the ip 10.0.0.10. I have just moved, and i am using mobile broadband. I have to use ip range 192.168.0.xx. I cannot use the HDA as DCPH server. The reason is that i have a laptop with a 3g modem. Then i am sharing the modem on my network. As far i i can find out, the laptop then HAS to be in control of DCHP.

How do i change ip on my HDA?

The emergency solution i have used until now, is to have my laptops connect to internet via wireless, with automatic DCHP with the ip range of 192.168.0.x, and via network cable to the same access point with static ip of 10.0.0.x, so i could access my hda and internet at the same time. Not an optimal solution, and my HDA has not accessed the internet this week.

Please help me to solve this, its driving me mad. I need access to my HDA, so my kids can watch movies.
Last edited by Vertigo500 on Fri Apr 08, 2011 10:40 pm, edited 4 times in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Changing ip adress

Postby bigfoot65 » Thu Apr 07, 2011 2:28 pm

Hello,

You change the gateway/router IP via a script. As root user, do:

hda-change-gw 192.168.0.x

Set x to whatever your router uses, typically a 1. You will then need to restart everything. I am not sure if this will reset the IP address for your HDA, but it might.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Changing ip adress

Postby Vertigo500 » Fri Apr 08, 2011 10:20 am

Looked promising after the command. Was told to restart everything on the network.

Now fedora wont start or is taking foreeeever to start. 2 attempt.

Edit: In started at last, but i cannot find the hda on the network.
What is the command to display the ip to confirm what it is? Think i found it. Trying with another adress.

Edit2: Set it to 192.168.0.150 cannot ping it from other machines. None of my pc`s can mount it. Cannot reach it via browsers like this: hda/setup?sub=disks&tab=storage

Could it be the network mask that is incorrect? How do i check it/set it?


What can i do?

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Changing ip adress

Postby Vertigo500 » Fri Apr 08, 2011 11:25 am

I have tested with another laptop, and set a static IP to 192.168.0.135, and 192.168.0.151. Both worked fine, connected to internet from the pc, and could ping to it from another laptop.

The HDA at 192.168.0.150 cannot connect to internet and i cannot ping it. Could it be the network mask? Anything else? Please dont tell me to reinstall.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Changing ip adress, HELP its for the kids!

Postby cpg » Fri Apr 08, 2011 5:13 pm

We cannot typically support changing the last byte of the IP of the HDA. The rest bigfoot65 told you how to change it.

It is recommended that you uninstall all the apps, then do the hda-change-gw.

Otherwise run the networking troubleshoot wizard.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Changing ip adress, HELP its for the kids!

Postby Vertigo500 » Fri Apr 08, 2011 10:15 pm

I feel stupid now. I was using the command, not realising i was setting the gateway. Corrected it, but i cannot ping 192.168.0.1 from hda, or the hda.

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Changing ip adress, HELP its for the kids!

Postby Vertigo500 » Fri Apr 08, 2011 10:39 pm

Thanks to your links i finally figured it out. Turns out the network cable has to be connected. :oops:

Who is online

Users browsing this forum: No registered users and 10 guests