us network and Uuntu 8.10 - is there a better way?
Alexander Chemeris
alexander.chemeris at gmail.com
Sun Nov 30 17:35:55 CET 2008
On Sat, Nov 29, 2008 at 3:26 PM, Torfinn Ingolfsen <tingox at gmail.com> wrote:
> On Tue, Nov 25, 2008 at 10:33 PM, Torfinn Ingolfsen <tingox at gmail.com> wrote:
>> For now, I'm back to the manual method.
>
> Today there were (X)ubuntu updates for NetworkManager and more. After
> these updates (which included a necessary restart), even the manual
> method doesn't work anymore.
> tingo at kg-home:~$ ifconfig usb0
> usb0 Link encap:Ethernet HWaddr 12:ed:86:b0:6c:4c
> inet6 addr: fe80::10ed:86ff:feb0:6c4c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:936 (936.0 B)
>
> tingo at kg-home:~$ sudo ifconfig usb0 down
> [sudo] password for tingo:
> tingo at kg-home:~$ ifconfig usb0
> usb0 Link encap:Ethernet HWaddr 12:ed:86:b0:6c:4c
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:936 (936.0 B)
>
> tingo at kg-home:~$ sudo ifconfig usb0 up
> tingo at kg-home:~$ ifconfig usb0
> usb0 Link encap:Ethernet HWaddr 12:ed:86:b0:6c:4c
> inet6 addr: fe80::10ed:86ff:feb0:6c4c/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 B) TX bytes:1174 (1.1 KB)
>
What is wrong here? What you've shown is a correct operation
as far as I can see. May be you wanted "ifup"/"ifdown" instead
of "ifconfig up"/"ifconfig down"? Former are scripts which parse
"interfaces" file and setup things as described, while latter
are simple commands to bring interface up/down.
PS And consider using "ip addr" and friends instead of venerable
"ifconfig". "ip" command is newer way of operating network
interfaces.
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
More information about the community
mailing list