LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-21-2003, 11:08 AM   #16
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15

Where can I find MASTER C??
 
Old 08-21-2003, 02:30 PM   #17
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
do a search on google for rc.local and mandrake
or run a locate or find on your own system.

look for the file before you bug him.

ok i checked. it is /etc/rc.d/rc.local
add stuff to the end of that
 
Old 08-22-2003, 01:47 PM   #18
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks I have confirmed that my modem is working with the combination of two completely different drivers
pctel-0.9.7-6.tar.gz
hsflinmodem-5.03.27lnxtbeta03042700k2.4.19_16mdk-1mdk.i586.rpm

when I do a make install on pctel the four hsf modules load themselves
(ofcourse the hsf driver is already installed) which means they feel that they are needed, I think this is a weird thing to happen but weird things often work, I thanks the gods of probablity.
Hope that helps someone.

Now as it stands I have to compile the pctel driver each time i start the machine becoz i dont know in what way the supporting modules are loading and i wrote the shell script below for that,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
su
cd /home/vivian/pctel/src
./configure -auto
make
make install
cd /lib/modules/2.4.19-16mdk/misc
insmod pctel.o
insmod ptserial.o country_code=32
kppp
exit
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

now the thing is I want my gf to use linux and she screams at the sight of a terminal, i mean i am trying xtra hard to impress her and i want to creat a shortcut on the desktop to that shell program , but as u have already figured this thing will prompt for a password and has to run in a terminal, so is there a way in can pass the password automatically to the shell??

Last edited by devashish; 08-22-2003 at 01:58 PM.
 
Old 08-22-2003, 05:29 PM   #19
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
quote
Now as it stands I have to compile the pctel driver each time i start the machine becoz i dont know in what way the supporting modules are loading and i wrote the shell script below for that,
end quote

there's no way you have to compile it each time. or
configure it. it would still be configured and compiled
and installed from the last time.
the insmod pctel and insmod ptserial statements
would be all you need.
add insmod /lib/modules/2.4.19-16mdk/misc/pctel
and one for ptserial at the end of rc.local, and you
should be set.


monkeyed up quote below
>>++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>su
>>cd /home/vivian/pctel/src
>>./configure -auto
>>make
>>make install
>>cd /lib/modules/2.4.19-16mdk/misc
insmod pctel.o
insmod ptserial.o country_code=32
kppp
exit
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
Old 08-23-2003, 12:55 AM   #20
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I see what u mean but , the other four supporting modules load only when i install the pctel driver, if i try kppp without the other four hsf modules i mean without following the above set of instructions the whole thing locks up, now i can ismod all the 6 mods in the inverse of the order they appear
in lsmod, i am not sure if there are other parameters like i have to pass while insmoding them, like country_code=32 for ptserial
 
Old 08-23-2003, 01:22 AM   #21
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
also, before trying something that might lock up your
machine, type
sync <enter>
then do it again
sync < enter>
then do the risky thing. that makes it less likely to lose
other stuff.
 
Old 08-24-2003, 04:29 AM   #22
devashish
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks a lot u seems to be right all the time, I have added modprobe for all the modules at rc.local and the modem is working like it is a part of the kernel, thanks heres my lspci and lsmod if that helps anyone,
PCTEL 2304 WT MDC V.92 WORKS !!!!!

============================================================
lspci:

00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev 04)
00:02.0 VGA compatible controller: Intel Corp. 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corp. 82830 CGC [Chipset Graphics Controller]
00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
02:01.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:04.0 CardBus bridge: O2 Micro, Inc.: Unknown device 6972
============================================================
lsmod :
[root@localhost tod]# lsmod
Module Size Used by Tainted: P
ppp_deflate 41024 0 (autoclean)
bsd_comp 4344 0 (autoclean)
sg 31276 0 (autoclean) (unused)
st 26740 0 (autoclean) (unused)
sr_mod 15096 0 (autoclean) (unused)
sd_mod 11788 0 (autoclean) (unused)
scsi_mod 90372 4 (autoclean) [sg st sr_mod sd_mod]
ide-cd 28712 0 (autoclean)
cdrom 26848 0 (autoclean) [sr_mod ide-cd]
floppy 49340 0 (autoclean)
ptserial 41572 2
pctel 1226496 1 [ptserial]
hsfich 95372 0 (autoclean)
hsfserial 23316 0 (unused)
hsfengine 869388 0 [hsfserial]
hsfosspec 22012 0 [hsfich hsfserial hsfengine]
agpgart 31840 3 (autoclean)
snd-seq-oss 26176 0 (unused)
snd-seq-midi-event 3208 0 [snd-seq-oss]
snd-seq 33264 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 36932 1
snd-mixer-oss 9016 0 [snd-pcm-oss]
snd-intel8x0 10880 1
snd-ac97-codec 25508 0 [snd-intel8x0]
snd-pcm 55808 0 [snd-pcm-oss snd-intel8x0]
snd-timer 9964 0 [snd-seq snd-pcm]
snd-mpu401-uart 2752 0 [snd-intel8x0]
snd-rawmidi 12864 0 [snd-mpu401-uart]
snd-seq-device 3836 0 [snd-seq-oss snd-seq snd-rawmidi]
snd 24804 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3780 0 [snd]
ds 6828 1
yenta_socket 9728 1
pcmcia_core 42272 0 [ds yenta_socket]
ppp_async 7456 1
ppp_generic 20064 3 [ppp_deflate bsd_comp ppp_async]
slhc 5072 1 [ppp_generic]
af_packet 13000 0 (autoclean)
3c59x 27184 0 (autoclean)
nls_iso8859-1 2844 2 (autoclean)
nls_cp850 3580 2 (autoclean)
vfat 9588 2 (autoclean)
fat 31864 0 (autoclean) [vfat]
supermount 14340 2 (autoclean)
keybdev 1920 0 (unused)
mousedev 4116 1
hid 18340 0 (unused)
usbmouse 2004 0 (unused)
input 3456 0 [keybdev mousedev hid usbmouse]
usb-uhci 21676 0 (unused)
usbcore 58304 1 [hid usbmouse usb-uhci]
rtc 6560 0 (autoclean)
============================================================
Thanks Whansard.
 
Old 08-24-2003, 05:14 AM   #23
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
i just remembered something i told you that was wrong.
if you modprobe a full path, you need to include the .o
for it, i think.
if you just modprobe without the path, you modprobe
without the .o
that goes for insmod too.

and that stuff thats getting loaded automatically might
be in /etc/modules.conf
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration Of Internal 56k Mdc Modem Ex Smart Link pipseeking Mandriva 2 05-16-2005 09:20 PM
Using MDC 3000 camera - USB Caos Linux - Hardware 3 03-27-2004 04:52 PM
Broadcom V.92 MDC Modem for Dell Inspiron 1100 not being recognized by Fedora Core 1. cddesjar Linux - Hardware 1 02-07-2004 08:07 PM
Broadcom V.92 MDC Modem for Dell Inspiron 1100 not being recognized by Fedora Core 1. cddesjar Linux - Laptop and Netbook 0 01-22-2004 11:31 AM
What is UTS release?? compiling PCTEL2304 wt mdc devashish Linux - Software 0 08-28-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration