Discussion:
I can connect but not surf
(too old to reply)
Rodolfo Medina
2008-07-20 15:32:13 UTC
Permalink
...and the file /etc/resolv.conf is automatically changed by the system: how
can I avoid this?

Please, help.

Thanks
Rodolfo
Unruh
2008-07-20 17:28:14 UTC
Permalink
Post by Rodolfo Medina
...and the file /etc/resolv.conf is automatically changed by the system: how
can I avoid this?
What system? And to what is it changed?
Post by Rodolfo Medina
Please, help.
Thanks
Rodolfo
Rodolfo Medina
2008-07-21 01:43:51 UTC
Permalink
Post by Unruh
Post by Rodolfo Medina
...and the file /etc/resolv.conf is automatically changed by the system: how
can I avoid this?
What system?
Gnu Linux Debian Etch.
Post by Unruh
And to what is it changed?
I edit it with the following lines:

nameserver 193.70.152.25
nameserver 193.70.192.25


, but during the connection it is changed to:

nameserver 10.11.12.13
nameserver 10.11.12.14


. Thanks for help.
Rodolfo
Rodolfo Medina
2008-07-22 02:37:28 UTC
Permalink
Post by Rodolfo Medina
Post by Unruh
Post by Rodolfo Medina
...and the file /etc/resolv.conf is automatically changed by the system: how
can I avoid this?
What system?
Gnu Linux Debian Etch.
Post by Unruh
And to what is it changed?
nameserver 193.70.152.25
nameserver 193.70.192.25
nameserver 10.11.12.13
nameserver 10.11.12.14
Now I can browse, this way: I connect to internet, then I do:

# route del default
# route add default gw 10.64.64.64

, and edit /etc/resolv.conf as above.
But this procedure must be done again every time. It that all right, shall I
automate it with a script, or am I missing anything? Besides, the connection
turns out to be much slower than it should be (than it is in MS Windows,
e.g.).

This is /etc/chatscript/momo:

ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
'' ATZ
OK-AT-OK AT+CGDCONT=1,"IP","internet.wind"
OK-AT-OK AT+CGQREQ=1,2,4,3,6,31
OK-AT-OK AT+CGQMIN=1,2,4,3,6,31
OK-AT-OK AT+CGATT=1 OK-AT-OK ATD*99#
CONNECT ''

, and here is /etc/ppp/peers/momo:

hide-password
noauth
connect "/usr/sbin/chat -v -s -f /etc/chatscripts/momo"
debug
-crtscts
/dev/ttyUSB0
57600
defaultroute
noipdefault
remotename momo
ipparam momo
usepeerdns
nodetach



Help welcome.

Thanks
Rodolfo
James Carlson
2008-07-31 19:59:45 UTC
Permalink
Post by Rodolfo Medina
usepeerdns
If you don't want the peer to supply DNS server addresses, have you
tried removing that option/
--
James Carlson, Solaris Networking <***@sun.com>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
Rodolfo Medina
2008-08-13 17:32:11 UTC
Permalink
Post by Rodolfo Medina
...and the file /etc/resolv.conf is automatically changed by the system: how
can I avoid this?
Post by Rodolfo Medina
usepeerdns
If you don't want the peer to supply DNS server addresses, have you
tried removing that option/
Thanks, that worked!

Cheers
Rodolfo

Loading...