Re[2]: Winmodem Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Firas,

I run the instruction again and watched the progress.

it started to show problems at the command $ MAKE CLEAN. I got a lot of
mesages: ENTERING UNKNOWN DIRECTORY  I don't really understand the message.
Would appreciate your help.

Peter

Details are here:

peter@peter-armada:~/modem/martian$ cp ../tmp/martian/modem/ltmdmobj.o modem
peter@peter-armada:~/modem/martian$ make clean
make -C kmodule/ clean
make[1]: Entering directory `/home/peter/modem/martian/kmodule'
make -C /lib/modules/2.6.20-16-386/build M="/home/peter/modem/martian/kmodule" clean
make: Entering an unknown directory
make: *** /lib/modules/2.6.20-16-386/build: No such file or directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/home/peter/modem/martian/kmodule'
make: *** [clean] Error 2
peter@peter-armada:~/modem/martian$ 

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

peter@peter-armada:~/modem/martian$
make make -C kmodule/ modules
make[1]:Entering directory `/home/peter/modem/martian/kmodule'
make -C /lib/modules/2.6.20-16-386/build" M="/home/peter/modem/martian/kmodule"  modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.20-16-386/build</a>: No such file or directory. Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/peter/modem/martian/kmodule'
make: *** [all] Error 2
peter@peter-armada:~/modem/martian$ 
 



Tuesday, June 5, 2007, 4:36:19 PM, you wrote:

Firas> Peter

Firas> It is most probably an error during compiling. Here I get this when compiling,
Firas> if you get the same, it might be that the driver is not compatible with your
Firas> kernel version :

Firas> $ make
Firas> make -C kmodule/ modules
Firas> make[1]: Entering directory `/data/mfb_gentoo/martian/martian/kmodule'
Firas> make -C /lib/modules/2.6.21-gentoo-r2-ana/build 
Firas> M="/data/mfb_gentoo/martian/martian/kmodule"  modules
Firas> make[2]: Entering directory `/usr/src/linux-2.6.21-gentoo-r2'
Firas>   CC [M]  /data/mfb_gentoo/martian/martian/kmodule/martian.o
Firas> /data/mfb_gentoo/martian/martian/kmodule/martian.c: In function ‘martian_isr’:
Firas> /data/mfb_gentoo/martian/martian/kmodule/martian.c:160: warning: value 
Firas> computed is not used
Firas> /data/mfb_gentoo/martian/martian/kmodule/martian.c: In function ‘martian_add’:
Firas> /data/mfb_gentoo/martian/martian/kmodule/martian.c:662: warning: passing 
Firas> argument 2 of ‘request_irq’ from incompatible pointer type
Firas>   CC [M]  /data/mfb_gentoo/martian/martian/kmodule/marsio.o
Firas>   CC [M]  /data/mfb_gentoo/martian/martian/kmodule/mfifo.o
Firas>   LD [M]  /data/mfb_gentoo/martian/martian/kmodule/martian_dev.o
Firas>   Building modules, stage 2.
Firas>   MODPOST 1 modules
Firas>   CC      /data/mfb_gentoo/martian/martian/kmodule/martian_dev.mod.o
Firas>   LD [M]  /data/mfb_gentoo/martian/martian/kmodule/martian_dev.ko
Firas> make[2]: Leaving directory `/usr/src/linux-2.6.21-gentoo-r2'
Firas> make[1]: Leaving directory `/data/mfb_gentoo/martian/martian/kmodule'
Firas> make -C modem/ all
Firas> make[1]: Entering directory `/data/mfb_gentoo/martian/martian/modem'
Firas>     CC  main.o
Firas>     CC  dumpers.o
Firas>     CC  log.o
Firas>     CC  session.o
Firas>     CC  mport.o
Firas> mport.c:8:41: error: asm/page.h: No such file or directory
Firas> mport.c: In function ‘mport_init’:
Firas> mport.c:315: error: ‘PAGE_SIZE’ undeclared (first use in this function)
Firas> mport.c:315: error: (Each undeclared identifier is reported only once
Firas> mport.c:315: error: for each function it appears in.)
Firas> mport.c:315: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
Firas> make[1]: *** [mport.o] Error 1
Firas> make[1]: Leaving directory `/data/mfb_gentoo/martian/martian/modem'
Firas> make: *** [all] Error 2


