Welcome! Log In Create A New Profile

Advanced

GoFlexHome Debian - after installation

Posted by mario 
mario
GoFlexHome Debian - after installation
August 13, 2011 08:44PM
Hello,

i'm facing an after installation problem with my goflexhome... hope someone could help me..

I have successfully installed debian on an external usb stick of my goflexhome but then I don't get any LAN connection to the device after having it rebooted.. The device seems to have booted correctly from the usb stick as I can see that the LED stays green after a while...

but how can I get a connection to my goflexhome again??

Would be very thankful for every kind of help!
mario
Re: GoFlexHome Debian - after installation
August 13, 2011 09:17PM
I just changed the content of /etc/resolv.conf so that the device could have a static ip address...but still somehow the network interface of the goflexhome is not working (anymore?) ...?

==========
resolv.conf
==========
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.222
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
==========================

any idea?
Re: GoFlexHome Debian - after installation
August 14, 2011 05:00AM
Hi, mario
the resolv.conf look like
#
domain localdomain
search localdomain
nameserver 192.168.0.1

#
paste your example in /etc/network/interfaces
mario
Re: GoFlexHome Debian - after installation
August 14, 2011 06:59AM
@lingab
Thanks for ur replY but sorry it was a misunderstanding on my side.

This are the content of my resolv.conf:
nameserver 192.168.0.1

and these are of my /etc/network/interfaces:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.222
gateway 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255

But still I can't even ping it on 192.168.0.222... =(

FYI: I've been following these instructions:

==========
cd /tmp
wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd -O uInitrd
wget http://jeff.doozan.com/debian/goflex/v0.6/ubit_start -O ubit_start
chmod +x ubit_start
./ubit_start

# the prompt should read 'ubit0-6:~#'
uboot_uptodate
# As long as this installed OK, you are done. The U-Boot is up to date and the NAND
# installed Plugbox should still work fine.

chain_install goflexnet # (optional) write copy of pogoplug U-boot to spare space on /dev/mtd1

exit # return to plugbox

cd /tmp
wget http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.28_all.deb
ar -xf debootstrap_1.0.28_all.deb
tar -C / -xvzf data.tar.gz

cd /tmp
umount /dev/sda1
mke2fs -j /dev/sda1 # warning. this deletes the current contents
tune2fs -L "rootfs" /dev/sda1
mkdir -p installdisk
mount /dev/sda1 installdisk

time debootstrap --arch=armel --include=ntp,openssh-server squeeze \
/tmp/installdisk http://ftp.us.debian.org/debian

time chroot /tmp/installdisk /bin/bash
echo "armdebian" > /etc/hostname
echo "auto lo" >> /etc/network/interfaces
echo "iface lo inet loopback" >> /etc/network/interfaces
echo "auto eth0" >> /etc/network/interfaces
echo "iface eth0 inet dhcp" >> /etc/network/interfaces
echo "deb-src http://ftp.us.debian.org/debian squeeze main" >> /etc/apt/sources.list
wget http://jeff.doozan.com/debian/goflex/v0.6/v2.6.37/boot.tar.gz
wget http://jeff.doozan.com/debian/goflex/v0.6/v2.6.37/modules.tar.gz
mkdir -p /boot
tar -C /boot -xvzf boot.tar.gz
tar -C / -xvzf modules.tar.gz
wget http://jeff.doozan.com/debian/goflex/v0.6/uInitrd -O /boot/uInitrd
passwd root # this requires your input of a new password.
exit # exit the chroot
reboot
===============

I passed all the steps without any errors, but then the problem occurs after rebooting the device..

Would be very thankful of any suggestions!
Re: GoFlexHome Debian - after installation
August 14, 2011 09:47AM
Hi, marco
now interfaces
##
echo "iface eth0 inet dhcp" >> /etc/network/interfaces,
##
ask your router for correct ip adress.
Do you have some log.
mario
Re: GoFlexHome Debian - after installation
August 14, 2011 10:26AM
Hi lingab,

dhcp configuration was already set by the following commands during the "installation":

=================0
time chroot /tmp/installdisk /bin/bash
echo "armdebian" > /etc/hostname
echo "auto lo" >> /etc/network/interfaces
echo "iface lo inet loopback" >> /etc/network/interfaces
echo "auto eth0" >> /etc/network/interfaces
echo "iface eth0 inet dhcp" >> /etc/network/interfaces
echo "deb-src http://ftp.us.debian.org/debian squeeze main" >> /etc/apt/sources.list
=====================

I just found out that my goflexhome didn't boot or it won't boot from the usb device, although it should be as I already done the following commands:

===========0
time debootstrap --arch=armel --include=ntp,openssh-server squeeze /tmp/installdisk http://ftp.us.debian.org/debian
===============

/tmp/installdisk is by the way a temporary folder in the usb device..

Have I done somethin wrong for the boot configuration?

How can I get some log from the debian installation on the usb device?

Thanks!
Re: GoFlexHome Debian - after installation
August 14, 2011 11:29AM
hi, marco
put the usb stick in another computer, and search dmesg or syslog
No dmesg or syslog are in the folder :(, then you need connection with
a serial cable.
Re: GoFlexHome Debian - after installation
August 25, 2011 07:35AM
lingab Wrote:
-------------------------------------------------------
> hi, marco
> put the usb stick in another computer, and search
> dmesg or syslog
> No dmesg or syslog are in the folder :(, then you
> need connection with
> a serial cable.

Yes, that was what I have been doing, too.

Plug the usb stick to my computer and see, if there have been any files touched or modified (has the system booted at all?) and modify /etc/network/interfaces to my needs, too.

One handy tool is newest, I found one day at the internet, which lists e. g. the newest files in the specified paths and by default any subdirectories.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: