Podgląd pojedynczego posta
Stary 09.01.2015, 22:58   #8
andy
logged out
CDRinfo VIP
 
Avatar użytkownika andy
 
Data rejestracji: 12.07.2003
Lokalizacja: /home
Posty: 12,518
andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>andy jest wzorem do naśladowania <650 - 999 pkt>
U siebie mam takie rozwiązanie: Modem Huawei E3272 --- USB ---> Netgear z Gargoyle ) ) ) / ---- Komputer/Smartfon.

W przypadku Gargoyle wszystko ustawisz po WWW.

W menu Konfiguracja Interfejs WAN musisz przestawić na kolejny (u mnie pod eth0 to modem)

Modem pracuje w podsieci 192.168.1.0/24. Adres modemu to 192.168.1.1. Router mam u siebie przestawiony na 192.168.2.1

Daj znać jak coś będziesz potrzebował.

btw, aby ustawić modem jak wyżej napisałem musi on działać w trybie HiLink (działa jako karta sieciowa). Starsze modem inaczej się konfiguruje - popacz forum eko.one.pl

Kod:
root@Gargoyle:~# cat /proc/bus/usb/devices 

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ohci_hcd
S:  Product=Generic Platform OHCI Controller
S:  SerialNumber=ohci-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=   2 Ivl=255ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 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#= 29 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=14db Rev= 1.02
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=06 Prot=00 Driver=cdc_ether
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
Kod:
root@Gargoyle:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr C6:3D:C7:AF:04:FD  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::c43d:c7ff:feaf:4fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:208540752 errors:0 dropped:0 overruns:0 frame:0
          TX packets:304637154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:39083273470 (36.3 GiB)  TX bytes:347011583180 (323.1 GiB)

eth0      Link encap:Ethernet  HWaddr C6:3D:C7:AF:04:FD  
          inet6 addr: fe80::c43d:c7ff:feaf:4fd/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:233527713 errors:0 dropped:0 overruns:17284 frame:0
          TX packets:240021574 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3016075093 (2.8 GiB)  TX bytes:2574926011 (2.3 GiB)
          Interrupt:4 

eth0.1    Link encap:Ethernet  HWaddr C6:3D:C7:AF:04:FD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:233527653 errors:0 dropped:0 overruns:0 frame:0
          TX packets:240021569 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:153431390097 (142.8 GiB)  TX bytes:255017908748 (237.5 GiB)

eth2      Link encap:Ethernet  HWaddr 00:80:1E:15:36:8B  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::280:1eff:fe15:368b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3798049 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2682839 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:196934811 (187.8 MiB)  TX bytes:271003894 (258.4 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:150893 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150893 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:11670649 (11.1 MiB)  TX bytes:11670649 (11.1 MiB)

wlan0     Link encap:Ethernet  HWaddr C4:3D:C7:AF:04:FD  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:68675922 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164757525 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4254466461 (3.9 GiB)  TX bytes:244146535 (232.8 MiB)

wlan1     Link encap:Ethernet  HWaddr C4:3D:C7:AF:04:FF  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:901760 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7327278 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:152245972 (145.1 MiB)  TX bytes:3566340643 (3.3 GiB)
-zrzut-ekranu-2015-01-09-23-49-57.png
__________________
XMPP: andrzej(at)czerniak.info.pl
andy jest offline   Odpowiedz cytując ten post