LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   usb modem, no connection to internet (http://www.linuxquestions.org/questions/slackware-14/usb-modem-no-connection-to-internet-4175484248/)

tuxer1111 11-11-2013 03:59 PM

usb modem, no connection to internet
 
Hello everybody! :-)


First of all, I am a hungarien men, so i try to write my best english. If you something not understand (language) please tell me. Thank U.

I wanna try to connect with a HSPA+ Modem E3131 to the internet. But it didn't work. It is really hard, because i write this via smartphone. :-)

lsusb
Bus 001 Device 023: ID 12d1:1506 Huawei Technologies Co., Ltd. Modem/Networkcard

ls /dev/ttyUSB*
I see the entrys

lsmod | grep usbserial
usbserial 25021 11 option,usb__wwan

I create a data /etc/ppp/peers/umts
hide-password
noauth
connect "/usr/sbin/chat -V -f /etc/ppp/umts.chat"
debug
/dev/ttyUSB0
460800
defaultroute
noipdefault
noccp
nobsdcomp
local
user " "
password " "
usepeerdns
connect-delay 10000
persist

Also I create /etc/ppp/umts.chat
ABORT BUSY
ABORT 'NO CARRIER'
ABORT VOICE
ABORT 'NO DIAL TONE'
ABORT 'NO ANSWER'
ABORT DELAYED
# Modeminit ' ' 'ATZ'
TIMEOUT 5
OK AT+CPIN?
'READY-AT+CPIN=[pin]-' ''
TIMEOUT 20
'OK' 'AT+CGDCONT=1, "IP", "internet'
'OK' 'ATDT=[*99#]'
CONNECT \d\c


A link to /etc/ppp/resolv.conf

After that also as root:
pppd call umts nodetach
Script /usr/sbin/chat -V -f /etc/ppp/umts.chat finished (pid 3861), status = 0x1
Connect script failed

I have really no idea. And try also to make it possible with kppp, but also not work for me.

Thank you very much for your help!
Kind regards

pamu1 11-12-2013 05:31 AM

You could try Wvdial as some sort of last resort :), If you do not like NetworkManager.
Just run "wvdialconf" as root, which creates wvdial.conf file.

allend 11-12-2013 07:53 AM

If you are using Slackware 14.1, then your device should be supported by ModemManager-1.0.0 http://www.freedesktop.org/wiki/Soft...ices/#index6h1

I suggest trying to connect using NetworkManager.

arsivci0 11-12-2013 10:30 AM

Check /usr/share/usb_modeswitch/ directory. If your device "12d1:1506" is listed, it should work with Network Manager. Typically it will look like a WIRED connection.

tuxer1111 11-12-2013 11:24 AM

Hey thank you for reply!

My current system is 14.1

NetworkManager works for me. :D

ls /usr/share/usb_modeswitch/12d1\:1505
/usr/share/usb_modeswitch/12d1:1505


Kind Regards


All times are GMT -5. The time now is 09:14 PM.