Firas> On Tuesday 05 June 2007 22:26:28 Peter Kerekes wrote:
>> Hello Firas,
>>
>>
>> After a number of frustrated blind sideroads, I finally succeeded to run
>> your your command. It worked fine apparently) but at the last line: sudo
>> martian_modem I get a repply "command not found". I tried different ways
>> but got the same answer, and did not start the daemon. So I am stuck and
>> needs your help.
>>
>> Note: 1./  I have noticed during the run several times the a message saying
>> something that missing/not run etc, but was running fast, so I wasn't able
>> to write it down.
>>
>>  2./ I have now a directory:MODEM. his has the 2 original files (bz2 and
>>  gz)  and 2 subdirectories: MARTIAN and TMP. MARTIAN has 9
>>  files/subdirectories. TMP has one subdirectory: MARTIAN which contains the
>>  same files/directories as the other MARTIAN. It appears therefore that I
>>  created a directory MARTIAN, but did not delete the TMP.
>>
>>
>>
>>  Sunday, June 3, 2007, 1:50:52 PM, you wrote:
>>
>> Firas> Peter
>>
>> Firas> Your modem seems supported with the martian driver. Here's in a
>> nutshell how Firas> to install them. First, you neet to get the headers
>> matching your current Firas> running kernel :
>>
>> Firas>         $ sudo apt-get install linux-headers-$(uname -r)
>>
>> Firas> Then, download those two files, from another connected machine if
>> needed, and Firas> put them on your desktop in Ubuntu.
>>
>> Firas>
>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/m
>>artian-20061203.tar.bz2 Firas>
>> http://phep2.technion.ac.il/linmodems/packages/ltmodem/kernel-2.6/martian/m
>>artian-full-20061203.tar.gz
>>
>> Firas> Then, run the following commands :
>>
>> Firas>         $ mkdir ~/modem
>> Firas>         $ mkdir ~/modem/tmp
>> Firas>         $ mv ~/Desktop/martian* ~/modem
>> Firas>         $ cd ~/modem
>> Firas>         $ tar xjvf martian-20061203.tar.bz2
>> Firas>         $ tar xzvf martian-full-20061203.tar.gz -C tmp
>> Firas>         $ cd martian
>> Firas>         $ cp ../tmp/martian/modem/ltmdmobj.o modem
>> Firas>         $ make clean
>> Firas>         $ make
>> Firas>         $ sudo make install
>> Firas>         $ sudo depmod -a
>> Firas>         $ sudo modprobe martian_dev
>> Firas>         $ sudo martian_modem
>>
>> Firas> The last one should start the daemon for your modem so you'll
>> perhaps need to Firas> open another teminal window here. Then, we configure
>> wvdial for your modem :
>>
>> Firas>         $ sudo wvdialconf /etc/wvdial.conf
>>
>> Firas> Edit the config file to fill in your login, password and the phone
>> number of Firas> your ISP :
>>
>> Firas>         $ sudo nano -w /etc/wvdial.conf
>>
>> Firas> When you're done editing, Ctrl+O to save the file, Enter to confirm
>> and Ctrl+X Firas> to exit nano. You should then be able to dial with :
>>
>> Firas>         $ sudo wvdial
>>
>> Firas> Good luck. Feel free to write back if you have problems.
>>
>> Firas> Firas
>>
>> Firas> On Sunday 03 June 2007 19:30:38 Peter Kerekes wrote:
>> >> Hello Jacques,
>> >>
>> >> I finally found the terminal and it's use.
>> >>
>> >> Attached is the ModemData.txt. hopefully you can straighten me out what
>> >> should be my next step.
>> >>
>> >> Peter
>> >>
>> >>
>> >> Sunday, June 3, 2007, 2:28:47 AM, you wrote:
>> >>
>> >> Jacques> Peter.
>> >>
>> >> Jacques> Read http://linmodems.technion.ac.il/welcome.html#scanModem
>> >> Jacques> This answers your questions.
>> >> Jacques> By the way the subdirectory Modem is automatically created by
>> >> scanModem.
>> >>
>> >> Jacques> Jacques
>> >>
>> >> Jacques> Peter Kerekes wrote:
>> >> >> Hello,
>> >> >>
>> >> >> I need some help. I am new to Linux, loaded on an older Notebook
>> >> >> computer - used Dos and Windows for many years.
>> >> >>
>> >> >> I installed Ubuntu version. Most of the things work fine, I can
>> >> >> connect to the Internet though a Router. But sometimes I am away from
>> >> >> home and want to use the Winmodem built into the computer.
>> >> >>
>> >> >> the Winmodem is an Agere LT system (OEM vendor INTEL PRO/100+
>> >> >> MiniPCI.
>> >> >>
>> >> >> I downloaded the scanModem.gz file. Installed a directory /Modem.
>> >> >> Extracted, but found only one file: scanModem (210.2Kb). I use
>> >> >> GnomeCommander for filemanager. If I hit enter A get the "source
>> >> >> file" (I think) but cannot run it. If I type the command sudo
>> >> >> ./scanModem nothing happens.
>> >> >>
>> >> >> Please advise:
>> >> >>
>> >> >> 1./ can I use my winmodem
>> >> >> 2./ how to activate the scanmodem program?
>> >> >> 3./ I suppose to see more than one file after extracting the original
>> >> >> (according to your description). I only found one.
>> >> >> 4./ I am not sure how to run the commands, I used the command line on
>> >> >> GnomeCommander (similar to WinCommander)
>> >> >>
>> >> >> Thank you for your help






-- 
Best regards,
 Peter                            

The BAT 3.99.8,
Windows XP, Service Pack 2



[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux