Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
fregoli
Posts: 3
Joined: 03 Jan 2013, 09:46

3G Dongle Huawei K3765 on Router HG556a verC

Post by fregoli » 03 Jan 2013, 10:24

Hello friends!

I'm new in Linux.
OpenWrt installed and working in router .
Trying to install al pakages for the dongle, following step by step Howto:Use 3g/UMTS USB Dongle for WAN connection.

I have installed usb modeswitch and usb modeswitch data
When I type : usb_mdeswitch -c /etc/usb_modeswitch.d/12d1:1465 Repports error could not find file.
HOW CAN I CREATE SUCH FILE?
Typing: cat /proc/bus/usb/devices appears in bus1 Vendor Huawei prod ID 1465 and so on.

Thanks in advance

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: 3G Dongle Huawei K3765 on Router HG556a verC

Post by LOM » 03 Jan 2013, 13:17

You don't have to issue a manual modeswitch cmd in OpenWRT when you have installed the complete usb_modeswitch package.
12d1:1465 is an id for an already switched stick, it is in modem mode.

The cat of the devices file will show you if any driver is attached to the different interfaces, interface 0 is the modem interface and should have the option driver attached which will create ttyUSB0 as modem device.

fregoli
Posts: 3
Joined: 03 Jan 2013, 09:46

Re: 3G Dongle Huawei K3765 on Router HG556a verC

Post by fregoli » 04 Jan 2013, 18:52

Thanks a lot!
I will check it and tell you what happened.

fregoli
Posts: 3
Joined: 03 Jan 2013, 09:46

Re: 3G Dongle Huawei K3765 on Router HG556a verC

Post by fregoli » 05 Jan 2013, 10:14

Hello again,

I found that in cat file in interface 0 there is no Driver attached.
I unistall kmod-usb-serial, kmod-usb-serial-option and kmod-usb-serial wwan.
I reboot router and when trying to install such packages again ( see below) I get that error message:


Installing kmod-usb-serial (3.6.11-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ ... cm63xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.

Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-serial:
* kernel (= 3.6.11-1-600ccea60b008d5ef7236108a7a5e57a) *
* opkg_install_cmd: Cannot install package kmod-usb-serial.


Details of firmware and kernel installed:

OpenWrt Attitude Adjustment r33456 /
LuCI Trunk (trunk+svn9305)
Kernel version: 3.3.8

I don't know if kernel version must be the same and in this case where to find it an how to install.

Thanks in advance

Post Reply