Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-08-06 12:13:45

  oli - Członek DUG

oli
Członek DUG
Zarejestrowany: 2012-01-08

Modem 3g instalacja i co zamiast wicd ?

Laptop HP6910p + modem 3G
Nie mogę modemu odpalić. Oprócz tego z innej bajki Wicd za każdym razem po uruchomieniu woła o hasło by uruchomić karty sieciowe. Jeśli go odinstaluje to nie mam żadnego managera chociaż zainstalowałem network-manager
Dopiero co się przesiadłem z Sparkylinux Lxde na Debian x64 Lxde.

Kod:

# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)
00:03.0 Communication controller: Intel Corporation Mobile PM965/GM965 MEI Controller (rev 0c)
00:03.2 IDE interface: Intel Corporation Mobile PM965/GM965 PT IDER Controller (rev 0c)
00:03.3 Serial controller: Intel Corporation Mobile PM965/GM965 KT Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 03)
02:06.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b9)
02:06.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 03)
02:06.3 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 20)
10:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)

Kod:

# lsusb
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 003 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 03f0:1e1d Hewlett-Packard 
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Ostatnio edytowany przez oli (2016-08-06 12:14:33)

Offline

 

#2  2016-08-06 12:16:34

  Pavlo950 - człowiek pasjonat :D

Pavlo950
człowiek pasjonat :D
Zarejestrowany: 2012-02-20
Serwis

Re: Modem 3g instalacja i co zamiast wicd ?

Menedżer sieci musi być jeden, nie mogą być dwa, bo się robi burdel. Wywal wszystko co związane z wicdem i wgraj network managera:

Kod:

logan@toshiba:~$ dpkg -l | grep network-manager
ii  network-manager                       0.9.10.0-7                           amd64        network management framework (daemon and userspace tools)
ii  network-manager-gnome                 0.9.10.0-2                           amd64        network management framework (GNOME frontend)
ii  network-manager-openconnect           0.9.10.0-1                           amd64        network management framework (OpenConnect plugin)
ii  network-manager-openconnect-gnome     0.9.10.0-1                           amd64        network management framework (OpenConnect plugin GNOME GUI)
ii  network-manager-openvpn               0.9.10.0-1                           amd64        network management framework (OpenVPN plugin core)
ii  network-manager-openvpn-gnome         0.9.10.0-1                           amd64        network management framework (OpenVPN plugin GNOME GUI)
ii  network-manager-pptp                  0.9.10.0-1                           amd64        network management framework (PPTP plugin core)
ii  network-manager-pptp-gnome            0.9.10.0-1                           amd64        network management framework (PPTP plugin GNOME GUI)
ii  network-manager-vpnc                  0.9.10.0-1                           amd64        network management framework (VPNC plugin core)
ii  network-manager-vpnc-gnome            0.9.10.0-1                           amd64        network management framework (VPNC plugin GNOME GUI)

Pogrzeb, powinno ruszyć.

Offline

 

#3  2016-08-06 12:23:17

  oli - Członek DUG

oli
Członek DUG
Zarejestrowany: 2012-01-08

Re: Modem 3g instalacja i co zamiast wicd ?

Kod:

# dpkg -l | grep network-manager
ii  network-manager                       1.2.2-2                           amd64        network management framework (daemon and userspace tools)

Ok, brakowało network-manager gnome

Dzieki

Offline

 

#4  2016-08-06 21:42:09

  wxn - Użytkownik

wxn
Użytkownik
Zarejestrowany: 2015-04-29

Re: Modem 3g instalacja i co zamiast wicd ?

Network Manager nie jest potrzebny do łączenia z internetem poprzez modem 3G/LTE.
W Debianie 8 zainstalowanym z obrazu

Kod:

cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso

gdzie mam tylko podstawowy system bez X-ów, Network Managera i Modem Managera, do połączenia poprzez modem Huawei E1750 używam tego sposobu - nie pamiętam tego linka, gdzie była ta informacja

Kod:

in minicom: AT^NDISDUP=1,1,"my_apn_name"
in root console: ifconfig wwan0 hw ether 00:01:02:03:04:05
in root console: dhclient wwan0

And it works!
(Anyway it is a dirty trick. We should find the real cause of
"strange" MAC dst in incoming packets).

To disconnect, it is sufficient to make:
AT^NDISDUP=1,0
ifconfig wwan0 down

zamiast minicoma mam picocom

Kod:

usb 1-4: New USB device found, idVendor=12d1, idProduct=1446
usb 1-4: New USB device found, idVendor=12d1, idProduct=1436

usb-devices
T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1436 Rev=00.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=ff Driver=cdc_ether
I:  If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I:  If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

ls /dev/ttyUSB*
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2

picocom /dev/ttyUSB2
ate1
OK
at^curc=0
OK
ati
Manufacturer: huawei
Model: E1750
Revision: 11.126.08.01.00
IMEI: 
+GCAP: +CGSM,+DS,+ES

OK
at^getportmode
^GETPORTMODE:TYPE:WCDMA:Qualcomm,MDM:0,NDIS:1,DIAG:2,PCUI:3,CDROM:4,SD:5

OK
at^u2diag?
276

