Re: Network Manager and Ubumtu 8.10
- From: Ryan Novosielski <novosirj umdnj edu>
- To: networkmanager-list gnome org
- Subject: Re: Network Manager and Ubumtu 8.10
- Date: Thu, 16 Apr 2009 13:16:07 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
For me, yes it did. I tried a number of times to get resolvconf to work
- -- I don't understand what's going on with it.
Dan Williams wrote:
> On Wed, 2009-04-15 at 16:24 -0500, Alvaro Isaza wrote:
>> Thank You Martin,
>>
>> Your solution works.
>
> Does it also work if you uninstall the 'resolvconf' package and stop
> using Martin's script?
>
> Dan
>
>
>> Regards,
>>
>> Alvaro Isaza
>>
>> Martin Bammer wrote:
>>> I had the same problem with 0.7.0. I solved it with the following self
>>> written script:
>>> #!/bin/sh
>>>
>>> sleep 5
>>>
>>> while true; do
>>> if [ "x`ifconfig ppp0 2>/dev/null | grep inet`" != "x" ]; then
>>> if [ "x`cat /etc/resolv.conf | grep nameserver`" = "x" ]; then
>>> echo "DNS entries missing! Repairing it."
>>> cp /etc/resolv.conf.provider /etc/resolv.conf
>>> fi
>>> fi
>>> sleep 5
>>> done
>>>
>>> Then add the following line to /etc/rc.local:
>>> /usr/local/bin/dns_workaround.sh &
>>>
>>> Assuming you have saved the above script
>>> in /usr/local/bin/dns_workaround.sh.
>>>
>>> In the last step create a file /etc/resolv.conf.provider with correct
>>> entries.
>>>
>>> I know it doesn't solve the problem in nm, but it will hopefully solve
>>> your problem ;-)
>>>
>>> Cheers, Martin
>>>
>>>
>>> Am Mittwoch, den 15.04.2009, 15:33 -0500 schrieb Alvaro Isaza:
>>>
>>>> /etc/resolv.conf
>>>> ==================
>>>> # Generated by NetworkManager
>>>> ==================
>>>>
>>>> That's all.
>>>>
>>>> Alvaro
>>>>
>>>> Dan Williams wrote:
>>>>
>>>>> On Mon, 2009-04-13 at 12:16 -0500, Alvaro Isaza wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I where working with full success with a Huawei E226 USB modem in Ubuntu
>>>>>> 8.04 Hardy and NetworkManager, now I need to use it in other PC with
>>>>>> Ubuntu 8.10 Intrepid, the connection is established but it doesn't
>>>>>> actualize the DNS, for that reason I can't access the internet.
>>>>>>
>>>>>> My configuration for Ubuntu 8.04:
>>>>>>
>>>>>> /etc/network/interfaces
>>>>>> =====================
>>>>>> auto lo
>>>>>> iface lo inet loopback
>>>>>>
>>>>>> iface ppp0 inet ppp
>>>>>> provider ppp0
>>>>>> =====================
>>>>>>
>>>>>> /etc/ppp/peers/ppp0
>>>>>> =====================
>>>>>> /dev/ttyUSB0
>>>>>> 115200
>>>>>> user "comcelweb"
>>>>>> connect "/usr/sbin/chat -v -f /etc/chatscripts/ppp0"
>>>>>> noipdefault
>>>>>> defaultroute
>>>>>> noauth
>>>>>> usepeerdnsABORT 'BUSY'
>>>>>> ABORT 'NO CARRIER'
>>>>>> ABORT 'ERROR'
>>>>>> '' AT
>>>>>> OK AT+CGATT=1
>>>>>> OK AT+CGDCONT=1,"IP","internet.comcel.com.co"
>>>>>> OK ATD*99#
>>>>>> =====================
>>>>>>
>>>>>> /etc/chatscripts/ppp0
>>>>>> =====================
>>>>>> TIMEOUT 3
>>>>>> ABORT BUSY
>>>>>> ABORT 'NO CARRIER'
>>>>>> ABORT VOICE
>>>>>> ABORT 'NO DIALTONE'
>>>>>> ABORT 'NO DIAL TONE'
>>>>>> ABORT 'NO ANSWER'
>>>>>> ABORT DELAYED
>>>>>> "" ATZ
>>>>>> OK ATQ0V1E1S0=0&C1&D2
>>>>>> OK AT+CGDCONT=1,"IP","internet.comcel.com.co"
>>>>>> OK ATDT*99#
>>>>>> CONNECT ""
>>>>>>
>>>>>> In Ubuntu 8.10 I added:
>>>>>>
>>>>>> <!-- Colombia -->
>>>>>> <country code="co">
>>>>>> <provider>
>>>>>> <name>Comcel</name>
>>>>>> <gsm>
>>>>>> <apn>internet.comcel.com.co</apn>
>>>>>> </gsm>
>>>>>> <username>comcelweb</username>
>>>>>> <password>comcelweb</password>
>>>>>> <dns>198.228.90.211</dns>
>>>>>> </provider>
>>>>>> </country>
>>>>>>
>>>>>> to serviceproviders.xml and added this connection to Mobile broadband,
>>>>>> when active, "Connection Information" reports:
>>>>>>
>>>>>> Comcel (default)
>>>>>> Interface: GSM(ttyUSB0)
>>>>>> Hardware Address:
>>>>>> Driver: option
>>>>>> Speed: Unknown
>>>>>> Security: Unknown
>>>>>> IP Address: 166.238.152.184
>>>>>> Broadcast Address: 166.238.152.184
>>>>>> Subnet mask: 255.255.255.255
>>>>>> Default Route: 10.64.64.64
>>>>>>
>>>>>> How can I solve this problem?
>>>>>>
>>>>>>
>>>>> When the problem occurs, what is the contents of /etc/resolv.conf?
>>>>>
>>>>> dan
>>>>>
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> NetworkManager-list mailing list
>>>> NetworkManager-list gnome org
>>>> http://mail.gnome.org/mailman/listinfo/networkmanager-list
>>>>
>>>
>>>
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
- --
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj umdnj edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknnZ9cACgkQmb+gadEcsb4WBACfYD9S9deyMNpid8EVeJOGk5jC
mxwAoIzO+SBRsC/SaDyuWRMuSs40Ytd1
=XsqS
-----END PGP SIGNATURE-----
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:novosirj umdnj edu
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]