Page 1 of 1

[solved]How to auto connect zte ac682 USB serial modem?

Posted: Wed 09 Nov 2011, 15:41
by gundul3l3k
I am newbie from Indonesia ,I have a modem zte ac682 ,conecting to the internet is no problem to slaco, but I have to unmount :/de/sr1 then open terminal .
at terminal I should write " modprobe usbserial vendor+0x19d2 product=0xffdd.then I can connect and browsing .I need help in order
to not open terminal write that script.I hope some one help me to write what script that can connect aotumaticaly. Thanks :lol: :lol:

Posted: Wed 09 Nov 2011, 21:45
by bigpup
Wired USB modem or wireless?
What version of Puppy?
Computer specifications?
Have you tried menu->setup->internet connection wizard?
Tried a different USB port?
Tried to get Puppy booted first and then plug in the modem?

Posted: Thu 10 Nov 2011, 05:07
by gundul3l3k
zte ac 682 is dial up modem ,provide by my isp and lock ./dev/sro1 detect by windows automaticaly, but in slaco I have to do " eject,lsusb and modprobe. In my pc I have install groups "warry,slaco,ubuntu,dreamlinux,windows,bactrack.all of them I should do those scrips.Most Indonesian have same problem when connecting with this modem in linux. which or what scripts i should write on at /etc/bla bla wvdial.
I intent to migrate to puppy full install. help me with example scripts thanks. :D :D

Posted: Thu 10 Nov 2011, 05:49
by 01micko
gundul3l3k

Welcome to Puppy :)

As I read it you have to enter

Code: Select all

modprobe usbserial vendor+0x19d2 product=0xffdd
in a terminal.

One way you could achieve this is to put that line in /etc/rc.d/rc.local

Code: Select all

echo "modprobe usbserial vendor+0x19d2 product=0xffdd" >> /etc/rc.d/rc.local
This will ensure that this code runs every time you boot.

I hope this is what you need.

Posted: Fri 11 Nov 2011, 16:35
by gundul3l3k
this is what i do in slaco to connect and reconnect my modem
1. in terminal i wrote : echo " eject /dev/sr1">> /etc/rc.d/rc.local
echo " modprobe usbserial vendor=0x19d2 product=0xffdd " >>/etc/rc.d/rc.local (before booting I plug my modem and the kernel modul detect usbserial ) in windows I just connected .it works well.

2. I wrote scrpt in tru gedit/nano :
# !/bin/bash
modprobe usbserial vendor=0x19d2 product=0xffdd then I save as /home/smart.sh, i did " chmod 775 /home/smart.sh ,then I drag it to windows to make sort cut >>>>> this is solving my problem when I unplug and replug modem...I just push the short cut and connect. :lol: :lol: :lol: ,thanks