Hi Roberto,
Try change voyage-custom.sh line 363 :
from:
if [ -f "$TARGET_DIR"/ro/etc/resolv.conf ] ; then
to:
if [ ! -f "$TARGET_DIR"/ro/etc/resolv.conf ] ; then
to see your resolv.conf override will work.
Regards,
Punky
Roberto Riggio wrote:
IO've also tried to use the following configuration:
overlay_fs
--ro
--etc
--resolv.conf
but still the final distro contains the wrong resolv.conf.
Yes my PC gets autmatically the DNS using dhcp. But in the
WRAP box i would like to use one specific dns.
Bye
----- Original Message -----
From: Kim-man \"Punky\" TSE <[EMAIL PROTECTED]>
To: roberto riggio <[EMAIL PROTECTED]>
Cc: voyage-linux <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2007 6:57:44 PM GMT+0100 Europe/Berlin
Subject: Re: [Voyage-linux] resolv.conf in customization framework
Hi Roberto,
One more note is that if your network interface (etho) gets the IP from
dhcp, resolv.conf will be changed using the DNS supplied by DHCP server
when the interface is up.
Right now, even with voyage, I see that /ro/etc/resolv.conf and
/rw/etc/resolv.conf are different.
- Punky
Kim-man "Punky" TSE wrote:
Hi Roberto,
I see. etc/resolv.conf is a symlink. So you should better put
resolv.conf to ro/etc/resolv.conf.
- Punky
Roberto Riggio wrote:
I've downloaded the latest nightly code from
http://www.voyage.hk/download/nightly/voyage-custom/
I've also downloaded voyage-0.3pre3.
I've create a custom project called myprj, in this folder I have
(among other things):
myprj
...
-overlay_fs
|-etc
|-> resolv.conf
...
The I launch the following command:
voyage-custom.sh <path to voyage-0.3> myprj
Then I flash the voyage-myprj con the CF.
However when I boot the WRAP board there is another resolv.conf.
More specifically there is the resolv.conf that was available in my PC.
Hope that I was able to explain my situation
----- Original Message -----
From: Kim-man \"Punky\" TSE <[EMAIL PROTECTED]>
To: roberto riggio <[EMAIL PROTECTED]>
Cc: voyage-linux <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2007 6:36:53 PM GMT+0100 Europe/Berlin
Subject: Re: [Voyage-linux] resolv.conf in customization framework
No customization framework (voyage-custom.sh) shipped in 0.3
I still don't catch your problem...
- Punky
Roberto Riggio wrote:
Hi,
I'm already using the nightly build (20070314).
I'm putting my resolt.conf in overlay_fs/etc.
However in the customized version of voyage there is another
resolv.conf.
What do you mean that there will be no customization framework in
0.3???
Bye
----- Original Message -----
From: Kim-man 'Punky' TSE <[EMAIL PROTECTED]>
To: roberto riggio <[EMAIL PROTECTED]>
Cc: voyage-linux <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2007 11:43:37 AM GMT+0100 Europe/Berlin
Subject: Re: [Voyage-linux] resolv.conf in customization framework
Hi Roberto,
There will be no customization framework in 0.3 distro. You can
download from the nightly code.
http://www.voyage.hk/download/nightly/voyage-custom/
Please also subscribe to voyage-linux mailing list (see
http://list.voyage.hk/mailman/listinfo/voyage-linux)
Regards,
Punky
Roberto Riggio wrote:
Hi,
I've put a resolv.conf file in overlay_fs/etc.
However in the final customized version of voyage my resolv.conf
file is not
available. Instead there is the resolv.conf of the computer that
I've used for the
building process.
Is this abug or I'm missing something.
Thanks
Roberto
--
P U N K N ! X . c o m
Technology + Lifestyle
(http://www.punknix.com)
V O Y A G E . H K - http://www.voyage.hk
Linux - voyage-0.3pre3 is released!
Store - New stock for Senao NMP8601 and NMP8602 (100mW)!
- New low price for Senao NMP-8602 Plus (400mW)!
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux