Temat: modem podpiety przez hub usb, problem z montowaneim?
Hej mam podpiety modem do routera poprzez HUB`a usb
modem łączy sie z internetem natomiast jest jakis problem z wykryciem karty microSD ktora sie w nim znajduje, cos dodatkowo musze przekonfigurować?
cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 1/800 us ( 0%), #Int= 2, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.32.27 ehci_hcd
S: Product=Atheros AR91xx built-in EHCI controller
S: SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=05e3 ProdID=0608 Rev=77.64
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1c05 Rev= 1.02
S: Manufacturer=HUAWEI
S: Product=HUAWEI Mobile
C:* #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=8f(I) Atr=03(Int.) MxPS= 64 Ivl=2ms
E: Ad=8e(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=0f(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=8d(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=0e(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E: Ad=8c(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=0d(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=0b(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0msi logread
Jan 1 01:00:46 Gargoyle user.info sysinit: Adding custom chains
Jan 1 01:00:47 Gargoyle user.info sysinit: Loading zones
Jan 1 01:00:48 Gargoyle user.info sysinit: Loading forwardings
Jan 1 01:00:48 Gargoyle user.info sysinit: Loading redirects
Jan 1 01:00:48 Gargoyle user.info sysinit: Loading rules
Jan 1 01:00:48 Gargoyle user.info sysinit: Loading includes
Jan 1 01:00:48 Gargoyle user.info sysinit: Optimizing conntrack
Jan 1 01:00:48 Gargoyle user.info sysinit: Loading interfaces
Jan 1 01:00:48 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Jan 1 01:00:49 Gargoyle cron.err crond[1252]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:00:50 Gargoyle authpriv.info dropbear[1260]: Running in background
Jan 1 01:00:50 Gargoyle daemon.crit httpd_gargoyle[1279]: socket :: - Address family not supported by protocol
Jan 1 01:00:50 Gargoyle daemon.err httpd_gargoyle[1279]: unknown sockaddr family on listen socket - 0
Jan 1 01:00:50 Gargoyle daemon.warn httpd_gargoyle[1285]: started as root without requesting chroot(), warning only
Jan 1 01:00:50 Gargoyle daemon.notice httpd_gargoyle[1285]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Jan 1 01:00:50 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Jan 1 01:00:50 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: started, version 2.55 cachesize 150
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq-dhcp[1309]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: using local addresses only for domain lan
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: reading /tmp/resolv.conf.auto
Jan 1 01:00:54 Gargoyle daemon.warn dnsmasq[1309]: ignoring nameserver 192.168.1.1 - local interface
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: using local addresses only for domain lan
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq[1309]: read /etc/hosts - 2 addresses
Jan 1 01:00:54 Gargoyle daemon.info dnsmasq-dhcp[1309]: read /etc/ethers - 0 addresses
Jan 1 01:00:54 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Jan 1 01:00:54 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Jan 1 01:00:58 Gargoyle user.info sysinit: Warning: TargetProductList overrides TargetProduct!
Jan 1 01:00:58 Gargoyle user.info sysinit: Looking for target devices ...
Jan 1 01:00:58 Gargoyle user.info sysinit: No devices in target mode or class found
Jan 1 01:00:58 Gargoyle user.info sysinit: Looking for default devices ...
Jan 1 01:00:58 Gargoyle user.info sysinit: Found devices in default mode or class (1)
Jan 1 01:00:58 Gargoyle user.info sysinit: Accessing device 003 on bus 001 ...
Jan 1 01:00:58 Gargoyle user.info sysinit: Using endpoints 0x0f (out) and 0x8f (in)
Jan 1 01:00:58 Gargoyle user.info sysinit: Using endpoints 0x0f (out) and 0x8f (in)
Jan 1 01:00:58 Gargoyle user.info sysinit: Inquiring device details; driver will be detached ...
Jan 1 01:00:58 Gargoyle user.info sysinit: Looking for active driver ...
Jan 1 01:00:58 Gargoyle user.warn kernel: usb 1-1.1: usbfs: process 1331 (usb_modeswitch) did not claim interface 0 before use
Jan 1 01:00:58 Gargoyle user.info sysinit: OK, driver found ("usb-storage")
Jan 1 01:00:58 Gargoyle user.info sysinit: OK, driver "usb-storage" detached
Jan 1 01:00:58 Gargoyle user.info sysinit: SCSI inquiry data (for identification)
Jan 1 01:00:58 Gargoyle user.info sysinit: -------------------------
Jan 1 01:00:58 Gargoyle user.info sysinit: Vendor String: HUAWEI
Jan 1 01:00:58 Gargoyle user.info sysinit: Model String: Mass Storage
Jan 1 01:00:58 Gargoyle user.info sysinit: Revision String: 2.31
Jan 1 01:00:58 Gargoyle user.info sysinit: -------------------------
Jan 1 01:00:58 Gargoyle user.info sysinit: USB description data (for identification)
Jan 1 01:00:58 Gargoyle user.info sysinit: -------------------------
Jan 1 01:00:58 Gargoyle user.info sysinit: Manufacturer: HUAWEI
Jan 1 01:00:58 Gargoyle user.info sysinit: Product: HUAWEI Mobile
Jan 1 01:00:58 Gargoyle user.info sysinit: Serial No.: not provided
Jan 1 01:00:58 Gargoyle user.info sysinit: -------------------------
Jan 1 01:00:58 Gargoyle user.info sysinit: Setting up communication with interface 0 ...
Jan 1 01:00:58 Gargoyle user.info sysinit: Using endpoint 0x0f for message sending ...
Jan 1 01:00:58 Gargoyle user.info sysinit: Trying to send message 1 to endpoint 0x0f ...
Jan 1 01:00:58 Gargoyle user.info kernel: usb 1-1.1: USB disconnect, address 3
Jan 1 01:01:01 Gargoyle cron.info crond[1252]: crond: USER root pid 1374 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Jan 1 01:01:02 Gargoyle daemon.info dnsmasq-dhcp[1309]: DHCPDISCOVER(br-lan) 00:0e:35:ab:6c:53
Jan 1 01:01:02 Gargoyle daemon.info dnsmasq-dhcp[1309]: DHCPOFFER(br-lan) 192.168.1.131 00:0e:35:ab:6c:53
Jan 1 01:01:02 Gargoyle daemon.info dnsmasq-dhcp[1309]: DHCPREQUEST(br-lan) 192.168.1.131 00:0e:35:ab:6c:53
Jan 1 01:01:02 Gargoyle daemon.info dnsmasq-dhcp[1309]: DHCPACK(br-lan) 192.168.1.131 00:0e:35:ab:6c:53 walet-20101010
Jan 1 01:01:03 Gargoyle user.info kernel: usb 1-1.1: new high speed USB device using ar71xx-ehci and address 4
Jan 1 01:01:03 Gargoyle user.info kernel: usb 1-1.1: configuration #1 chosen from 1 choice
Jan 1 01:01:03 Gargoyle user.info kernel: option 1-1.1:1.0: GSM modem (1-port) converter detected
Jan 1 01:01:03 Gargoyle user.info kernel: usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
Jan 1 01:01:03 Gargoyle user.info kernel: option 1-1.1:1.1: GSM modem (1-port) converter detected
Jan 1 01:01:03 Gargoyle user.info kernel: usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Jan 1 01:01:03 Gargoyle user.info kernel: option 1-1.1:1.2: GSM modem (1-port) converter detected
Jan 1 01:01:03 Gargoyle user.info kernel: usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Jan 1 01:01:03 Gargoyle user.info kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jan 1 01:01:03 Gargoyle user.debug kernel: usb-storage: device found at 4
Jan 1 01:01:03 Gargoyle user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan 1 01:01:03 Gargoyle user.info kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Jan 1 01:01:03 Gargoyle user.debug kernel: usb-storage: device found at 4
Jan 1 01:01:03 Gargoyle user.debug kernel: usb-storage: waiting for device to settle before scanning
Jan 1 01:01:03 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:01:05 Gargoyle user.info sysinit: Error: could not get description string "manufacturer"
Jan 1 01:01:05 Gargoyle user.debug kernel: usb 1-1.1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -145
Jan 1 01:01:05 Gargoyle user.notice 3g-hotplug: Starting interface wan for device ttyUSB0
Jan 1 01:01:06 Gargoyle user.info sysinit: OK, message successfully sent
Jan 1 01:01:06 Gargoyle user.info sysinit: Resetting response endpoint 0x8f
Jan 1 01:01:06 Gargoyle user.info sysinit: Resetting message endpoint 0x0f
Jan 1 01:01:06 Gargoyle user.info sysinit: Error resetting endpoint: -71
Jan 1 01:01:06 Gargoyle user.info sysinit: Checking for mode switch (max. 20 times, once per second) ...
Jan 1 01:01:06 Gargoyle user.info sysinit: Waiting for original device to vanish ...
Jan 1 01:01:06 Gargoyle user.info sysinit: Original device can't be accessed anymore. Good.
Jan 1 01:01:06 Gargoyle user.info sysinit: Searching for target devices ...
Jan 1 01:01:06 Gargoyle user.info sysinit: Searching for target devices ...
Jan 1 01:01:06 Gargoyle user.info sysinit: Searching for target devices ...
Jan 1 01:01:06 Gargoyle user.info sysinit: Searching for target devices ...
Jan 1 01:01:06 Gargoyle user.notice usb-modeswitch: 1-1.1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:01:08 Gargoyle user.notice usb-modeswitch: 1-1.1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:01:08 Gargoyle user.notice kernel: scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Jan 1 01:01:08 Gargoyle user.debug kernel: usb-storage: device scan complete
Jan 1 01:01:08 Gargoyle user.notice kernel: scsi 3:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
Jan 1 01:01:08 Gargoyle user.debug kernel: usb-storage: device scan complete
Jan 1 01:01:08 Gargoyle user.notice kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Jan 1 01:01:10 Gargoyle user.notice usb-modeswitch: 1-1.1:1.3: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:01:12 Gargoyle user.notice usb-modeswitch: 1-1.1:1.4: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:01:14 Gargoyle daemon.notice pppd[1582]: pppd 2.4.4 started by root, uid 0
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: abort on (BUSY)
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: abort on (NO CARRIER)
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: abort on (ERROR)
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: report (CONNECT)
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: timeout set to 10 seconds
Jan 1 01:01:15 Gargoyle local2.info chat[1598]: send (AT&F^M)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: expect (OK)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: AT&F^M^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: OK
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: -- got it
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: send (ATE1^M)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: expect (OK)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: ^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: ATE1^M^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: OK
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: -- got it
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: send (AT+CGDCONT=1,"IP","erainternet"^M)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: timeout set to 30 seconds
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: expect (OK)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: ^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: AT+CGDCONT=1,"IP","erainternet"^M^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: OK
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: -- got it
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: send (ATD*99***1#^M)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: expect (CONNECT)
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: ^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: ATD*99***1#^M^M
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: CONNECT
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: -- got it
Jan 1 01:01:16 Gargoyle local2.info chat[1598]: send ( ^M)
Jan 1 01:01:16 Gargoyle daemon.info pppd[1582]: Serial connection established.
Jan 1 01:01:16 Gargoyle daemon.info pppd[1582]: Using interface 3g-wan
Jan 1 01:01:16 Gargoyle daemon.notice pppd[1582]: Connect: 3g-wan <--> /dev/ttyUSB0
Jan 1 01:01:17 Gargoyle daemon.info pppd[1582]: CHAP authentication succeeded: Welcome!!
Jan 1 01:01:17 Gargoyle daemon.notice pppd[1582]: CHAP authentication succeeded
Jan 1 01:01:22 Gargoyle daemon.err pppd[1582]: Could not determine local IP address
Jan 1 01:01:22 Gargoyle daemon.info pppd[1582]: Connect time 0.2 minutes.
Jan 1 01:01:22 Gargoyle daemon.info pppd[1582]: Sent 142 bytes, received 106 bytes.
Jan 1 01:01:22 Gargoyle daemon.notice pppd[1582]: Connection terminated.
Jan 1 01:01:22 Gargoyle daemon.info pppd[1582]: Hangup (SIGHUP)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: abort on (BUSY)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: abort on (NO CARRIER)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: abort on (ERROR)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: report (CONNECT)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: timeout set to 10 seconds
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: send (AT&F^M)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: expect (OK)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: AT&F^M^M
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: OK
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: -- got it
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: send (ATE1^M)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: expect (OK)
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: ^M
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: ATE1^M^M
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: OK
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: -- got it
Jan 1 01:01:23 Gargoyle local2.info chat[1627]: send (AT+CGDCONT=1,"IP","erainternet"^M)
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: timeout set to 30 seconds
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: expect (OK)
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: ^M
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: AT+CGDCONT=1,"IP","erainternet"^M^M
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: OK
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: -- got it
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: send (ATD*99***1#^M)
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: expect (CONNECT)
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: ^M
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: ATD*99***1#^M^M
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: CONNECT
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: -- got it
Jan 1 01:01:24 Gargoyle local2.info chat[1627]: send ( ^M)
Jan 1 01:01:24 Gargoyle daemon.info pppd[1582]: Serial connection established.
Jan 1 01:01:24 Gargoyle daemon.info pppd[1582]: Using interface 3g-wan
Jan 1 01:01:24 Gargoyle daemon.notice pppd[1582]: Connect: 3g-wan <--> /dev/ttyUSB0
Jan 1 01:01:25 Gargoyle daemon.info pppd[1582]: CHAP authentication succeeded: Welcome!!
Jan 1 01:01:25 Gargoyle daemon.notice pppd[1582]: CHAP authentication succeeded
Jan 1 01:01:28 Gargoyle daemon.warn pppd[1582]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan 1 01:01:28 Gargoyle daemon.notice pppd[1582]: local IP address 10.114.117.184
Jan 1 01:01:28 Gargoyle daemon.notice pppd[1582]: remote IP address 10.64.64.64
Jan 1 01:01:28 Gargoyle daemon.notice pppd[1582]: primary DNS address 213.158.199.1
Jan 1 01:01:28 Gargoyle daemon.notice pppd[1582]: secondary DNS address 213.158.199.5
Jan 1 01:01:28 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jan 1 01:01:28 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Jan 1 01:01:30 Gargoyle cron.err crond[1854]: crond (busybox 1.15.3) started, log level 5
Jan 1 01:01:31 Gargoyle authpriv.info dropbear[1960]: Child connection from 192.168.1.131:1478
Jan 1 01:01:32 Gargoyle user.warn kernel: ipt_bandwidth: timezone shift detected, adjusting
Jan 1 01:01:33 Gargoyle cron.err crond[2179]: crond (busybox 1.15.3) started, log level 5