Agere Modem

How do i build martians agere modem driver in Suse 11.1?
I get a error 2 when i try building it.
Any help welcome:’(

serial loops wrote:

> How do i build martians agere modem driver in Suse 11.1?
> I get a error 2 when i try building it.
> Any help welcome:’(

I can’t publish a package for the martian modem drinver in BuildService
because of Lucents/Agere’s license.

Make sure you rebooted after a kernel update. Run these commands to install
compiler and kernel source.

zypper in -t pattern devel_C_C++
zypper in kernel-source

Configure/prepare:

cd /usr/src/linux
make cloneconfig
make modules_prepare

Now compile the martian modem sources. Make sure you have the -full tarball
containing the proprietary object file.

Here’s an init script, put this in /etc/init.d/martian_modem :
http://pastebin.com/f6f4171ec

This requires a config file, put into /etc/sysconfig/martian_modem :
http://pastebin.com/f580bc577

Then start / startautomatically:
/etc/init.d/martian_modem start
chkconfig -a martian_modem

and configure modem /dev/ttyS0 via YaST/smpppd/kinternet . Remember to
disable the dial tone detection. Good luck!

Kind regards,
Andreas Stieger

Andreas Stieger;
Thank you for taking the time to reply to my problem.

Also i would like to amend something i have been playing with a couple of distro’s of linux
The Make error 2 problem was from another distro Suse didn’t recognize the make command at all.
You are probable absolutely correct.

No, please don’t do that.

Never run make cloneconfig/prepare/whatever on openSUSE for building external kernel modules.

It is not necessary and optionally will also break later builds.

Read this for clarity.

j.engelh’s site

Akoellh wrote:

> ‘j.engelh’s site’ (http://jengelh.medozas.de/2007/0412-cloneconfig.php)

You’re right.

Well the driver doesn’t compile against the 11.1 kernel anyway.

Kind regards,
Andreas Stieger