Hi. On Fri, 29 Nov 2013 19:45:50 +0000 Ron Leach <ronle...@tesco.net> wrote:
> After further testing, this would never be possible in wicd. Why bother yourself with an inferior network configurator (wicd), then you have superior one (ifupdown) already? > # ifup usb0 > replies with > "Ignoring unknown interface usb0=usb0." That's only means that you lack usb0 definition in /etc/network/interfaces. > #ifconfig usb0 > replies with > "usb0" > and a table of > "[Ethernet type, a MAC address, MTU 1500, and several lines of tx and > rx parameters, all zero.]" And that means you've done the easy part of configuration of tethering. You plug the phone - kernel provides you an unconfigured network interface. The hard part is to setup an appropriate routing to the outside world on your phone. > In my experience, it would seem that USB tethering, at least for the > first time, is not possible just by plugging it in to Wheezy/XFCE, and > doing > ifup usb0 > > Something else perhaps must also be needed. Maybe something else > needs setting up. You need to configure /etc/network/interfaces. Something along the lines of (assuming you've already setup DHCP server on your phone): allow-hotplug usb0 iface usb0 inet dhcp or something along the lines of (if you don't): allow-hotplug usb0 iface usb0 inet static address x.x.x.x netmask x.x.x.x gateway x.x.x.x dns-nameservers x.x.x.x or, if you're really need it (ipv6): allow-hotplug usb0 iface usb0 inet6 static address x:x:x:x:x:x:x:x netmask x 'allow-hotplug' stanza should tell udev to configure usb0 interface once you've plugged your phone, and deconfigure it once you'll unplug it. Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131130001035.e9524ea929357f8cbc71e...@gmail.com