From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QWbkw-0005gC-Iu for garchives@archives.gentoo.org; Tue, 14 Jun 2011 22:06:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1A991C212 for ; Tue, 14 Jun 2011 22:06:41 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5164F1C00E for ; Tue, 14 Jun 2011 21:40:47 +0000 (UTC) Received: by wyi11 with SMTP id 11so5763665wyi.40 for ; Tue, 14 Jun 2011 14:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FKA5lF/q6Lq1wlSmhP5HZsOKWppPtDS1B5PU5oxIHZQ=; b=qBaH7EpliObIeg3dSpB/BgHBGXdyZ8/9ABWluPXLeqOyXlWVLzCn5wsrFTcVFH+xuN Z9X30MJOS4UnBUHbIDDXlGYeFMaGg94MSK0wedmzHxN7Ne60BkRTFWkkJb4qN+SpQjpb PZOw/ctWP9+mTLRgPC7xuGkMNg1JkBx25+bHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Vpv5J0gAL/qqy4xb2hzdVqxtPJpaaMrPjKhS0MDfWaI8uCYFpvUxcTnitPqSBWBS2m Rba0J7F1/MzCKpPMTQPsYjfKpsdWk2fnDnvPG7cZTeo/2Qntub1gJBfZNLjXQXWKwqkQ wCf6+e91DHvKA1VmR2s5cMHUX9FM7hxiq2510= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.230.215 with SMTP id j65mr6660380weq.24.1308087647233; Tue, 14 Jun 2011 14:40:47 -0700 (PDT) Received: by 10.216.172.146 with HTTP; Tue, 14 Jun 2011 14:40:47 -0700 (PDT) In-Reply-To: <4DF729BE.5030204@udo.edu> References: <4DF729BE.5030204@udo.edu> Date: Wed, 15 Jun 2011 00:40:47 +0300 Message-ID: Subject: Re: [gentoo-embedded] gentoo installation on openmoko freerunner From: elmar bucher To: Andrej Gelenberg Cc: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: be47e9c698ecf875a25dc88a3c61b7f8 Hi Andrej, Thank you for the fast reply. *** on SHR *** > # ip addr quite some output 1: lo (loopback at inet 127.0.0.1/8) 2: usb0 [...] inet 192.168.0.202/24 brd 192.168.0.255 3: eth0 [...] inet 192.168.0.42/24 brd 192.168.0.255 > What is in /etc/resolve.conf? cat /ect/reslov.conf nameserver 208.67.222.222 nameserver 208.67.220.220 > What say 'dig @8.8.8.8 gentoo.org'? /bin/sh: dig: not found (so the is no dig command) > What say ping 8.8.8.8? PING 8.8.8.8 (8.8.8.8): 56 data bites 74 packets transmitted, 0 packets received ,100% packet lost *** on the chrooted GENTOO environment *** > # ip addr sh: ip command not found > What is in /etc/resolv.conf? there is no resolv.conf file > What say 'dig @8.8.8.8 gentoo.org'? /bin/sh: dig: not found > What say ping 8.8.8.8? PING 8.8.8.8 (8.8.8.8): 56(84) bytes of data >From 192.168.0.202 icmp_seq=3D1 Destination Host Unreachable [...] 5 packets transmitted, 0 received , +3 errors, 100% packet lost, time 4027ms pipe 3 *** if i do the same from my gNewSense desktop whit ethernet cable connection *** > # ip addr elm@firebolt:~$ ip addr 1: lo: mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc pfifo_fast qlen 1= 00 link/ether 00:1d:72:92:d1:83 brd ff:ff:ff:ff:ff:ff inet 192.168.0.57/24 brd 192.168.0.255 scope global eth0 inet6 fe80::21d:72ff:fe92:d183/64 scope link valid_lft forever preferred_lft forever > What is in /etc/resolv.conf? elm@firebolt:~$ cat /etc/resolv.conf ### BEGIN INFO # # Modified_by: NetworkManager # Process: /usr/bin/NetworkManager # Process_id: 4893 # ### END INFO search Sauna nameserver 192.168.0.1 > What say 'dig @8.8.8.8 gentoo.org'? elm@firebolt:~$ dig @8.8.8.8 gentoo.org ; <<>> DiG 9.4.2-P2.1 <<>> @8.8.8.8 gentoo.org ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10108 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;gentoo.org. IN A ;; ANSWER SECTION: gentoo.org. 3323 IN A 89.16.167.134 ;; Query time: 43 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Wed Jun 15 00:06:55 2011 ;; MSG SIZE rcvd: 44 > What say ping 8.8.8.8? elm@firebolt:~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=3D1 ttl=3D53 time=3D43.7 ms 64 bytes from 8.8.8.8: icmp_seq=3D2 ttl=3D53 time=3D44.1 ms 64 bytes from 8.8.8.8: icmp_seq=3D3 ttl=3D53 time=3D43.4 ms 64 bytes from 8.8.8.8: icmp_seq=3D4 ttl=3D53 time=3D44.0 ms 64 bytes from 8.8.8.8: icmp_seq=3D5 ttl=3D53 time=3D44.0 ms --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3998ms rtt min/avg/max/mdev =3D 43.466/43.871/44.118/0.306 ms *** questions **** should i copy the /etc/resolv.conf from the desktop to the phone? the name server form the provider (saunalathi) should be the same. 8.8.8.8 is the google DNS server - is this the better choice? I try to install qemu-user: # USE=3Dstatic emerege -b1 app-emualtion/qemu-user [...] !!! All ebuilds that could satisfy "app-emulation/qemu-user" have been mask= ed. [...] I guess I have first to get the wi-fi proper working in SHR and then try to install gentoo from scratch, then at the moment seems to be the biggest problem, that I have no internet access to the phone at all. What do you think? So long, Elmar /***** On 14 June 2011 12:28, Andrej Gelenberg wrote: > Hi, > to chroot on desktop, you need quemu-user > (http://www.gentoo.org/proj/en/base/embedded/handbook/?part=3D1&chap=3D5)= . > > Get your phone an ip address? > # ip addr > > What is in /etc/resolve.conf? What say 'dig @8.8.8.8 gentoo.org'? What > say ping 8.8.8.8? > > Regards, > Andrej Gelenberg > > > On 06/14/2011 10:05 AM, elmar bucher wrote: >> Dear gentoo-embedded list members, >> >> I =C2=A0try to get gentoo installed on the openmoko freerunner phone, >> following the instruction at >> http://gentoo.mindzoo.de/index.cgi/wiki/native-compiling . >> (Last post on this prj page is about a year ago, but I still hoped to >> get it running.) >> >> I manged to: >> + fdisk the microSD card >> + format the root partition >> + format the swap partition >> + download the latest stage3 tarball and extract it on the root partitio= n >> + download the latest portage tree and extract i to the root partition >> + set zoneinfo >> + set host name >> + uncomment =C2=A0unnecessary terminal in /ect/fstab >> + set locale-gen in inittab >> + chroot to the system >> + update environment (source /etc/profile && env-update) >> + set root passwd >> + enable sshd on startup (rc-update add sshd default) >> + set up usb networking (http://gentoo.mindzoo.de/index.cgi/wiki/USB_Net= working) >> + remove consolefont from boot runlevel >> >> But now, by trying to installing layman (to choose a profile) I run >> into troubles: >> If I try to emerge layman on the chrooted environment the phone can >> not get an working internet connection. >> Am I supposed to have a working internet connection? >> I tried ping from the chrooted environment: >> =C2=A0ping gentoo.org >> =C2=A0ping: unknown host gentoo.org >> >> At the moment the phone have the latest version of shr installed. >> I can start wi-fi over "Iliwi" in shr. according to the message on the >> screen get wifi CONNECTED. >> how ever, if i try to ping from the non chrooted environment I get this: >> =C2=A0 ping gentoo.org >> =C2=A0 ping: bad address 'gentoo.org' >> >> The latest I tried: I plugged the microSD card into my desktop, where >> I tied to chroot to the environment. Without success. (Which somehow >> makes sense to me, since the kernel on the microSD card is not packed >> for the desktop hardware. But I am not sure if I am right.) >> >> So this two question remains: >> Do I need internet access on the phone (over wifi or the simcard) to >> be able to finish the gentoo installation? >> How can I install layman, that i can choose a profiles for openmoko? >> >> I'm grateful for any hints. >> So long, Elmar >> >> > > --=20 Using Gmail? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?8754.