Dial with modem...
I've got a Wytek 56k USB Modem
The Chipset is a SGS Thompson Microelettronics 56k SoftModem as show lsusb: Bus 003 Device 002: ID 0483:7554 SGS Thomson Microelectronics 56k SoftModem This modem is not officialy supported...but MAYBE is possible to make it works with various drivers; one is produced by www.smlink.com for linux I found this driver here: http://www.aztech.com/driver/modem_um9800.htm I've installed this drivers and now I have: #dmesg | grep modem acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters ttySL0: st7554 modem I understand that a st7554 modem is founded!! The above output of lsusb shows a device with id 7554!! My Problem now is to dial with modem to verify it it works good!! I linked /dev/modem to /dev/ttySL0 Someone should help me to verify if my modem works?? TnxVM |
use "minicom", you can issue AT commands to your modem that way.
just run "minicom -s" to edit the ports, save the changes then try and issue "AT" it should reply "OK" if everything is ok! |
Using minicom I got after modem initialization:
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 OK If I type for example: ATZ it answer OK and so on... I think that modem should working!! :) Now what can I use to connect to internet with it?? pppd?? Tnx |
I liked kppp, but obviously, you need KDE stuff installed.
|
It will depend on the desktop your are using. Make sure that you selected loopback/modem under "netconfig". If not run "netconfig" as root. A generic dialer can be setup using "pppsetup" as root.. "ppp-on" will start the modem (initially this requires root permissions). Here is a thread on how to setup ppp-on for users
Thread on setting up modem for users |
TNX VM all!
I use Dropline Gnome...so I don't have kppp or smiliar Qt stuff :) If in minicom I type: ATDTmyISPphonenumber I recive: NO CARRIER I try to run pppsetup but typing ppp-on or ppp-go it says: connect script failed I don't understand 1thing: who must compose my isp phone number ppp or minicom or who?? Tnx All |
1) Are you running ppp-on as root?
2) Do you have call waiting and did you disable it? 3) Minicom allows you to interface directly though the modem. This is useful for debugging your modem connection. Minicom is a little to much for day to day use. 4) Did you set up your nameserver DNS in /etc/hosts? |
1) Yes I'm running ppp-on as root
2) Really I don't know... I think is disabled! How can I control it?? 3) I use minicom 'cause I need to test if my modem works 'cause the driver aren't the originals. I'm open to suggestion for another tool 4) No I didn't! Now yes! Does the carrier error depends from DNS? |
2) atdt*70,yourISPphone# in pppsetup. This will also fix the error I caused in /etc/hosts
-sorry 3) If you right click on a blank spot on the gnome "Applications" tool bar "Add to Panel" > "Internet" > "Modem Lights" 4) Sorry, I had the file wrong that sets the DNS. It is /etc/resolv.conf. MY ISP (Earthlink) needed me to place the entry nameserver 207.127.077.83 (This # is specific to Earthlink) It may be best to call your ISP if # 2 does not work and get the DNS number(s) and put them in /etc/resolv.conf. 5) Had a series of posts about getting modem-lights to run as user. Search this forum for modem-lights when you are ready |
These are the files you _may_ need to modify after you finish running pppsetup:
Code:
/etc/ppp/pap-secrets Code:
/etc/ppp/pap-secrets: Code:
/etc/ppp/pppscript: Code:
/etc/ppp/options: Code:
/etc/resolv.conf: Speck |
Tnx again to all!!
Since I started to try to make this modem working (1 year ago) I never found a person which had a good result with it!! This bad modem is a bad winModem too!!! So..Go on... All this files seems to be correct on my system: /etc/ppp/pap-secrets /etc/ppp/options /etc/resolv.conf This is my /etc/ppp/pppscript: Code:
TIMEOUT 60 Typing ppp-on says: Connect Script failed Using minicom: #minicom ... AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 OK ATDTispphonenumber NO DIALTONE I think the problem is the initialization string! I wasn't able to find one that is correct!! I also don't if there are differencies beetween int strings for Italy and other countries... |
Modem lights can use any command you enter "ppp-on" or "ppp-go" but you have to configure it. As user the command needs the whole path "/usr/sbin/ppp-on" Right click on the modem-lights icon and select properties to configure.
I do not know if you changed your ISP's number for security reasons but if that is really your pppscript then I would suspect that you do not have the correct phone number.. Also see what kind of authentication protocol your ISP provides (chat, etc) and select that in pppsetup. |
Quote:
chmod 6755 /usr/sbin/ppp-on chmod 6755 /usr/sbin/ppp-stop chmod 6755 /usr/sbin/pppd (and maybe chmod 6755 /usr/sbin/chat) chmod 644 /etc/ppp/options chmod 644 /etc/ppp/pppscript to get permissions to get ppp-on and ppp-stop scripts working for users. |
Quote:
Quote:
I said "producue no effect" meaning doesn't work! To lunch the scripts I use the shell...Modem lights do the same thing! Quote:
I'm searching the init string used by M$windows on my pc but I don't find it... Tnx To All 4 help!! |
Finally some progress...
Well... #minicom ... AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 OK atx3dt0332951010 CONNECT 52000 Username: :) Password: :) ~Entering PPP mode.}-}*Async interface address is unnumbered (Loopback0)}-}*Your IP address is 151.29.215.250. MR After 10 seconds the connection falls!! minicom.log says: 20031108 17:06:36 Gone offline (0:00:50) Suggestions?? |
All times are GMT -5. The time now is 06:39 PM. |