not approvable for children

Please verify your age to see content (format: YYYY-MM-DD):
- -
change the form values!
linuxweb.net

lnxwbtag
improve websites creatively

en

secs click inside to pause/play next video

Notice: Server move until 31-08-24, in best case nothing won't be noticeble. But if, stay tuned - everything will be shortly as you know so far.

CMS Corporate Design Apache fine tuning Linux ( ) linuxweb.net webdesign ritterhude

Surfstick mit gentoo (1und1 ZTE MF 823)

#gentoo #surfstick
Finally! (more detail than other work arounds, will be completed - this doc is still in process) Getting it work can be tricky if your stick must be activated, here my solution works for ZTE MF 823 (1und1 surfstick). It take a lot of time to figure out how to get the stick work, so i will share my experiences with you! Kernel used:4.4.6 You HAVE to disable your current connections! on my system, guess the connections will go down by switching?:
ifconfig enp2s0 down
 ifconfig wlp3s0 down

or so, will do this ... init
emerge --ask wvdial && emerge --ask kppp && emerge --ask usb_modeswitch

Kernel Config;
Device Drivers  --->
     [*] Network device support  --->
         <*>   PPP (point-to-point protocol) support
         [*]     PPP filtering
         <*>     PPP support for async serial ports
         <*>     PPP support for sync tty ports
         <*>     PPP Deflate compression 
         <*>     PPP BSD-Compress compression
     [*] USB support  --->
         [M]   USB Serial Converter support  --->
             [M]   USB Serial Console device support 
             <*>   USB driver for GSM and CDMA modems

compile kernel and add to bootloader, reboot start ppp
Add user to group:
gpasswd -a username uucp

(eg dialout on other distros)
init: lsusb:
Bus 003 Device 008: ID 19d2:1225 ZTE WCDMA Technologies MSM 

for detailed info use:
lsusb -v -d 19d2:1225

(1403 is not modem mode!) 1. to be sure add all modes ...

 modprobe option
 echo "19d2 1225" | tee /sys/bus/usb-serial/drivers/option1/new_id
 modprobe option
 echo "19d2 1403" | tee /sys/bus/usb-serial/drivers/option1/new_id
 modprobe option
 echo "19d2 1405" | tee /sys/bus/usb-serial/drivers/option1/new_id

2.after plugin your stick run:
modprobe usbserial

3. will work out of the box if configured:
usb_modeswitch -v 19d2 -p 1225 -K
 usb_modeswitch -v 19d2 -p 1405 -W -H

succesfully switched your devices should be recognized as 19d2:1405 and ls /dev/ttyS0 not /dev/ttyUSB1 must be present. The stick is recognized as ethernet connection in your system!
lsmod
 Module                  Size  Used by
 usbserial              22405  0
 cdc_ether               4549  0
 usbnet                 20297  1 cdc_ether
 [...]

WOW! This is headway:
ifconfig
 enp0s20u3: flags=4163  mtu 1500
         inet 192.168.0.196  netmask 255.255.255.0  broadcast 192.168.0.255
         inet6 fe80::de9d:433a:18be:e8ff  prefixlen 64  scopeid 0x20
         ether 36:4b:50:b7:ef:a0  txqueuelen 1000  (Ethernet)
         RX packets 47  bytes 3300 (3.2 KiB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 711  bytes 55825 (54.5 KiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

When everything is fine you should be able to connect to http://192.168.0.1 ! enter your pin and have fun ....
prev
cmsimgmanager
gal
53 click to enlarge
prev
cmsimgmanager
gal
54 click to enlarge

after reboot modprobe usbserial is enough to connect on my system, when a udev rule is specified jump to udev.
add modules="usbserial"to /etc/conf.d/modules to load it on default runlevel.

Connect

unstable!

Optional:

You can choose usb_modeswitch with static conf too:
add this lines to: /etc/usb_modeswitch.conf:

 HuaweiMode=1
 NeedResponse=0
 
 DefaultVendor=0x19d2
 DefaultProduct=0x1225
 
 TargetVendor=0x19d2
 TargetProduct=0x1405
 
 #MessageEndpoint=0x04
 
 CheckSuccess=20
 
 MessageContent="55534243123456780000000000000011062000000100000000000000000000"

for switching use:
usb_modeswitch -c /etc/usb_modeswitch.conf

other dailers

run:
# wvdialconf

1und1 config:
[Dialer Defaults]
 Init1 = ATZ
 Init2 = ATQ0 V1 E1 S0=0 &C1 &D2  FCLASS=0
 Modem Type = USB Modem
 ISDN = 0
 Modem = /dev/ttyUSB1
 Baud = 9600 
 
 [Dialer 1und1]
 Phone = *99#
 New PPD = yes
 Stupid Mode = 1
 Init3 = AT CGDCONT=1,"ip","web.vodafone.de"
 
 [Dialer mypin]
 Init4 = AT CPIN=1234

before using connections or other dialers such as kppp run:
wvdial mypin

Kppp

[...]

Troubleshooting:

create udev rules for device.
/etc/udev/61-option-modem-modeswitch.rules : usbudev.txt

zum Angebot von 1und1
Product link It is official: linux support.

Was it helpful? Give feedback! Help, if something is wrong!

- 5376 Chars - 734 Wörter , Views: 435696

War die Information auf dieser Seite für Sie hilfreich?

like dislike
0
0
Bewerten:           Rating:3.03

Expand/show comments

Was denkst Du? Hinterlasse hier einen Kommentar zu diesem Artikel.
Bisher : 2 Kommentare.




BOTCHECK: Enter this string : captcha here: to verify you're human.
192 Character(s) Remaining
to prevent slamming comments, post will be checked for bad content and released to public when passed.

BrandonSix

tce remediation url httpsforumsdievietelvprofils127605forum httpsforumsdievietelvprofils127605forum url remedial math worksheets
2024-04-17 10:00:34

Robcca

2024-06-22 06:32:15

letzte Aktualisierung 2024-10-09 06:19:03 von admin

Graphics by GIMP
nickname:
chat

Möchten Sie Cookies erlauben?

Es handelt sich dabei nur um technische Cookies. Sie haben die Wahl:


Lesen Sie mehr in unseren Datenschutzrichtlinien

configure Configure
countercountercountercountercountercountercountercounter

To Top
neu in 2017
Visitors
Content Management System News Xwax Linux livestreams Bilder Statistics live streams Welcome Shorties Linux CMS OpenSource linuxweb.net improve websites

Content Management System