1 (13.04.2010 21:46:10 отредактировано Cruiser78)

Итак, порция очередных вопросов.

Есть RFRemix12. Есть коммуникатор HTC Diamond. Последний поддерживает 3G. Есть естественное желание подружить HTC с Федорой.
В оффтопике это делается на раз. А в Федоре каменный цветок с первого раза не вышел. Гугление тоже не навело на разумные мысли.
А именно, Федора с NetworkManager'oм на пару прекрасно видят ммент подключения   зверька. И понимаеют, что он подключается в режиме "общего интернета", автоматом поднимается интерфейс eth1 (eth0 - у меня проводной), но вот дальше... А дальше ничего... Интерфейс eth1 получает IP-адрес интерфейса проводного, выхода с Инет с него нет. Руками даже прописывал дефолный маршрут на eth1. Не помогло.

Apr 13 21:17:13 localhost kernel: usb 1-2: new high speed USB device using ehci_hcd and address 8
Apr 13 21:17:13 localhost kernel: usb 1-2: New USB device found, idVendor=0bb4, idProduct=0303
Apr 13 21:17:13 localhost kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 13 21:17:13 localhost kernel: usb 1-2: Product: Generic RNDIS
Apr 13 21:17:13 localhost kernel: usb 1-2: Manufacturer: HTC
Apr 13 21:17:13 localhost kernel: usb 1-2: SerialNumber: 3fbf5000-7351-0801-3553-040201152230
Apr 13 21:17:13 localhost kernel: usb 1-2: configuration #1 chosen from 1 choice
Apr 13 21:17:13 localhost kernel: usbcore: registered new interface driver cdc_ether
Apr 13 21:17:14 localhost kernel: rndis_host 1-2:1.0: dev can't take 1558 byte packets (max 1536), adjusting MTU to 1478
Apr 13 21:17:14 localhost kernel: rndis_host 1-2:1.0: RNDIS_MSG_QUERY(0x00010202) failed, -47
Apr 13 21:17:14 localhost kernel: eth1: register 'rndis_host' at usb-0000:00:1d.7-2, RNDIS device, 80:00:60:0f:e8:00
Apr 13 21:17:14 localhost kernel: usbcore: registered new interface driver rndis_host
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): carrier is OFF
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): new Ethernet device (driver: 'rndis_host')
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): exported as /org/freedesktop/NetworkManager/Devices/2
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): now managed
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): device state change: 1 -> 2 (reason 2)
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): bringing up device.
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): preparing device.
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): deactivating device (reason: 2).
Apr 13 21:17:14 localhost NetworkManager: Added default wired connection 'Auto eth1' for /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/net/eth1
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): carrier now ON (device state 2)
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): device state change: 2 -> 3 (reason 40)
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) starting connection 'Auto eth1'
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): device state change: 3 -> 4 (reason 0)
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled...
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) started...
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) scheduled...
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 1 of 5 (Device Prepare) complete.
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) starting...
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): device state change: 4 -> 5 (reason 0)
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) successful.
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) scheduled.
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 2 of 5 (Device Configure) complete.
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) started...
Apr 13 21:17:14 localhost NetworkManager: <info>  (eth1): device state change: 5 -> 7 (reason 0)
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Beginning DHCP transaction (timeout in 45 seconds)
Apr 13 21:17:14 localhost NetworkManager: <info>  dhclient started with pid 3426
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP6 Configure Get) scheduled...
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 3 of 5 (IP Configure Start) complete.
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP6 Configure Get) started...
Apr 13 21:17:14 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP6 Configure Get) complete.
Apr 13 21:17:14 localhost dhclient[3426]: Internet Systems Consortium DHCP Client 4.1.1
Apr 13 21:17:14 localhost dhclient[3426]: Copyright 2004-2010 Internet Systems Consortium.
Apr 13 21:17:14 localhost dhclient[3426]: All rights reserved.
Apr 13 21:17:14 localhost dhclient[3426]: For info, please visit https://www.isc.org/software/dhcp/
Apr 13 21:17:14 localhost dhclient[3426]: 
Apr 13 21:17:14 localhost dhclient[3426]: Listening on LPF/eth1/80:00:60:0f:e8:00
Apr 13 21:17:14 localhost dhclient[3426]: Sending on   LPF/eth1/80:00:60:0f:e8:00
Apr 13 21:17:14 localhost dhclient[3426]: Sending on   Socket/fallback
Apr 13 21:17:14 localhost NetworkManager: <info>  DHCP: device eth1 state changed (null) -> preinit
Apr 13 21:17:15 localhost avahi-daemon[1242]: Registering new address record for fe80::8200:60ff:fe0f:e800 on eth1.*.
Apr 13 21:17:17 localhost ntpd[1474]: Listening on interface #6 eth1, fe80::8200:60ff:fe0f:e800#123 Enabled
Apr 13 21:17:18 localhost dhclient[3426]: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
Apr 13 21:17:19 localhost dhclient[3426]: DHCPOFFER from 192.168.0.1
Apr 13 21:17:19 localhost dhclient[3426]: DHCPREQUEST on eth1 to 255.255.255.255 port 67
Apr 13 21:17:20 localhost dhclient[3426]: DHCPACK from 192.168.0.1
Apr 13 21:17:20 localhost dhclient[3426]: bound to 192.168.0.102 -- renewal in 128541 seconds.
Apr 13 21:17:20 localhost NetworkManager: <info>  DHCP: device eth1 state changed preinit -> bound
Apr 13 21:17:20 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) scheduled...
Apr 13 21:17:20 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) started...
Apr 13 21:17:20 localhost NetworkManager: <info>    address 192.168.0.102
Apr 13 21:17:20 localhost NetworkManager: <info>    prefix 24 (255.255.255.0)
Apr 13 21:17:20 localhost NetworkManager: <info>    gateway 192.168.0.1
Apr 13 21:17:20 localhost NetworkManager: <info>    nameserver '192.168.0.1'
Apr 13 21:17:20 localhost NetworkManager: <info>  Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled...
Apr 13 21:17:20 localhost NetworkManager: <info>  Activation (eth1) Stage 4 of 5 (IP4 Configure Get) complete.
Apr 13 21:17:20 localhost NetworkManager: <info>  Activation (eth1) Stage 5 of 5 (IP Configure Commit) started...
Apr 13 21:17:20 localhost avahi-daemon[1242]: Joining mDNS multicast group on interface eth1.IPv4 with address 192.168.0.102.
Apr 13 21:17:20 localhost avahi-daemon[1242]: New relevant interface eth1.IPv4 for mDNS.
Apr 13 21:17:20 localhost avahi-daemon[1242]: Registering new address record for 192.168.0.102 on eth1.IPv4.
Apr 13 21:17:21 localhost NetworkManager: <info>  Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Apr 13 21:17:21 localhost NetworkManager: <info>  (eth1): device state change: 7 -> 8 (reason 0)
Apr 13 21:17:21 localhost NetworkManager: <info>  Activation (eth1) successful, device activated.
Apr 13 21:17:21 localhost NetworkManager: <info>  Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete.

То есть интерфейс поднялся автоматом. Правда с настройками от eth0 (но в виндах это не вредило). Далее пингую удаленный сайт (через eth0). Пингуется. Меняю марнрут на этот сайт, чтобы трафик на него шел через eth1. Увы, Destination Host Unreachable. То есть трафик не идет. Подскажите, где собака зарылась, что я недоделал по малоопытности. Ведь мобильный выход в Инет нужен...
================
Ну и вообще - как правильно подключать внешние USB-модемы? Руками, не автоматом? Это мне тоже (по работе) актуально.