The Motorola Development Community


Go Back   MotorolaFans.com Forums > Developments > Development
Notices

Development Hacking, development, scripts etc

Reply

MotoFans NWBE

Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Quote  
#1
05-06-2008
Default banal question: changing the dns

hi,

I'm using ezx-bluepppd to connect to the internet from the phone with the GizMoto firmware, I'm able to ping ips, so the connection is working.

one small detail is that I was not able to change the dns to something like 4.2.2.2, because /etc/resolv.conf is in read only mode and /ezxlocal/rwetc (IIRC) is writable but doesn't affect the resolving of hosts.

any hints?

thanks
Reply With Quote


User Information
Current Phone: a1200e
Firmware: GizMoto La Verne Build 59
kpa1200e is offlineReport Post
MotoFans NWBE

Join Date: Mar 2008
Posts: 10
Thanks: 4
Thanked 24 Times in 4 Posts
Location: Moscow

Send a message via ICQ to borman
Quote  
#2
05-07-2008
Default

that's simple. It's a common method:
Code:
echo 'nameserver 4.2.2.2' > /tmp/resolv.conf
mount --bind /tmp/resolv.conf /etc/resolv.conf
Another way is to use U3 mod that has r/w jffs2 root filesystem.
Reply With Quote


User Information
Current Phone: A1200e
Firmware: R541_G_11.52.14R_U3
Location: Moscow

borman is offlineReport Post
MotoFans NWBE

Join Date: Mar 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Quote  
#3
05-07-2008
Default

Quote:
Originally Posted by borman View Post
that's simple. It's a common method:
Code:
echo 'nameserver 4.2.2.2' > /tmp/resolv.conf
mount --bind /tmp/resolv.conf /etc/resolv.conf
Another way is to use U3 mod that has r/w jffs2 root filesystem.
thanks borman
Reply With Quote


User Information
Current Phone: a1200e
Firmware: GizMoto La Verne Build 59
kpa1200e is offlineReport Post
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:29 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.