1 |
Hi Andrej, |
2 |
|
3 |
Thank you for the fast reply. |
4 |
|
5 |
*** on SHR *** |
6 |
> # ip addr |
7 |
quite some output |
8 |
1: lo (loopback at inet 127.0.0.1/8) |
9 |
2: usb0 [...] inet 192.168.0.202/24 brd 192.168.0.255 |
10 |
3: eth0 [...] inet 192.168.0.42/24 brd 192.168.0.255 |
11 |
|
12 |
> What is in /etc/resolve.conf? |
13 |
cat /ect/reslov.conf |
14 |
nameserver 208.67.222.222 |
15 |
nameserver 208.67.220.220 |
16 |
|
17 |
> What say 'dig @8.8.8.8 gentoo.org'? |
18 |
/bin/sh: dig: not found |
19 |
(so the is no dig command) |
20 |
|
21 |
> What say ping 8.8.8.8? |
22 |
PING 8.8.8.8 (8.8.8.8): 56 data bites |
23 |
74 packets transmitted, 0 packets received ,100% packet lost |
24 |
|
25 |
*** on the chrooted GENTOO environment *** |
26 |
> # ip addr |
27 |
sh: ip command not found |
28 |
|
29 |
> What is in /etc/resolv.conf? |
30 |
there is no resolv.conf file |
31 |
|
32 |
> What say 'dig @8.8.8.8 gentoo.org'? |
33 |
/bin/sh: dig: not found |
34 |
|
35 |
> What say ping 8.8.8.8? |
36 |
PING 8.8.8.8 (8.8.8.8): 56(84) bytes of data |
37 |
From 192.168.0.202 icmp_seq=1 Destination Host Unreachable |
38 |
[...] |
39 |
5 packets transmitted, 0 received , +3 errors, 100% packet lost, time |
40 |
4027ms pipe 3 |
41 |
|
42 |
|
43 |
*** if i do the same from my gNewSense desktop whit ethernet cable |
44 |
connection *** |
45 |
> # ip addr |
46 |
elm@firebolt:~$ ip addr |
47 |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue |
48 |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 |
49 |
inet 127.0.0.1/8 scope host lo |
50 |
inet6 ::1/128 scope host |
51 |
valid_lft forever preferred_lft forever |
52 |
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100 |
53 |
link/ether 00:1d:72:92:d1:83 brd ff:ff:ff:ff:ff:ff |
54 |
inet 192.168.0.57/24 brd 192.168.0.255 scope global eth0 |
55 |
inet6 fe80::21d:72ff:fe92:d183/64 scope link |
56 |
valid_lft forever preferred_lft forever |
57 |
|
58 |
> What is in /etc/resolv.conf? |
59 |
elm@firebolt:~$ cat /etc/resolv.conf |
60 |
### BEGIN INFO |
61 |
# |
62 |
# Modified_by: NetworkManager |
63 |
# Process: /usr/bin/NetworkManager |
64 |
# Process_id: 4893 |
65 |
# |
66 |
### END INFO |
67 |
|
68 |
search Sauna |
69 |
|
70 |
|
71 |
nameserver 192.168.0.1 |
72 |
|
73 |
|
74 |
> What say 'dig @8.8.8.8 gentoo.org'? |
75 |
elm@firebolt:~$ dig @8.8.8.8 gentoo.org |
76 |
|
77 |
; <<>> DiG 9.4.2-P2.1 <<>> @8.8.8.8 gentoo.org |
78 |
; (1 server found) |
79 |
;; global options: printcmd |
80 |
;; Got answer: |
81 |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10108 |
82 |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 |
83 |
|
84 |
;; QUESTION SECTION: |
85 |
;gentoo.org. IN A |
86 |
|
87 |
;; ANSWER SECTION: |
88 |
gentoo.org. 3323 IN A 89.16.167.134 |
89 |
|
90 |
;; Query time: 43 msec |
91 |
;; SERVER: 8.8.8.8#53(8.8.8.8) |
92 |
;; WHEN: Wed Jun 15 00:06:55 2011 |
93 |
;; MSG SIZE rcvd: 44 |
94 |
|
95 |
> What say ping 8.8.8.8? |
96 |
elm@firebolt:~$ ping 8.8.8.8 |
97 |
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. |
98 |
64 bytes from 8.8.8.8: icmp_seq=1 ttl=53 time=43.7 ms |
99 |
64 bytes from 8.8.8.8: icmp_seq=2 ttl=53 time=44.1 ms |
100 |
64 bytes from 8.8.8.8: icmp_seq=3 ttl=53 time=43.4 ms |
101 |
64 bytes from 8.8.8.8: icmp_seq=4 ttl=53 time=44.0 ms |
102 |
64 bytes from 8.8.8.8: icmp_seq=5 ttl=53 time=44.0 ms |
103 |
|
104 |
--- 8.8.8.8 ping statistics --- |
105 |
5 packets transmitted, 5 received, 0% packet loss, time 3998ms |
106 |
rtt min/avg/max/mdev = 43.466/43.871/44.118/0.306 ms |
107 |
|
108 |
|
109 |
*** questions **** |
110 |
should i copy the /etc/resolv.conf from the desktop to the phone? the |
111 |
name server form the provider (saunalathi) should be the same. |
112 |
8.8.8.8 is the google DNS server - is this the better choice? |
113 |
|
114 |
I try to install qemu-user: |
115 |
# USE=static emerege -b1 app-emualtion/qemu-user |
116 |
[...] |
117 |
!!! All ebuilds that could satisfy "app-emulation/qemu-user" have been masked. |
118 |
[...] |
119 |
|
120 |
I guess I have first to get the wi-fi proper working in SHR and then |
121 |
try to install gentoo from scratch, then at the moment seems to be the |
122 |
biggest problem, that I have no internet access to the phone at all. |
123 |
What do you think? |
124 |
|
125 |
So long, Elmar |
126 |
|
127 |
|
128 |
|
129 |
/***** |
130 |
On 14 June 2011 12:28, Andrej Gelenberg <andrej.gelenberg@×××.edu> wrote: |
131 |
|
132 |
> Hi, |
133 |
> to chroot on desktop, you need quemu-user |
134 |
> (http://www.gentoo.org/proj/en/base/embedded/handbook/?part=1&chap=5). |
135 |
> |
136 |
> Get your phone an ip address? |
137 |
> # ip addr |
138 |
> |
139 |
> What is in /etc/resolve.conf? What say 'dig @8.8.8.8 gentoo.org'? What |
140 |
> say ping 8.8.8.8? |
141 |
> |
142 |
> Regards, |
143 |
> Andrej Gelenberg |
144 |
> |
145 |
> |
146 |
> On 06/14/2011 10:05 AM, elmar bucher wrote: |
147 |
>> Dear gentoo-embedded list members, |
148 |
>> |
149 |
>> I try to get gentoo installed on the openmoko freerunner phone, |
150 |
>> following the instruction at |
151 |
>> http://gentoo.mindzoo.de/index.cgi/wiki/native-compiling . |
152 |
>> (Last post on this prj page is about a year ago, but I still hoped to |
153 |
>> get it running.) |
154 |
>> |
155 |
>> I manged to: |
156 |
>> + fdisk the microSD card |
157 |
>> + format the root partition |
158 |
>> + format the swap partition |
159 |
>> + download the latest stage3 tarball and extract it on the root partition |
160 |
>> + download the latest portage tree and extract i to the root partition |
161 |
>> + set zoneinfo |
162 |
>> + set host name |
163 |
>> + uncomment unnecessary terminal in /ect/fstab |
164 |
>> + set locale-gen in inittab |
165 |
>> + chroot to the system |
166 |
>> + update environment (source /etc/profile && env-update) |
167 |
>> + set root passwd |
168 |
>> + enable sshd on startup (rc-update add sshd default) |
169 |
>> + set up usb networking (http://gentoo.mindzoo.de/index.cgi/wiki/USB_Networking) |
170 |
>> + remove consolefont from boot runlevel |
171 |
>> |
172 |
>> But now, by trying to installing layman (to choose a profile) I run |
173 |
>> into troubles: |
174 |
>> If I try to emerge layman on the chrooted environment the phone can |
175 |
>> not get an working internet connection. |
176 |
>> Am I supposed to have a working internet connection? |
177 |
>> I tried ping from the chrooted environment: |
178 |
>> ping gentoo.org |
179 |
>> ping: unknown host gentoo.org |
180 |
>> |
181 |
>> At the moment the phone have the latest version of shr installed. |
182 |
>> I can start wi-fi over "Iliwi" in shr. according to the message on the |
183 |
>> screen get wifi CONNECTED. |
184 |
>> how ever, if i try to ping from the non chrooted environment I get this: |
185 |
>> ping gentoo.org |
186 |
>> ping: bad address 'gentoo.org' |
187 |
>> |
188 |
>> The latest I tried: I plugged the microSD card into my desktop, where |
189 |
>> I tied to chroot to the environment. Without success. (Which somehow |
190 |
>> makes sense to me, since the kernel on the microSD card is not packed |
191 |
>> for the desktop hardware. But I am not sure if I am right.) |
192 |
>> |
193 |
>> So this two question remains: |
194 |
>> Do I need internet access on the phone (over wifi or the simcard) to |
195 |
>> be able to finish the gentoo installation? |
196 |
>> How can I install layman, that i can choose a profiles for openmoko? |
197 |
>> |
198 |
>> I'm grateful for any hints. |
199 |
>> So long, Elmar |
200 |
>> |
201 |
>> |
202 |
> |
203 |
> |
204 |
|
205 |
|
206 |
|
207 |
-- |
208 |
Using Gmail? Please read this important notice: |
209 |
http://www.fsf.org/campaigns/jstrap/gmail?8754. |