improve websites creatively

web design is our passionary profession
register for free!
shopping cart
Choose your language/Sprache auswählen:

CMS Corporate Design/Logo Server Apache fine tuning Linux ( )

Surfstick on gentoo (1und1 ZTE MF 823)

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!
 Module                  Size  Used by
 usbserial              22405  0
 cdc_ether               4549  0
 usbnet                 20297  1 cdc_ether
WOW! This is headway:
 enp0s20u3: flags=4163  mtu 1500
         inet  netmask  broadcast
         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 ! enter your pin and have fun ....
cmsimgmanager cmsimgmanager
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.




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

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

other dailers

# 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",""
 [Dialer mypin]
 Init4 = AT CPIN=1234
before using connections or other dialers such as kppp run:
wvdial mypin




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

zum Angebot von 1und1Was it helpful? Give feedback! Help, if something is wrong!

- 5237 Chars , Views: 6340 Bewerten:           Rating:2.99
letzte Aktualisierung 2017-06-28 09:19:30 von admin


gpl-licensed gpl-licensed

configure Configure
2 online

To Top
neu in 2017
Besucher (set cookie)
Content Management System News Xwax Linux livestreams Bilder Statistics live streams Welcome Shorties Linux CMS OpenSource improve websites

Content Management System