errors with ` hda-install` on existing fedora 9 system

devrieshh
Posts: 23
Joined: Wed Mar 11, 2009 11:12 am

Re: errors with ` hda-install` on existing fedora 9 system

Postby devrieshh » Mon Apr 27, 2009 10:11 am

after rebooting the system i havent internet acces(with static ip),after pointing dhcp in `network` and restarting network i have internet acces again.
when i want to open hda in browser it says, no hda on this server...
On amahi control center,after logging in,it doesnt "running" (green light),so the server hasnt "locked in" a dynamic ip address .It says` system missing` and than change ` to awaiting install`...
maybe because of the changed prompt? root@dhcpp0#


thanks for some advice

.

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

Re: errors with ` hda-install` on existing fedora 9 system

Postby cpg » Tue Apr 28, 2009 8:08 pm

it seems like you have a busted network configuration.

when you use dhcp from your router what IP you get?

what settings for network did you set up in amahi.org?

i bet you they are different networks?
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

devrieshh
Posts: 23
Joined: Wed Mar 11, 2009 11:12 am

Re: errors with ` hda-install` on existing fedora 9 system

Postby devrieshh » Fri May 01, 2009 2:31 pm

│ Name eth0________________ │
│ Device eth0________________ │
│ Use DHCP [ ] │
│ Static IP 192.168.1.10________ │
│ Netmask 255.255.255.0_______ │
│ Default gateway IP 192.168.1.1_________ │
│ │
│ ┌────┐ ┌────────┐ │
│ │ Ok │ │ Cancel │ │
│ └────┘ └────────┘ │
│ │
│ │
└─────────────────────────────────────────┘
after using DHCP...

[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:2C:7F:C4
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fe2c:7fc4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2314 (2.2 KiB) TX bytes:18714 (18.2 KiB)
Interrupt:19 Base address:0xc020


this are my networksettings.
I tryed filling in static ip 10.0.2.15 but that didnt work...

eth0________________ │
│ Device eth0________________ │
│ Use DHCP [ ] │
│ Static IP 10.0.2.15________ │
│ Netmask 255.255.255.0_______ │
│ Default gateway IP 192.168.1.1_________ │
│ │
│ ┌────┐ ┌────────┐ │
│ │ Ok │ │ Cancel │ │
│ └────┘ └────────┘ │

should the Default gateway IP something else?
thanks for some advise.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: errors with ` hda-install` on existing fedora 9 system

Postby moredruid » Sat May 02, 2009 1:45 am

uhm yes, you're mixing two different networks/subnets:
first: your host is in network 10.0.0.0
second: your gateway is in network 192.168.0.0
if you don't have a router inbetween those two networks (routing the traffic from one network to another) this won't work. funny thing is that that router is then your default gateway :)

soooo how do you resolve? either configure your router to be in the range of your host (10.0.0.x) or the other way around (192.168.0.x)
Just make sure your gateway is in the same network as the hda/pc's etc... so they either all have 10.0.0.x addresses or 192.168.0.x addresses. Of course IP addresses need to be unique.

my config:
router 192.168.1.1
hda 192.168.1.2
printer 192.168.1.3
wii 192.168.1.4
network hdd 192.168.1.5
rest is done over dhcp/configured manually from .6 to .10
I tend to reserve 192.168.x.1 through 192.168.x.20 for manual stuff/servers etc.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

devrieshh
Posts: 23
Joined: Wed Mar 11, 2009 11:12 am

Re: errors with ` hda-install` on existing fedora 9 system

Postby devrieshh » Sat May 02, 2009 1:09 pm

│ │
Whell,i added hda static ip in hda,that i reached by typing 192.168.1.10 in firefox,than adding hda and static ip as new user in hda,but still do i have only internet with dhcp...

thanks for some advice │


│ Name eth0________________ │
│ Device eth0________________ │
│ Use DHCP [ ] │
│ Static IP 192.168.1.10________ │
│ Netmask 255.255.255.0_______ │
│ Default gateway IP 192.168.1.1_________ │
│ │
│ ┌────┐ ┌────────┐ │
│ │ Ok │ │ Cancel │ │
│ └────┘ └────────┘ │
│ │
│ │
└─────────────────────────────────────────┘

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

Re: errors with ` hda-install` on existing fedora 9 system

Postby cpg » Sat May 02, 2009 1:22 pm

have you read the Amahi Setup Guide ?

at one point you said:
I have reinstalled fedora 9 with amahi(recommended way)and everything went ok.
what happened?

now - if you are messing with the network configurations at the fedora level, it's probably not going to work.

the system is designed so that your settings in amahi.org as you entered them have to match your network/router configuration.

so, perhaps you need to figure out first what your router/gateway address is.

then program your settings in http://www.amahi.org/user to be exactly matching what you have.

after that, you should have picked an address for your hda within that network. the install will make sure this is configured as a static address.

you should not be touching the network configuration in fedora, because amahi will override it anyway.

now - with new configuration, which we can change, or you can also change by deleting your HDA profile and creating a new one, you can type

Code: Select all

hda-install -f -n YOURINSTALLCODE
with your old (or new, of you created a new profile), and this will re-sync your network settings.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: errors with ` hda-install` on existing fedora 9 system

Postby moredruid » Sun May 03, 2009 1:28 am

perhaps it's indeed best to create a new installation profile, but one matching your current network settings in your router. You can always revert to the old config if you need the old settings.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

devrieshh
Posts: 23
Joined: Wed Mar 11, 2009 11:12 am

Re: errors with ` hda-install` on existing fedora 9 system

Postby devrieshh » Sun May 03, 2009 5:20 am

I reinstalled amahi withmy actual internet settings 10.0.2.2 etc.instead of 192.168.x.x and finally completed the install of amahi...

thanks for the help

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: errors with ` hda-install` on existing fedora 9 system

Postby moredruid » Mon May 04, 2009 7:18 am

great to hear it finally works for you!

@cpg: perhaps we should add a little to the installation manual, for instance how to obtain the current IP address of the system to see which network is currently configured on the host from which the installation manual is being read (do I make sense?)
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

devrieshh
Posts: 23
Joined: Wed Mar 11, 2009 11:12 am

Re: errors with ` hda-install` on existing fedora 9 system

Postby devrieshh » Mon May 04, 2009 10:47 am

yes, you have to do an ifconfig than probably after enabling dhcp to amahi.org login,getting new profile,use ifconfig ip for hda and the rest of ifconfig output,than run hda-install -f (code)..

yes, it worked on both computers, on virtualbox (with ip 10.0.xx) and a normal system(192.168.xx)

Most important thing is adding the correct ip in amahi controllcenter on http://www.amahi.org (what you can get with ifconfig command) then everything goes by itself.

Who is online

Users browsing this forum: No registered users and 12 guests