OK

ifconfig -a z Debiana 8 netinstall

Kod:

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:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1056 (1.0 KiB)  TX bytes:1056 (1.0 KiB)

wwan0     Link encap:Ethernet  HWaddr 00:01:02:03:04:05  
          inet addr:5.173.225.78  Bcast:5.173.225.79  Mask:255.255.255.252
          inet6 addr: fe80::201:2ff:fe03:405/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8920 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5713 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:12779037 (12.1 MiB)  TX bytes:380425 (371.5 KiB)

Ten Huawei E1750 był jednym z pierwszych Huaweiów, które łączyły z internetem w NDIS - przełom 2009/2010 i sprawdziłem go w Ubuntu 9.04 z zainstalowanym linuksowym Mobile Partner , ndis_driver bez problemu zainstalował się w tym Ubuntu

Kod:

cat /usr/local/Mobile_Partner/config/data/SysConfig.dat
[ModemName]
ModemName_1=HUAWEI Mobile Connect - 3G Modem
ModemName_2=MCCI(r) USB Function (CDMA Modem) Drivers (emch) (for evaluation only) (VCOMM)

[Diag]
DiagWaitOutTime=5000

[ModuleCtrl]
LoadedModule = 6

[UI Customization]
System Setting Modification=N

[System]
FileVersion=1
MajorVersion=20
VRVersion=15    
BuildVersion=001
DevelopVersion=08
SPVersion=01
CustomizeVersion=45

[EHIDS_PRODUCT_VERSION]
COMMENT=
VALUE=15.001.08.01.45
SUBVERSION=C03

Kod:

ls -al /usr/local/Mobile_Partner/driver/ndis_driver
total 72
drwxr-xr-x 17 400 401 4096 2009-11-14 14:42 .
drwxr-xr-x  6 400 401 4096 2016-08-06 15:23 ..
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora10
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora10_64
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora11
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora11_64
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora9
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Fedora9_64
-rwxr-xr-x  1 400 401 3156 2009-11-14 14:42 ndis_install
drwxr-xr-x  3 400 401 4096 2009-11-14 14:42 ndis_src
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 OpenSUSE11
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 OpenSUSE111
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 OpenSUSE111_64
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 OpenSUSE11_64
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Ubuntu810
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Ubuntu810_64
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Ubuntu904
drwxr-xr-x  2 400 401 4096 2009-11-14 14:42 Ubuntu904_64

Offline

 

#5  2016-08-06 23:15:15

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Modem 3g instalacja i co zamiast wicd ?

Tylko to jest wwan, trzeba usb-modeswitch i rfkill, wtedy działa poprawnie.


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

#6  2016-08-14 20:26:14

  wxn - Użytkownik

wxn
Użytkownik
Zarejestrowany: 2015-04-29

Re: Modem 3g instalacja i co zamiast wicd ?

Tu kilka dodatkowych informacji o E1750 łączącym z netem w Ubu 9.04 w NDIS poprzez linuksowego Mobile Partner

Kod:

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1e:10:1f:00:04  
          inet addr:5.173.225.78  Bcast:5.173.225.79  Mask:255.255.255.252
          inet6 addr: fe80::21e:10ff:fe1f:4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10565 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8713 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:9847005 (9.8 MB)  TX bytes:1099524 (1.0 MB)

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:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:688 (688.0 B)  TX bytes:688 (688.0 B)

pan0      Link encap:Ethernet  HWaddr f2:4a:ce:a3:bc:5f  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Kod:

cat /usr/local/Mobile_Partner/log/mobilePartnerAT.txt
[Time:2016-08-14 20:11:20,239]    message: WritetOport Send AT:[AT^CVOICE=?
]
[Time:2016-08-14 20:11:20,347]    message: SerialEvent Read InputStream Begin.
[Time:2016-08-14 20:11:20,347]    message: SerialEvent InputStream Return Result:[^CVOICE:(0)

OK]
[Time:2016-08-14 20:11:23,099]    message: WritetOport Send AT:[at^dialmode?
]
[Time:2016-08-14 20:11:23,203]    message: SerialEvent Read InputStream Begin.
[Time:2016-08-14 20:11:23,203]    message: SerialEvent InputStream Return Result:[^DIALMODE:2

OK]
[Time:2016-08-14 20:11:23,203]    message: SerialEvent Read InputStream end===[^DIALMODE:2

OK]
[Time:2016-08-14 20:11:23,203]    message: SerialEvent Report Result Content List===[]
[Time:2016-08-14 20:11:23,203]    message: SerialEvent Return Result Content===[^DIALMODE:2

OK]
[Time:2016-08-14 20:11:23,203]    message: SerialEvent Return Result Replace Content===[^DIALMODE:2

OK]
[Time:2016-08-14 20:11:23,359]    message: WritetOport Send AT:[AT+CNMI=2,1,2,2,0

Próba połączenia poleceniami w konsoli bez tego MP zakończona niepowodzeniem:

Kod:

at^ndisdup=1,1,"internet"
OK

dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 7169
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:1e:10:1f:00:04
Sending on   LPF/eth0/00:1e:10:1f:00:04
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)