SliTaz SliTaz Forum

You are not logged in.

#1 2014-06-25 21:52:00

new_u
Member
Registered: 2014-03-30
Posts: 93

dial up modem configuration

I have an "encore"  motorola sm56 modem (working OK under windows)

The scanModem script said that the motorola chipset can be used with smart link drivers, so I installed the  linmodem-slmodem package

-----------------

tux@slitaz:~$ dmesg | grep serial

serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

serial 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 19 (level, low) -> IRQ 19

serial 0000:01:07.0: PCI INT A disabled

tux@slitaz:~$ dmesg | grep slam

slamr: module license 'Smart Link Ltd.' taints kernel.

slamr: SmartLink AMRMO modem.

slamr: probe 1057:3052 SL1900 card...

slamr 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 19 (level, low) -> IRQ 19

slamr: slamr0 is SL1900 card.

I also installed setserial and minicom as per instructions here

http://doc.slitaz.org/en:handbook:pstn

However, I dont know how to configure the modem's port address so that I can access the modem with minicom?

Or even what the modem's port address is?

Any help will be greatly appreciated smile

Offline

#2 2014-06-26 10:04:44

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: dial up modem configuration

IN YOUR CASE:

setserial /dev/ttyS0 irq 4 port =x3f8 autoconfig auto_irq

minicom -c on /dev/ttyS0 -o

then continue

Offline

#3 2014-06-26 20:14:33

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

Actually I tried that yesterday, and it doesn't work.

My computer has a hardware serial port at irq 4 0x03f8

dmesg : serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

It seems to me that 

> setserial /dev/ttyS0 irq 4 port 0x03f8

would map /dev/ttyS0 to that port, instead of mapping it to the modem?

Also, the correct way to invoke minicom is

> minicom -D /dev/ttyS0

or just

> minicom

(it will open /dev/ttyS0 by default)

Anyway, after issuing setserial, and starting minicom I get

"

Welcome to minicom 2.4

OPTIONS: I18n

Compiled on Mar 22 2012, 20:02:58.

Port /dev/ttyS0

"

I then turn local echo on, type "AT"  and get nothing.

(my guess is, I'm talking to the serial port, not to the modem)

Offline

#4 2014-06-26 20:59:17

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: dial up modem configuration

sorry I missunderstood

I hade a isdn modem years ago - and I used always wvdial

so I found something here with slamr0 - so the modem should be /dev/ttySL0

http://linmodems.technion.ac.il/archive-fifth/msg04828.html

what tells   dmesg | grep tty

or just attach the whole dmesg - run

dmesg -> motorola.txt and attach the file

Offline

#5 2014-06-27 00:39:03

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

>sorry I missunderstood

No prob! and Thanks for your help smile

So the modem must be at ttySL0.  I read a couple of instructions for other distros and seems that I need to install one more package

https://wiki.archlinux.org/index.php/Smartlink_Modem_drivers

"This is Smart Link Soft Modem for Linux version 2.9. It provides full-featured 56K Voice Fax Modem.

This is implemented as generic application (slmodemd) and set of hardware specific kernel-space drivers (slamr, slusb)."

I didn't install slmodemd.  Right now http://mirror.slitaz.org/packages/ is down but I'll see if I can find slmodem as soon as it's back again online.

Offline

#6 2014-06-27 18:33:21

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

To sum  up :

in order for the modem to show up as /dev/ttySL0, the slmodemd deamon must be running.

However, the SliTaz package is missing that file. The package has only one file : slamr.ko.gz

----------

I wonder if I can borrow slmodemd from another distro?  I'll try that later.

Offline

#7 2014-06-27 19:25:14

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: dial up modem configuration

try debian package

https://packages.debian.org/de/sid/misc/sl-modem-daemon

and convert it with tazpkg convert

Offline

#8 2014-06-28 01:16:27

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

Thanks! I got the package, converted, etc. Turns out slmodemd asks for glibc 2.15 but I have 2.13 =/ - There doesn't seem to be a glibc 2.15 SliTaz package either...

Ill try to find an older deb slmodem package...

Offline

#9 2014-06-28 02:50:06

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

Now I got a working copy of slmodemd and when run it says

> error: mdm setup: cannot stat `/dev/slamr0': No such file or directory

My current guess is that the kernel driver slamr.ko.gz should be creating  /dev/slamr0 but it isnt because...something is wrong?

Offline

#10 2014-06-28 08:08:05

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: dial up modem configuration

just a question - is there no other possibility to go to the internet?

I remember a discussion 2 or three years ago - SilTaz is not very good with dial up modems - especially those exotic ones...

Offline

#11 2014-06-28 21:28:23

p3ngu1n0
Member
Registered: 2014-06-28
Posts: 7

Re: dial up modem configuration

Linux has had a funny history with dial-up modems in general. I had several shades of a bad experience with build-in Wintel modems back ~2008. My eventual solution was a Windows 2000 box that would dial the connection and share it over ethernet to my Linux machine. Not the most beautiful solution, but it worked. Good times.

Now, onto the issue of no device node for /dev/slamr0, have you tried a reboot? It shouldn't be needed, however there could be an issue with the automatic generation of the device node. If at all possible, check the Debian documentation on that package since occasionally something will be changed that could be causing you issues on Sli.

Cheers.

Offline

#12 2014-06-29 21:37:24

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

>just a question - is there no other possibility to go to the internet?

Heh. Right now, thanks to an incredibly corrupt and technically inept ISP I only have dial up access.  I guess Ill get broadband again at some point in  the future, but meanwhile I thought Id get dial up under linux...

Anyway, I'll see if the linmodem.org mailing list is still active.

>My eventual solution was a Windows 2000 box that would dial the connection and share it over ethernet to my Linux machine.

Well, I just reboot my machine and go to windows. It isn't too handy...but it works.

>Now, onto the issue of no device node for /dev/slamr0, have you tried a reboot?

Yes, I installed the SliTaz package (the driver) a few days ago and since then it's  being correctly loaded and seems to be working...to some extent

tux@slitaz:~$ dmesg | grep slam

slamr: module license 'Smart Link Ltd.' taints kernel.

slamr: SmartLink AMRMO modem.

slamr: probe 1057:3052 SL1900 card...

slamr 0000:01:07.0: PCI INT A -> Link[LNKB] -> GSI 19 (level, low) -> IRQ 19

slamr: slamr0 is SL1900 card.

Driver is loaded, it probes the hardware, irq 19, etc, but no /dev/slamr0 ...

Offline

#13 2014-06-30 05:47:29

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: dial up modem configuration

and you have no UMTS possibilty? Thats what I use, when I travel. I have simcards for 5 different countries....

like here in Austria its the ceapest possibility to go to the net

Offline

#14 2014-06-30 22:51:17

p3ngu1n0
Member
Registered: 2014-06-28
Posts: 7

Re: dial up modem configuration

This isn't exactly a solution, but you might be able to get free DSL from the SDF. They provide a public access unix system, for which they're best known.

On a potentially helpful note, I have found a similar PCI modem (Motorola sm56) and have it in my current slitaz box. I'm going to do some testing and see if I can get any more messages, errors, or related information that might provide insight into a fix.

Cheers.

Offline

#15 2014-06-30 23:33:59

new_u
Member
Registered: 2014-03-30
Posts: 93

Re: dial up modem configuration

>and you have no UMTS possibilty?

I don't own a cell phone smile

At any rate, 3g services here(argentina), if they exist at all, are expensive and low quality. Hell, the same useless company that cant get my simple adsl link to work are one of the biggest 3g providers.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]