Re: Problems with a modems under linux



On 23 Oct 2006 20:39:16 -0700, kawk@xxxxxxxxxxxxxxxxxxxxxx staggered
into the Black Sun and said:
Dances With Crows wrote:
I didn't know they had different versions for gcc 3 and gcc 4. Oh
well, get that symlink going and you should have no problems with
pppd or whatever. HTH,
Ok. It's almost there but not quite. Do I use the
PACKAGEDIR/scripts/debian/slmodemd script or do I use the
PACKAGEDIR/slmodemd file?

If your distro has a package for slmodem, use that. Otherwise, use the
debian/slmodemd script.

The latter doesn't work, as I suspect it's because it's a 32-bit ELF
executable and I'm running a 64-bit kernel. Is there any way to get
around this?

Er... what? 32-bit junk should work properly on amd64 as long as all
the emulation stuff is installed. Gentoo, at least, sets it up such
that there's /lib32 and /lib64 , and similar dirs in /usr. The default
amd64 Gentoo install CD sets this up so that it works out of the box.
YDistroMV, RitsFineM for details. Sorry, can't be more specific, the
Debian boxes at work are all running on 32-bit hardware.

kppp doesn't recognise that there's a modem at /dev/ttySL0.

I see from the comments in the init script that this gets created when
slmodemd starts. The "real" device may actually be named /dev/slamr0 ,
but I don't think you point pppd at that device.

Also, the only tar.gz file that works is
slmodemd-2.9.11_20051009_gcc3.tar.gz. Even then I have to use
scripts/debian/slmodemd.

Er, yeah. If you're trying to use weird hardware (most laptops) with
outdated software (Debian stable), you will usually find interesting
problems. Oh well, HTH,

--
"Right now i got approx. 3 KB RAM left, still enough to do a lot of
useful stuff."
--Olaf Christ, who hacked up the first TCP/IP-enabled Lego brick.
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.



Relevant Pages

  • Re: dialup solution (as seconary connection / iptables )
    ... ip-down is launched by pppd only after the PPP link no longer available ... first with MINICOM or is PAP and script not mutualy exclusive? ... do have to "make the connection first with MINICOM." ... If you use the Linux box and route the news IP address to it on each ...
    (comp.os.linux.networking)
  • Re: pppd pty equivilent in FBSD
    ... I let pppd manage retries & setting routes. ... >I wouldn't personally recommend vpn over ssh for anyone either, ... I'm the sole bsd user at my company, and the ppp over ssh ... >Actual bash script I call: ...
    (freebsd-net)
  • Re: about audacity and sound recording on Linux
    ... I have only dabbled a little bit with Audacity myself, ... For these kind of non Debian specific questions, ... I would like to be able to set the bitrate in the script. ... Does ogg format support tags? ...
    (Debian-User)
  • Re: Modem--pppd Died Unexpectedly
    ... PAP authentication is rejected by pppd above. ... If you want to try a script, the ppp-secrets.gz script found at my ... To get chat log messages the S in the chat -vsS parameter must be removed. ...
    (comp.os.linux.networking)
  • Re: Emulating a modem with expect
    ... > (basically allows GUI connections via telnet if X is not allowed). ... > script works fine on Linux machines since it makes a call to pppd on both ... > Basically pppd on Linux creates a ppp0 interace automatically, ... > Once chat finishes the phyiscal connection of dialing, ...
    (comp.lang.tcl)