Author Message

<  Setup Discussion  ~  Huawei :1f16 K5150 Raspberry Pi 3G cdc-wdm wwan0 no tty

PostPosted: Sat Mar 22, 2014 8:25 pm Reply with quote
Posts: 1 Joined: Thu Mar 20, 2014 12:15 pm
Hello everybody,
I'm newbie and I've tried to connect Vodafone (Huawei 12d1:1f16) K5150 to Raspberry Pi. After many tries, I'm at following situation:

USB modem is probably registered as /dev/cdc-wdm0 (ls -l /dev/ | grep cd --- shows following: crw------- 1 root root 180, 176 Mar 22 17:22 cdc-wdm0)
There is no equivavalent as /dev/ttyUSB0 or something similar. (ls -l /dev/ | grep USB --- shows nothing)
There is wwan0 in interfaces, but I cannot make it run even with sakis3g which is failing because it cannot find tty.

Can somebody please tell me, what I'm doing wrong?
Thank you a lot.
BR
Jiri

----------------------

I've found it in interfaces:
Quote:
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether b8:27:eb:1c:91:47 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 80:1f:02:9c:52:13 brd ff:ff:ff:ff:ff:ff
4: wwan0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether ae:6e:de:a6:bd:8d brd ff:ff:ff:ff:ff:ff


So I tried to configure it by some tutorial like this (but no progress):
Quote:
cat /etc/network/interfaces
allow-hotplug wwan0
iface wwan0 inet dhcp
wwan_apn "internet"
wwan_user ""
wwan_pw ""
# wwan_phone "*99#"
# enable script debugging
wwan_debug 1


I also tried to use sakis3g, but it fails every time with same:
Quote:
[05702] [18:04:03] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:03] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:03] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [1 second(s) will have pass]


I'm running it on Raspberry Pi - Raspbian Jessie (testing version)
Quote:
Linux raspberrypi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux


