Re: usb0 interface with NetworkManager 0.9

2011-12-14 Thread Nguyễn Hồng Quân
I don't understand.
I can "ssh" from the PC to the N900 via usb0 interface. Is it called 
"actual networking"?

On Thu 15 Dec 2011 12:12:22 AM, Dan Williams wrote:
> On Tue, 2011-12-13 at 22:43 +0700, Nguyễn Hồng Quân wrote:
>> Hello
>>
>> I connect Nokia N900 to my PC via USB cable, with the usb0 interface is
>> up on the phone side.
>> Under Ubuntu 11.04, the NetworkManager (v0.8) automatically handle the
>> usb0 interface and makes it up. However, under Ubuntu 11.10, it (v0.9)
>> does not. I have to do manually.
>>
>> Is there a way to make the NetworkManager in Ubuntu 11.10 works as in
>> Ubuntu 11.04
>
> Have you modified the N900 to make the usb0 interface an actual network
> interface?  The usb0 interface is normally a phonet-controlled interface
> that cannot be used for actual networking.  ModemManager doesn't speak
> phonet yet, so the usb0 interface isn't usable and never was.  Unless
> you install a hack on the N900 that might provide it as a network
> interface.
>
> Dan
>
>
>

-- 
Nguyễn Hồng Quân   
  
Yahoo!ID: ng_hquan_vn  
Identi.ca: hongquan   

___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: usb0 interface with NetworkManager 0.9

2011-12-14 Thread Dan Williams
On Tue, 2011-12-13 at 22:43 +0700, Nguyễn Hồng Quân wrote:
> Hello
> 
> I connect Nokia N900 to my PC via USB cable, with the usb0 interface is
> up on the phone side.
> Under Ubuntu 11.04, the NetworkManager (v0.8) automatically handle the
> usb0 interface and makes it up. However, under Ubuntu 11.10, it (v0.9)
> does not. I have to do manually.
> 
> Is there a way to make the NetworkManager in Ubuntu 11.10 works as in
> Ubuntu 11.04

Have you modified the N900 to make the usb0 interface an actual network
interface?  The usb0 interface is normally a phonet-controlled interface
that cannot be used for actual networking.  ModemManager doesn't speak
phonet yet, so the usb0 interface isn't usable and never was.  Unless
you install a hack on the N900 that might provide it as a network
interface.

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [RFC] ADSL: Experimental PPPoE support

2011-12-14 Thread Dan Williams
On Tue, 2011-12-13 at 07:57 +0200, Pantelis Koukousoulas wrote:
> On Fri, Dec 9, 2011 at 8:05 AM, Dan Williams  wrote:
> > On Tue, 2011-05-17 at 21:38 +0300, Pantelis Koukousoulas wrote:
> >> This is a first cut at experimental PPPoE support for ADSL devices.
> >> There are several shortcuts and the code is ugly, but it works so
> >> it can be used as a strawman to improve upon.
> >>
> >> Happily waiting for comments / testing / suggestions :)
> >
> > I rebased the 'adsl' branch to git master and wrote some code to talk
> > the ioctls directly instead of using br2684ctl.  As Dave Woodhouse
> > pointed out, br2684ctl isn't that complicated so we might as well just
> > talk to the kernel.  However, I don't have an ADSL connection to test
> > with (I only have a modem for basic hardware detection support) so if
> > anyone can test out the code on the 'adsl' branch that would be great.
> > Make sure to run NM with "--log-level=debug" or to set "level=debug" in
> > the [logging] section of NetworkManager.conf so we can more easily debug
> > any failures.
> 
> Thanks :)
> 
> I will try to test it today and also provide ubuntu packages for other people
> to test more easily as well.

I fixed a few other bugs yesterday, so try 'adsl' git from Tuesday or
it's guaranteed to fail :)

Dan


___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


dhcp options for shared connection?

2011-12-14 Thread Razvan Cosma
Hello,
Is there any way to add a dhcp option (next-server in my case) when a
connection is set as 'shared'?
I see NM starts a dnsmasq instance with parameters
/usr/sbin/dnsmasq --conf-file --no-hosts --keep-in-foreground
--bind-interfaces --except-interface=lo --clear-on-reload --strict-order
--listen-address=10.42.43.1 --dhcp-range=10.42.43.10,10.42.43.100,60m
--dhcp-option=option:router,10.42.43.1 --dhcp-lease-max=50
--pid-file=/var/run/nm-dnsmasq-eth2.pid
and I dug through /etc/NetworkManager/system-connections and read (briefly)
the libnm 
sourcesbut
the parameters don't seem to be specified there..
This is in the Gnome interface of Ubuntu and Mint. Now, I do know how to
fully configure dnsmasq myself, it would be very nice though to keep it
integrated in NM
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list