1

Temat: Samsung Galaxy Y jako modem 3g

Hej
Chciałem użyć mojego telefonu jako modemu do internetu. Niestety nie działa poprawnie.

Aug 30 20:08:02 Gargoyle daemon.notice pppd[4658]: pppd 2.4.5 started by root, uid 0
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: abort on (BUSY)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: abort on (NO CARRIER)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: abort on (ERROR)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: report (CONNECT)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: timeout set to 10 seconds
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: send (AT&F^M)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: expect (OK)
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: AT&F^M^M
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: +CME ERROR
Aug 30 20:08:03 Gargoyle local2.info chat[4663]:  -- failed
Aug 30 20:08:03 Gargoyle local2.info chat[4663]: Failed (ERROR)
Aug 30 20:08:03 Gargoyle daemon.err pppd[4658]: Connect script failed
Aug 30 20:08:30 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 4
Aug 30 20:08:31 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 5
Aug 30 20:08:31 Gargoyle user.info kernel: usb 1-1: configuration #2 chosen from 1 choice
Aug 30 20:08:31 Gargoyle user.info kernel: usb0: register 'rndis_host' at usb-ar71xx-ehci-1, RNDIS device, aa:bb:cc:dd:ee:ff
Aug 30 20:08:32 Gargoyle user.notice 3g-hotplug: Stopping interface wan for device ttyACM0
Aug 30 20:08:32 Gargoyle daemon.info pppd[4658]: Terminating on signal 15
Aug 30 20:08:32 Gargoyle daemon.info pppd[4658]: Exit.
Aug 30 20:08:33 Gargoyle user.notice usb-modeswitch: 1-1:2.0: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Aug 30 20:08:33 Gargoyle user.notice usb-modeswitch: 1-1:2.1: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Aug 30 20:09:02 Gargoyle daemon.err pppd[4978]: unrecognized option '/dev/ttyACM0'

Sam interfejs ACM0 jest widoczny dopóki nie wybiorę Router GSM w telefonie.
Po tym zabiegu znika ACM, ale pojawia się w ifconfig interfejs usb0

Jakieś rady? smile

http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

2

Odp: Samsung Galaxy Y jako modem 3g

Jak masz usb0 to nie używasz ppp (i połączenia modemowego) tylko jak zwykłej karty sieciowej - czyli robisz wan na proto dhcp  i ifname na usb0

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Samsung Galaxy Y jako modem 3g

aa, dzięki, rzeczywiście działa big_smile

http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

4

Odp: Samsung Galaxy Y jako modem 3g

Coś nie widzi telefonu openwrt

root@Gargoyle:/dev# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
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#= 14 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=04e8 ProdID=6863 Rev= 4.00
S:  Manufacturer=Broadcom
S:  Product=BCM21553-Thunderbird
S:  SerialNumber=0123456789ABCDEF
C:* #Ifs= 2 Cfg#= 2 Atr=c0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=ff Driver=(none)
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
root@Gargoyle:/dev# ifconfig
br-lan    Link encap:Ethernet  HWaddr 90:F6:52:92:6C:CB
          inet addr:192.168.2.100  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1790 errors:0 dropped:158 overruns:0 frame:0
          TX packets:847 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:527093 (514.7 KiB)  TX bytes:101348 (98.9 KiB)

eth0      Link encap:Ethernet  HWaddr 90:F6:52:92:6C:CB
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2238451 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63739 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:209092922 (199.4 MiB)  TX bytes:30220897 (28.8 MiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2438 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:179866 (175.6 KiB)  TX bytes:179866 (175.6 KiB)

root@Gargoyle:/dev#

Gargoyle: 1.5.10.6

Jakiś pomysł? wink

log

Jul 12 14:26:51 Gargoyle kern.info kernel: [74188.740000] usb 1-1: USB disconnect, device number 14
Jul 12 14:26:55 Gargoyle kern.info kernel: [74192.650000] usb 1-1: new high-speed USB device number 15 using ehci-platform
Jul 12 14:26:55 Gargoyle kern.info kernel: [74192.830000] scsi11 : usb-storage 1-1:1.0
Jul 12 14:26:55 Gargoyle kern.err kernel: [74192.830000] cdc_acm 1-1:1.1: This device cannot do calls on its own. It is not a modem.
Jul 12 14:26:55 Gargoyle kern.info kernel: [74192.840000] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
Jul 12 14:26:55 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Jul 12 14:26:55 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Jul 12 14:26:56 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Jul 12 14:26:56 Gargoyle kern.notice kernel: [74193.830000] scsi 11:0:0:0: Direct-Access     SAMSUNG  S5360 Card       0000 PQ: 0 ANSI: 2
Jul 12 14:26:56 Gargoyle kern.notice kernel: [74193.840000] sd 11:0:0:0: [sda] Attached SCSI removable disk
Jul 12 14:26:58 Gargoyle kern.info kernel: [74196.140000] usb 1-1: USB disconnect, device number 15
Jul 12 14:26:59 Gargoyle kern.info kernel: [74196.490000] usb 1-1: new high-speed USB device number 16 using ehci-platform
Jul 12 14:26:59 Gargoyle daemon.notice pppd[12589]: pppd 2.4.5 started by root, uid 0
Jul 12 14:26:59 Gargoyle daemon.err pppd[12589]: Failed to open /dev/ttyACM0: No such device
Jul 12 14:26:59 Gargoyle daemon.info pppd[12589]: Exit.
Jul 12 14:26:59 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul 12 14:26:59 Gargoyle daemon.notice netifd: Interface 'wan' is now down
Jul 12 14:27:00 Gargoyle user.notice usb-modeswitch: 1-1:2.0: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
Jul 12 14:27:00 Gargoyle user.notice usb-modeswitch: 1-1:2.1: Manufacturer=Broadcom Product=BCM21553-Thunderbird Serial=0123456789ABCDEF
http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

5

Odp: Samsung Galaxy Y jako modem 3g

Telefon musisz w tryb dial-up przełączyć, wypisał Ci to w logu. Na razie pewnie jako storage czy coś podobnego masz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Samsung Galaxy Y jako modem 3g

Włączam udostępnianie połączenia w ustawieniach

http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

7

Odp: Samsung Galaxy Y jako modem 3g

Sterownik twierdzi coś innego. Nie potrzebujesz czasami na Galaxy Y specjalnej aplikacji do tetheringu żeby to działało?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Samsung Galaxy Y jako modem 3g

A nie lepiej bezpośrednio przez WiFi-przenośny punkt dostępu, udostępnić połączenie? Nawet gdyby urządzenia miały działać po ethernecie to router z openwrt może być klientem takiego punktu i przenosić połączenie na kabel. smile