Intel-536 modem on Dapper

Hi Anyone tried to install a 536 modem on Dapper yet? Works fine on Breezy but have not got it going on Dapper (or SUSE 10.1) yet This is the script of the terminal (Dapper) david(a)david-desktop:~/Desktop/Intel-536$ make clean cd coredrv; make clean make[1]: Entering directory `/home/david/Desktop/Intel-536/coredrv' rm -f *.ko *.o *~ core make[1]: Leaving directory `/home/david/Desktop/Intel-536/coredrv' rm -f *.o *.ko david(a)david-desktop:~/Desktop/Intel-536$ make 536ep make: *** No rule to make target `536ep'. Stop. david(a)david-desktop:~/Desktop/Intel-536$ make 536 Module precompile check Current running kernel is: 2.6.15-23-386 /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.15-23-386 make[1]: Entering directory `/home/david/Desktop/Intel-536/coredrv' make -C /lib/modules/2.6.15-23-386/build SUBDIRS=/home/david/Desktop/Intel-536/coredrv modules make[2]: Entering directory `/usr/src/linux-headers-2.6.15-23-386' CC [M] /home/david/Desktop/Intel-536/coredrv/coredrv.o /home/david/Desktop/Intel-536/coredrv/coredrv.c:73: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’ /home/david/Desktop/Intel-536/coredrv/coredrv.c:73: warning: parameter names (without types) in function declaration /home/david/Desktop/Intel-536/coredrv/coredrv.c:73: warning: data definition has no type or storage class /home/david/Desktop/Intel-536/coredrv/coredrv.c: In function ‘close’: /home/david/Desktop/Intel-536/coredrv/coredrv.c:439: warning: implicit declaration of function ‘pm_unregister’ /home/david/Desktop/Intel-536/coredrv/coredrv.c: In function ‘hamproc_write’: /home/david/Desktop/Intel-536/coredrv/coredrv.c:684: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result /home/david/Desktop/Intel-536/coredrv/coredrv.c: At top level: /home/david/Desktop/Intel-536/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast /home/david/Desktop/Intel-536/coredrv/coredrv.c:289: warning: ‘power_callback’ defined but not used CC [M] /home/david/Desktop/Intel-536/coredrv/clmmain.o CC [M] /home/david/Desktop/Intel-536/coredrv/rts.o CC [M] /home/david/Desktop/Intel-536/coredrv/task.o CC [M] /home/david/Desktop/Intel-536/coredrv/uart.o CC [M] /home/david/Desktop/Intel-536/coredrv/wwh_dflt.o CC [M] /home/david/Desktop/Intel-536/coredrv/locks.o CC [M] /home/david/Desktop/Intel-536/coredrv/softserial_io.o CC [M] /home/david/Desktop/Intel-536/coredrv/softserial_ioctl.o CC [M] /home/david/Desktop/Intel-536/coredrv/softserial.o LD [M] /home/david/Desktop/Intel-536/coredrv/Intel536.o Building modules, stage 2. MODPOST Warning: could not find /home/david/Desktop/Intel-536/coredrv/.536core.lib.cmd for /home/david/Desktop/Intel-536/coredrv/536core.lib CC /home/david/Desktop/Intel-536/coredrv/Intel536.mod.o LD [M] /home/david/Desktop/Intel-536/coredrv/Intel536.ko make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-23-386' make[1]: Leaving directory `/home/david/Desktop/Intel-536/coredrv' david(a)david-desktop:~/Desktop/Intel-536$ sudo make install Password: rm -f /etc/hamregistry.bin bash Intel536_inst running kernel 2.6.15-23-386 installing hamregistry, used for persistant storage installing Intel536 driver unknown distribution. no boot scripts installed make: *** [install] Error 1 david(a)david-desktop:~/Desktop/Intel-536$ Any suggestions what to do next? Thanks David

On 7/7/06, David Bowen <lilypatc(a)ihug.co.nz> wrote:
Hi
Anyone tried to install a 536 modem on Dapper yet? Works fine on Breezy but have not got it going on Dapper (or SUSE 10.1) yet
What source code package are you using? i.e. where are you getting those files you put in that directory Intel-536 That version number sounds like an Ubuntu kernel. Have you tried with a kernel from http://kernel.org and then using that? However if you do this you might lose some ubuntu specific features although you should be able to switch between the two. -- Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand

On Fri, 2006-07-07 at 19:38 +1200, David Bowen wrote:
Hi
Anyone tried to install a 536 modem on Dapper yet? Works fine on Breezy but have not got it going on Dapper (or SUSE 10.1) yet
Tried following https://help.ubuntu.com/community/DialupModemHowto ? Craig

In reply to Craig, you didn't say exactly what version of the driver you are trying to use, so I've assumed intel-536ep-4.69.tgz which is the latest I can find on Intel's site. David Bowen wrote:
bash Intel536_inst running kernel 2.6.15-23-386 installing hamregistry, used for persistant storage installing Intel536 driver unknown distribution. no boot scripts installed make: *** [install] Error 1
Looking inside the Intel536_inst script we see that it's basically a big if statement that copies files to various locations for various distributions. Debian/Ubuntu is not one of the supported distributions, so you get the error above "unknown distribution" At this point the hamregistry and the driver itself have been installed successfully (as per the previous two messages), what you don't have is the boot scripts. It's a fairly simply matter to install these manually: run the following commands as root: # install -o root -g root -m 755 Intel536_boot /etc/init.d/Intel536 # ln -s ../init.d/Intel536 /etc/rcS.d/S16Intel536 This copies the init script to place and links it into the boot process just after Ubuntu loads the standard modules. Cheers -- Matt Brown matt(a)mattb.net.nz Mob +64 21 611 544 www.mattb.net.nz

I had a devil of a time setting up this model of modem on Ubuntu Breezy for my parents, and ended up "documenting" the method I used in a script, in case I ever needed to do it again (which, it turns out, I did a couple of days later when their hard drive failed, so let that be a lesson to you, arr!) I didn't use Matt's commands (the install command), but that's because I'm thick, and not because it's not the better way. I've modified my script to reflect this, and it /should/ work just dandy (on Dapper or Breezy). If you are still having trouble, give it a go, and let me know if you have any problems. Regards, Bnonn
participants (5)
-
Craig Box
-
David Bowen
-
Dominic Tennant
-
Ian McDonald
-
Matt Brown