I have got usb-modeswitch-data package installed in following version (stable version from 2012 didn't worked at all)
Quote:
apt-cache show usb-modeswitch-data
Package: usb-modeswitch-data
Version: 20140129-1
Installed-Size: 160
Maintainer: Didier Raboud <odyx@debian.org>
Architecture: all
Replaces: usb-modeswitch (<< 1.0.7-1), usb-modeswitch-data-packed
Provides: usb-modeswitch-data-packed
Recommends: usb-modeswitch (>= 2.1.0), udev (>= 0.140)
Conflicts: usb-modeswitch-data-packed
Breaks: usb-modeswitch (<< 2.1.0)
Size: 36900
SHA256: 78638521c4fedc3926a898740f0c005680dd88a5afed18d1ec204117a32f1f47
SHA1: 61a6a8077eeb74e75c45f70f21a985bc7691da8e
MD5sum: fa70d7a425c907020739cff885eddbc8
Description: mode switching data for usb-modeswitch
Description-md5: 83f8894d390ffa31e34c89e43fc95bb1
Homepage: http://www.draisberghof.de/usb_modeswitch/
Tag: role::app-data
Section: comm
Priority: extra
Filename: pool/main/u/usb-modeswitch-data/usb-modeswitch-data_20140129-1_all.deb



LSUSB shows me 12d1:1f16
Quote:
lsusb
Bus 001 Device 006: ID 12d1:1f16 Huawei Technologies Co., Ltd.
Bus 001 Device 005: ID 7392:7711 Edimax Technology Co., Ltd EW-7711UTn nLite Wireless Adapter [Ralink RT2870]
Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub




DMESG
Quote:
dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.25+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: BCM2708
[ 0.000000] cma: CMA: reserved 16 MiB at 1b000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c05cfd6c, node_mem_map c067d000
[ 0.000000] Normal zone: 896 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 113792
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1776 bcm2708_fb.fbheight=952 bcm2708.boardrev=0xe bcm2708.serial=0x391c9147 smsc95xx.macaddr=B8:27:EB:1C:91:47 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 448MB = 448MB total
[ 0.000000] Memory: 431652k/431652k available, 27100k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdc800000 - 0xff000000 ( 552 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05727b4 (5546 kB)
[ 0.000000] .init : 0xc0573000 - 0xc0597424 ( 146 kB)
[ 0.000000] .data : 0xc0598000 - 0xc05d0870 ( 227 kB)
[ 0.000000] .bss : 0xc05d0870 - 0xc067c3e0 ( 687 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:330
[ 0.000000] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 4294967ms
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty1] enabled
[ 0.001181] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[ 0.001249] pid_max: default: 32768 minimum: 301
[ 0.001722] Mount-cache hash table entries: 512
[ 0.002529] Initializing cgroup subsys memory
[ 0.002639] Initializing cgroup subsys devices
[ 0.002681] Initializing cgroup subsys freezer
[ 0.002717] Initializing cgroup subsys blkio
[ 0.002879] CPU: Testing write buffer coherency: ok
[ 0.003355] Setting up static identity map for 0xc0406048 - 0xc04060a4
[ 0.005188] devtmpfs: initialized
[ 0.019640] NET: Registered protocol family 16
[ 0.025600] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.026721] bcm2708.uart_clock = 0
[ 0.028453] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.028509] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.028549] mailbox: Broadcom VideoCore Mailbox driver
[ 0.028648] bcm2708_vcio: mailbox at f200b880
[ 0.028756] bcm_power: Broadcom power driver
[ 0.028799] bcm_power_open() -> 0
[ 0.028827] bcm_power_request(0, 8)
[ 0.529558] bcm_mailbox_read -> 00000080, 0
[ 0.529603] bcm_power_request -> 0
[ 0.529833] Serial: AMBA PL011 UART driver
[ 0.529997] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 0.872223] console [ttyAMA0] enabled
[ 0.898160] bio: create slab <bio-0> at 0
[ 0.903487] SCSI subsystem initialized
[ 0.907463] usbcore: registered new interface driver usbfs
[ 0.913184] usbcore: registered new interface driver hub
[ 0.918762] usbcore: registered new device driver usb
[ 0.925352] Switching to clocksource stc
[ 0.929700] FS-Cache: Loaded
[ 0.932868] CacheFiles: Loaded
[ 0.948661] NET: Registered protocol family 2
[ 0.954079] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.961347] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.967874] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.974348] TCP: reno registered
[ 0.977607] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.983515] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.990258] NET: Registered protocol family 1
[ 0.995195] RPC: Registered named UNIX socket transport module.
[ 1.001259] RPC: Registered udp transport module.
[ 1.005985] RPC: Registered tcp transport module.
[ 1.010736] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.018085] bcm2708_dma: DMA manager at f2007000
[ 1.022906] bcm2708_gpio: bcm2708_gpio_probe c05a5e50
[ 1.028365] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 1.037757] audit: initializing netlink socket (disabled)
[ 1.043432] type=2000 audit(0.890:1): initialized
[ 1.205387] VFS: Disk quotas dquot_6.5.2
[ 1.209786] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.218628] FS-Cache: Netfs 'nfs' registered for caching
[ 1.225366] NFS: Registering the id_resolver key type
[ 1.230683] Key type id_resolver registered
[ 1.234896] Key type id_legacy registered
[ 1.239719] msgmni has been set to 875
[ 1.245591] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.253441] io scheduler noop registered
[ 1.257404] io scheduler deadline registered (default)
[ 1.262999] io scheduler cfq registered
[ 1.267143] bcm2708_fb_debugfs_init: could not create debugfs entry
[ 1.274727] BCM2708FB: allocated DMA memory 5b400000
[ 1.279883] BCM2708FB: allocated DMA channel 0 @ f2007000
[ 1.310387] Console: switching to colour frame buffer device 222x59
[ 1.330055] uart-pl011 dev:f1: no DMA platform data
[ 1.335076] kgdb: Registered I/O driver kgdboc.
[ 1.340420] vc-cma: Videocore CMA driver
[ 1.344446] vc-cma: vc_cma_base = 0x00000000
[ 1.349231] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.354794] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.369954] brd: module loaded
[ 1.378527] loop: module loaded
[ 1.382164] vchiq: vchiq_init_state: slot_zero = 0xdb000000, is_master = 0
[ 1.390251] Loading iSCSI transport class v2.0-870.
[ 1.396304] usbcore: registered new interface driver smsc95xx
[ 1.402499] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.608581] Core Release: 2.80a
[ 1.611905] Setting default values for core params
[ 1.616822] Finished setting default values for core params
[ 1.822597] Using Buffer DMA mode
[ 1.826004] Periodic Transfer Interrupt Enhancement - disabled
[ 1.831972] Multiprocessor Interrupt Enhancement - disabled
[ 1.837652] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.842126] Dedicated Tx FIFOs mode
[ 1.846253] dwc_otg: Microframe scheduler enabled
[ 1.846488] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.851592] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.859005] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.864664] Init: Port Power? op_state=1
[ 1.872748] Init: Power Port (0)
[ 1.880181] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.891073] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.902319] usb usb1: Product: DWC OTG Controller
[ 1.911067] usb usb1: Manufacturer: Linux 3.10.25+ dwc_otg_hcd
[ 1.920829] usb usb1: SerialNumber: bcm2708_usb
[ 1.930254] hub 1-0:1.0: USB hub found
[ 1.938109] hub 1-0:1.0: 1 port detected
[ 1.946482] dwc_otg: FIQ enabled
[ 1.946501] dwc_otg: NAK holdoff enabled
[ 1.946512] dwc_otg: FIQ split fix enabled
[ 1.946532] Module dwc_common_port init
[ 1.946974] usbcore: registered new interface driver usb-storage
[ 1.957610] mousedev: PS/2 mouse device common for all mice
[ 1.968032] bcm2835-cpufreq: min=700000 max=700000 cur=700000
[ 1.978085] bcm2835-cpufreq: switching to governor powersave
[ 1.987716] bcm2835-cpufreq: switching to governor powersave
[ 1.997370] cpuidle: using governor ladder
[ 2.005397] cpuidle: using governor menu
[ 2.013280] sdhci: Secure Digital Host Controller Interface driver
[ 2.023338] sdhci: Copyright(c) Pierre Ossman
[ 2.031671] sdhci: Enable low-latency mode
[ 2.079445] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 2.091500] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.101591] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.113410] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.130826] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.140463] Indeed it is in host mode hprt0 = 00021501
[ 2.151975] usbcore: registered new interface driver usbhid
[ 2.168437] usbhid: USB HID core driver
[ 2.193098] TCP: cubic registered
[ 2.209368] Initializing XFRM netlink socket
[ 2.217510] NET: Registered protocol family 17
[ 2.249568] Key type dns_resolver registered
[ 2.279858] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 2.293850] mmc0: read SD Status register (SSR) after 3 attempts
[ 2.310225] registered taskstats version 1
[ 2.322011] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 2.333488] Waiting for root device /dev/mmcblk0p6...
[ 2.344183] mmc0: new high speed SDHC card at address 0007
[ 2.354554] mmcblk0: mmc0:0007 SD16G 14.9 GiB
[ 2.368100] mmcblk0: p1 p2 < p5 p6 > p3
[ 2.439435] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.450333] Indeed it is in host mode hprt0 = 00001101
[ 2.492498] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 2.519426] VFS: Mounted root (ext4 filesystem) on device 179:6.
[ 2.553438] devtmpfs: mounted
[ 2.561352] Freeing unused kernel memory: 144K (c0573000 - c0597000)
[ 2.690366] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.702914] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.715645] hub 1-1:1.0: USB hub found
[ 2.724394] hub 1-1:1.0: 5 ports detected
[ 3.009782] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.120170] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.132141] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.148002] smsc95xx v1.0.4
[ 3.215748] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:1c:91:47
[ 3.309680] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[ 3.430554] usb 1-1.2: New USB device found, idVendor=1a40, idProduct=0101
[ 3.452711] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.476981] usb 1-1.2: Product: USB 2.0 Hub
[ 3.496835] hub 1-1.2:1.0: USB hub found
[ 3.519852] hub 1-1.2:1.0: 4 ports detected
[ 3.819759] usb 1-1.2.1: new high-speed USB device number 5 using dwc_otg
[ 3.978127] usb 1-1.2.1: New USB device found, idVendor=7392, idProduct=7711
[ 3.999594] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.025447] usb 1-1.2.1: Product: 802.11 n WLAN
[ 4.049299] usb 1-1.2.1: Manufacturer: Ralink
[ 4.069118] usb 1-1.2.1: SerialNumber: 1.0
[ 4.179650] usb 1-1.2.3: new high-speed USB device number 6 using dwc_otg
[ 4.323114] usb 1-1.2.3: New USB device found, idVendor=12d1, idProduct=1f16
[ 4.341926] usb 1-1.2.3: New USB device strings: Mfr=5, Product=4, SerialNumber=7
[ 4.354271] usb 1-1.2.3: Product: K5150
[ 4.363389] usb 1-1.2.3: Manufacturer: Vodafone (Huawei)
[ 4.379609] usb 1-1.2.3: SerialNumber: FFFFFFFFFFFFFFFF
[ 4.402073] usb-storage 1-1.2.3:1.0: USB Mass Storage device detected
[ 4.414227] scsi0 : usb-storage 1-1.2.3:1.0
[ 4.529716] usb 1-1.2.4: new high-speed USB device number 7 using dwc_otg
[ 4.564332] udevd[156]: starting version 175
[ 4.649501] usb 1-1.2.4: New USB device found, idVendor=05ac, idProduct=1006
[ 4.675920] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.705856] usb 1-1.2.4: Product: Keyboard Hub
[ 4.739537] usb 1-1.2.4: Manufacturer: Apple, Inc.
[ 4.749222] usb 1-1.2.4: SerialNumber: 000000000000
[ 4.801630] hub 1-1.2.4:1.0: USB hub found
[ 4.839172] hub 1-1.2.4:1.0: 3 ports detected
[ 5.149816] usb 1-1.2.4.2: new low-speed USB device number 8 using dwc_otg
[ 5.294037] usb 1-1.2.4.2: New USB device found, idVendor=05ac, idProduct=0250
[ 5.329510] usb 1-1.2.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.365662] usb 1-1.2.4.2: Product: Apple Keyboard
[ 5.399610] usb 1-1.2.4.2: Manufacturer: Apple Inc.
[ 5.431237] scsi 0:0:0:0: CD-ROM Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
[ 6.885681] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 7.183373] cfg80211: Calling CRDA to update world regulatory domain
[ 8.069731] usb 1-1.2.1: reset high-speed USB device number 5 using dwc_otg
[ 8.341116] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[ 8.496501] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
[ 8.661544] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 8.663284] usbcore: registered new interface driver rt2800usb
[ 8.904562] sr0: scsi-1 drive
[ 8.999184] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 9.107874] sr 0:0:0:0: Attached scsi CD-ROM sr0
[ 9.116422] input: Apple Inc. Apple Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4.2/1-1.2.4.2:1.0/input/input0
[ 9.244111] apple 0003:05AC:0250.0001: input,hidraw0: USB HID v1.11 Keyboard [Apple Inc. Apple Keyboard] on usb-bcm2708_usb-1.2.4.2/input0
[ 9.379640] input: Apple Inc. Apple Keyboard as /devices/platform/bcm2708_usb/usb1/1-1/1-1.2/1-1.2.4/1-1.2.4.2/1-1.2.4.2:1.1/input/input1
[ 9.515041] cfg80211: World regulatory domain updated:
[ 9.550393] apple 0003:05AC:0250.0002: input,hidraw1: USB HID v1.11 Device [Apple Inc. Apple Keyboard] on usb-bcm2708_usb-1.2.4.2/input1
[ 9.632150] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.728414] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 9.810144] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 9.919624] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 9.974098] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 10.039611] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 10.109574] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 10.241360] usb 1-1.2.3: usbfs: interface 0 claimed by usb-storage while 'usb_modeswitch' sets config #2
[ 10.326288] usb-storage 1-1.2.3:2.2: USB Mass Storage device detected
[ 10.463182] scsi1 : usb-storage 1-1.2.3:2.2
[ 10.525113] usbcore: registered new interface driver cdc_wdm
[ 10.621799] usbcore: registered new interface driver cdc_ncm
[ 10.665651] cdc_mbim 1-1.2.3:2.0: cdc-wdm0: USB WDM device
[ 10.691182] cdc_mbim 1-1.2.3:2.0 wwan0: register 'cdc_mbim' at usb-bcm2708_usb-1.2.3, CDC MBIM, ae:6e:de:a6:bd:8d
[ 10.727720] usbcore: registered new interface driver cdc_mbim
[ 11.541340] scsi 1:0:0:0: Direct-Access Vodafone Storage(Huawei) 2.31 PQ: 0 ANSI: 2
[ 11.573359] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 18.983622] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 19.553897] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
[ 20.329515] fuse init (API version 7.22)
[ 26.683949] FAT-fs (mmcblk0p5): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 29.716919] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 29.760985] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 29.771665] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 35.599987] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev- instead.
[ 35.657834] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev- instead.
[ 35.718260] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev- instead.
[ 38.530805] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
[ 40.805378] wlan0: authenticate with 6e:8d:79:89:14:f0
[ 40.964866] wlan0: send auth to 6e:8d:79:89:14:f0 (try 1/3)
[ 40.966697] wlan0: authenticated
[ 40.969455] wlan0: associate with 6e:8d:79:89:14:f0 (try 1/3)
[ 40.971680] wlan0: RX AssocResp from 6e:8d:79:89:14:f0 (capab=0x411 status=0 aid=1)
[ 40.986348] wlan0: associated
[ 71.511449] cfg80211: Calling CRDA to update world regulatory domain
[ 71.607601] cfg80211: World regulatory domain updated:
[ 71.607641] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 71.607660] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 71.607677] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 71.607692] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 71.607706] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 71.607721] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 71.607735] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 73.464181] wlan0: authenticate with 6e:8d:79:89:14:f0
[ 73.620947] wlan0: send auth to 6e:8d:79:89:14:f0 (try 1/3)
[ 73.622444] wlan0: authenticated
[ 73.629635] wlan0: associate with 6e:8d:79:89:14:f0 (try 1/3)
[ 73.631787] wlan0: RX AssocResp from 6e:8d:79:89:14:f0 (capab=0x411 status=0 aid=1)
[ 73.646150] wlan0: associated
[ 336.802998] usb 1-1.2.4: USB disconnect, device number 7
[ 336.803037] usb 1-1.2.4.2: USB disconnect, device number 8
[ 2079.986976] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 2080.336181] wlan0: deauthenticating from 6e:8d:79:89:14:f0 by local choice (reason=3)
[ 2080.450203] cfg80211: Calling CRDA to update world regulatory domain
[ 2080.567123] cfg80211: World regulatory domain updated:
[ 2080.567160] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2080.567179] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2080.567193] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2080.567207] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 2080.567220] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 2080.567235] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 2080.567249] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)




lsusb -v -d 12d1:1f16
Code:
Bus 001 Device 006: ID 12d1:1f16 Huawei Technologies Co., Ltd.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol       255
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x1f16
  bcdDevice            1.02
  iManufacturer           5 Vodafone (Huawei)
  iProduct                4 K5150
  iSerial                 7 FFFFFFFFFFFFFFFF
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          1 configuration 0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          110
    bNumInterfaces          3
    bConfigurationValue     2
    iConfiguration          3 configuration 1
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass          2 Communications
      bFunctionSubClass      14
      bFunctionProtocol       0
      iFunction               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass     14
      bInterfaceProtocol      0
      iInterface              0
      CDC Header:
        bcdCDC               1.10
      CDC MBIM:
        bcdMBIMVersion       1.00
        wMaxControlMessage   1024
        bNumberFilters       16
        bMaxFilterSize       20
        wMaxSegmentSize      1500
        bmNetworkCapabilities 0x20
          8-byte ntb input size
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)







/usr/bin/modem3g/sakis3g -debug -interactive connect
Quote:
[05702] [18:02:48] Command line switch defined: -interactive

-------------------------------------------
Sakis3G 0.2.0e running on DEBUG mode.
-------------------------------------------
Sat Mar 22 18:02:48 UTC 2014
-------------------------------------------
Command line was: /tmp/sakis3gz.5672.sakis3g "-debug" "-interactive" "connect"
Running with PID: 5702
-------------------------------------------
Environment is:
DEBUG='on'
DESKTOP=''
DISPLAY=''
EXTRACTED='/tmp/sakis3gz.5672.sakis3g'
HOME='/root'
IFS='
'
LANG='en_US.UTF-8'
LOGNAME='root'
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MAIL='/var/mail/root'
MEGZ='/usr/bin/modem3g/sakis3g'
MYVERSION='0.2.0e'
NOFUNCNAME='1'
OPTIND='1'
PATH='/bin:/sbin:/usr/bin:/usr/sbin'
PPID='5672'
PROVIDER='/usr/bin/modem3g/sakis3g'
PS1='# '
PS2='> '
PS4='+ '
PWD='/root'
SHELL='/bin/bash'
SHLVL='1'
SUDO_COMMAND='/bin/bash'
SUDO_GID='1000'
SUDO_UID='1000'
SUDO_USER='pi'
TERM='xterm-256color'
TRAPS='cleanscreen '
USER='root'
USERNAME='root'
XAUTHORITY=''
_='/usr/bin/modem3g/sakis3g'
allargs='"-debug" "-interactive" "connect"'
binaryvariable='grep'
cutbin='/usr/bin/cut'
grepbin='/bin/grep'
interactive='yes'
lastverbosetext='Starting up'
me='/tmp/sakis3gz.5672.sakis3g'
printfbin='/usr/bin/printf'
sedbin='/bin/sed'
trbin='/usr/bin/tr'
verbosecurrentcount='7'
whichbin='/bin/which'
-------------------------------------------
Will now proceed with Sakis3G execution.
-------------------------------------------
[05702] [18:02:48] Located "echo" within PATH (/bin/echo).
[05702] [18:02:48] Level 1 dependencies met.
[05702] [18:02:48] Dir "/bin" exists in PATH.
[05702] [18:02:48] Dir "/usr/bin" exists in PATH.
[05702] [18:02:48] Dir "/sbin" exists in PATH.
[05702] [18:02:48] Dir "/usr/sbin" exists in PATH.
[05702] [18:02:48] Done setting up PATH.
[05702] [18:02:48] Located "readlink" within PATH (/bin/readlink).
[05702] [18:02:48] My location is "/usr/bin/modem3g/sakis3g".
[05702] [18:02:48] Located "wc" within PATH (/usr/bin/wc).
[05702] [18:02:48] Located "cat" within PATH (/bin/cat).
[05702] [18:02:49] Located "tail" within PATH (/usr/bin/tail).
[05702] [18:02:49] Located "head" within PATH (/usr/bin/head).
[05702] [18:02:49] Located "sort" within PATH (/usr/bin/sort).
[05702] [18:02:49] Located "uniq" within PATH (/usr/bin/uniq).
[05702] [18:02:49] Located "ls" within PATH (/bin/ls).
[05702] [18:02:49] Located "setsid" within PATH (/usr/bin/setsid).
[05702] [18:02:49] Located "getent" within PATH (/usr/bin/getent).
[05702] [18:02:49] Located "ps" within PATH (/bin/ps).
[05702] [18:02:49] Located "chmod" within PATH (/bin/chmod).
[05702] [18:02:49] Located "chown" within PATH (/bin/chown).
[05702] [18:02:49] Located "touch" within PATH (/bin/touch).
[05702] [18:02:49] Located "expr" within PATH (/usr/bin/expr).
[05702] [18:02:49] Located "seq" within PATH (/usr/bin/seq).
[05702] [18:02:49] Located "cp" within PATH (/bin/cp).
[05702] [18:02:50] Located "rm" within PATH (/bin/rm).
[05702] [18:02:50] Located "who" within PATH (/usr/bin/who).
[05702] [18:02:50] Located "mv" within PATH (/bin/mv).
[05702] [18:02:50] Located "basename" within PATH (/usr/bin/basename).
[05702] [18:02:50] Located "dirname" within PATH (/usr/bin/dirname).
[05702] [18:02:50] Level 2 dependencies met.
[05702] [18:02:50] Basic binaries are resolved.
[05702] [18:02:50] Parent process is: bash
[05702] [18:02:50] Running by user request.
[05702] [18:02:51] Person behind screen is pi.
[05702] [18:02:51] Configuration file /etc/default/sakis3g does not exist or is not readable.
[05702] [18:02:51] Configuration file /etc/sysconfig/sakis3g does not exist or is not readable.
[05702] [18:02:51] Loading system-wide configuration file /etc/sakis3g.conf.
/-------------------------------------------------------------------------------
[05702] [18:02:51] Will now display contents of: \'/etc/sakis3g.conf\'
/-------------------------------------------------------------------------------
APN="Internet"
\-------------------------------------------------------------------------------
-rw-r--r-- 1 root root 15 Mar 22 11:39 /etc/sakis3g.conf
\-------------------------------------------------------------------------------
[05702] [18:02:51] Configuration arguments are: "APN=Internet"
[05702] [18:02:51] Parsing configuration value: APN=Internet.
[05702] [18:02:51] Command line set variable APN to "Internet".
[05702] [18:02:51] Finished loading file /etc/sakis3g.conf.
[05702] [18:02:51] Configuration file(s) loaded.
[05702] [18:02:51] Unable to find a local X display, will stick to terminal.
[05702] [18:02:51] Selecting GUI.
[05702] [18:02:51] Unable to locate "dialog" within PATH.
[05702] [18:02:51] Located "whiptail" within PATH (/usr/bin/whiptail).
[05702] [18:02:51] whiptail selected as GUI.
[05702] [18:02:51] Selecting GUI.
[05702] [18:02:51] Validating pre-selected GUI: whiptail
[05702] [18:02:51] whiptail selected as GUI.
[05702] [18:02:52] Locale en_US.UTF-8 found in environment.
[05702] [18:02:52] Will attempt to get translation file from package: messages/en_US.UTF-8.
[05702] [18:02:52] Loaded default value for foldwrapping: 60
[05702] [18:02:52] No translations retrieved from file. Will not be using translations.
[05702] [18:02:52] Loaded default value for foldwrapping: 60
[05702] [18:02:52] Located "ifconfig" within PATH (/sbin/ifconfig).
[05702] [18:02:52] Root level dependencies met.
[05702] [18:02:52] Loading Usb-ModeSwitch device database.
[05702] [18:02:53] Embedded device database loaded.
[05702] [18:02:53] Switchable devices within embedded device database:
0421:0610 0471:1210 0471:1237 0482:024d 04e8:f000 057c:84ff 05c6:1000 05c6:2001 05c6:f000 072f:100d 0930:0d46 0ace:2011 0ace:20ff 0af0:6711 0af0:6731 0af0:6751 0af0:6771 0af0:6791 0af0:6811 0af0:6911 0af0:6951 0af0:6971 0af0:7011 0af0:7031 0af0:7051 0af0:7071 0af0:7111 0af0:7211 0af0:7251 0af0:7271 0af0:7301 0af0:7311 0af0:7361 0af0:7381 0af0:7401 0af0:7501 0af0:7601 0af0:7701 0af0:7801 0af0:7901 0af0:8200 0af0:8201 0af0:8300 0af0:8302 0af0:8304 0af0:8400 0af0:c031 0af0:c100 0af0:d013 0af0:d031 0af0:d033 0af0:d035 0af0:d055 0af0:d057 0af0:d058 0af0:d155 0af0:d157 0af0:d255 0af0:d257 0af0:d357 0b3c:c700 0fce:d0cf 0fce:d0e1 0fce:d103 1004:1000 1004:607f 1004:613a 1004:613f 1033:0035 106c:3b03 106c:3b06 1076:7f40 1199:0fff 1266:1000 12d1:1001 12d1:1003 12d1:101e 12d1:1414 12d1:1446 12d1:1520 12d1:1521 12d1:1557 1410:5010 1410:5020 1410:5030 1410:5031 1410:5041 148f:2578 16d8:6803 16d8:700a 16d8:f000 198f:bccd 19d2:0003 19d2:0026 19d2:0040 19d2:0053 19d2:0083 19d2:0101 19d2:0103 19d2:0115 19d2:1001 19d2:1007 19d2:1009 19d2:2000 19d2:fff5 19d2:fff6 1a8d:1000 1ab7:5700 1b7d:0700 1bbb:f000 1c9e:1001 1c9e:9200 1c9e:f000 1dd6:1000 1e0e:f000 1f28:0021 1fac:0130
[05702] [18:02:53] Switched devices within embedded device database:
0421:0612 0471:1206 0471:1234 04e8:6601 057c:8401 05c6:9000 072f:90cc 0930:0d45 0af0:6600 0af0:6701 0af0:6901 0b3c:c000 0b3c:c001 0b3c:c002 1004:6114 1004:6124 1004:6141 106c:3715 106c:3717 1076:7f00 1199:0017 1199:0018 1199:0019 1199:0020 1199:0021 1199:0022 1199:0024 1199:0026 1199:0027 1199:0028 1199:0029 1199:0112 1199:0120 1199:0218 1199:0220 1199:0224 1199:6802 1199:6803 1199:6804 1199:6805 1199:6808 1199:6809 1199:6812 1199:6813 1199:6815 1199:6816 1199:6820 1199:6821 1199:6822 1199:6832 1199:6833 1199:6834 1199:6835 1199:6838 1199:6839 1199:683a 1199:683b 1199:683c 1199:683d 1199:683e 1199:6850 1199:6851 1199:6852 1199:6853 1199:6855 1199:6856 1199:6859 1199:685a 1266:1002 1266:1003 1266:1004 1266:1005 1266:1006 1266:1007 1266:1008 1266:1009 1266:100a 1266:100b 1266:100c 1266:100d 1266:100e 1266:100f 1266:1011 1266:1012 12d1:1001 12d1:1003 12d1:1406 12d1:140c 12d1:141b 12d1:1464 12d1:1465 12d1:14a5 12d1:14ac 1410:4100 1410:4400 1410:6000 1410:6002 1410:7001 1410:7003 148f:9021 16d5:6502 16d8:6006 16d8:680a 198f:0220 19d2:0001 19d2:0002 19d2:0015 19d2:0016 19d2:0017 19d2:0022 19d2:0031 19d2:0037 19d2:0052 19d2:0055 19d2:0063 19d2:0064 19d2:0094 19d2:0104 19d2:0116 19d2:0124 19d2:0128 19d2:1003 19d2:1008 19d2:1010 19d2:fff1 19d2:ffff 1a8d:1002 1a8d:1009 1ab7:5731 1b7d:0001 1bbb:0000 1c9e:6061 1c9e:9000 1c9e:9063 1c9e:9202 1c9e:9603 1dbc:0005 1dd6:1002 1e0e:9000 1e0e:9200 1e0e:ce16 1e0e:cefe 1f28:0020 1fac:0131 1fe7:0100
[05702] [18:02:53] Embedded Usb-ModeSwitch device database contains 260 entries.
[05702] [18:02:53] Folder "/etc/usb_modeswitch.d" exists. Will check if it contains configuration files.
[05702] [18:02:53] Loading system supplied device database.
[05702] [18:02:54] Switchable devices within system device database:

[05702] [18:02:54] Switched devices within system device database:

[05702] [18:02:54] Finished starting up.
[05702] [18:02:54] Loaded default value for pppint: ppp0
[05702] [18:02:54] Verbosing: 7% Locating device
Locating device [05702] [18:02:54] Fetching connected USB devices by using "/sys/bus/usb/devices".
[05702] [18:02:55] Connected USB devices are:
0424:9514:BUSNUM=001
0424:ec00:BUSNUM=001
12d1:1f16:K5150
1a40:0101:USB 2.0 Hub
1d6b:0002:DWC OTG Controller
7392:7711:802.11 n WLAN
[05702] [18:02:55] No plugged modems found.
[05702] [18:02:55] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[05702] [18:02:55] Asking user to select: OTHER Please select modem type Select modem category that best fits your 3G modem. Select Cancel USBMODEM USB device BLUETOOTH Bluetooth modem CUSTOM_TTY Custom tty...
[05702] [18:02:55] Variable OTHER is not set already.
[05702] [18:02:55] Prompting user to select variable OTHER.



[05702] [18:03:22] User selected: "1. USB device"
[05702] [18:03:22] Considering selection: 1
[05702] [18:03:22] User selection was 1.
[05702] [18:03:23] Fetching connected USB devices by using "/sys/bus/usb/devices".
[05702] [18:03:23] Connected USB devices are:
0424:9514:BUSNUM=001
0424:ec00:BUSNUM=001
12d1:1f16:K5150
1a40:0101:USB 2.0 Hub
1d6b:0002:DWC OTG Controller
7392:7711:802.11 n WLAN
[05702] [18:03:23] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 0424:9514 BUSNUM=001 0424:ec00 BUSNUM=001 12d1:1f16 K5150 1a40:0101 USB 2.0 Hub 1d6b:0002 DWC OTG Controller 7392:7711 802.11 n WLAN
[05702] [18:03:23] Asking user to select: USBMODEM Please select USB modem Select USB device that provides modem capabilities. Select Cancel 0424:9514 BUSNUM=001 0424:ec00 BUSNUM=001 12d1:1f16 K5150 1a40:0101 USB 2.0 Hub 1d6b:0002 DWC OTG Controller 7392:7711 802.11 n WLAN
[05702] [18:03:24] Variable USBMODEM is not set already.
[05702] [18:03:24] Prompting user to select variable USBMODEM.




