Winmodemuril astea....

11 posts / 0 new
Last post
BlueNinja
BlueNinja's picture
Winmodemuril astea....

Am un modem Intel 536EP cum as putea reusi sa ma conectez si eu la net, mai ales ca sunt incepator in Linux...

cgherman
cgherman's picture
Re: Winmodemuril astea....

In functie de versiunea pe care o ai alegi de [url=http://downloadfinder.intel.com/scripts-df-external/filter_results.aspx?... driverul necesar.

Cofigurezi legatura cu kppp

BlueNinja
BlueNinja's picture
Re: Winmodemuril astea....

OK eu am Mandrake Linux 10.2, dar am gasit numai pt 10.0 si 10.1 sper sa ma descurc cu astea. Mersi mult de tot.

BlueNinja
BlueNinja's picture
Re: Winmodemuril astea....

Nu am reusit sa instalez drivere-le mi-a dat eroare dupa ce am scris make install:

installing Intel 536 driver
mandrake Intel536_boot script
starting module and utilities
error loading Intel536
ERROR: Module Intel536 does not exist in /proc/modules
done

Ce pot face in cazul acesta?

cgherman
cgherman's picture
Re: Winmodemuril astea....

cum ai instalat driverele: din surse sau ai folosit varianta compilata?

verifica daca exista in /lib/modules/(kernel-version)/misc/Intel536.ko

incearca si versiunea manuala:

log in as root.
1. insmod -f Intel536.ko (trebuie sa fii in directorul unde se afla fisierul)
2. you can start "hamregistry &" at this point if you wish.
3. rm /dev/536ep
4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not
work see what /proc/devices says 536ep's major number is)
5. ln -s /dev/536ep /dev/modem
6. reboot

BlueNinja
BlueNinja's picture
Re: Winmodemuril astea....

Ok astea sunt driverele ce le-am folosit:

This release is not compatible with kernels prior to 2.4.
This release supports 2.4.x and 2.6.x kernels. It is not compatible to 2.2.x kernels.

The softmodem binary was compiled with gcc version 3.2

v92 support added: modem on hold AT command set,
PCM upstream, v44, and quick connect are implemented.
Linux Compatability tests are performed on the latest or previous
versions of the following distributions: Mandrake, RedHat, and SuSe

Asta e eroarea ce am primit-o la instalare:

cd coredrv; make clean
make[1]: Entering directory `/home/ovidiu/Modem/intel/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/ovidiu/Modem/intel/coredrv'
rm -f *.o *.ko
[root@localhost intel]# make 536
Module precompile check
Current running kernel is: 2.6.11-6mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.11-6mdk
make[1]: Entering directory `/home/ovidiu/Modem/intel/coredrv'
make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/home/ovidiu/Modem/intel/coredrvmodules
make[2]: Entering directory `/usr/src/linux-2.6.11-6mdk'
CC [M] /home/ovidiu/Modem/intel/coredrv/coredrv.o
/home/ovidiu/Modem/intel/coredrv/coredrv.c:70: warning: type defaults to `int' in declaration of `EXPORT_SYMBOL_NOVERS'
/home/ovidiu/Modem/intel/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration
/home/ovidiu/Modem/intel/coredrv/coredrv.c:70: warning: data definition has no type or storage class
/home/ovidiu/Modem/intel/coredrv/coredrv.c: In function `close':
/home/ovidiu/Modem/intel/coredrv/coredrv.c:416: warning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/home/ovidiu/Modem/intel/coredrv/coredrv.c: In function `hamproc_write':
/home/ovidiu/Modem/intel/coredrv/coredrv.c:660: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
/home/ovidiu/Modem/intel/coredrv/coredrv.c: At top level:
/home/ovidiu/Modem/intel/coredrv/coredrv.c:754: warning: initialization from incompatible pointer type
/home/ovidiu/Modem/intel/coredrv/coredrv.c:755: warning: initialization from incompatible pointer type
/home/ovidiu/Modem/intel/coredrv/coredrv.c: In function `kScheduleDPC':
/home/ovidiu/Modem/intel/coredrv/coredrv.c:861: warning: implicit declaration of function `pm_access'
/home/ovidiu/Modem/intel/coredrv/coredrv.c: In function `dspdrv_CommRamISR':
/home/ovidiu/Modem/intel/coredrv/coredrv.c:877: warning: function declaration isn't a prototype
/home/ovidiu/Modem/intel/coredrv/coredrv.c: At top level:
/home/ovidiu/Modem/intel/coredrv/coredrv.c:286: warning: 'power_callback' defined but not used
CC [M] /home/ovidiu/Modem/intel/coredrv/clmmain.o
CC [M] /home/ovidiu/Modem/intel/coredrv/rts.o
CC [M] /home/ovidiu/Modem/intel/coredrv/task.o
CC [M] /home/ovidiu/Modem/intel/coredrv/uart.o
CC [M] /home/ovidiu/Modem/intel/coredrv/wwh_dflt.o
CC [M] /home/ovidiu/Modem/intel/coredrv/locks.o
CC [M] /home/ovidiu/Modem/intel/coredrv/softserial_io.o
/home/ovidiu/Modem/intel/coredrv/softserial_io.c: In function `softserial_write':
/home/ovidiu/Modem/intel/coredrv/softserial_io.c:94: warning: ignoring return value of `copy_from_user', declared with attribute warn_unused_result
CC [M] /home/ovidiu/Modem/intel/coredrv/softserial_ioctl.o
CC [M] /home/ovidiu/Modem/intel/coredrv/softserial.o
/home/ovidiu/Modem/intel/coredrv/softserial.c: In function `softserial_register_tty':
/home/ovidiu/Modem/intel/coredrv/softserial.c:141: warning: assignment from incompatible pointer type
LD [M] /home/ovidiu/Modem/intel/coredrv/Intel536.o
Building modules, stage 2.
MODPOST
CC /home/ovidiu/Modem/intel/coredrv/Intel536.mod.o
LD [M] /home/ovidiu/Modem/intel/coredrv/Intel536.ko
make[2]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
make[1]: Leaving directory `/home/ovidiu/Modem/intel/coredrv'
[root@localhost intel]# make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.11-6mdk
installing hamregistry, used for persistant storage
installing Intel 536 driver
mandrake Intel536_boot script
starting module and utilities
error loading Intel536
ERROR: Module Intel536 does not exist in /proc/modules
done

:-D
:-D

BlueNinja
BlueNinja's picture
Re: Winmodemuril astea....

A da si cand am incercat ce mi-ai spus tu a dat:

root@localhost intel]# insmod -f Intel536.ko
insmod: error inserting 'Intel536.ko': -1 Unknown symbol in module

cgherman
cgherman's picture
Re: Winmodemuril astea....

daca nu ai dat make clean verifica cand boot-eaza Mandriva (dai Esc) daca apare vreun serviciu Intel536 si daca e [OK].

Daca e OK poti incerca comunicarea, daca nu .......... ghinion

beranger
beranger's picture
Re: Winmodemuril astea....

Quote:
root@localhost intel]# insmod -f Intel536.ko
insmod: error inserting 'Intel536.ko': -1 Unknown symbol in module

Compañeros,

Eu nu's Mandrakist/Mandrivar :), vin dinspre Slackware, dar folosesc acum numai Ubuntu si SuSE (si 90% GNOME, rar KDE) -- asta, ca sa se stie.

Am insa acelasi modem bazat pe 536ep, si oarece experienta cu el.

Inclusiv eroarea:
insmod: error inserting 'Intel536.ko': -1 Unknown symbol in module

Ei bine, driverul de la Intel este din pacate destul de vechi, si merge pana la kernele 2.6.9 inclusiv. Mai sus... nu!!!
Mi-a mers pe SuSE 9.2, de pilda, dar nu imi merge pe SuSE 9.3 -- nici luat de la Intel, nici modulul binar cu care vine SuSE 9.3!!

Problema este ca pentru kernel 2.6.10 trebuie un patch la sursele driver-ului Intel, iar pentru 2.6.11 trebuie uneori... alt patch!


Solutia pentru acest modem pe linuxqustions.org

E probata 100%! Se refera la Mandriva 2005 LE, dar mie mi-a mers si pe SuSE 9.3, si pe Ubuntu Breezy Colony-1, questie de kernel. Aparent, patch-ul pentru kernel 2.6.11 merge si pe unele kernele 2.6.10.

Gasiti acolo un patch intre liniile marcate "_snip" si "_snap", e excelent.

Sursa patch-urilor e data tot acolo:
http://linmodems.technion.ac.il/archive-fifth/msg00280.html

Aparent, unii au intampinat probleme pe 2.6.11 si mai au nevoie de inca un patch:
http://linmodems.technion.ac.il/archive-fifth/msg00881.html

E de retinut asadar ca Intel -- in ciuda numelui mare -- nu s-a obosit sa scoata un driver actualizat pentru schimbarile din kernel 2.6.10/2.6.11. Nu stiu care ar fi treaba pe 2.6.12, dar sper ca nu mai sunt modificari care sa-l afecteze...

adyx
Re: Winmodemuril astea....

Asta e ! Cand ai placa in calculator si poti sa o testezi le stii pe toate. Multumim pentru raspunsul detaliat si la obiect.
Mai trebuie spus ca pentru utilizatorii platitori, adica cei care fac parte din Mandriva Club, sunt disponibile online drivere preparate special pentru aceste modemuri.

We can't solve problems by using the same kind of thinking we used when we created them.
A.E.

BlueNinja
BlueNinja's picture
Re: Winmodemuril astea....

Mersi mult lume sper sa ma descurc ca sunt incepator in Linux dar m-am cam saturat de Windows si fara internet nu-mi place...