Click to See Complete Forum and Search --> : Modem help_2


Leoslocks
01-28-2001, 06:28 PM
Re installed Mandrake 7.2. Things are looking better. Hdc1 is automounted so all I have to do is navigate to the file I need and copy and paste. I am still trying to install a package to get the PCI modem to work. How do I deal with this ....

[root@localhost /root]# ls -al
total 628
drwx------ 8 root root 4096 Jan 28 15:10 ./
drwxr-xr-x 20 root root 4096 Jan 28 09:40 ../
drwx------ 2 root root 4096 Jan 28 15:01 .AbiSuite/
-rw-r--r-- 1 root root 53 Jan 28 14:54 .DCOPserver_localhost.localdomain
-rw------- 1 root root 32 Jan 28 14:54 .MCOP-random-seed
-rw------- 1 root root 66 Jan 28 14:54 .Xauthority
-rw-r--r-- 1 root root 1479 Oct 9 09:26 .Xdefaults
-rw-r--r-- 1 root root 24 Oct 9 09:26 .bash_logout
-rw-r--r-- 1 root root 106 Oct 9 09:26 .bash_profile
-rw-r--r-- 1 root root 558 Oct 9 09:26 .bashrc
-rw-r--r-- 1 root root 233 Oct 9 09:26 .cshrc
drwxr-xr-x 2 root root 4096 Jan 28 09:38 .gnupg/
-rw-r--r-- 1 root root 1197 Jan 28 14:54 .gtkrc
drwxr-xr-x 7 root root 4096 Jan 28 14:54 .kde/
-rw-r--r-- 1 root root 2111 Jan 28 09:50 .kderc
-r-------- 1 root root 21 Jan 28 14:54 .kxmlrpcd
-rw------- 1 root root 31 Jan 28 14:54 .mcoprc
drwxr-xr-x 4 root root 4096 Jan 28 09:37 .netscape/
-rw-r--r-- 1 root root 189 Oct 9 09:26 .tcshrc
-rw-r--r-- 1 root root 3779 Oct 9 09:26 .vimrc
-rw-r--r-- 1 root root 3 Jan 28 14:54 .wmrc
-rw------- 1 root root 4562 Jan 28 15:10 .xsession-errors
drwxr-xr-x 3 root root 4096 Jan 28 14:54 Desktop/
-rw-r--r-- 1 root root 29759 Jan 28 09:51 auto_inst.cfg.pl
-rw-r--r-- 1 root root 229476 Jan 28 09:51 ddebug.log
-rw-r--r-- 1 root root 34631 Jan 28 09:45 install.log
-rwxrwxrwx 1 root root 227463 Jan 28 15:10 ltmodem-5.78d.tar.gz*
drwx------ 2 root root 4096 Jan 28 14:58 tmp/
[root@localhost /root]# cd lt*
bash: cd: ltmodem-5.78d.tar.gz: Not a directory
[root@localhost /root]#


ltmodem-5.78d.tar.gz Is this file in the right place?

PLBlaze
01-28-2001, 06:53 PM
Try this, cd /tmp && tar xvzf /root/ltmodem-5.78d.tar.gz && cd ltmodem-5.78d && ls -l

That will untar the source to /tmp/ltmodem-5.78d directory then you will need to read either INSTALL or README files (or both) and follow the instructions contained in those files.If all goes well then you should get your modem working...if you run into any problems post here and we'll try to help more.


[This message has been edited by PLBlaze (edited 28 January 2001).]

Leoslocks
01-29-2001, 02:10 PM
First off, it only takes me about 40 minutes to reinstall Linux.

In spite of what I am about to show you, I think I am getting the picture. I never learned dos(to late in picking up the computer) and the whole command line interface is Greek to me. After unpacking the tar file this is what I did:

(From the ltinst file)
#!/bin/sh
group="uucp"
mode="666"
device="/dev/ttyLT0"
olddevice="/dev/ttyS14"
./ltuninst > /dev/null 2>/dev/null
rm -f $device
mknod $device c 62 64
rm -f /dev/modem
ln -s $device /dev/modem
ln -s $device $olddevice
chgrp $group $device
chmod $mode $device

Figured out that this was not what I was suppost to be doing.
Went to the README and did this:


[root@localhost /tmp]# ls -f
./ .X0-lock orbit-root/ .X11-unix/ kde-root/ mcop-root/
../ linuxconf-rpminstall.log .font-unix/ ksocket-root/ .ICE-unix/ ltmodem-5.78D/
[root@localhost /tmp]# cd lt*D
[root@localhost ltmodem-5.78D]# make
gcc -D__KERNEL__ -DMODULE -w -O2 -fomit-frame-pointer -I/usr/src/linux/include -c -o serial.a serial.c
/tmp/cc9fbVF9.s: Assembler messages:
/tmp/cc9fbVF9.s:9: Warning: Ignoring changed section attributes for .modinfo
gcc -D__KERNEL__ -DMODULE -w -O2 -fomit-frame-pointer -I/usr/src/linux/include -c -o ltmodem.a ltmodem.c
objcopy --redefine-sym=rs_interrupt_single=rs_interrupt_lucent ltmdmobj.o ltmdmobj.a
ld -r -o ltmodem.o serial.a ltmodem.a ltmdmobj.a
[root@localhost ltmodem-5.78D]# rpm -ta ltmodem-5.78d.tar.gz
File ltmodem-5.78d.tar.gz: No such file or directory
sh: ltmodem-5.78d.tar.gz: No such file or directory
sh: ltmodem-5.78d.tar.gz: No such file or directory
Name field must be present in package: (main package)
Version field must be present in package: (main package)
Release field must be present in package: (main package)
Summary field must be present in package: (main package)
Group field must be present in package: (main package)
License field must be present in package: (main package)
[root@localhost ltmodem-5.78D]# rpm -U ltmodem-'unsme -r'-5.78d-1.i586.rpm
error: cannot open file ltmodem-unsme -r-5.78d-1.i586.rpm: No such file or directory
[root@localhost ltmodem-5.78D]# rmp -U ltmodem-uname -r'-5.78d-1.i586.rpm
> ltinst
> ./ltinst
>

This is where I am at. I think the bolded line worked but where do I go with the >?


[This message has been edited by Leoslocks (edited 29 January 2001).]