[05702] [18:03:57] User selected: "3. K5150"
[05702] [18:03:58] Considering selection: 3
[05702] [18:03:58] User selection was 3.
[05702] [18:03:58] Fetching connected USB devices by using "/sys/bus/usb/devices".
[05702] [18:03:58] Connected USB devices are:
0424:9514:BUSNUM=001
0424:ec00:BUSNUM=001
12d1:1f16:K5150
1a40:0101:USB 2.0 Hub
1d6b:0002:DWC OTG Controller
7392:7711:802.11 n WLAN
[05702] [18:03:58] User selected USB modem "12d1:1f16".
[05702] [18:03:58] Setting up modem.
[05702] [18:03:58] We are root already. Proceeding.
[05702] [18:03:58] Setting up USB modem 12d1:1f16.
[05702] [18:03:58] Fetching connected USB devices by using "/sys/bus/usb/devices".
[05702] [18:03:58] Connected USB devices are:
0424:9514:BUSNUM=001
0424:ec00:BUSNUM=001
12d1:1f16:K5150
1a40:0101:USB 2.0 Hub
1d6b:0002:DWC OTG Controller
7392:7711:802.11 n WLAN
[05702] [18:03:58] Located "lsusb" within PATH (/usr/bin/lsusb).
[05702] [18:03:58] Using information of lsusb to determine usable interfaces.
[05702] [18:04:00] USB Device 12d1:1f16 provides 1 interruptable endpoint(s).
[05702] [18:04:00] Interfaces collected from lsusb are: 0
[05702] [18:04:00] Collected 1 interface(s): 0
[05702] [18:04:00] Only one interface available. Will use that one unconditionally.
[05702] [18:04:00] Got valid USB interface 0 of USB modem "12d1:1f16".
[05702] [18:04:00] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:00] Kernel provides AVOID_RESET_QUIRK for device 12d1:1f16.
[05702] [18:04:00] Succesfully enabled AVOID_RESET_QUIRK for device 12d1:1f16.
[05702] [18:04:00] Failed to enable AVOID_RESET_QUIRK for device 12d1:1f16.
[05702] [18:04:02] Device has storage part on interface #2.
[05702] [18:04:02] Device 12d1:1f16, provides storage interface #2.
[05702] [18:04:02] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:02] Storage interface #2 is binded by usb_storage driver.
[05702] [18:04:02] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:02] Information from sysfs:
USB Manufacturer: Vodafone_(Huawei)
USB Product: K5150
USB Serial: FFFFFFFFFFFFFFFF
[05702] [18:04:02] Checking interface #2 of device 12d1:1f16.
[05702] [18:04:02] SCSI device is settled:
SCSI Vendor: Vodafone
SCSI Model: Storage(Huawei)_
SCSI Revision: 2.31
[05702] [18:04:02] No storage device(s) with inserted media exist. Safe to unlock HAL.
[05702] [18:04:03] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:03] Found already loaded driver "cdc_mbim".
[05702] [18:04:03] Driver "cdc_mbim" already attached to interface #0 of device "12d1:1f16".
[05702] [18:04:03] Verbosing: 14% Locating tty
Locating tty [05702] [18:04:03] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:03] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:03] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:03] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [1 second(s) will have pass]
[05702] [18:04:04] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:05] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:05] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:05] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [2 second(s) will have pass]
[05702] [18:04:06] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:06] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:06] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:06] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [3 second(s) will have pass]
[05702] [18:04:07] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:07] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:07] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:07] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [4 second(s) will have pass]
[05702] [18:04:08] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:09] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:09] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:09] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [5 second(s) will have pass]
[05702] [18:04:10] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:10] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:10] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:10] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [6 second(s) will have pass]
[05702] [18:04:11] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:11] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:11] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:11] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [7 second(s) will have pass]
[05702] [18:04:13] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:13] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:13] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:13] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [8 second(s) will have pass]
[05702] [18:04:14] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:14] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:14] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:14] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [9 second(s) will have pass]
[05702] [18:04:15] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:15] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:15] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:15] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [10 second(s) will have pass]
[05702] [18:04:17] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:17] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:17] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:17] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [11 second(s) will have pass]
[05702] [18:04:18] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:18] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:18] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:18] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [12 second(s) will have pass]
[05702] [18:04:19] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:19] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:19] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:19] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [13 second(s) will have pass]
[05702] [18:04:21] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:21] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:21] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:21] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [14 second(s) will have pass]
[05702] [18:04:22] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:22] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:22] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:22] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [15 second(s) will have pass]
[05702] [18:04:23] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:23] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:23] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:23] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [16 second(s) will have pass]
[05702] [18:04:25] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:25] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:25] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:25] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [17 second(s) will have pass]
[05702] [18:04:26] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:26] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:26] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:26] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [18 second(s) will have pass]
[05702] [18:04:27] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:27] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:27] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:27] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [19 second(s) will have pass]
[05702] [18:04:29] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:29] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:29] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:29] Waiting for driver cdc_mbim to create tty of device 12d1:1f16 (interface #0). [20 second(s) will have pass]
[05702] [18:04:30] Device 12d1:1f16 sysfs dir found: /sys/bus/usb/devices/1-1.2/1-1.2.3
[05702] [18:04:30] Interface #0 sysfs dir is: /sys/bus/usb/devices/1-1.2/1-1.2.3/1-1.2.3:2.0
[05702] [18:04:30] Failed to retrieve sysfs tty for interface #0.
[05702] [18:04:30] Driver cdc_mbim failed to create a tty node for interface #0 of device 12d1:1f16.
[05702] [18:04:30] Failed to locate tty device of interface #0 from device "12d1:1f16".
[05702] [18:04:30] Error: Failed to connect.
[05702] [18:04:33] Aborting execution chain due to actor "connect" returning 8.
[05702] [18:04:33] Following actors executed: connect
[05702] [18:04:33] Verbosing: 21% Cleaning
Cleaning [05702] [18:04:33] Stopping operation with return status: 8
[05702] [18:04:33] Now executing traps.
[05702] [18:04:33] Executing trap "cleanscreen".


Offline
PostPosted: Tue Mar 25, 2014 3:22 pm Reply with quote
Posts: 1175 Joined: Wed Jul 11, 2012 3:14 pm Location: Koh Samui, TH
This is a dongle which has direct ethernet on its usb interfaces, it is not a serial ppp modem so there will not be any ttyUSB devices created by its drivers.
Sakis3G is a modem dialer program s it can not be used with this dongle.

Code:
[ 10.525113] usbcore: registered new interface driver cdc_wdm
[ 10.621799] usbcore: registered new interface driver cdc_ncm
[ 10.665651] cdc_mbim 1-1.2.3:2.0: cdc-wdm0: USB WDM device
[ 10.691182] cdc_mbim 1-1.2.3:2.0 wwan0: register 'cdc_mbim' at usb-bcm2708_usb-1.2.3, CDC MBIM, ae:6e:de:a6:bd:8d
[ 10.727720] usbcore: registered new interface driver cdc_mbim


libmbim and linux network manager is needed for managing this dongle.


Offline
PostPosted: Sat Jul 01, 2017 9:15 pm Reply with quote
Posts: 2 Joined: Sat Jul 01, 2017 9:06 pm
Hi,

I have also been battling (for about a year) to get my Vodafone (Huawei 12d1:1f16) K5150 to work with IPFire.

lsusb -v -d 12d1:1575
Code:
Bus 001 Device 005: ID 12d1:1575 Huawei Technologies Co., Ltd. K5150 LTE modem
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x12d1 Huawei Technologies Co., Ltd.
  idProduct          0x1575 K5150 LTE modem
  bcdDevice            1.02
  iManufacturer           6 Vodafone (Huawei)
  iProduct                5 K5150
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           71
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 configuration 0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0
      iInterface              0
      CDC Header:
        bcdCDC               1.10
      CDC Ethernet:
        iMacAddress                      1 582C80139263
        bmEthernetStatistics    0x00000005
        wMaxSegmentSize               1514
        wNumberMCFilters            0x0003
        bNumberPowerFilters              1
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               5
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      6
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval              32
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)


after
Code:
usb_modeswitch -W -H -v 12d1 -p 1f16


extract from dmesg:
Code:
[  402.047768] usb 1-2: USB disconnect, device number 2
[  402.396686] usb 1-2: new high-speed USB device number 5 using ehci-pci
[  402.521240] usb 1-2: New USB device found, idVendor=12d1, idProduct=1575
[  402.521245] usb 1-2: New USB device strings: Mfr=6, Product=5, SerialNumber=0
[  402.521248] usb 1-2: Product: K5150
[  402.521251] usb 1-2: Manufacturer: Vodafone (Huawei)
[  402.551746] Loading modules backported from Linux version v4.2.6-0-g1c02865
[  402.551752] Backport generated by backports.git v4.2.6-1-0-g90118c7
[  402.567599] cdc_ether 1-2:1.0 eth0: register 'cdc_ether' at usb-0000:00:1d.7-2, CDC Ethernet Device, 58:2c:80:13:92:63
[  402.567668] usbcore: registered new interface driver cdc_ether


I have read the above reply:
Quote:
This is a dongle which has direct ethernet on its usb interfaces, it is not a serial ppp modem so there will not be any ttyUSB devices created by its drivers.


I have to select one of the ttyUSB[x] / ttyACM[x] devices in PPP setup page of IPFire but as described by nuty, it does not create a ttyUSB or ttyACM

Is there another way to get IPFire to be able to use the modem?


Offline
PostPosted: Sat Jul 01, 2017 9:29 pm Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
I don't know "IPFire", but you can use the ethernet port by running a dhcp client program (e.g. "dhclient") on port "eth0", then make the new IP address the default network route and add the modem's address as nameserver.
You'll find plenty of information on the web about all this.

It's likely that you have to control the actual Internet connection through a web page created by the modem.


Offline
PostPosted: Sat Jul 01, 2017 10:08 pm Reply with quote
Posts: 2 Joined: Sat Jul 01, 2017 9:06 pm
@Josh: Thank you for your fast response! It's starting to make sense.

Let me do some research...


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
5 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum